diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f09a0e7d1992..6a14ddb0f9ac 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -56,7 +56,7 @@ /sdk/communication/communication-sms/ @DimaKolomiiets # PRLabel: %Communication - Short Codes -/sdk/communication/communication-short-codes/ @danielav7 +/sdk/communication/communication-short-codes/ @guilhermeluizsp @rtrevino89 @danielav7 # PRLabel: %Communication - Common /sdk/communication/communication-common/ @petrsvihlik @AikoBB @maximrytych-ms @martinbarnas-ms @@ -89,10 +89,10 @@ /sdk/iot/ @YoDaMa @xirzec # PRLabel: %KeyVault -/sdk/keyvault/ @maorleger @sadasant +/sdk/keyvault/ @timovv # PRLabel: %OpenTelemetryInstrumentation -/sdk/instrumentation/ @maorleger @joheredi +/sdk/instrumentation/ @joheredi @mpodwysocki # PRLabel: %Service Bus /sdk/servicebus/ @jeremymeng @deyaaeldeen @HarshaNalluru @@ -817,7 +817,7 @@ sdk/dnsresolver/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao # PRLabel: %Monitor /sdk/monitor/ @hectorhdzg -/sdk/monitor/monitor-query @KarishmaGhiya @maorleger +/sdk/monitor/monitor-query @KarishmaGhiya # ServiceLabel: %AAD %Service Attention #// @adamedx diff --git a/.scripts/automation_generate.sh b/.scripts/automation_generate.sh index 3fb27466832a..15798caa7c95 100644 --- a/.scripts/automation_generate.sh +++ b/.scripts/automation_generate.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@6.0.0-alpha.16.20220105.1 \ No newline at end of file +code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@6.0.0-alpha.19.20220425.1 diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 536f8097b034..bfa0bf4fad70 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -46,6 +46,8 @@ "adfs", "agrifood", "AMQP", + "Brcpf", + "BRCPF", "centralus", "CONTOSO", "deps", @@ -57,10 +59,16 @@ "eastus", "ECONNRESET", "Eloqua", + "Esdni", + "ESDNI", "etags", + "Eugps", + "EUGPS", "Fhir", "Guids", "Hana", + "Idrg", + "IDRG", "IMDS", "Kubernetes", "kusto", @@ -78,6 +86,8 @@ "ODATA", "Odbc", "perfstress", + "Plregon", + "PLREGON", "pnpm", "prettierrc", "pwsh", @@ -105,6 +115,8 @@ "usgovarizona", "usgovtexas", "usgovvirginia", + "Usuk", + "USUK", "Vertica", "westus" ], diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 3a2bdf69bd53..9bbd70209ecb 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -150,6 +150,7 @@ specifiers: '@rush-temp/arm-servicebus': file:./projects/arm-servicebus.tgz '@rush-temp/arm-servicefabric': file:./projects/arm-servicefabric.tgz '@rush-temp/arm-servicefabricmesh': file:./projects/arm-servicefabricmesh.tgz + '@rush-temp/arm-servicelinker': file:./projects/arm-servicelinker.tgz '@rush-temp/arm-servicemap': file:./projects/arm-servicemap.tgz '@rush-temp/arm-signalr': file:./projects/arm-signalr.tgz '@rush-temp/arm-sql': file:./projects/arm-sql.tgz @@ -189,7 +190,6 @@ 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-crypto': file:./projects/core-crypto.tgz '@rush-temp/core-http': file:./projects/core-http.tgz '@rush-temp/core-http-compat': file:./projects/core-http-compat.tgz '@rush-temp/core-lro': file:./projects/core-lro.tgz @@ -426,6 +426,7 @@ dependencies: '@rush-temp/arm-servicebus': file:projects/arm-servicebus.tgz '@rush-temp/arm-servicefabric': file:projects/arm-servicefabric.tgz '@rush-temp/arm-servicefabricmesh': file:projects/arm-servicefabricmesh.tgz + '@rush-temp/arm-servicelinker': file:projects/arm-servicelinker.tgz '@rush-temp/arm-servicemap': file:projects/arm-servicemap.tgz '@rush-temp/arm-signalr': file:projects/arm-signalr.tgz '@rush-temp/arm-sql': file:projects/arm-sql.tgz @@ -465,7 +466,6 @@ 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-crypto': file:projects/core-crypto.tgz '@rush-temp/core-http': file:projects/core-http.tgz '@rush-temp/core-http-compat': file:projects/core-http-compat.tgz '@rush-temp/core-lro': file:projects/core-lro.tgz @@ -559,14 +559,14 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.1.1 - '@jridgewell/trace-mapping': 0.3.9 + '@jridgewell/trace-mapping': 0.3.13 dev: false /@azure-tools/test-recorder/1.0.2: resolution: {integrity: sha512-s29YTbvD6Pr2sTgRLHXXs8zJZmFnGO0n0F1UICxYMmf8hItgXvSa9DwTx/qg7j3v65hrFn+gx9IedI7YkLE5KA==} engines: {node: '>=12.0.0'} dependencies: - '@azure/core-http': 2.2.4 + '@azure/core-http': 2.2.5 '@azure/core-tracing': 1.0.0-preview.13 fs-extra: 8.1.0 md5: 2.3.0 @@ -578,9 +578,9 @@ packages: - supports-color dev: false - /@azure/abort-controller/1.0.4: - resolution: {integrity: sha512-lNUmDRVGpanCsiUN3NWxFTdwmdFI53xwhkTFfHDGTYk46ca7Ind3nanJc+U6Zj9Tv+9nTCWRBscWEW1DyKOpTw==} - engines: {node: '>=8.0.0'} + /@azure/abort-controller/1.1.0: + resolution: {integrity: sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==} + engines: {node: '>=12.0.0'} dependencies: tslib: 2.4.0 dev: false @@ -616,32 +616,14 @@ packages: - encoding dev: false - /@azure/ai-text-analytics/5.1.0: - resolution: {integrity: sha512-vkAFCxj0dn7kjTDuzpqM4EgQJkn3V0N/KJ0/n+UwralpeCESWll3DLuf8h2kL94vT9pyHWq7xWiNMBrzXxF1yA==} - engines: {node: '>=12.0.0'} - dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 - '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 - '@azure/core-lro': 2.2.4 - '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 - '@azure/core-tracing': 1.0.0-preview.12 - '@azure/logger': 1.0.3 - tslib: 2.4.0 - transitivePeerDependencies: - - supports-color - dev: false - /@azure/app-configuration/1.3.1: resolution: {integrity: sha512-QNP0TsYoX3qtdKFJsQVrGWSPLW5/aF3MxgPg52RgGdnkGfRAPfYHIe2E5O83Q+iTd/pUxJAntaRx6UOblhLpgQ==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-asynciterator-polyfill': 1.0.2 '@azure/core-auth': 1.3.2 - '@azure/core-http': 2.2.4 + '@azure/core-http': 2.2.5 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 tslib: 2.4.0 @@ -654,9 +636,9 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 + '@azure/core-client': 1.6.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.8.1 tslib: 2.4.0 transitivePeerDependencies: - supports-color @@ -666,12 +648,12 @@ packages: resolution: {integrity: sha512-Hp0Q4ZzChs8C0DUdGZOChWKMrhzZ53V0Q681puREZ9S1E6o2yWM0Vb+cYuWoyPOylwuzP2fjNjJZGtB7WuFd3w==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 + '@azure/core-client': 1.6.0 '@azure/core-lro': 2.2.4 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.8.1 tslib: 2.4.0 transitivePeerDependencies: - supports-color @@ -681,7 +663,7 @@ packages: resolution: {integrity: sha512-WNB3kewT2unIMVSzN/NkVf0EiPvXJh31pbsfatykU/Z6jfTsnKb0fDW7LhujeLnDIJfhAE0IC1xpW1msGYfsmg==} engines: {node: '>=8.0.0'} dependencies: - '@azure/core-http': 2.2.4 + '@azure/core-http': 2.2.5 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 events: 3.3.0 @@ -694,7 +676,7 @@ packages: resolution: {integrity: sha512-TyI0WFNrVb0EkRg36UwdcqR/7n9YpcEw64O4xVrgzMAlXIciVZpabl05C/Q0iUvLkItmez2XSVDduncjr02oGw==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 '@azure/logger': 1.0.3 buffer: 6.0.3 @@ -717,19 +699,19 @@ packages: resolution: {integrity: sha512-7CU6DmCHIZp5ZPiZ9r3J17lTKMmYsm/zGvNkjArQwPkrLlZ1TZ+EUYfGgh2X31OLMVAQCTJZW4cXHJi02EbJnA==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 tslib: 2.4.0 dev: false - /@azure/core-client/1.5.0: - resolution: {integrity: sha512-YNk8i9LT6YcFdFO+RRU0E4Ef+A8Y5lhXo6lz61rwbG8Uo7kSqh0YqK04OexiilM43xd6n3Y9yBhLnb1NFNI9dA==} + /@azure/core-client/1.6.0: + resolution: {integrity: sha512-YhSf4cb61ApSjItscp9XoaLq8KRnacPDAhmjAZSMnn/gs6FhFbZNfOBOErG2dDj7JRknVtCmJ5mLmfR2sLa11A==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 - '@azure/core-rest-pipeline': 1.8.0 - '@azure/core-tracing': 1.0.0-preview.13 + '@azure/core-rest-pipeline': 1.8.1 + '@azure/core-tracing': 1.0.1 + '@azure/core-util': 1.0.0 '@azure/logger': 1.0.3 tslib: 2.4.0 transitivePeerDependencies: @@ -740,7 +722,7 @@ packages: resolution: {integrity: sha512-g5C1zUJO5dehP2Riv+vy9iCYoS1UwKnZsBVCzanScz9A83LbnXKpZDa9wie26G9dfXUhQoFZoFT8LYWhPKmwcg==} engines: {node: '>=8.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.3 @@ -763,7 +745,7 @@ packages: resolution: {integrity: sha512-odtH7UMKtekc5YQ86xg9GlVHNXR6pq2JgJ5FBo7/jbOjNGdBqcrIVrZx2bevXVJz/uUTSx6vUf62gzTXTfqYSQ==} engines: {node: '>=8.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-asynciterator-polyfill': 1.0.2 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.11 @@ -782,12 +764,11 @@ packages: - encoding dev: false - /@azure/core-http/2.2.4: - resolution: {integrity: sha512-QmmJmexXKtPyc3/rsZR/YTLDvMatzbzAypJmLzvlfxgz/SkgnqV/D4f6F2LsK6tBj1qhyp8BoXiOebiej0zz3A==} + /@azure/core-http/2.2.5: + resolution: {integrity: sha512-kctMqSQ6zfnlFpuYzfUKadeTyOQYbIQ+3Rj7dzVC3Dk1dOnHroTwR9hLYKX8/n85iJpkyaksaXpuh5L7GJRYuQ==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-asynciterator-polyfill': 1.0.2 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 @@ -809,7 +790,7 @@ packages: resolution: {integrity: sha512-0EFCFZxARrIoLWMIRt4vuqconRVIO2Iin7nFBfJiYCCbKp5eEmxutNk8uqudPmG0XFl5YqlVh68/al/vbE5OOg==} engines: {node: '>=8.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.11 events: 3.3.0 @@ -822,7 +803,7 @@ packages: resolution: {integrity: sha512-e1I2v2CZM0mQo8+RSix0x091Av493e4bnT22ds2fcQGslTHzM2oTbswkB65nP4iEpCxBrFxOSDPKExmTmjCVtQ==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 tslib: 2.4.0 @@ -836,13 +817,14 @@ packages: tslib: 2.4.0 dev: false - /@azure/core-rest-pipeline/1.8.0: - resolution: {integrity: sha512-o8eZr96erQpiq8EZhZU/SyN6ncOfZ6bexwN2nMm9WpDmZGvaq907kopADt8XvNhbEF7kRA1l901Pg8mXjWp3UQ==} + /@azure/core-rest-pipeline/1.8.1: + resolution: {integrity: sha512-R/XpxZcDgGbnneEifnsAcjLoR2NCmlDxKDmzd8oi5jx5YEnPE6gsxHQWAk2+uY55Ka717x/fdctyoCYKnumrqw==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 - '@azure/core-tracing': 1.0.0-preview.13 + '@azure/core-tracing': 1.0.1 + '@azure/core-util': 1.0.0 '@azure/logger': 1.0.3 form-data: 4.0.0 http-proxy-agent: 4.0.1 @@ -853,6 +835,13 @@ packages: - supports-color dev: false + /@azure/core-tracing/1.0.0: + resolution: {integrity: sha512-t22+vxAKHUX5BUaikagSYULtIuWrdLvm8jOLQMIu9q9oencUNT0QwSMMMXuB3NuJZhoP9vNIa+8L6v9BUsL5wA==} + engines: {node: '>=12.0.0'} + dependencies: + tslib: 2.4.0 + dev: false + /@azure/core-tracing/1.0.0-preview.11: resolution: {integrity: sha512-frF0pJc9HTmKncVokhBxCqipjbql02DThQ1ZJ9wLi7SDMLdPAFyDI5xZNzX5guLz+/DtPkY+SGK2li9FIXqshQ==} engines: {node: '>=8.0.0'} @@ -862,14 +851,6 @@ packages: tslib: 2.4.0 dev: false - /@azure/core-tracing/1.0.0-preview.12: - resolution: {integrity: sha512-nvo2Wc4EKZGN6eFu9n3U7OXmASmL8VxoPIH7xaD6OlQqi44bouF0YIi9ID5rEsKLiAU59IYx6M297nqWVMWPDg==} - engines: {node: '>=12.0.0'} - dependencies: - '@opentelemetry/api': 1.1.0 - tslib: 2.4.0 - dev: false - /@azure/core-tracing/1.0.0-preview.13: resolution: {integrity: sha512-KxDlhXyMlh2Jhj2ykX6vNEU0Vou4nHr025KoSEiz7cS3BNiHNaZcdECk/DmLkEB0as5T7b/TpRcehJ5yV6NeXQ==} engines: {node: '>=12.0.0'} @@ -887,6 +868,20 @@ packages: tslib: 2.4.0 dev: false + /@azure/core-tracing/1.0.1: + resolution: {integrity: sha512-I5CGMoLtX+pI17ZdiFJZgxMJApsK6jjfm85hpgp3oazCdq5Wxgh4wMr7ge/TTWW1B5WBuvIOI1fMU/FrOAMKrw==} + engines: {node: '>=12.0.0'} + dependencies: + tslib: 2.4.0 + dev: false + + /@azure/core-util/1.0.0: + resolution: {integrity: sha512-yWshY9cdPthlebnb3Zuz/j0Lv4kjU6u7PR5sW7A9FF7EX+0irMRJAtyTq5TPiDHJfjH8gTSlnIYFj9m7Ed76IQ==} + engines: {node: '>=12.0.0'} + dependencies: + tslib: 2.4.0 + dev: false + /@azure/core-util/1.0.0-beta.1: resolution: {integrity: sha512-pS6cup979/qyuyNP9chIybK2qVkJ3MarbY/bx3JcGKE6An6dRweLnsfJfU2ydqUI/B51Rjnn59ajHIhCUTwWZw==} engines: {node: '>=8.0.0'} @@ -894,8 +889,8 @@ packages: tslib: 2.4.0 dev: false - /@azure/core-xml/1.2.0: - resolution: {integrity: sha512-oWWQUWfllD3RO8Ixnsw5RjAUWPitjRI+LXSM0KFmgkSjl0R6RTQzXU2SEMsgAENkD5nzyI4yPpTRJcN2svM6ug==} + /@azure/core-xml/1.2.1: + resolution: {integrity: sha512-llHW1IqjgxMq4HPvPPcRW+5u4W6ViItV2ns0Sclwy3L8dfcZErnKTWV+nZQ6zMvREyJJyPlCnxhzxWaoS4h1Hg==} engines: {node: '>=12.0.0'} dependencies: fast-xml-parser: 4.0.7 @@ -907,11 +902,11 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 + '@azure/core-client': 1.6.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.8.1 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/core-xml': 1.2.0 + '@azure/core-xml': 1.2.1 '@azure/logger': 1.0.3 tslib: 2.4.0 uuid: 8.3.2 @@ -919,25 +914,6 @@ packages: - supports-color dev: false - /@azure/event-hubs/5.7.0: - resolution: {integrity: sha512-ilYY61pMrMrgVVIjy1i/RlA8Wjf9ZDV/mnV2Bd8L+kfxiq4ToPQu38BPb9925PRqckSMz9T9D73sH0WrTGrnQw==} - engines: {node: '>=12.0.0'} - dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-amqp': 3.1.0 - '@azure/core-asynciterator-polyfill': 1.0.2 - '@azure/core-auth': 1.3.2 - '@azure/core-tracing': 1.0.0-preview.12 - '@azure/logger': 1.0.3 - buffer: 5.7.1 - is-buffer: 2.0.5 - jssha: 3.2.0 - process: 0.11.10 - rhea-promise: 2.1.0 - tslib: 2.4.0 - uuid: 8.3.2 - dev: false - /@azure/identity/1.2.5_debug@4.3.4: resolution: {integrity: sha512-Q71Buur3RMcg6lCnisLL8Im562DBw+ybzgm+YQj/FbAaI8ZNu/zl/5z1fE4k3Q9LSIzYrz6HLRzlhdSBXpydlQ==} engines: {node: '>=8.0.0'} @@ -969,16 +945,16 @@ packages: resolution: {integrity: sha512-ZgFubAsmo7dji63NLPaot6O7pmDfceAUPY57uphSCr0hmRj+Cakqb4SUz5SohCHFtscrhcmejRU903Fowz6iXg==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-client': 1.6.0 + '@azure/core-rest-pipeline': 1.8.1 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/core-util': 1.0.0-beta.1 + '@azure/core-util': 1.0.0 '@azure/logger': 1.0.3 - '@azure/msal-browser': 2.23.0 + '@azure/msal-browser': 2.24.0 '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0 + '@azure/msal-node': 1.9.0 events: 3.3.0 jws: 4.0.0 open: 8.4.0 @@ -994,16 +970,16 @@ packages: resolution: {integrity: sha512-ZgFubAsmo7dji63NLPaot6O7pmDfceAUPY57uphSCr0hmRj+Cakqb4SUz5SohCHFtscrhcmejRU903Fowz6iXg==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-client': 1.6.0 + '@azure/core-rest-pipeline': 1.8.1 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/core-util': 1.0.0-beta.1 + '@azure/core-util': 1.0.0 '@azure/logger': 1.0.3 - '@azure/msal-browser': 2.23.0 + '@azure/msal-browser': 2.24.0 '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0_debug@4.3.4 + '@azure/msal-node': 1.9.0_debug@4.3.4 events: 3.3.0 jws: 4.0.0 open: 8.4.0 @@ -1019,8 +995,8 @@ packages: resolution: {integrity: sha512-42RSptwsDTfMYREnlYZgj85wMj5SyVhtsP2wQePq/k1s7MUKlX3dygCLkkVVJ6rpi1ivQZItwQ/grYu4Zek7TQ==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-http': 2.2.4 + '@azure/abort-controller': 1.1.0 + '@azure/core-http': 2.2.5 '@azure/core-lro': 2.2.4 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 @@ -1034,7 +1010,7 @@ packages: resolution: {integrity: sha512-8RoXLWoB9xQ/Knf10A/G0XrQPH49CcadN5DY9qtr2UNdGPTJrlxSr8u7+/4MFwEVQI9vtIt/dUjdOT9xoFCWww==} engines: {node: '>=8.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-http': 1.2.6 '@azure/core-lro': 1.0.5 '@azure/core-paging': 1.2.1 @@ -1049,8 +1025,8 @@ packages: resolution: {integrity: sha512-W9sPZebXYa3aar7BGIA+fAsq/sy1nf2TZAETbkv7DRawzVLrWv8QoVVceqNHjy3cigT4HNxXjaPYCI49ez5CUA==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-http': 2.2.4 + '@azure/abort-controller': 1.1.0 + '@azure/core-http': 2.2.5 '@azure/core-lro': 2.2.4 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 @@ -1064,8 +1040,8 @@ packages: resolution: {integrity: sha512-D7s5f+YDJYBLjjAY25Bl0P32h0ztFdHExViqbydsx8QjcrRgq62DJfbYBC4+9/M80BSBH5jRzKw5VWNFFp++AA==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-http': 2.2.4 + '@azure/abort-controller': 1.1.0 + '@azure/core-http': 2.2.5 '@azure/core-lro': 2.2.4 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 @@ -1092,7 +1068,7 @@ packages: resolution: {integrity: sha512-Y3HGIhepNpk83XzxbOFBhXNVHI+ntXaPKJmqpqcVhAkN3x3LMKzDRg9B8CUDLkaeYAMV60lievKz052EFHkgbw==} engines: {node: '>=12.0.0'} dependencies: - '@azure/core-http': 2.2.4 + '@azure/core-http': 2.2.5 '@opentelemetry/api': 1.1.0 '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.1.0 '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.1.0 @@ -1119,11 +1095,11 @@ packages: - encoding dev: false - /@azure/msal-browser/2.23.0: - resolution: {integrity: sha512-qxyWmsP/pf+xJFEhMgiJ0r1v6TjF+x8iMWYU5R63Lb/fjQfKalaNX9f5D6GbJYJS5s9OF3abtdGtB/Lxea15mQ==} + /@azure/msal-browser/2.24.0: + resolution: {integrity: sha512-P4Z8mQ6hTuA9ss3HCltso7fRmuX1raaU6444G35c0FhaD6hfqViFYRa7hk16AiAs9HkUQHbBaL3gLjKMpX3heA==} engines: {node: '>=0.8.0'} dependencies: - '@azure/msal-common': 6.2.0 + '@azure/msal-common': 6.3.0 dev: false /@azure/msal-common/4.5.1: @@ -1144,8 +1120,8 @@ packages: - supports-color dev: false - /@azure/msal-common/6.2.0: - resolution: {integrity: sha512-SU2/vfbKn1WvtKM8tsBKZAbmRJvO8E3H773ZT0GGKuO9rwLfxP5qOzTHV5crCEm8DgvL/IppmWh2lsUFieDi1A==} + /@azure/msal-common/6.3.0: + resolution: {integrity: sha512-ZyLq9GdnLBi/83YpysE86TFKbA0TuvfNAN5Psqu20cdAjLo/4rw4ttiItdh1G//XeGErHk9qn57gi2AYU1b5/Q==} engines: {node: '>=0.8.0'} dev: false @@ -1174,11 +1150,11 @@ packages: - supports-color dev: false - /@azure/msal-node/1.8.0: - resolution: {integrity: sha512-rA5KzhvNuNef6Bzap8Sm/LbuesvA1yY2dj/W+QZuKMtT5nboZ4n4w8LRjwMMxucvYfizybPbLGTFpbq2IJtOfQ==} - engines: {node: 10 || 12 || 14 || 16} + /@azure/msal-node/1.9.0: + resolution: {integrity: sha512-lw6ejz1WPqcdjkwp91Gidte98+kfGxHk9eYSmmpUChzrUUrZMFGvrtrvG3Qnr6bp5d4WijVge9LMe+2QQUMhoA==} + engines: {node: 10 || 12 || 14 || 16 || 18} dependencies: - '@azure/msal-common': 6.2.0 + '@azure/msal-common': 6.3.0 axios: 0.21.4 https-proxy-agent: 5.0.1 jsonwebtoken: 8.5.1 @@ -1188,11 +1164,11 @@ packages: - supports-color dev: false - /@azure/msal-node/1.8.0_debug@4.3.4: - resolution: {integrity: sha512-rA5KzhvNuNef6Bzap8Sm/LbuesvA1yY2dj/W+QZuKMtT5nboZ4n4w8LRjwMMxucvYfizybPbLGTFpbq2IJtOfQ==} - engines: {node: 10 || 12 || 14 || 16} + /@azure/msal-node/1.9.0_debug@4.3.4: + resolution: {integrity: sha512-lw6ejz1WPqcdjkwp91Gidte98+kfGxHk9eYSmmpUChzrUUrZMFGvrtrvG3Qnr6bp5d4WijVge9LMe+2QQUMhoA==} + engines: {node: 10 || 12 || 14 || 16 || 18} dependencies: - '@azure/msal-common': 6.2.0 + '@azure/msal-common': 6.3.0 axios: 0.21.4_debug@4.3.4 https-proxy-agent: 5.0.1 jsonwebtoken: 8.5.1 @@ -1207,9 +1183,9 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/core-auth': 1.3.2 - '@azure/core-client': 1.5.0 + '@azure/core-client': 1.6.0 '@azure/core-paging': 1.2.1 - '@azure/core-rest-pipeline': 1.8.0 + '@azure/core-rest-pipeline': 1.8.1 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 events: 3.3.0 @@ -1222,11 +1198,11 @@ packages: resolution: {integrity: sha512-fIbI5aJDzN2HctcS+3i7rXY3L5jWG7/SuXOq0cMpwy+aH5aHOZVoxX8eeSnUnr2jUpUflU1wJ9yiYZ/sXqZvqw==} engines: {node: '>=12.0.0'} dependencies: - '@azure/abort-controller': 1.0.4 + '@azure/abort-controller': 1.1.0 '@azure/core-amqp': 3.1.0 '@azure/core-asynciterator-polyfill': 1.0.2 '@azure/core-auth': 1.3.2 - '@azure/core-http': 2.2.4 + '@azure/core-http': 2.2.5 '@azure/core-paging': 1.2.1 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.3 @@ -1243,22 +1219,6 @@ packages: - encoding dev: false - /@azure/storage-blob/12.9.0: - resolution: {integrity: sha512-ank38FdCLfJ+EoeMzCz3hkYJuZAd63ARvDKkxZYRDb+beBYf+/+gx8jNTqkq/hfyUl4dJQ/a7tECU0Y0F98CHg==} - engines: {node: '>=12.0.0'} - dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-http': 2.2.4 - '@azure/core-lro': 2.2.4 - '@azure/core-paging': 1.2.1 - '@azure/core-tracing': 1.0.0-preview.13 - '@azure/logger': 1.0.3 - events: 3.3.0 - tslib: 2.4.0 - transitivePeerDependencies: - - encoding - dev: false - /@babel/code-frame/7.12.11: resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==} dependencies: @@ -1272,25 +1232,25 @@ packages: '@babel/highlight': 7.17.9 dev: false - /@babel/compat-data/7.17.7: - resolution: {integrity: sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ==} + /@babel/compat-data/7.17.10: + resolution: {integrity: sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==} engines: {node: '>=6.9.0'} dev: false - /@babel/core/7.17.9: - resolution: {integrity: sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==} + /@babel/core/7.17.10: + resolution: {integrity: sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.0 '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 - '@babel/helper-compilation-targets': 7.17.7_@babel+core@7.17.9 + '@babel/generator': 7.17.10 + '@babel/helper-compilation-targets': 7.17.10_@babel+core@7.17.10 '@babel/helper-module-transforms': 7.17.7 '@babel/helpers': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/parser': 7.17.10 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 convert-source-map: 1.8.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -1300,23 +1260,23 @@ packages: - supports-color dev: false - /@babel/generator/7.17.9: - resolution: {integrity: sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==} + /@babel/generator/7.17.10: + resolution: {integrity: sha512-46MJZZo9y3o4kmhBVc7zW7i8dtR1oIK/sdO5NcfcZRhTGYi+KKJRtHNgsU6c4VUcJmUNV/LQdebD/9Dlv4K+Tg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 + '@jridgewell/gen-mapping': 0.1.1 jsesc: 2.5.2 - source-map: 0.5.7 dev: false - /@babel/helper-compilation-targets/7.17.7_@babel+core@7.17.9: - resolution: {integrity: sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w==} + /@babel/helper-compilation-targets/7.17.10_@babel+core@7.17.10: + resolution: {integrity: sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/compat-data': 7.17.7 - '@babel/core': 7.17.9 + '@babel/compat-data': 7.17.10 + '@babel/core': 7.17.10 '@babel/helper-validator-option': 7.16.7 browserslist: 4.20.3 semver: 6.3.0 @@ -1326,7 +1286,7 @@ packages: resolution: {integrity: sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-function-name/7.17.9: @@ -1334,21 +1294,21 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.16.7 - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-hoist-variables/7.16.7: resolution: {integrity: sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-module-imports/7.16.7: resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-module-transforms/7.17.7: @@ -1361,8 +1321,8 @@ packages: '@babel/helper-split-export-declaration': 7.16.7 '@babel/helper-validator-identifier': 7.16.7 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 transitivePeerDependencies: - supports-color dev: false @@ -1371,14 +1331,14 @@ packages: resolution: {integrity: sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-split-export-declaration/7.16.7: resolution: {integrity: sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.17.0 + '@babel/types': 7.17.10 dev: false /@babel/helper-validator-identifier/7.16.7: @@ -1396,8 +1356,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 transitivePeerDependencies: - supports-color dev: false @@ -1411,8 +1371,8 @@ packages: js-tokens: 4.0.0 dev: false - /@babel/parser/7.17.9: - resolution: {integrity: sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==} + /@babel/parser/7.17.10: + resolution: {integrity: sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ==} engines: {node: '>=6.0.0'} hasBin: true dev: false @@ -1429,30 +1389,30 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/parser': 7.17.9 - '@babel/types': 7.17.0 + '@babel/parser': 7.17.10 + '@babel/types': 7.17.10 dev: false - /@babel/traverse/7.17.9: - resolution: {integrity: sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==} + /@babel/traverse/7.17.10: + resolution: {integrity: sha512-VmbrTHQteIdUUQNTb+zE12SHS/xQVIShmBPhlNP12hD5poF2pbITW1Z4172d03HegaQWhLffdkRJYtAzp0AGcw==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.16.7 - '@babel/generator': 7.17.9 + '@babel/generator': 7.17.10 '@babel/helper-environment-visitor': 7.16.7 '@babel/helper-function-name': 7.17.9 '@babel/helper-hoist-variables': 7.16.7 '@babel/helper-split-export-declaration': 7.16.7 - '@babel/parser': 7.17.9 - '@babel/types': 7.17.0 + '@babel/parser': 7.17.10 + '@babel/types': 7.17.10 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: false - /@babel/types/7.17.0: - resolution: {integrity: sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==} + /@babel/types/7.17.10: + resolution: {integrity: sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-validator-identifier': 7.16.7 @@ -1483,7 +1443,7 @@ packages: ajv: 6.12.6 debug: 4.3.4 espree: 7.3.1 - globals: 13.13.0 + globals: 13.15.0 ignore: 4.0.6 import-fresh: 3.3.0 js-yaml: 3.14.1 @@ -1493,14 +1453,14 @@ packages: - supports-color dev: false - /@eslint/eslintrc/1.2.2: - resolution: {integrity: sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==} + /@eslint/eslintrc/1.2.3: + resolution: {integrity: sha512-uGo44hIwoLGNyduRpjdEpovcbMdd+Nv7amtmJxnKmI8xj6yd5LncmSwDa5NgX/41lIFJtkjD6YdVfgEzPfJ5UA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.3.1 - globals: 13.13.0 + espree: 9.3.2 + globals: 13.15.0 ignore: 5.2.0 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -1556,29 +1516,29 @@ packages: resolution: {integrity: sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/set-array': 1.1.0 - '@jridgewell/sourcemap-codec': 1.4.11 + '@jridgewell/set-array': 1.1.1 + '@jridgewell/sourcemap-codec': 1.4.13 dev: false - /@jridgewell/resolve-uri/3.0.6: - resolution: {integrity: sha512-R7xHtBSNm+9SyvpJkdQl+qrM3Hm2fea3Ef197M3mUug+v+yR+Rhfbs7PBtcBUVnIWJ4JcAdjvij+c8hXS9p5aw==} + /@jridgewell/resolve-uri/3.0.7: + resolution: {integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==} engines: {node: '>=6.0.0'} dev: false - /@jridgewell/set-array/1.1.0: - resolution: {integrity: sha512-SfJxIxNVYLTsKwzB3MoOQ1yxf4w/E6MdkvTgrgAt1bfxjSrLUoHMKrDOykwN14q65waezZIdqDneUIPh4/sKxg==} + /@jridgewell/set-array/1.1.1: + resolution: {integrity: sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==} engines: {node: '>=6.0.0'} dev: false - /@jridgewell/sourcemap-codec/1.4.11: - resolution: {integrity: sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==} + /@jridgewell/sourcemap-codec/1.4.13: + resolution: {integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==} dev: false - /@jridgewell/trace-mapping/0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + /@jridgewell/trace-mapping/0.3.13: + resolution: {integrity: sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==} dependencies: - '@jridgewell/resolve-uri': 3.0.6 - '@jridgewell/sourcemap-codec': 1.4.11 + '@jridgewell/resolve-uri': 3.0.7 + '@jridgewell/sourcemap-codec': 1.4.13 dev: false /@microsoft/api-extractor-model/7.13.9: @@ -1589,12 +1549,12 @@ packages: '@rushstack/node-core-library': 3.41.0 dev: false - /@microsoft/api-extractor-model/7.17.2: - resolution: {integrity: sha512-fYfCeBeLm7jnZligC64qHiH4/vzswFLDfyPpX+uKO36OI2kIeMHrYG0zaezmuinKvE4vg1dAz38zZeDbPvBKGg==} + /@microsoft/api-extractor-model/7.17.3: + resolution: {integrity: sha512-ETslFxVEZTEK6mrOARxM34Ll2W/5H2aTk9Pe9dxsMCnthE8O/CaStV4WZAGsvvZKyjelSWgPVYGowxGVnwOMlQ==} dependencies: '@microsoft/tsdoc': 0.14.1 '@microsoft/tsdoc-config': 0.16.1 - '@rushstack/node-core-library': 3.45.4 + '@rushstack/node-core-library': 3.45.5 dev: false /@microsoft/api-extractor-model/7.7.10: @@ -1622,22 +1582,22 @@ packages: typescript: 4.4.4 dev: false - /@microsoft/api-extractor/7.23.0: - resolution: {integrity: sha512-fbdX05RVE1EMA7nvyRHuS9nx1pryhjgURDx6pQlE/9yOXQ5PO7MpYdfWGaRsQwyYuU3+tPxgro819c0R3AK6KA==} + /@microsoft/api-extractor/7.24.0: + resolution: {integrity: sha512-cC5Vcu3N2OJh1G5v136JYtE4QQtQYq6mLiL8YXzFgu8aoq8T88kzq3/TxlihJvqGnrD96pf4PjS2Yg8RNYTQYw==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.17.2 + '@microsoft/api-extractor-model': 7.17.3 '@microsoft/tsdoc': 0.14.1 '@microsoft/tsdoc-config': 0.16.1 - '@rushstack/node-core-library': 3.45.4 + '@rushstack/node-core-library': 3.45.5 '@rushstack/rig-package': 0.3.11 - '@rushstack/ts-command-line': 4.10.10 + '@rushstack/ts-command-line': 4.11.0 colors: 1.2.5 lodash: 4.17.21 resolve: 1.17.0 semver: 7.3.7 source-map: 0.6.1 - typescript: 4.6.3 + typescript: 4.6.4 dev: false /@microsoft/api-extractor/7.7.11: @@ -2101,47 +2061,47 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-commonjs/21.0.1_rollup@2.70.2: + /@rollup/plugin-commonjs/21.0.1_rollup@2.73.0: resolution: {integrity: sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^2.38.3 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 commondir: 1.0.1 estree-walker: 2.0.2 - glob: 7.2.0 + glob: 7.2.3 is-reference: 1.2.1 magic-string: 0.25.9 resolve: 1.22.0 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-commonjs/21.1.0_rollup@2.70.2: + /@rollup/plugin-commonjs/21.1.0_rollup@2.73.0: resolution: {integrity: sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^2.38.3 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 commondir: 1.0.1 estree-walker: 2.0.2 - glob: 7.2.0 + glob: 7.2.3 is-reference: 1.2.1 magic-string: 0.25.9 resolve: 1.22.0 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-inject/4.0.4_rollup@2.70.2: + /@rollup/plugin-inject/4.0.4_rollup@2.73.0: resolution: {integrity: sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 estree-walker: 2.0.2 magic-string: 0.25.9 - rollup: 2.70.2 + rollup: 2.73.0 dev: false /@rollup/plugin-json/4.1.0_rollup@1.32.1: @@ -2153,13 +2113,13 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-json/4.1.0_rollup@2.70.2: + /@rollup/plugin-json/4.1.0_rollup@2.73.0: resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 - rollup: 2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 + rollup: 2.73.0 dev: false /@rollup/plugin-multi-entry/3.0.1_rollup@1.32.1: @@ -2171,39 +2131,39 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-multi-entry/3.0.1_rollup@2.70.2: + /@rollup/plugin-multi-entry/3.0.1_rollup@2.73.0: resolution: {integrity: sha512-Gcp9E8y68Kx+Jo8zy/ZpiiAkb0W01cSqnxOz6h9bPR7MU3gaoTEdRf7xXYplwli1SBFEswXX588ESj+50Brfxw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: matched: 1.0.2 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-multi-entry/4.1.0_rollup@2.70.2: + /@rollup/plugin-multi-entry/4.1.0_rollup@2.73.0: resolution: {integrity: sha512-nellK5pr50W0JA2+bDJbG8F79GBP802J40YRoC0wyfpTAeAn5mJ4eaFiB/MN+YoX9hgb/6RJoZl9leDjZnUFKw==} engines: {node: '>=10.0.0'} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/plugin-virtual': 2.1.0_rollup@2.70.2 + '@rollup/plugin-virtual': 2.1.0_rollup@2.73.0 matched: 5.0.1 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-node-resolve/13.2.1_rollup@2.70.2: - resolution: {integrity: sha512-btX7kzGvp1JwShQI9V6IM841YKNPYjKCvUbNrQ2EcVYbULtUd/GH6wZ/qdqH13j9pOHBER+EZXNN2L8RSJhVRA==} + /@rollup/plugin-node-resolve/13.3.0_rollup@2.73.0: + resolution: {integrity: sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==} engines: {node: '>= 10.0.0'} peerDependencies: rollup: ^2.42.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 '@types/resolve': 1.17.1 - builtin-modules: 3.2.0 deepmerge: 4.2.2 + is-builtin-module: 3.1.0 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.70.2 + rollup: 2.73.0 dev: false /@rollup/plugin-node-resolve/8.4.0_rollup@1.32.1: @@ -2214,7 +2174,7 @@ packages: dependencies: '@rollup/pluginutils': 3.1.0_rollup@1.32.1 '@types/resolve': 1.17.1 - builtin-modules: 3.2.0 + builtin-modules: 3.3.0 deep-freeze: 0.0.1 deepmerge: 4.2.2 is-module: 1.0.0 @@ -2222,39 +2182,39 @@ packages: rollup: 1.32.1 dev: false - /@rollup/plugin-node-resolve/8.4.0_rollup@2.70.2: + /@rollup/plugin-node-resolve/8.4.0_rollup@2.73.0: resolution: {integrity: sha512-LFqKdRLn0ShtQyf6SBYO69bGE1upV6wUhBX0vFOUnLAyzx5cwp8svA0eHUnu8+YU57XOkrMtfG63QOpQx25pHQ==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 '@types/resolve': 1.17.1 - builtin-modules: 3.2.0 + builtin-modules: 3.3.0 deep-freeze: 0.0.1 deepmerge: 4.2.2 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-replace/2.4.2_rollup@2.70.2: + /@rollup/plugin-replace/2.4.2_rollup@2.73.0: resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 magic-string: 0.25.9 - rollup: 2.70.2 + rollup: 2.73.0 dev: false - /@rollup/plugin-virtual/2.1.0_rollup@2.70.2: + /@rollup/plugin-virtual/2.1.0_rollup@2.73.0: resolution: {integrity: sha512-CPPAtlKT53HFqC8jFHb/V5WErpU8Hrq2TyCR0A7kPQMlF2wNUf0o1xuAc+Qxj8NCZM0Z3Yvl+FbUXfJjVWqDwA==} engines: {node: '>=8.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 dependencies: - rollup: 2.70.2 + rollup: 2.73.0 dev: false /@rollup/pluginutils/3.1.0_rollup@1.32.1: @@ -2269,7 +2229,7 @@ packages: rollup: 1.32.1 dev: false - /@rollup/pluginutils/3.1.0_rollup@2.70.2: + /@rollup/pluginutils/3.1.0_rollup@2.73.0: resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} engines: {node: '>= 8.0.0'} peerDependencies: @@ -2278,7 +2238,7 @@ packages: '@types/estree': 0.0.39 estree-walker: 1.0.1 picomatch: 2.3.1 - rollup: 2.70.2 + rollup: 2.73.0 dev: false /@rushstack/node-core-library/3.19.6: @@ -2307,8 +2267,8 @@ packages: z-schema: 3.18.4 dev: false - /@rushstack/node-core-library/3.45.4: - resolution: {integrity: sha512-FMoEQWjK7nWAO2uFgV1eVpVhY9ZDGOdIIomi9zTej64cKJ+8/Nvu+ny0xKaUDEjw/ALftN2D2ml7L0RDpW/Z9g==} + /@rushstack/node-core-library/3.45.5: + resolution: {integrity: sha512-KbN7Hp9vH3bD3YJfv6RnVtzzTAwGYIBl7y2HQLY4WEQqRbvE3LgI78W9l9X+cTAXCX//p0EeoiUYNTFdqJrMZg==} dependencies: '@types/node': 12.20.24 colors: 1.2.5 @@ -2335,8 +2295,8 @@ packages: strip-json-comments: 3.1.1 dev: false - /@rushstack/ts-command-line/4.10.10: - resolution: {integrity: sha512-F+MH7InPDXqX40qvvcEsnvPpmg566SBpfFqj2fcCh8RjM6AyOoWlXc8zx7giBD3ZN85NVAEjZAgrcLU0z+R2yg==} + /@rushstack/ts-command-line/4.11.0: + resolution: {integrity: sha512-ptG9L0mjvJ5QtK11GsAFY+jGfsnqHDS6CY6Yw1xT7a9bhjfNYnf6UPwjV+pF6UgiucfNcMDNW9lkDLxvZKKxMg==} dependencies: '@types/argparse': 1.0.38 argparse: 1.0.10 @@ -2399,11 +2359,6 @@ packages: resolution: {integrity: sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==} dev: false - /@socket.io/base64-arraybuffer/1.0.2: - resolution: {integrity: sha512-dOlCBKnDw4iShaIsH/bxujKTM18+2TOAsYz+KSc11Am38H4q5Xw8Bbz97ZYdrVNM+um3p7w86Bvvmcn9q+5+eQ==} - engines: {node: '>= 0.6.0'} - dev: false - /@tootallnate/once/1.1.2: resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==} engines: {node: '>= 6'} @@ -2441,7 +2396,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/chai-as-promised/7.1.5: @@ -2467,7 +2422,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/cookie/0.4.1: @@ -2502,7 +2457,7 @@ packages: /@types/express-serve-static-core/4.17.28: resolution: {integrity: sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2519,26 +2474,26 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/json-schema/7.0.11: @@ -2546,27 +2501,30 @@ packages: dev: false /@types/json5/0.0.29: - resolution: {integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4=} + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: false /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/jws/3.2.4: resolution: {integrity: sha512-aqtH4dPw1wUjFZaeMD1ak/pf8iXlu/odFe+trJrvw0g1sTh93i+SCykg0Ek8C6B7rVK3oBORbfZAsKO7P10etg==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/long/4.0.2: resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} dev: false - /@types/lru-cache/7.6.1: - resolution: {integrity: sha512-69x+Dhrm2aShFkTqUuPgUXbKYwvq4FH/DVeeQH7MBfTjbKjPX51NGLERxVV1vf33N71dzLvXCko4OLqRvsq53Q==} + /@types/lru-cache/7.10.10: + resolution: {integrity: sha512-nEpVRPWW9EBmx2SCfNn3ClYxPL7IktPX12HhIoSc/H5mMjdeW3+YsXIpseLQ2xF35+OcpwKQbEUw5VtqE4PDNA==} + deprecated: This is a stub types definition. lru-cache provides its own type definitions, so you do not need this installed. + dependencies: + lru-cache: 7.10.1 dev: false /@types/md5/2.3.2: @@ -2598,13 +2556,13 @@ packages: /@types/mock-fs/4.13.1: resolution: {integrity: sha512-m6nFAJ3lBSnqbvDZioawRvpLXSaPyn52Srf7OfzjubYbYX8MTUdIgDxQl0wEapm4m/pNYSd9TXocpQ0TvZFlYA==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/mock-require/2.0.1: resolution: {integrity: sha512-O7U5DVGboY/Crueb5/huUCIRjKtRVRaLmRDbZJBlDQgJn966z3aiFDN+6AtYviu2ExwMkl34LjT/IiC0OPtKuQ==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/ms/0.7.31: @@ -2618,7 +2576,7 @@ packages: /@types/node-fetch/2.6.1: resolution: {integrity: sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 form-data: 3.0.1 dev: false @@ -2630,24 +2588,24 @@ packages: resolution: {integrity: sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==} dev: false - /@types/node/12.20.50: - resolution: {integrity: sha512-+9axpWx2b2JCVovr7Ilgt96uc6C1zBKOQMpGtRbWT9IoR/8ue32GGMfGA4woP8QyP2gBs6GQWEVM3tCybGCxDA==} + /@types/node/12.20.52: + resolution: {integrity: sha512-cfkwWw72849SNYp3Zx0IcIs25vABmFh73xicxhCkTcvtZQeIez15PpwQN8fY3RD7gv1Wrxlc9MEtfMORZDEsGw==} dev: false - /@types/node/16.11.31: - resolution: {integrity: sha512-wh/d0pcu/Ie2mqTIqh4tjd0mLAB4JWxOjHQtLN20HS7sjMHiV4Afr+90hITTyZcxowwha5wjv32jGEn1zkEFMg==} + /@types/node/16.11.35: + resolution: {integrity: sha512-QXu45LyepgnhUfnIAj/FyT4uM87ug5KpIrgXfQtUPNAlx8w5hmd8z8emqCLNvG11QkpRSCG9Qg2buMxvqfjfsQ==} dev: false - /@types/node/17.0.29: - resolution: {integrity: sha512-tx5jMmMFwx7wBwq/V7OohKDVb/JwJU5qCVkeLMh1//xycAJ/ESuw9aJ9SEtlCZDYi2pBfe4JkisSoAtbOsBNAA==} + /@types/node/17.0.33: + resolution: {integrity: sha512-miWq2m2FiQZmaHfdZNcbpp9PuXg34W5JZ5CrJ/BaS70VuhoJENBEQybeiYSaPBRNq6KQGnjfEnc/F3PN++D+XQ==} dev: false - /@types/prettier/2.6.0: - resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==} + /@types/prettier/2.6.1: + resolution: {integrity: sha512-XFjFHmaLVifrAKaZ+EKghFHtHSUonyw8P2Qmy2/+osBnrKbH9UYtlK10zg8/kCt47MFilll/DEDKy3DHfJ0URw==} dev: false /@types/priorityqueuejs/1.0.1: - resolution: {integrity: sha1-bqrDJHpMXO/JRILl2Hw3MLNfUFM=} + resolution: {integrity: sha512-rt2GvuoXcYb+R4X8SF4jlTSXDWoUmkZf7OB8iTRRfE5dmqHn47rY8CRIEPDD5lY28cU86+xXYQ5RsXq/9nydvQ==} dev: false /@types/qs/6.9.7: @@ -2661,7 +2619,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/semaphore/1.1.1: @@ -2672,7 +2630,7 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/sinon/10.0.11: @@ -2694,7 +2652,7 @@ packages: /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/tough-cookie/4.0.2: @@ -2704,13 +2662,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/underscore/1.11.4: @@ -2728,30 +2686,30 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/ws/8.5.3: resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/xml2js/0.4.11: resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==} dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false /@types/yauzl/2.10.0: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 17.0.29 + '@types/node': 17.0.33 dev: false optional: true - /@typescript-eslint/eslint-plugin/5.22.0_fb99b76fbbbdd1abb15eaaaeecfa2102: + /@typescript-eslint/eslint-plugin/5.22.0_92ab08cc4c442c7c2763fe97f7bc98c6: resolution: {integrity: sha512-YCiy5PUzpAeOPGQ7VSGDEY2NeYUV1B0swde2e0HzokRsHBYjSdF6DZ51OuRZxVPHx0032lXGLvOMls91D8FXlg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2762,12 +2720,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.22.0_eslint@8.14.0+typescript@4.2.4 + '@typescript-eslint/parser': 5.22.0_eslint@8.15.0+typescript@4.2.4 '@typescript-eslint/scope-manager': 5.22.0 - '@typescript-eslint/type-utils': 5.22.0_eslint@8.14.0+typescript@4.2.4 - '@typescript-eslint/utils': 5.22.0_eslint@8.14.0+typescript@4.2.4 + '@typescript-eslint/type-utils': 5.22.0_eslint@8.15.0+typescript@4.2.4 + '@typescript-eslint/utils': 5.22.0_eslint@8.15.0+typescript@4.2.4 debug: 4.3.4 - eslint: 8.14.0 + eslint: 8.15.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 @@ -2778,20 +2736,20 @@ packages: - supports-color dev: false - /@typescript-eslint/experimental-utils/5.22.0_eslint@8.14.0+typescript@4.2.4: + /@typescript-eslint/experimental-utils/5.22.0_eslint@8.15.0+typescript@4.2.4: resolution: {integrity: sha512-rKxoCUtAHwEH6IcAoVpqipY6Th+YKW7WFspAKu0IFdbdKZpveFBeqxxE9Xn+GWikhq1o03V3VXbxIe+GdhggiQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.22.0_eslint@8.14.0+typescript@4.2.4 - eslint: 8.14.0 + '@typescript-eslint/utils': 5.22.0_eslint@8.15.0+typescript@4.2.4 + eslint: 8.15.0 transitivePeerDependencies: - supports-color - typescript dev: false - /@typescript-eslint/parser/5.22.0_eslint@8.14.0+typescript@4.2.4: + /@typescript-eslint/parser/5.22.0_eslint@8.15.0+typescript@4.2.4: resolution: {integrity: sha512-piwC4krUpRDqPaPbFaycN70KCP87+PC5WZmrWs+DlVOxxmF+zI6b6hETv7Quy4s9wbkV16ikMeZgXsvzwI3icQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2805,7 +2763,7 @@ packages: '@typescript-eslint/types': 5.22.0 '@typescript-eslint/typescript-estree': 5.22.0_typescript@4.2.4 debug: 4.3.4 - eslint: 8.14.0 + eslint: 8.15.0 typescript: 4.2.4 transitivePeerDependencies: - supports-color @@ -2819,7 +2777,7 @@ packages: '@typescript-eslint/visitor-keys': 5.22.0 dev: false - /@typescript-eslint/type-utils/5.22.0_eslint@8.14.0+typescript@4.2.4: + /@typescript-eslint/type-utils/5.22.0_eslint@8.15.0+typescript@4.2.4: resolution: {integrity: sha512-iqfLZIsZhK2OEJ4cQ01xOq3NaCuG5FQRKyHicA3xhZxMgaxQazLUHbH/B2k9y5i7l3+o+B5ND9Mf1AWETeMISA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2829,9 +2787,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.22.0_eslint@8.14.0+typescript@4.2.4 + '@typescript-eslint/utils': 5.22.0_eslint@8.15.0+typescript@4.2.4 debug: 4.3.4 - eslint: 8.14.0 + eslint: 8.15.0 tsutils: 3.21.0_typescript@4.2.4 typescript: 4.2.4 transitivePeerDependencies: @@ -2864,7 +2822,7 @@ packages: - supports-color dev: false - /@typescript-eslint/utils/5.22.0_eslint@8.14.0+typescript@4.2.4: + /@typescript-eslint/utils/5.22.0_eslint@8.15.0+typescript@4.2.4: resolution: {integrity: sha512-HodsGb037iobrWSUMS7QH6Hl1kppikjA1ELiJlNSTYf/UdMEwzgj0WIp+lBNb6WZ3zTwb0tEz51j0Wee3iJ3wQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2874,9 +2832,9 @@ packages: '@typescript-eslint/scope-manager': 5.22.0 '@typescript-eslint/types': 5.22.0 '@typescript-eslint/typescript-estree': 5.22.0_typescript@4.2.4 - eslint: 8.14.0 + eslint: 8.15.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint-utils: 3.0.0_eslint@8.15.0 transitivePeerDependencies: - supports-color - typescript @@ -2978,13 +2936,13 @@ packages: engines: {node: '>=6'} dev: false - /ansi-colors/4.1.1: - resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} + /ansi-colors/4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} dev: false /ansi-regex/2.1.1: - resolution: {integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=} + resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} engines: {node: '>=0.10.0'} dev: false @@ -3044,7 +3002,7 @@ packages: dev: false /archy/1.0.0: - resolution: {integrity: sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=} + resolution: {integrity: sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==} dev: false /are-we-there-yet/1.1.7: @@ -3069,7 +3027,7 @@ packages: dev: false /arr-union/3.1.0: - resolution: {integrity: sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=} + resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==} engines: {node: '>=0.10.0'} dev: false @@ -3077,13 +3035,13 @@ packages: resolution: {integrity: sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=} dev: false - /array-includes/3.1.4: - resolution: {integrity: sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw==} + /array-includes/3.1.5: + resolution: {integrity: sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.19.5 + es-abstract: 1.20.0 get-intrinsic: 1.1.1 is-string: 1.0.7 dev: false @@ -3099,12 +3057,12 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.19.5 + es-abstract: 1.20.0 es-shim-unscopables: 1.0.0 dev: false /asap/2.0.6: - resolution: {integrity: sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=} + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} dev: false /assertion-error/1.1.0: @@ -3117,7 +3075,7 @@ packages: dev: false /async-array-reduce/0.2.1: - resolution: {integrity: sha1-yL4BCitc0A3qlsgRFgNGk9/dgtE=} + resolution: {integrity: sha512-/ywTADOcaEnwiAnOEi0UB/rAcIq5bTFfCV9euv3jLYFUMmy6KvKccTQUnLlp8Ensmfj43wHSmbGiPqjsZ6RhNA==} engines: {node: '>=0.10.0'} dev: false @@ -3130,7 +3088,7 @@ packages: dev: false /asynckit/0.4.0: - resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} dev: false /atob/2.1.2: @@ -3152,7 +3110,7 @@ packages: /axios/0.21.4: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.14.9 + follow-redirects: 1.15.0 transitivePeerDependencies: - debug dev: false @@ -3160,7 +3118,7 @@ packages: /axios/0.21.4_debug@4.3.4: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.14.9_debug@4.3.4 + follow-redirects: 1.15.0_debug@4.3.4 transitivePeerDependencies: - debug dev: false @@ -3280,6 +3238,12 @@ packages: concat-map: 0.0.1 dev: false + /brace-expansion/2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + dependencies: + balanced-match: 1.0.2 + dev: false + /braces/3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} @@ -3296,15 +3260,15 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001334 - electron-to-chromium: 1.4.124 + caniuse-lite: 1.0.30001341 + electron-to-chromium: 1.4.137 escalade: 3.1.1 node-releases: 2.0.4 picocolors: 1.0.0 dev: false /buffer-crc32/0.2.13: - resolution: {integrity: sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=} + resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} dev: false /buffer-equal-constant-time/1.0.1: @@ -3329,8 +3293,8 @@ packages: ieee754: 1.2.1 dev: false - /builtin-modules/3.2.0: - resolution: {integrity: sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==} + /builtin-modules/3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} dev: false @@ -3376,8 +3340,8 @@ packages: engines: {node: '>=6'} dev: false - /caniuse-lite/1.0.30001334: - resolution: {integrity: sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==} + /caniuse-lite/1.0.30001341: + resolution: {integrity: sha512-2SodVrFFtvGENGCv0ChVJIDQ0KPaS1cg7/qtfMaICgeMolDdo/Z2OD32F0Aq9yl6F4YFwGPBS5AaPqNYiW4PoA==} dev: false /chai-as-promised/7.1.1_chai@4.3.6: @@ -3453,7 +3417,7 @@ packages: dev: false /check-error/1.0.2: - resolution: {integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=} + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} dev: false /chokidar/3.3.0: @@ -3573,8 +3537,8 @@ packages: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} dev: false - /concurrently/7.1.0: - resolution: {integrity: sha512-Bz0tMlYKZRUDqJlNiF/OImojMB9ruKUz6GCfmhFnSapXgPe+3xzY4byqoKG9tUZ7L2PGEUjfLPOLfIX3labnmw==} + /concurrently/7.2.0: + resolution: {integrity: sha512-4KIVY5HopDRhN3ndAgfFOLsMk1PZUPgghlgTMZ5Pb5aTrqYg86RcZaIZC2Cz+qpZ9DsX36WHGjvWnXPqdnblhw==} engines: {node: ^12.20.0 || ^14.13.0 || >=16.0.0} hasBin: true dependencies: @@ -3582,10 +3546,11 @@ packages: date-fns: 2.28.0 lodash: 4.17.21 rxjs: 6.6.7 + shell-quote: 1.7.3 spawn-command: 0.0.2-1 supports-color: 8.1.1 tree-kill: 1.2.2 - yargs: 16.2.0 + yargs: 17.5.1 dev: false /connect/3.7.0: @@ -3638,7 +3603,7 @@ packages: resolution: {integrity: sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==} hasBin: true dependencies: - glob: 7.2.0 + glob: 7.2.3 minimatch: 3.1.2 mkdirp: 1.0.4 noms: 0.0.0 @@ -3647,8 +3612,8 @@ packages: yargs: 16.2.0 dev: false - /core-js/3.22.3: - resolution: {integrity: sha512-1t+2a/d2lppW1gkLXx3pKPVGbBdxXAkqztvWb1EJ8oF8O2gIGiytzflNiFEehYwVK/t2ryUsGBoOFFvNx95mbg==} + /core-js/3.22.5: + resolution: {integrity: sha512-VP/xYuvJ0MJWRAobcmQ8F2H6Bsn+s7zqAAjFaHGBMc5AQm7zaelhD1LGduFn2EehEcQcU+br6t+fwbpQ5d1ZWA==} requiresBuild: true dev: false @@ -3746,13 +3711,13 @@ packages: engines: {node: '>=0.11'} dev: false - /date-format/4.0.9: - resolution: {integrity: sha512-+8J+BOUpSrlKLQLeF8xJJVTxS8QfRSuJgwxSVvslzgO3E6khbI0F5mMEPf5mTYhCCm4h99knYP6H3W9n3BQFrg==} + /date-format/4.0.10: + resolution: {integrity: sha512-RuMIHocrVjF84bUSTcd1uokIsLsOsk1Awb7TexNOI3f48ukCu39mjslWquDTA08VaDMF2umr3MB9ow5EyJTWyA==} engines: {node: '>=4.0'} dev: false - /dayjs/1.11.1: - resolution: {integrity: sha512-ER7EjqVAMkRRsxNCC5YqJ9d9VQYuWdGt7aiH2qA5R5wt8ZmWaP2dLUSIK6y/kVzLMlmh1Tvu5xUf4M/wdGJ5KA==} + /dayjs/1.11.2: + resolution: {integrity: sha512-F4LXf1OeU9hrSYRPTTj/6FbO4HTjPKXvEIC1P2kcnFurViINCVk3ZV0xAS3XVx9MkMsXbbqlK6hjseaYbgKEHw==} dev: false /debug/2.6.9: @@ -3855,11 +3820,6 @@ packages: object-keys: 1.1.1 dev: false - /delay/4.4.1: - resolution: {integrity: sha512-aL3AhqtfhOlT/3ai6sWXeqwnw63ATNpnUiN4HL7x9q+My5QtHlO3OIkasmug9LKzpheLdmUKGRKnYXYAS7FQkQ==} - engines: {node: '>=6'} - dev: false - /delayed-stream/1.0.0: resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} engines: {node: '>=0.4.0'} @@ -3884,8 +3844,8 @@ packages: engines: {node: '>=8'} dev: false - /devtools-protocol/0.0.981744: - resolution: {integrity: sha512-0cuGS8+jhR67Fy7qG3i3Pc7Aw494sb9yG9QgpG97SFVWwolgYjlhJg7n+UaHxOQT30d1TYu/EYe9k01ivLErIg==} + /devtools-protocol/0.0.982423: + resolution: {integrity: sha512-FnVW2nDbjGNw1uD/JRC+9U5768W7e1TfUwqbDTcSsAu1jXFjITSX8w3rkW5FEpHRMPPGpvNSmO1pOpqByiWscA==} dev: false /di/0.0.1: @@ -3960,7 +3920,7 @@ packages: dependencies: semver: 7.3.7 shelljs: 0.8.5 - typescript: 4.6.3 + typescript: 4.6.4 dev: false /ecdsa-sig-formatter/1.0.11: @@ -3977,8 +3937,8 @@ packages: resolution: {integrity: sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=} dev: false - /electron-to-chromium/1.4.124: - resolution: {integrity: sha512-VhaE9VUYU6d2eIb+4xf83CATD+T+3bTzvxvlADkQE+c2hisiw3sZmvEDtsW704+Zky9WZGhBuQXijDVqSriQLA==} + /electron-to-chromium/1.4.137: + resolution: {integrity: sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==} dev: false /emoji-regex/7.0.3: @@ -4000,11 +3960,9 @@ packages: once: 1.4.0 dev: false - /engine.io-parser/5.0.3: - resolution: {integrity: sha512-BtQxwF27XUNnSafQLvDi0dQ8s3i6VgzSoQMJacpIcGNrlUdfHSKbgm3jmjCVvQluGzqwujQMPAoMai3oYSTurg==} + /engine.io-parser/5.0.4: + resolution: {integrity: sha512-+nVFp+5z1E3HcToEnO7ZIj3g+3k9389DvWtvJZz0T6/eOCPIyyxehFcedoYrZQrp0LgQbD9pPXhpMBKMd5QURg==} engines: {node: '>=10.0.0'} - dependencies: - '@socket.io/base64-arraybuffer': 1.0.2 dev: false /engine.io/6.2.0: @@ -4013,13 +3971,13 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 - '@types/node': 17.0.29 + '@types/node': 17.0.33 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 debug: 4.3.4 - engine.io-parser: 5.0.3 + engine.io-parser: 5.0.4 ws: 8.2.3 transitivePeerDependencies: - bufferutil @@ -4031,7 +3989,7 @@ packages: resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} engines: {node: '>=8.6'} dependencies: - ansi-colors: 4.1.1 + ansi-colors: 4.1.3 dev: false /ent/2.2.0: @@ -4044,16 +4002,18 @@ packages: is-arrayish: 0.2.1 dev: false - /es-abstract/1.19.5: - resolution: {integrity: sha512-Aa2G2+Rd3b6kxEUKTF4TaW67czBLyAv3z7VOhYRU50YBx+bbsYZ9xQP4lMNazePuFlybXI0V4MruPos7qUo5fA==} + /es-abstract/1.20.0: + resolution: {integrity: sha512-URbD8tgRthKD3YcC39vbvSDrX23upXnPcnGAjQfgxXF5ID75YcENawc9ZX/9iTP9ptUyfCLIxTTuMYoRfiOVKA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 es-to-primitive: 1.2.1 function-bind: 1.1.1 + function.prototype.name: 1.1.5 get-intrinsic: 1.1.1 get-symbol-description: 1.0.0 has: 1.0.3 + has-property-descriptors: 1.0.0 has-symbols: 1.0.3 internal-slot: 1.0.3 is-callable: 1.2.4 @@ -4065,8 +4025,9 @@ packages: object-inspect: 1.12.0 object-keys: 1.1.1 object.assign: 4.1.2 - string.prototype.trimend: 1.0.4 - string.prototype.trimstart: 1.0.4 + regexp.prototype.flags: 1.4.3 + string.prototype.trimend: 1.0.5 + string.prototype.trimstart: 1.0.5 unbox-primitive: 1.0.2 dev: false @@ -4135,13 +4096,13 @@ packages: engines: {node: '>=10'} dev: false - /eslint-config-prettier/8.5.0_eslint@8.14.0: + /eslint-config-prettier/8.5.0_eslint@8.15.0: resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.14.0 + eslint: 8.15.0 dev: false /eslint-import-resolver-node/0.3.6: @@ -4170,17 +4131,17 @@ packages: regexpp: 3.2.0 dev: false - /eslint-plugin-import/2.26.0_eslint@8.14.0: + /eslint-plugin-import/2.26.0_eslint@8.15.0: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 dependencies: - array-includes: 3.1.4 + array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.14.0 + eslint: 8.15.0 eslint-import-resolver-node: 0.3.6 eslint-module-utils: 2.7.3 has: 1.0.3 @@ -4192,13 +4153,13 @@ packages: tsconfig-paths: 3.14.1 dev: false - /eslint-plugin-markdown/2.2.1_eslint@8.14.0: + /eslint-plugin-markdown/2.2.1_eslint@8.15.0: resolution: {integrity: sha512-FgWp4iyYvTFxPwfbxofTvXxgzPsDuSKHQy2S+a8Ve6savbujey+lgrFFbXQA0HPygISpRYWYBjooPzhYSF81iA==} engines: {node: ^8.10.0 || ^10.12.0 || >= 12.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.14.0 + eslint: 8.15.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color @@ -4224,13 +4185,13 @@ packages: semver: 6.3.0 dev: false - /eslint-plugin-promise/6.0.0_eslint@8.14.0: + /eslint-plugin-promise/6.0.0_eslint@8.15.0: resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.14.0 + eslint: 8.15.0 dev: false /eslint-plugin-tsdoc/0.2.16: @@ -4263,13 +4224,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: false - /eslint-utils/3.0.0_eslint@8.14.0: + /eslint-utils/3.0.0_eslint@8.15.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.14.0 + eslint: 8.15.0 eslint-visitor-keys: 2.1.0 dev: false @@ -4313,7 +4274,7 @@ packages: file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 5.1.2 - globals: 13.13.0 + globals: 13.15.0 ignore: 4.0.6 import-fresh: 3.3.0 imurmurhash: 0.1.4 @@ -4337,12 +4298,12 @@ packages: - supports-color dev: false - /eslint/8.14.0: - resolution: {integrity: sha512-3/CE4aJX7LNEiE3i6FeodHmI/38GZtWCsAtsymScmzYapx8q1nVVb+eLcLSzATmCPXw5pT4TqVs1E0OmxAd9tw==} + /eslint/8.15.0: + resolution: {integrity: sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.2.2 + '@eslint/eslintrc': 1.2.3 '@humanwhocodes/config-array': 0.9.5 ajv: 6.12.6 chalk: 4.1.2 @@ -4351,16 +4312,16 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint-utils: 3.0.0_eslint@8.15.0 eslint-visitor-keys: 3.3.0 - espree: 9.3.1 + espree: 9.3.2 esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 - globals: 13.13.0 + globals: 13.15.0 ignore: 5.2.0 import-fresh: 3.3.0 imurmurhash: 0.1.4 @@ -4395,8 +4356,8 @@ packages: eslint-visitor-keys: 1.3.0 dev: false - /espree/9.3.1: - resolution: {integrity: sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==} + /espree/9.3.2: + resolution: {integrity: sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: acorn: 8.7.1 @@ -4512,8 +4473,8 @@ packages: homedir-polyfill: 1.0.3 dev: false - /express/4.18.0: - resolution: {integrity: sha512-EJEXxiTQJS3lIPrU1AE2vRuT7X7E+0KBbpm5GSoK524yl0K8X+er8zS2P14E64eqsVNoWbMCT7MpmQ+ErAhgRg==} + /express/4.18.1: + resolution: {integrity: sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==} engines: {node: '>= 0.10.0'} dependencies: accepts: 1.3.8 @@ -4628,9 +4589,9 @@ packages: node-fetch: optional: true dependencies: - '@babel/core': 7.17.9 + '@babel/core': 7.17.10 '@babel/runtime': 7.17.9 - core-js: 3.22.3 + core-js: 3.22.5 debug: 4.3.4 glob-to-regexp: 0.4.1 is-subset: 0.1.1 @@ -4746,8 +4707,8 @@ packages: resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} dev: false - /follow-redirects/1.14.9: - resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} + /follow-redirects/1.15.0: + resolution: {integrity: sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -4756,8 +4717,8 @@ packages: optional: true dev: false - /follow-redirects/1.14.9_debug@4.3.4: - resolution: {integrity: sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==} + /follow-redirects/1.15.0_debug@4.3.4: + resolution: {integrity: sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -4768,8 +4729,10 @@ packages: debug: 4.3.4 dev: false - /foreach/2.0.5: - resolution: {integrity: sha1-C+4AUBiusmDQo6865ljdATbsG5k=} + /for-each/0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + dependencies: + is-callable: 1.2.4 dev: false /foreground-child/1.5.6: @@ -4884,10 +4847,24 @@ packages: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} dev: false + /function.prototype.name/1.1.5: + resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.0 + functions-have-names: 1.2.3 + dev: false + /functional-red-black-tree/1.0.1: resolution: {integrity: sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=} dev: false + /functions-have-names/1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + dev: false + /gauge/2.7.4: resolution: {integrity: sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=} dependencies: @@ -4991,8 +4968,8 @@ packages: path-is-absolute: 1.0.1 dev: false - /glob/7.2.0: - resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} + /glob/7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -5002,6 +4979,17 @@ packages: path-is-absolute: 1.0.1 dev: false + /glob/8.0.3: + resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==} + engines: {node: '>=12'} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 5.1.0 + once: 1.4.0 + dev: false + /global-modules/1.0.0: resolution: {integrity: sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==} engines: {node: '>=0.10.0'} @@ -5034,8 +5022,8 @@ packages: engines: {node: '>=4'} dev: false - /globals/13.13.0: - resolution: {integrity: sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==} + /globals/13.15.0: + resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 @@ -5178,7 +5166,7 @@ packages: engines: {node: '>=8.0.0'} dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.14.9 + follow-redirects: 1.15.0 requires-port: 1.0.0 transitivePeerDependencies: - debug @@ -5189,7 +5177,7 @@ packages: engines: {node: '>=8.0.0'} dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.14.9_debug@4.3.4 + follow-redirects: 1.15.0_debug@4.3.4 requires-port: 1.0.0 transitivePeerDependencies: - debug @@ -5351,6 +5339,13 @@ packages: engines: {node: '>=4'} dev: false + /is-builtin-module/3.1.0: + resolution: {integrity: sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==} + engines: {node: '>=6'} + dependencies: + builtin-modules: 3.3.0 + dev: false + /is-callable/1.2.4: resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==} engines: {node: '>= 0.4'} @@ -5500,14 +5495,14 @@ packages: has-symbols: 1.0.3 dev: false - /is-typed-array/1.1.8: - resolution: {integrity: sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA==} + /is-typed-array/1.1.9: + resolution: {integrity: sha512-kfrlnTTn8pZkfpJMUgYD7YZ3qzeJgWUn8XfVYBARc4wnmNOmLbmuuaAs3q5fvB0UJOn6yHAKaGTPM7d6ezoD/A==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 - es-abstract: 1.19.5 - foreach: 2.0.5 + es-abstract: 1.20.0 + for-each: 0.3.3 has-tostringtag: 1.0.0 dev: false @@ -5583,11 +5578,11 @@ packages: resolution: {integrity: sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==} engines: {node: '>=6'} dependencies: - '@babel/generator': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/generator': 7.17.10 + '@babel/parser': 7.17.10 '@babel/template': 7.16.7 - '@babel/traverse': 7.17.9 - '@babel/types': 7.17.0 + '@babel/traverse': 7.17.10 + '@babel/types': 7.17.10 istanbul-lib-coverage: 2.0.5 semver: 6.3.0 transitivePeerDependencies: @@ -5598,7 +5593,7 @@ packages: resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.17.9 + '@babel/core': 7.17.10 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.0 @@ -5610,8 +5605,8 @@ packages: resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.17.9 - '@babel/parser': 7.17.9 + '@babel/core': 7.17.10 + '@babel/parser': 7.17.10 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.0 @@ -5851,14 +5846,14 @@ packages: resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} dev: false - /karma-chai/0.1.0_chai@4.3.6+karma@6.3.19: + /karma-chai/0.1.0_chai@4.3.6+karma@6.3.20: resolution: {integrity: sha1-vuWtQEAFF4Ea40u5RfdikJEIt5o=} peerDependencies: chai: '*' karma: '>=0.10.9' dependencies: chai: 4.3.6 - karma: 6.3.19 + karma: 6.3.20 dev: false /karma-chrome-launcher/3.1.1: @@ -5881,14 +5876,14 @@ packages: - supports-color dev: false - /karma-edge-launcher/0.4.2_karma@6.3.19: + /karma-edge-launcher/0.4.2_karma@6.3.20: resolution: {integrity: sha512-YAJZb1fmRcxNhMIWYsjLuxwODBjh2cSHgTW/jkVmdpGguJjLbs9ZgIK/tEJsMQcBLUkO+yO4LBbqYxqgGW2HIw==} engines: {node: '>=4'} peerDependencies: karma: '>=0.9' dependencies: edge-launcher: 1.2.2 - karma: 6.3.19 + karma: 6.3.20 dev: false /karma-env-preprocessor/0.1.1: @@ -5901,21 +5896,21 @@ packages: is-wsl: 2.2.0 dev: false - /karma-ie-launcher/1.0.0_karma@6.3.19: + /karma-ie-launcher/1.0.0_karma@6.3.20: resolution: {integrity: sha1-SXmGhCxJAZA0bNifVJTKmDDG1Zw=} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.19 + karma: 6.3.20 lodash: 4.17.21 dev: false - /karma-json-preprocessor/0.3.3_karma@6.3.19: + /karma-json-preprocessor/0.3.3_karma@6.3.20: resolution: {integrity: sha1-X36ZW+uuS06PCiy1IVBVSq8LHi4=} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.19 + karma: 6.3.20 dev: false /karma-json-to-file-reporter/1.0.1: @@ -5924,24 +5919,24 @@ packages: json5: 2.2.1 dev: false - /karma-junit-reporter/2.0.1_karma@6.3.19: + /karma-junit-reporter/2.0.1_karma@6.3.20: resolution: {integrity: sha512-VtcGfE0JE4OE1wn0LK8xxDKaTP7slN8DO3I+4xg6gAi1IoAHAXOJ1V9G/y45Xg6sxdxPOR3THCFtDlAfBo9Afw==} engines: {node: '>= 8'} peerDependencies: karma: '>=0.9' dependencies: - karma: 6.3.19 + karma: 6.3.20 path-is-absolute: 1.0.1 xmlbuilder: 12.0.0 dev: false - /karma-mocha-reporter/2.2.5_karma@6.3.19: + /karma-mocha-reporter/2.2.5_karma@6.3.20: resolution: {integrity: sha1-FRIAlejtgZGG5HoLAS8810GJVWA=} peerDependencies: karma: '>=0.13' dependencies: chalk: 2.4.2 - karma: 6.3.19 + karma: 6.3.20 log-symbols: 2.2.0 strip-ansi: 4.0.0 dev: false @@ -5964,8 +5959,8 @@ packages: graceful-fs: 4.2.10 dev: false - /karma/6.3.19: - resolution: {integrity: sha512-NDhWckzES/Y9xMiddyU1RzaKL76/scCsu8Mp0vR0Z3lQRvC3p72+Ab4ppoxs36S9tyPNX5V48yvaV++RNEBPZw==} + /karma/6.3.20: + resolution: {integrity: sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==} engines: {node: '>= 10'} hasBin: true dependencies: @@ -5976,12 +5971,12 @@ packages: connect: 3.7.0 di: 0.0.1 dom-serialize: 2.2.1 - glob: 7.2.0 + glob: 7.2.3 graceful-fs: 4.2.10 http-proxy: 1.18.1 isbinaryfile: 4.0.10 lodash: 4.17.21 - log4js: 6.4.6 + log4js: 6.4.7 mime: 2.6.0 minimatch: 3.1.2 mkdirp: 0.5.6 @@ -6000,8 +5995,8 @@ packages: - utf-8-validate dev: false - /karma/6.3.19_debug@4.3.4: - resolution: {integrity: sha512-NDhWckzES/Y9xMiddyU1RzaKL76/scCsu8Mp0vR0Z3lQRvC3p72+Ab4ppoxs36S9tyPNX5V48yvaV++RNEBPZw==} + /karma/6.3.20_debug@4.3.4: + resolution: {integrity: sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==} engines: {node: '>= 10'} hasBin: true dependencies: @@ -6012,12 +6007,12 @@ packages: connect: 3.7.0 di: 0.0.1 dom-serialize: 2.2.1 - glob: 7.2.0 + glob: 7.2.3 graceful-fs: 4.2.10 http-proxy: 1.18.1_debug@4.3.4 isbinaryfile: 4.0.10 lodash: 4.17.21 - log4js: 6.4.6 + log4js: 6.4.7 mime: 2.6.0 minimatch: 3.1.2 mkdirp: 0.5.6 @@ -6155,15 +6150,15 @@ packages: chalk: 2.4.2 dev: false - /log4js/6.4.6: - resolution: {integrity: sha512-1XMtRBZszmVZqPAOOWczH+Q94AI42mtNWjvjA5RduKTSWjEc56uOBbyM1CJnfN4Ym0wSd8cQ43zOojlSHgRDAw==} + /log4js/6.4.7: + resolution: {integrity: sha512-q/9Eyw/hkvQ4e9DNHLbK2AfuDDm5QnNnmF022aamyw4nUnVLQRhvGoryccN5aEI4J/UcA4W36xttBCrlrdzt2g==} engines: {node: '>=8.0'} dependencies: - date-format: 4.0.9 + date-format: 4.0.10 debug: 4.3.4 flatted: 3.2.5 rfdc: 1.3.0 - streamroller: 3.0.8 + streamroller: 3.0.9 transitivePeerDependencies: - supports-color dev: false @@ -6196,8 +6191,8 @@ packages: yallist: 4.0.0 dev: false - /lru-cache/7.8.1: - resolution: {integrity: sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg==} + /lru-cache/7.10.1: + resolution: {integrity: sha512-BQuhQxPuRl79J5zSXRP+uNzPOyZw2oFI9JLRQ80XswSvg21KMKNtQza9eF42rfI/3Z40RvzBdXgziEkudzjo8A==} engines: {node: '>=12'} dev: false @@ -6239,7 +6234,7 @@ packages: dependencies: arr-union: 3.1.0 async-array-reduce: 0.2.1 - glob: 7.2.0 + glob: 7.2.3 has-glob: 1.0.0 is-valid-glob: 1.0.0 resolve-dir: 1.0.1 @@ -6249,7 +6244,7 @@ packages: resolution: {integrity: sha512-E1fhSTPRyhAlNaNvGXAgZQlq1hL0bgYMTk/6bktVlIhzUnX/SZs7296ACdVeNJE8xFNGSuvd9IpI7vSnmcqLvw==} engines: {node: '>=10'} dependencies: - glob: 7.2.0 + glob: 7.2.3 picomatch: 2.3.1 dev: false @@ -6385,6 +6380,13 @@ packages: brace-expansion: 1.1.11 dev: false + /minimatch/5.1.0: + resolution: {integrity: sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: false + /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} dev: false @@ -6518,8 +6520,8 @@ packages: resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==} dev: false - /nanoid/3.3.3: - resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} + /nanoid/3.3.4: + resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true dev: false @@ -6710,7 +6712,7 @@ packages: find-cache-dir: 2.1.0 find-up: 3.0.0 foreground-child: 1.5.6 - glob: 7.2.0 + glob: 7.2.3 istanbul-lib-coverage: 2.0.5 istanbul-lib-hook: 2.0.7 istanbul-lib-instrument: 3.3.0 @@ -6746,7 +6748,7 @@ packages: find-up: 4.1.0 foreground-child: 2.0.0 get-package-type: 0.1.0 - glob: 7.2.0 + glob: 7.2.3 istanbul-lib-coverage: 3.2.0 istanbul-lib-hook: 3.0.0 istanbul-lib-instrument: 4.0.3 @@ -6808,7 +6810,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.19.5 + es-abstract: 1.20.0 dev: false /object.values/1.1.5: @@ -6817,7 +6819,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.19.5 + es-abstract: 1.20.0 dev: false /on-finished/2.3.0: @@ -7224,14 +7226,14 @@ packages: engines: {node: '>=6'} dev: false - /puppeteer/13.7.0: - resolution: {integrity: sha512-U1uufzBjz3+PkpCxFrWzh4OrMIdIb2ztzCu0YEPfRHjHswcSwHZswnK+WdsOQJsRV8WeTg3jLhJR4D867+fjsA==} - engines: {node: '>=10.18.1'} + /puppeteer/14.1.0: + resolution: {integrity: sha512-T3eB4f6k9HVttYvyy8drGIKb04M+vxhepqM7qqcVCBTNT3T6M9cUaJT4k7P+a6wSonObJSJUP98JkPDQG+3fJw==} + engines: {node: '>=14.1.0'} requiresBuild: true dependencies: cross-fetch: 3.1.5 debug: 4.3.4 - devtools-protocol: 0.0.981744 + devtools-protocol: 0.0.982423 extract-zip: 2.0.1 https-proxy-agent: 5.0.1 pkg-dir: 4.2.0 @@ -7240,7 +7242,7 @@ packages: rimraf: 3.0.2 tar-fs: 2.1.1 unbzip2-stream: 1.4.3 - ws: 8.5.0 + ws: 8.6.0 transitivePeerDependencies: - bufferutil - encoding @@ -7379,6 +7381,15 @@ packages: resolution: {integrity: sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==} dev: false + /regexp.prototype.flags/1.4.3: + resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + functions-have-names: 1.2.3 + dev: false + /regexpp/3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} engines: {node: '>=8'} @@ -7513,23 +7524,23 @@ packages: resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} hasBin: true dependencies: - glob: 7.2.0 + glob: 7.2.3 dev: false /rimraf/3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true dependencies: - glob: 7.2.0 + glob: 7.2.3 dev: false - /rollup-plugin-polyfill-node/0.8.0_rollup@2.70.2: + /rollup-plugin-polyfill-node/0.8.0_rollup@2.73.0: resolution: {integrity: sha512-C4UeKedOmOBkB3FgR+z/v9kzRwV1Q/H8xWs1u1+CNe4XOV6hINfOrcO+TredKxYvopCmr+WKUSNsFUnD1RLHgQ==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/plugin-inject': 4.0.4_rollup@2.70.2 - rollup: 2.70.2 + '@rollup/plugin-inject': 4.0.4_rollup@2.73.0 + rollup: 2.73.0 dev: false /rollup-plugin-shim/1.0.0: @@ -7547,18 +7558,18 @@ packages: source-map-resolve: 0.5.3 dev: false - /rollup-plugin-sourcemaps/0.4.2_rollup@2.70.2: + /rollup-plugin-sourcemaps/0.4.2_rollup@2.73.0: resolution: {integrity: sha1-YhJaqUCHqt97g+9N+vYptHMTXoc=} engines: {node: '>=4.5.0', npm: '>=2.15.9'} peerDependencies: rollup: '>=0.31.2' dependencies: - rollup: 2.70.2 + rollup: 2.73.0 rollup-pluginutils: 2.8.2 source-map-resolve: 0.5.3 dev: false - /rollup-plugin-sourcemaps/0.6.3_0268a17b6ddd076ea57344ce747b4c27: + /rollup-plugin-sourcemaps/0.6.3_3524d2876ecc1a2f21bdb8bf03c48501: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: @@ -7568,13 +7579,13 @@ packages: '@types/node': optional: true dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 - '@types/node': 12.20.50 - rollup: 2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 + '@types/node': 12.20.52 + rollup: 2.73.0 source-map-resolve: 0.6.0 dev: false - /rollup-plugin-sourcemaps/0.6.3_rollup@2.70.2: + /rollup-plugin-sourcemaps/0.6.3_rollup@2.73.0: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: @@ -7584,50 +7595,50 @@ packages: '@types/node': optional: true dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.70.2 - rollup: 2.70.2 + '@rollup/pluginutils': 3.1.0_rollup@2.73.0 + rollup: 2.73.0 source-map-resolve: 0.6.0 dev: false - /rollup-plugin-terser/5.3.1_rollup@2.70.2: + /rollup-plugin-terser/5.3.1_rollup@2.73.0: resolution: {integrity: sha512-1pkwkervMJQGFYvM9nscrUoncPwiKR/K+bHdjv6PFgRo3cgPHoRT83y2Aa3GvINj4539S15t/tpFPb775TDs6w==} peerDependencies: rollup: '>=0.66.0 <3' dependencies: '@babel/code-frame': 7.16.7 jest-worker: 24.9.0 - rollup: 2.70.2 + rollup: 2.73.0 rollup-pluginutils: 2.8.2 serialize-javascript: 4.0.0 terser: 4.8.0 dev: false - /rollup-plugin-visualizer/4.2.2_rollup@2.70.2: + /rollup-plugin-visualizer/4.2.2_rollup@2.73.0: resolution: {integrity: sha512-10/TsugsaQL5rdynl0lrklBngTtkRBESZdxUJy+3fN+xKqNdg5cr7JQU1OoPx4p5mhQ+nspa6EvX3qc8SsBvnA==} engines: {node: '>=10'} hasBin: true peerDependencies: rollup: '>=1.20.0' dependencies: - nanoid: 3.3.3 + nanoid: 3.3.4 open: 7.4.2 - rollup: 2.70.2 + rollup: 2.73.0 source-map: 0.7.3 yargs: 16.2.0 dev: false - /rollup-plugin-visualizer/5.6.0_rollup@2.70.2: + /rollup-plugin-visualizer/5.6.0_rollup@2.73.0: resolution: {integrity: sha512-CKcc8GTUZjC+LsMytU8ocRr/cGZIfMR7+mdy4YnlyetlmIl/dM8BMnOEpD4JPIGt+ZVW7Db9ZtSsbgyeBH3uTA==} engines: {node: '>=12'} hasBin: true peerDependencies: rollup: ^2.0.0 dependencies: - nanoid: 3.3.3 + nanoid: 3.3.4 open: 8.4.0 - rollup: 2.70.2 + rollup: 2.73.0 source-map: 0.7.3 - yargs: 17.4.1 + yargs: 17.5.1 dev: false /rollup-pluginutils/2.8.2: @@ -7641,12 +7652,12 @@ packages: hasBin: true dependencies: '@types/estree': 0.0.51 - '@types/node': 17.0.29 + '@types/node': 17.0.33 acorn: 7.4.1 dev: false - /rollup/2.70.2: - resolution: {integrity: sha512-EitogNZnfku65I1DD5Mxe8JYRUCy0hkK5X84IlDtUs+O6JRMpRciXTzyCUuX11b5L5pvjH+OmFXiQ3XjabcXgg==} + /rollup/2.73.0: + resolution: {integrity: sha512-h/UngC3S4Zt28mB3g0+2YCMegT5yoftnQplwzPqGZcKvlld5e+kT/QRmJiL+qxGyZKOYpgirWGdLyEO1b0dpLQ==} engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: @@ -7786,7 +7797,7 @@ packages: engines: {node: '>=4'} hasBin: true dependencies: - glob: 7.2.0 + glob: 7.2.3 interpret: 1.4.0 rechoir: 0.6.2 dev: false @@ -7926,11 +7937,6 @@ packages: deprecated: See https://github.com/lydell/source-map-url#deprecated dev: false - /source-map/0.5.7: - resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=} - engines: {node: '>=0.10.0'} - dev: false - /source-map/0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -8013,11 +8019,11 @@ packages: engines: {node: '>=4', npm: '>=6'} dev: false - /streamroller/3.0.8: - resolution: {integrity: sha512-VI+ni3czbFZrd1MrlybxykWZ8sMDCMtTU7YJyhgb9M5X6d1DDxLdJr+gSnmRpXPMnIWxWKMaAE8K0WumBp3lDg==} + /streamroller/3.0.9: + resolution: {integrity: sha512-Y46Aq/ftqFP6Wb6sK79hgnZeRfEVz2F0nquBy4lMftUuJoTiwKa6Y96AWAUGV1F3CjhFark9sQmzL9eDpltkRw==} engines: {node: '>=8.0'} dependencies: - date-format: 4.0.9 + date-format: 4.0.10 debug: 4.3.4 fs-extra: 10.1.0 transitivePeerDependencies: @@ -8070,21 +8076,23 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.19.5 + es-abstract: 1.20.0 dev: false - /string.prototype.trimend/1.0.4: - resolution: {integrity: sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==} + /string.prototype.trimend/1.0.5: + resolution: {integrity: sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 + es-abstract: 1.20.0 dev: false - /string.prototype.trimstart/1.0.4: - resolution: {integrity: sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==} + /string.prototype.trimstart/1.0.5: + resolution: {integrity: sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 + es-abstract: 1.20.0 dev: false /string_decoder/0.10.31: @@ -8250,7 +8258,7 @@ packages: resolution: {integrity: sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==} engines: {node: '>=6'} dependencies: - glob: 7.2.0 + glob: 7.2.3 minimatch: 3.1.2 read-pkg-up: 4.0.0 require-main-filename: 2.0.0 @@ -8261,7 +8269,7 @@ packages: engines: {node: '>=8'} dependencies: '@istanbuljs/schema': 0.1.3 - glob: 7.2.0 + glob: 7.2.3 minimatch: 3.1.2 dev: false @@ -8341,7 +8349,7 @@ packages: hasBin: true dev: false - /ts-node/10.7.0_048f3a5c345a25c43b28d6c7db88f6d9: + /ts-node/10.7.0_2bb383e6958e88f9b6508b8c2b6060d0: resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} hasBin: true peerDependencies: @@ -8360,19 +8368,19 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 acorn: 8.7.1 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.4.4 + typescript: 4.2.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: false - /ts-node/10.7.0_399288125904458fe9269dcaa1fb2559: + /ts-node/10.7.0_82da937493701158e1e9e9a28de0ac27: resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} hasBin: true peerDependencies: @@ -8391,19 +8399,19 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 acorn: 8.7.1 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.2.4 + typescript: 4.4.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: false - /ts-node/10.7.0_5ff6de28ce877d9a6652c4006a254f74: + /ts-node/10.7.0_883919596b5eb7018685c14864aed828: resolution: {integrity: sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==} hasBin: true peerDependencies: @@ -8422,14 +8430,14 @@ packages: '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 acorn: 8.7.1 acorn-walk: 8.2.0 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.6.3 + typescript: 4.6.4 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: false @@ -8571,8 +8579,8 @@ packages: hasBin: true dev: false - /typescript/4.6.3: - resolution: {integrity: sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==} + /typescript/4.6.4: + resolution: {integrity: sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==} engines: {node: '>=4.2.0'} hasBin: true dev: false @@ -8581,8 +8589,8 @@ packages: resolution: {integrity: sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==} dev: false - /uglify-js/3.15.4: - resolution: {integrity: sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==} + /uglify-js/3.15.5: + resolution: {integrity: sha512-hNM5q5GbBRB5xB+PMqVRcgYe4c8jbyZ1pzZhS6jbq54/4F2gFK869ZheiE5A8/t+W5jtTNpWef/5Q9zk639FNQ==} engines: {node: '>=0.8.0'} hasBin: true dev: false @@ -8661,9 +8669,9 @@ packages: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 - is-typed-array: 1.1.8 + is-typed-array: 1.1.9 safe-buffer: 5.2.1 - which-typed-array: 1.1.7 + which-typed-array: 1.1.8 dev: false /utils-merge/1.0.1: @@ -8754,16 +8762,16 @@ packages: resolution: {integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=} dev: false - /which-typed-array/1.1.7: - resolution: {integrity: sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw==} + /which-typed-array/1.1.8: + resolution: {integrity: sha512-Jn4e5PItbcAHyLoRDwvPj1ypu27DJbtdYXUa5zsinrUx77Uvfb0cXwwnGMTn7cjUfhhqgVQnVJCwF+7cgU7tpw==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 - es-abstract: 1.19.5 - foreach: 2.0.5 + es-abstract: 1.20.0 + for-each: 0.3.3 has-tostringtag: 1.0.0 - is-typed-array: 1.1.8 + is-typed-array: 1.1.9 dev: false /which/1.3.1: @@ -8865,8 +8873,8 @@ packages: optional: true dev: false - /ws/8.5.0: - resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} + /ws/8.6.0: + resolution: {integrity: sha512-AzmM3aH3gk0aX7/rZLYvjdvZooofDu3fFOzGqcSnQ1tOcTWwhM/o+q++E8mAyVVIyUdajrkzWUGftaVSDLn1bw==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -9013,8 +9021,8 @@ packages: yargs-parser: 20.2.9 dev: false - /yargs/17.4.1: - resolution: {integrity: sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==} + /yargs/17.5.1: + resolution: {integrity: sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==} engines: {node: '>=12'} dependencies: cliui: 7.0.4 @@ -9069,30 +9077,30 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -9103,7 +9111,7 @@ packages: dev: false file:projects/agrifood-farming.tgz: - resolution: {integrity: sha512-P04F5faQfCOBF1l6BIJKyj+LlbNHcRLPIcSU7YIFQazYLYttCAl1HiEY2UxlY2I+2+9UTtWdPR3eHlC6bhSS9g==, tarball: file:projects/agrifood-farming.tgz} + resolution: {integrity: sha512-2qad/S0ZY4Q6lNUeQEEf7orpr89tXHRTBSr1bnjLiZEaPJCyvQuyFCu9cIU2Iq7OnHB/w9TKaLZKx+8p3h8OSg==, tarball: file:projects/agrifood-farming.tgz} name: '@rush-temp/agrifood-farming' version: 0.0.0 dependencies: @@ -9112,23 +9120,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -9159,23 +9167,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 csv-parse: 5.0.4 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -9202,23 +9210,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -9245,23 +9253,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -9271,7 +9279,7 @@ packages: sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - bufferutil - debug @@ -9290,25 +9298,25 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -9317,9 +9325,9 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -9331,33 +9339,33 @@ packages: dev: false file:projects/ai-text-analytics.tgz: - resolution: {integrity: sha512-MHDhn3T4mZ2mLVB83c7gCtk3m4jbFUjJMqW0glDd2U+uIj6uqNXAp8eXvbGO5Acu5pDSr1rUFLvriOq2jD1sdg==, tarball: file:projects/ai-text-analytics.tgz} + resolution: {integrity: sha512-uuTWXb+VGhfmO0NGWfXCua7GZQ2ATdZK7aBi3VKYM7+E1vG/MY3ghvYCOl+kuvgtnxGRrWNZdQac3dV7nSepMA==, tarball: file:projects/ai-text-analytics.tgz} name: '@rush-temp/ai-text-analytics' version: 0.0.0 dependencies: - '@azure/core-tracing': 1.0.0-preview.13 + '@azure/core-tracing': 1.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -9367,9 +9375,9 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -9388,32 +9396,26 @@ packages: '@azure/identity': 2.0.4 '@azure/keyvault-secrets': 4.4.0 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 8.14.0 + eslint: 8.15.0 esm: 3.2.25 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -9421,15 +9423,11 @@ packages: nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-terser: 5.3.1_rollup@2.70.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 - uglify-js: 3.15.4 + typescript: 4.6.4 + uglify-js: 3.15.5 uuid: 8.3.2 transitivePeerDependencies: - '@swc/core' @@ -9449,19 +9447,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9477,19 +9475,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -9504,19 +9502,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9532,19 +9530,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9560,19 +9558,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9588,19 +9586,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9616,19 +9614,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9644,19 +9642,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9672,19 +9670,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9700,19 +9698,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9728,19 +9726,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9754,16 +9752,16 @@ packages: version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 mkdirp: 1.0.4 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 dev: false file:projects/arm-avs.tgz: @@ -9786,7 +9784,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -9801,19 +9799,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9829,19 +9827,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9857,19 +9855,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9885,19 +9883,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9913,19 +9911,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9941,19 +9939,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9969,19 +9967,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -9997,19 +9995,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10025,19 +10023,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10053,19 +10051,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10081,19 +10079,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10109,19 +10107,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10137,19 +10135,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10165,19 +10163,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10194,19 +10192,19 @@ packages: '@azure/arm-network': 26.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10222,19 +10220,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10250,19 +10248,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10278,19 +10276,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10306,19 +10304,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10334,19 +10332,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10362,19 +10360,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10390,19 +10388,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10418,19 +10416,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10446,19 +10444,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10474,19 +10472,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10502,19 +10500,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10530,19 +10528,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10558,19 +10556,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10586,19 +10584,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10614,19 +10612,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10642,19 +10640,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10670,19 +10668,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10698,19 +10696,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10726,19 +10724,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10753,20 +10751,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@microsoft/api-extractor': 7.24.0 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10794,7 +10792,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -10809,19 +10807,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10837,19 +10835,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10865,19 +10863,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10893,19 +10891,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10921,19 +10919,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10949,19 +10947,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -10977,19 +10975,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11005,19 +11003,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11034,19 +11032,19 @@ packages: '@azure/arm-network': 26.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11062,18 +11060,18 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -11088,19 +11086,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11116,19 +11114,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11144,19 +11142,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11172,19 +11170,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11200,19 +11198,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11228,19 +11226,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11256,19 +11254,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11284,19 +11282,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11312,19 +11310,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11341,20 +11339,20 @@ packages: '@azure/arm-msi': 2.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@types/node': 12.20.50 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + '@types/node': 12.20.52 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -11369,19 +11367,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11397,19 +11395,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11425,19 +11423,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11453,19 +11451,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11481,19 +11479,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11509,19 +11507,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11537,19 +11535,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11565,19 +11563,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11593,19 +11591,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11621,19 +11619,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11649,19 +11647,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11677,19 +11675,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11705,19 +11703,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -11732,19 +11730,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11760,19 +11758,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11788,19 +11786,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11816,19 +11814,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11844,19 +11842,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11872,19 +11870,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11900,19 +11898,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11928,19 +11926,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11955,20 +11953,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@microsoft/api-extractor': 7.24.0 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -11984,19 +11982,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12012,19 +12010,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12040,19 +12038,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12068,19 +12066,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12096,19 +12094,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12124,19 +12122,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12152,19 +12150,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12180,19 +12178,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12208,19 +12206,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12236,19 +12234,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12264,19 +12262,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12292,19 +12290,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12320,19 +12318,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12348,19 +12346,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12376,19 +12374,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12404,19 +12402,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12432,19 +12430,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12460,19 +12458,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12488,19 +12486,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12516,19 +12514,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12544,19 +12542,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12572,19 +12570,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12600,19 +12598,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12628,19 +12626,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12656,19 +12654,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12684,19 +12682,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12712,19 +12710,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12740,19 +12738,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12768,19 +12766,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12808,7 +12806,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -12823,19 +12821,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12851,19 +12849,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12880,19 +12878,19 @@ packages: '@azure/arm-network': 26.0.0 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12908,19 +12906,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12936,19 +12934,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12964,19 +12962,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -12992,19 +12990,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13020,19 +13018,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13048,19 +13046,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13076,19 +13074,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13104,19 +13102,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13132,19 +13130,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13159,20 +13157,20 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@microsoft/api-extractor': 7.24.0 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13188,19 +13186,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13216,19 +13214,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13244,19 +13242,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13272,19 +13270,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13300,19 +13298,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13328,19 +13326,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13356,19 +13354,47 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 + transitivePeerDependencies: + - '@types/node' + - debug + - encoding + - supports-color + dev: false + + file:projects/arm-servicelinker.tgz: + resolution: {integrity: sha512-9uRGegk2PugMoa2TF31FkZMpzlh2u4pRzGCDfVyIefc27kr58nfoH0LYEBJj89oGBYjVNOc6uUZu8dagKX0/nQ==, tarball: file:projects/arm-servicelinker.tgz} + name: '@rush-temp/arm-servicelinker' + version: 0.0.0 + dependencies: + '@azure-tools/test-recorder': 1.0.2 + '@azure/identity': 2.0.4 + '@microsoft/api-extractor': 7.24.0 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + cross-env: 7.0.3 + mkdirp: 1.0.4 + mocha: 7.2.0 + rimraf: 3.0.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 + tslib: 2.4.0 + typescript: 4.2.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13396,7 +13422,7 @@ packages: rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -13411,19 +13437,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13439,19 +13465,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13467,19 +13493,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13495,19 +13521,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13523,19 +13549,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13551,19 +13577,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13579,19 +13605,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13607,19 +13633,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13628,81 +13654,84 @@ packages: dev: false file:projects/arm-storsimple1200series.tgz: - resolution: {integrity: sha512-TZZuKxi3xhIZ/QS7+RjHDXwp6okSob6JAH5wulGFghIrr68av+Gpg7t0F74pRMJnuJW0sum4DOWApYBIXh4fsg==, tarball: file:projects/arm-storsimple1200series.tgz} + resolution: {integrity: sha512-4i6/ej3CllI76b/6RKdVxdDPL26KzuCxdZOEC7V+aEiTCtsVV7RpjzKMhQOdIWNZDnD78mVSIiRoSsxVVPHDPA==, tarball: file:projects/arm-storsimple1200series.tgz} name: '@rush-temp/arm-storsimple1200series' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color dev: false file:projects/arm-storsimple8000series.tgz: - resolution: {integrity: sha512-4Kv3CbqQQbNf2p5Hq2uwf1ntihJVCBHO7EQ1xroolXugNsne7T0QUatRYmhfJa73uk2LN+vodioldONcuFAuPg==, tarball: file:projects/arm-storsimple8000series.tgz} + resolution: {integrity: sha512-XeD99HOxEDwjqYvidw6AjzLaRkgCXvGJkFJmryW7rnIXg/7pcmSPfu5sJUMfDbt0sRh/gLAJh+A6Bo0yWvKY5A==, tarball: file:projects/arm-storsimple8000series.tgz} name: '@rush-temp/arm-storsimple8000series' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color dev: false file:projects/arm-streamanalytics.tgz: - resolution: {integrity: sha512-ROvUPTWvb5sLo3UgP4N8nETc6irAl1egcX9n6MCMa826+G1cWfWo6Y5nNdVF+lXjQrb022OvQw/VjaKnCz8Klg==, tarball: file:projects/arm-streamanalytics.tgz} + resolution: {integrity: sha512-MF6D0d9IIIHU1IU1nGhjwOtjNtIyIT+ti+R8xjgZwAWjAQtQMvFRHLxngZwbdtqbI5U5xNBVxxjRLauQrErhdQ==, tarball: file:projects/arm-streamanalytics.tgz} name: '@rush-temp/arm-streamanalytics' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color @@ -13716,19 +13745,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13737,54 +13766,56 @@ packages: dev: false file:projects/arm-subscriptions.tgz: - resolution: {integrity: sha512-g7WDz18wbJLEl9aqcH4xaMmlCkiMHsKd4tUucZewS1Q5Cm5qWy8CL0UWh9PjTTQl6nQi1xEm7zX7+4prHYxR/A==, tarball: file:projects/arm-subscriptions.tgz} + resolution: {integrity: sha512-VY1+MYOKFtHZX6Pi9GiDv+NA09OubHR8oYDeKz7OdPu4aP9xUAcI6FF7WprbAVyHGbB3qsnU2gtEma7bYzuWjA==, tarball: file:projects/arm-subscriptions.tgz} name: '@rush-temp/arm-subscriptions' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color dev: false file:projects/arm-support.tgz: - resolution: {integrity: sha512-IUdjkIkvtLD8mA9bxxDLN7O6gEjy7xEGa8Cd18BYeQjMsB1hRkSMEHzoqk98NSFMm08EX1Dr4fOr2WQMgOcHvQ==, tarball: file:projects/arm-support.tgz} + resolution: {integrity: sha512-GX5QAE0uXgpLjh0qgHHZ/yXWaic5TjnlXwnVdA5LYMtMHVK84KQEI8JOyBEQbQi1/26kAKYkWPrATfvaeZbxcw==, tarball: file:projects/arm-support.tgz} name: '@rush-temp/arm-support' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color @@ -13798,19 +13829,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13826,19 +13857,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -13847,54 +13878,56 @@ packages: dev: false file:projects/arm-timeseriesinsights.tgz: - resolution: {integrity: sha512-VevHHcFHXEGNemr3b4Elw+24nJsZqUNCOQOel0pwbqm1Dk4HSeDRwukATrw67RUHH0b323mtDlWhQNfxAJApbA==, tarball: file:projects/arm-timeseriesinsights.tgz} + resolution: {integrity: sha512-AVnyRYDaZ+pLhNyr4HDTr1GrL671V5hZHaKl27OT1zEH0+JPSAOfJ9OHtsh9DSvSSZo3p9G9xEzpG2HfdE97hw==, tarball: file:projects/arm-timeseriesinsights.tgz} name: '@rush-temp/arm-timeseriesinsights' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color dev: false file:projects/arm-trafficmanager.tgz: - resolution: {integrity: sha512-LSoqkgZova/T39XUlQRdgIPERDEkvZk4RUoX5Z+KHcZlYigTS+XKWvqnDOY2TWa+EV/VdLJLk2Orwh+ig2Swsw==, tarball: file:projects/arm-trafficmanager.tgz} + resolution: {integrity: sha512-6y1fl69SVMhSOcK8+cBmbssQZ46TJhai1xik4pzygoERr4q06GvDFAbA3J3ukw4es3sGmdMHbDX9RWZxLdnH9Q==, tarball: file:projects/arm-trafficmanager.tgz} name: '@rush-temp/arm-trafficmanager' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color @@ -13908,19 +13941,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -13928,54 +13961,56 @@ packages: dev: false file:projects/arm-visualstudio.tgz: - resolution: {integrity: sha512-uNItc53gBKTSt44jG4RoPQCSwNkb6gpJ469JB6drlKhHZngv6cWjTZauTy1ZkKzhjXAZzywTLTFqVWh8WyP0pQ==, tarball: file:projects/arm-visualstudio.tgz} + resolution: {integrity: sha512-HbImcffqHoeNeqdV2CquzajCcnSpPIejiLkYm8feC7Mr+pRPVpYdbEwBCaL8DhiCrVQjbmMujSY6R13zwVNomA==, tarball: file:projects/arm-visualstudio.tgz} name: '@rush-temp/arm-visualstudio' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color dev: false file:projects/arm-vmwarecloudsimple.tgz: - resolution: {integrity: sha512-OpcyWoUfElyQYJQYfGNqVGvoxgrX9PAHruILhdEUq2OETSzy/UBRLhOE4pHgxA5EdWGGKY9fUD/1EllraxuD4Q==, tarball: file:projects/arm-vmwarecloudsimple.tgz} + resolution: {integrity: sha512-pkLpYUn6X8dMwRvRn3fitJHhFvpdtlVBbWYZwVjIdfBPWvQzzrQcxkWKdM+41oHbpHnQNMJrab3fX9oStvTPWg==, tarball: file:projects/arm-vmwarecloudsimple.tgz} name: '@rush-temp/arm-vmwarecloudsimple' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.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-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 1.32.1 - rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: + - '@types/node' - debug - encoding - supports-color @@ -13989,19 +14024,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 8.4.0_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 8.4.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.4.2_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.4.2_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - debug - encoding @@ -14016,19 +14051,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -14044,19 +14079,19 @@ packages: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - debug @@ -14075,7 +14110,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 buffer: 6.0.3 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -14086,18 +14121,18 @@ packages: esm: 3.2.25 inherits: 2.0.4 jsrsasign: 10.5.20 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -14107,7 +14142,7 @@ packages: rimraf: 3.0.2 safe-buffer: 5.2.1 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -14130,7 +14165,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14139,18 +14174,18 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14180,7 +14215,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -14189,16 +14224,16 @@ packages: events: 3.3.0 inherits: 2.0.4 jwt-decode: 3.1.2 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14226,7 +14261,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -14234,16 +14269,16 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14267,15 +14302,15 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 + '@microsoft/api-extractor': 7.24.0 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + '@rollup/plugin-replace': 2.4.2_rollup@2.73.0 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -14283,29 +14318,29 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - rollup: 2.70.2 + rollup: 2.73.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-terser: 5.3.1_rollup@2.70.2 - rollup-plugin-visualizer: 4.2.2_rollup@2.70.2 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-terser: 5.3.1_rollup@2.73.0 + rollup-plugin-visualizer: 4.2.2_rollup@2.73.0 sinon: 9.2.4 tslib: 2.4.0 typescript: 4.2.4 @@ -14327,7 +14362,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -14335,18 +14370,18 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14375,7 +14410,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -14383,18 +14418,18 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14419,10 +14454,10 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 + '@microsoft/api-extractor': 7.24.0 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14431,16 +14466,16 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14469,23 +14504,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -14505,32 +14540,31 @@ packages: dev: false file:projects/container-registry.tgz: - resolution: {integrity: sha512-V/p7+Cu1a49LybAJV+v1tUHitMbg1pVOSwQ6JAxkgH16EcQnohNFUpqf+QtvKXMpbI6BKVSx/9VQM5/AtUMAQw==, tarball: file:projects/container-registry.tgz} + resolution: {integrity: sha512-BLmLIgLI2MH9kI3aFjUoctL3DRWLA5JIZhrJkZNm4L4lWmBvXrmHmsa0PZiQccwCnkln+mTtEB1KE28sPwEVkg==, tarball: file:projects/container-registry.tgz} name: '@rush-temp/container-registry' version: 0.0.0 dependencies: - '@azure/core-tracing': 1.0.0-preview.13 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14538,7 +14572,7 @@ packages: prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -14548,21 +14582,21 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-R6IL4rJTUF/ZSU0DcC3b2hUOeKhNqwx4VvsBvSwyF8iWEiZwtm8IDMmtqK4H9eFKEyPy+oRWtFJGMqldaX//pQ==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-pTXji8OX3w8NmBTKkAsjMiJ3xjKDSbiyowfWmtW15kn+iepOgtv4KXJhPVtQqSp9aGz5U/01TlfXav9DIqy0vw==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-inject': 4.0.4_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + '@rollup/plugin-replace': 2.4.2_rollup@2.73.0 '@types/chai': 4.3.1 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/ws': 7.4.7 buffer: 6.0.3 @@ -14570,10 +14604,10 @@ packages: cross-env: 7.0.3 debug: 4.3.4 downlevel-dts: 0.8.0 - eslint: 8.14.0 + eslint: 8.15.0 events: 3.3.0 jssha: 3.2.0 - karma: 6.3.19_debug@4.3.4 + karma: 6.3.20_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-mocha: 2.0.1 mocha: 7.2.0 @@ -14581,21 +14615,21 @@ packages: nyc: 15.1.0 prettier: 2.6.2 process: 0.11.10 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rhea: 2.0.8 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.2 + rollup: 2.73.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-terser: 5.3.1_rollup@2.70.2 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-terser: 5.3.1_rollup@2.73.0 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 url: 0.11.0 util: 0.12.4 - ws: 8.5.0 + ws: 8.6.0 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -14613,18 +14647,18 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 - eslint: 8.14.0 + eslint: 8.15.0 inherits: 2.0.4 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - supports-color @@ -14638,32 +14672,32 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - '@swc/core' @@ -14682,74 +14716,30 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 - eslint: 8.14.0 + eslint: 8.15.0 inherits: 2.0.4 - karma: 6.3.19 - karma-chrome-launcher: 3.1.1 - karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 - karma-sourcemap-loader: 0.3.8 - mocha: 7.2.0 - mocha-junit-reporter: 2.0.2_mocha@7.2.0 - prettier: 2.6.2 - rimraf: 3.0.2 - sinon: 9.2.4 - tslib: 2.4.0 - typescript: 4.6.3 - transitivePeerDependencies: - - bufferutil - - debug - - supports-color - - utf-8-validate - dev: false - - file:projects/core-crypto.tgz: - resolution: {integrity: sha512-EpPnh43ug3uTZ84p3dlS9i2Lt81pXx9xraXu4rJZo/iOSjSdtKALhK3Ogf9o93NZumFWQGJjujM17hblE4egfA==, tarball: file:projects/core-crypto.tgz} - name: '@rush-temp/core-crypto' - version: 0.0.0 - dependencies: - '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 - '@types/chai': 4.3.1 - '@types/mocha': 7.0.2 - '@types/node': 12.20.50 - '@types/sinon': 9.0.11 - chai: 4.3.6 - cross-env: 7.0.3 - downlevel-dts: 0.8.0 - eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - bufferutil - debug @@ -14770,13 +14760,13 @@ packages: mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 rimraf: 3.0.2 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - supports-color dev: false file:projects/core-http.tgz: - resolution: {integrity: sha512-f03WT3AqbVt2KW5ZyhsrrdB5xi1UBhX6IKfJUQ0UXl4FYwaN272HRvGMvgLy2peVmtX5shs8dlSfcWgZUg3enw==, tarball: file:projects/core-http.tgz} + resolution: {integrity: sha512-GsvtFU/QeJ+2b1uc6WHAgYVchKtznwDT5e6dCQBdzXIMLNWGQvJ97i+JRD14oXuH4FCOCgkBElPt2vtfpQ+t+Q==, tarball: file:projects/core-http.tgz} name: '@rush-temp/core-http' version: 0.0.0 dependencies: @@ -14788,7 +14778,7 @@ packages: '@types/express': 4.17.13 '@types/glob': 7.2.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/node-fetch': 2.6.1 '@types/sinon': 9.0.11 '@types/tough-cookie': 4.0.2 @@ -14799,14 +14789,14 @@ packages: cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 - express: 4.18.0 + express: 4.18.1 fetch-mock: 9.11.0_node-fetch@2.6.7 form-data: 4.0.0 - glob: 7.2.0 - karma: 6.3.19 - karma-chai: 0.1.0_chai@4.3.6+karma@6.3.19 + glob: 7.2.3 + karma: 6.3.20 + karma-chai: 0.1.0_chai@4.3.6+karma@6.3.20 karma-chrome-launcher: 3.1.1 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-firefox-launcher: 1.3.0 karma-mocha: 2.0.1 karma-sourcemap-loader: 0.3.8 @@ -14817,17 +14807,17 @@ packages: nyc: 15.1.0 prettier: 2.6.2 process: 0.11.10 - puppeteer: 13.7.0 + puppeteer: 14.1.0 regenerator-runtime: 0.13.9 rimraf: 3.0.2 shx: 0.3.4 sinon: 9.2.4 tough-cookie: 4.0.0 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 tunnel: 0.0.6 - typescript: 4.6.3 - uglify-js: 3.15.4 + typescript: 4.6.4 + uglify-js: 3.15.5 uuid: 8.3.2 xhr-mock: 2.5.1 xml2js: 0.4.23 @@ -14849,20 +14839,20 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -14870,10 +14860,10 @@ packages: nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 - uglify-js: 3.15.4 + typescript: 4.6.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -14891,27 +14881,27 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 downlevel-dts: 0.8.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - bufferutil - debug @@ -14920,7 +14910,7 @@ packages: dev: false file:projects/core-rest-pipeline.tgz: - resolution: {integrity: sha512-8MAd4Vg5wrbo9nwuAIS74wyHKIQmIhRO2mI7IM3NzcShKBfbjFD0iXLYaCV+H7dwpDPpuMo0+kyL/W2Z7/qMKw==, tarball: file:projects/core-rest-pipeline.tgz} + resolution: {integrity: sha512-jGOVd0ZvZ36by1ANMJgt8YKhSe9VWPpJl5hBketdJLT4n9f7KklbNrMRcz5LNQunB1N5yEDRVvGNFrwBEhBJng==, tarball: file:projects/core-rest-pipeline.tgz} name: '@rush-temp/core-rest-pipeline' version: 0.0.0 dependencies: @@ -14929,7 +14919,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -14941,26 +14931,26 @@ packages: http-proxy-agent: 4.0.1 https-proxy-agent: 5.0.1 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 uuid: 8.3.2 transitivePeerDependencies: @@ -14979,22 +14969,22 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15002,7 +14992,7 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -15019,23 +15009,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15043,7 +15033,7 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -15060,7 +15050,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -15068,16 +15058,16 @@ packages: eslint: 7.32.0 fast-xml-parser: 4.0.7 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15085,7 +15075,7 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -15103,7 +15093,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/priorityqueuejs': 1.0.1 '@types/semaphore': 1.1.1 '@types/sinon': 9.0.11 @@ -15128,7 +15118,7 @@ packages: semaphore: 1.1.0 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 universal-user-agent: 6.0.0 @@ -15148,7 +15138,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -15157,16 +15147,16 @@ packages: downlevel-dts: 0.8.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15174,9 +15164,9 @@ packages: prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 uuid: 8.3.2 transitivePeerDependencies: @@ -15193,22 +15183,22 @@ packages: name: '@rush-temp/dev-tool' version: 0.0.0 dependencies: - '@rollup/plugin-commonjs': 21.0.1_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/fs-extra': 9.0.13 '@types/minimist': 1.2.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 - '@types/prettier': 2.6.0 - builtin-modules: 3.2.0 + '@types/node': 12.20.52 + '@types/prettier': 2.6.1 + builtin-modules: 3.3.0 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chalk: 4.1.2 - concurrently: 7.1.0 + concurrently: 7.2.0 dotenv: 8.6.0 eslint: 7.32.0 fs-extra: 10.1.0 @@ -15216,11 +15206,11 @@ packages: mocha: 7.2.0 prettier: 2.6.2 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-polyfill-node: 0.8.0_rollup@2.70.2 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-visualizer: 5.6.0_rollup@2.70.2 - ts-node: 10.7.0_048f3a5c345a25c43b28d6c7db88f6d9 + rollup: 2.73.0 + rollup-plugin-polyfill-node: 0.8.0_rollup@2.73.0 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-visualizer: 5.6.0_rollup@2.73.0 + ts-node: 10.7.0_82da937493701158e1e9e9a28de0ac27 tslib: 2.4.0 typescript: 4.4.4 yaml: 1.10.2 @@ -15231,17 +15221,16 @@ packages: dev: false file:projects/digital-twins-core.tgz: - resolution: {integrity: sha512-Xf2ZkR2IC9WwQyxLm2dA9T7OGWn/wzmeIAgInFc1HEWlWSY2Ii6VfAFyTLtRrcxcEU6QdqVMTryWdgStw4ni9w==, tarball: file:projects/digital-twins-core.tgz} + resolution: {integrity: sha512-JcFKUaWA7NyeZvYsUZrM86lYiRl0CXLmaX0w8GCB3rQQX9BDgNvJHpiGVMhzck076KH33gR2qdIbK75a+H4HIw==, tarball: file:projects/digital-twins-core.tgz} name: '@rush-temp/digital-twins-core' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@azure/core-tracing': 1.0.0-preview.13 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -15249,18 +15238,18 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15287,41 +15276,41 @@ packages: dependencies: '@azure-tools/test-recorder': 1.0.2 '@microsoft/api-extractor': 7.7.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 nyc: 14.1.1 prettier: 1.19.1 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-terser: 5.3.1_rollup@2.70.2 - rollup-plugin-visualizer: 5.6.0_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-terser: 5.3.1_rollup@2.73.0 + rollup-plugin-visualizer: 5.6.0_rollup@2.73.0 sinon: 9.2.4 ts-node: 9.1.1_typescript@4.2.4 tslib: 2.4.0 @@ -15336,7 +15325,7 @@ packages: dev: false file:projects/eslint-plugin-azure-sdk.tgz: - resolution: {integrity: sha512-1h2yISfmA3A13+oLiMjhg1C6JYHM4DhAIf5PpbF445O6gh6HJwIj3k/UMSrP4Efn6OA8Ny7dUQGF44JlL3VPBg==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} + resolution: {integrity: sha512-tiYBmFq6uaIYxrTgzgXUQSA3o5+eoIGNdVg+lEAqqmL8D68YSCZD+1m98nhOVUJwSRfwaD8+SpwbEVFIJVsSPQ==, tarball: file:projects/eslint-plugin-azure-sdk.tgz} name: '@rush-temp/eslint-plugin-azure-sdk' version: 0.0.0 dependencies: @@ -15346,20 +15335,20 @@ packages: '@types/glob': 7.2.0 '@types/json-schema': 7.0.11 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 - '@typescript-eslint/eslint-plugin': 5.22.0_fb99b76fbbbdd1abb15eaaaeecfa2102 - '@typescript-eslint/experimental-utils': 5.22.0_eslint@8.14.0+typescript@4.2.4 - '@typescript-eslint/parser': 5.22.0_eslint@8.14.0+typescript@4.2.4 + '@types/node': 12.20.52 + '@typescript-eslint/eslint-plugin': 5.22.0_92ab08cc4c442c7c2763fe97f7bc98c6 + '@typescript-eslint/experimental-utils': 5.22.0_eslint@8.15.0+typescript@4.2.4 + '@typescript-eslint/parser': 5.22.0_eslint@8.15.0+typescript@4.2.4 '@typescript-eslint/typescript-estree': 5.22.0_typescript@4.2.4 chai: 4.3.6 - eslint: 8.14.0 - eslint-config-prettier: 8.5.0_eslint@8.14.0 - eslint-plugin-import: 2.26.0_eslint@8.14.0 - eslint-plugin-markdown: 2.2.1_eslint@8.14.0 + eslint: 8.15.0 + eslint-config-prettier: 8.5.0_eslint@8.15.0 + eslint-plugin-import: 2.26.0_eslint@8.15.0 + eslint-plugin-markdown: 2.2.1_eslint@8.15.0 eslint-plugin-no-only-tests: 2.6.0 - eslint-plugin-promise: 6.0.0_eslint@8.14.0 + eslint-plugin-promise: 6.0.0_eslint@8.15.0 eslint-plugin-tsdoc: 0.2.16 - glob: 7.2.0 + glob: 8.0.3 json-schema: 0.4.0 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15373,18 +15362,18 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-DjegBUE+uVQ2AYmmxnLEc63MePSA9SLN6y6NmnyrrCx+0nbo8eSaC0icUHWcLJkgbE4HObzsgay+6/oOC2svmA==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-1vjHND2iEIIjtayjQgjpKM5FZlFr5TYZDXvCN9pse2X5Y4L/cHmfnSGRlJA4Eoz6pYNaiUxKkF66bYliPoUZbA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: '@azure/identity': 2.0.4_debug@4.3.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.2 - '@rollup/plugin-json': 4.1.0_rollup@2.70.2 - '@rollup/plugin-multi-entry': 3.0.1_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 - '@rollup/plugin-replace': 2.4.2_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-inject': 4.0.4_rollup@2.73.0 + '@rollup/plugin-json': 4.1.0_rollup@2.73.0 + '@rollup/plugin-multi-entry': 3.0.1_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 + '@rollup/plugin-replace': 2.4.2_rollup@2.73.0 '@types/async-lock': 1.1.5 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 @@ -15392,7 +15381,7 @@ packages: '@types/debug': 4.1.7 '@types/long': 4.0.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 @@ -15406,21 +15395,21 @@ packages: debug: 4.3.4 dotenv: 8.6.0 downlevel-dts: 0.8.0 - eslint: 8.14.0 + eslint: 8.15.0 esm: 3.2.25 https-proxy-agent: 5.0.1 is-buffer: 2.0.5 jssha: 3.2.0 - karma: 6.3.19_debug@4.3.4 + karma: 6.3.20_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15428,19 +15417,19 @@ packages: nyc: 15.1.0 prettier: 2.6.2 process: 0.11.10 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.2 + rollup: 2.73.0 rollup-plugin-shim: 1.0.0 - rollup-plugin-sourcemaps: 0.6.3_0268a17b6ddd076ea57344ce747b4c27 - rollup-plugin-terser: 5.3.1_rollup@2.70.2 + rollup-plugin-sourcemaps: 0.6.3_3524d2876ecc1a2f21bdb8bf03c48501 + rollup-plugin-terser: 5.3.1_rollup@2.73.0 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 uuid: 8.3.2 - ws: 8.5.0 + ws: 8.6.0 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -15460,7 +15449,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -15468,16 +15457,16 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -15486,9 +15475,9 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 uuid: 8.3.2 transitivePeerDependencies: - '@swc/core' @@ -15501,18 +15490,17 @@ packages: dev: false file:projects/eventhubs-checkpointstore-blob.tgz: - resolution: {integrity: sha512-fJ6cZn28kU24JmLoWiHPo3PAobLpDHVym2oH/wy9csf0xLJ1GhrPVFYHiBPxWpgYC5flNiH5OBe2DsF3XLTjxQ==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} + resolution: {integrity: sha512-o2cL07TelVeXEaU2wY2Y4BeA+eMaU/TnmxrCoFyEw3Op0a/F+cctdENNTDxm2tIDP9MNz0LspCktHFgf4NPFLg==, tarball: file:projects/eventhubs-checkpointstore-blob.tgz} name: '@rush-temp/eventhubs-checkpointstore-blob' version: 0.0.0 dependencies: - '@azure/storage-blob': 12.9.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/chai-string': 1.4.2 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-string: 1.5.0_chai@4.3.6 @@ -15524,31 +15512,30 @@ packages: events: 3.3.0 guid-typescript: 1.0.9 inherits: 2.0.4 - karma: 6.3.19_debug@4.3.4 + karma: 6.3.20_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' - bufferutil - - encoding - supports-color - utf-8-validate dev: false @@ -15559,14 +15546,13 @@ packages: version: 0.0.0 dependencies: '@azure/data-tables': 12.1.2 - '@azure/event-hubs': 5.7.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/chai-string': 1.4.2 '@types/debug': 4.1.7 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-string: 1.5.0_chai@4.3.6 @@ -15577,25 +15563,25 @@ packages: esm: 3.2.25 guid-typescript: 1.0.9 inherits: 2.0.4 - karma: 6.3.19_debug@4.3.4 + karma: 6.3.20_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - '@swc/core' @@ -15606,16 +15592,16 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-iO3YRZKq2OzMsGMIq0pwP79YEoQk3GcNODKwkFRMPpHCsa0W08Y4MSd2Y2A4SreTAwjOxfFSsWcOOMoJfDvIEw==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-xQ9aL/liFVxf/EIG+LxQDCXuLtQ2i9T0yjPIZ8KtwEEKvOjk1qr/G+i4AKIrHFTYSdWOSodEYlglRdj9f9cnIA==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: - '@azure/msal-node': 1.8.0 + '@azure/msal-node': 1.9.0 '@azure/msal-node-extensions': 1.0.0-alpha.13 '@microsoft/api-extractor': 7.18.11 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/qs': 6.9.7 '@types/sinon': 9.0.11 cross-env: 7.0.3 @@ -15626,11 +15612,11 @@ packages: mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -15641,14 +15627,14 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-Hw68VJ8HYBRNLp3ymwkvDmM/yyjZ3tjzPEdGk8DUI+QjOX2/wa8iQBkR415mD+8b7s8lLVJG4E6NP5dpRm8fsg==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-DxK0F4rx1f2QAJ5MwsnS0+BH9xINa7b/sCtDcM6xHLW6hmb8/CEgOBJm9S4+trPypsv72+SQlNQ7cij7rvsunw==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/qs': 6.9.7 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 @@ -15660,11 +15646,11 @@ packages: mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -15674,19 +15660,19 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-sJuoRp2IAMTAMQ1HZTtCVjSBfeBidJicr777/fQnWoJHlWLBt7qXrOdpFDwRKncAIdDtaKpXD/rOqxpi4QdePQ==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-akqU9tWkWODh2zTN879bg6J4VD36gSBp7Lm5g41RE0I50RfpcO0vMe7/kU37o33tA6tG6ZlnSk9zmfh7tGApEA==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: '@azure/keyvault-keys': 4.2.0 - '@azure/msal-browser': 2.23.0 - '@azure/msal-common': 4.5.1 - '@azure/msal-node': 1.8.0 + '@azure/msal-browser': 2.24.0 + '@azure/msal-common': 6.3.0 + '@azure/msal-node': 1.9.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/jws': 3.2.4 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/stoppable': 1.1.1 '@types/uuid': 8.3.4 @@ -15697,25 +15683,25 @@ packages: events: 3.3.0 inherits: 2.0.4 jws: 4.0.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 karma-env-preprocessor: 0.1.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 open: 8.4.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 stoppable: 1.1.0 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 uuid: 8.3.2 transitivePeerDependencies: @@ -15735,23 +15721,23 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -15771,40 +15757,39 @@ packages: dev: false file:projects/iot-modelsrepository.tgz: - resolution: {integrity: sha512-VW72wbCWeqTJbxVnQ5dD674wLXBif2yL0BMBQ166N0KFRosiSFr+0QsiMN3aLW2wcHS3/CUtHNieXGsHmaou4w==, tarball: file:projects/iot-modelsrepository.tgz} + resolution: {integrity: sha512-Oxbb82Y1FP5EcPevKMNRmhy+0Kd2TT2lKnkLgx/giI4+lqexWXkxQFz6Tim3xLBICCfCy/6ZlElStAcIQMxz7g==, tarball: file:projects/iot-modelsrepository.tgz} name: '@rush-temp/iot-modelsrepository' version: 0.0.0 dependencies: - '@azure/core-tracing': 1.0.0-preview.13 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -15827,7 +15812,7 @@ packages: '@azure/keyvault-keys': 4.4.0 '@microsoft/api-extractor': 7.18.11 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 cross-env: 7.0.3 @@ -15842,7 +15827,7 @@ packages: sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 uuid: 8.3.2 transitivePeerDependencies: - debug @@ -15851,7 +15836,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-SHmaFR9tD02imU2FLDkgommocoUmge0S/AW7zJSkgkXPZxHXtxcsBGvaegxM+j4qbMWH56qzEN4m7Szz6X7Qdw==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-ecbqVes/DmVRLvSsNPSR/KHhOgqhFkNnHNBYCM93DGpX8kFGPaEnKrGDB1MlQjs8K8NbiqLpWGv55zYrtHWhjQ==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -15859,35 +15844,35 @@ packages: '@azure/keyvault-secrets': 4.4.0 '@microsoft/api-extractor': 7.18.11 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 url: 0.11.0 transitivePeerDependencies: - bufferutil @@ -15906,49 +15891,49 @@ packages: prettier: 2.6.2 rimraf: 3.0.2 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - supports-color dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-iVA6ldS8hSArP6bvmdB5hqzN+wnOnKy3pgXWcFCpVNrWWEE3YbX2cuBAYRzfVItITj4WmUqWfXWksYTH1LPFBw==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-lgDPnl82Zf3igh0eZTAoVokH8b0XUVQkY2YSvyWNfgg6nn+8rTSvbDSR4TZunqQ2wfEqtkhr1aUi0UCeCP8Bww==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@microsoft/api-extractor': 7.18.11 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 cross-env: 7.0.3 - dayjs: 1.11.1 + dayjs: 1.11.2 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 url: 0.11.0 transitivePeerDependencies: - bufferutil @@ -15959,42 +15944,42 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-+9s+lEhhJYn0HJMv5xPlKmiv4iGRwbYISX4hLCSxqiZQ6fthSotsxKI/VjmaWgXFaHs9z5DInfEbExr4QPNQIA==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-8hpDZAeKYyBHYNcUUjdqpEDWwNaEdjCv3Rue0wZrIh1s8dPbQDoCGDwKEV2tTFdYDSEVVWbS9xMcBnQy5a0fLA==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@microsoft/api-extractor': 7.18.11 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 url: 0.11.0 transitivePeerDependencies: - bufferutil @@ -16005,41 +15990,40 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-4oFLfXF58h4vd0ye9yIrJqV8ICk41YWvs7BAp3qJK08zbvY4hS3bdm5DmsuW313e61nlxd+eTEebgd1lWzIOpA==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-ZDTAQhk8HHOLlgyUU9tRw93HmB4xflzHC8KdizongGzov3aPua0kTJssLL4/ileNBIiCwioPg4MFvENa+vMHGA==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 - delay: 4.4.1 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -16061,25 +16045,25 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -16108,7 +16092,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -16116,18 +16100,18 @@ packages: dotenv: 8.6.0 eslint: 7.32.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 @@ -16149,7 +16133,7 @@ packages: name: '@rush-temp/mock-hub' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 @@ -16176,7 +16160,7 @@ packages: '@opentelemetry/sdk-trace-node': 1.2.0_@opentelemetry+api@1.0.4 '@opentelemetry/semantic-conventions': 1.2.0 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 eslint-plugin-node: 11.1.0_eslint@7.32.0 @@ -16187,9 +16171,9 @@ packages: prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -16211,25 +16195,25 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 downlevel-dts: 0.8.0 - eslint: 8.14.0 + eslint: 8.15.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 @@ -16237,7 +16221,7 @@ packages: rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - bufferutil - debug @@ -16260,7 +16244,7 @@ packages: '@opentelemetry/sdk-trace-node': 1.2.0_@opentelemetry+api@1.1.0 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 10.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -16269,18 +16253,18 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 nyc: 14.1.1 @@ -16289,7 +16273,7 @@ packages: sinon: 12.0.1 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -16306,12 +16290,12 @@ packages: dependencies: '@azure/ai-form-recognizer': 3.1.0-beta.3 '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16328,12 +16312,12 @@ packages: version: 0.0.0 dependencies: '@azure/ai-metrics-advisor': 1.0.0-beta.3 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16344,18 +16328,17 @@ packages: dev: false file:projects/perf-ai-text-analytics.tgz: - resolution: {integrity: sha512-uq5L+xvUbCnOihVuBqg8qtvZQc9MBzbMxZEcQ0IdBGK9RgPfJQ9cQND8UppAGliOKQVXhF/Hg1sFIxp2KX9tFA==, tarball: file:projects/perf-ai-text-analytics.tgz} + resolution: {integrity: sha512-WHmik8Hk9YG8PyL0BBOl1W2SHKpu4DA9DoB8PrP07sFhNS7/25wFkR8ojHDwCtARogVIsWdN2f0poJQ49DksvQ==, tarball: file:projects/perf-ai-text-analytics.tgz} name: '@rush-temp/perf-ai-text-analytics' version: 0.0.0 dependencies: - '@azure/ai-text-analytics': 5.1.0 '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16371,13 +16354,13 @@ packages: version: 0.0.0 dependencies: '@azure/app-configuration': 1.3.1 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16393,7 +16376,7 @@ packages: name: '@rush-temp/perf-container-registry' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 @@ -16410,15 +16393,15 @@ packages: name: '@rush-temp/perf-core-rest-pipeline' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -16430,13 +16413,13 @@ packages: name: '@rush-temp/perf-data-tables' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16451,15 +16434,14 @@ packages: name: '@rush-temp/perf-event-hubs' version: 0.0.0 dependencies: - '@azure/event-hubs': 5.7.0 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 moment: 2.29.3 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16474,12 +16456,12 @@ packages: name: '@rush-temp/perf-eventgrid' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16494,13 +16476,13 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16517,13 +16499,13 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/keyvault-certificates': 4.4.0 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16542,13 +16524,13 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/keyvault-keys': 4.4.0 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16567,13 +16549,13 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/keyvault-secrets': 4.4.0 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16591,12 +16573,12 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16612,12 +16594,12 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16634,12 +16616,12 @@ packages: dependencies: '@azure/identity': 2.0.4 '@azure/search-documents': 11.3.0-beta.7 - '@types/node': 12.20.50 + '@types/node': 12.20.52 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 transitivePeerDependencies: @@ -16655,13 +16637,13 @@ packages: version: 0.0.0 dependencies: '@azure/service-bus': 7.5.1 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16677,7 +16659,7 @@ packages: name: '@rush-temp/perf-storage-blob' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/node-fetch': 2.6.1 '@types/uuid': 8.3.4 dotenv: 8.6.0 @@ -16685,7 +16667,7 @@ packages: node-fetch: 2.6.7 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16701,13 +16683,13 @@ packages: name: '@rush-temp/perf-storage-file-datalake' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16722,13 +16704,13 @@ packages: name: '@rush-temp/perf-storage-file-share' version: 0.0.0 dependencies: - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16745,13 +16727,13 @@ packages: dependencies: '@azure/app-configuration': 1.3.1 '@azure/identity': 2.0.4 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 dotenv: 8.6.0 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 uuid: 8.3.2 @@ -16769,24 +16751,24 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.0.4 - '@microsoft/api-extractor': 7.23.0 + '@microsoft/api-extractor': 7.24.0 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16814,21 +16796,21 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16856,21 +16838,21 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mkdirp: 1.0.4 @@ -16890,17 +16872,16 @@ packages: dev: false file:projects/quantum-jobs.tgz: - resolution: {integrity: sha512-VxnLvyLqoZH49xy0s+rp9ctoU8vHvYNl+4ZHlV0kTIWs1m8Gum1j8KODVUJgTkQxkfen1ajFnJ6H70k8fzmdWA==, tarball: file:projects/quantum-jobs.tgz} + resolution: {integrity: sha512-3tDUSyC5067Lkl6sXvFfb/AmVxbl/T17baX535KAcbz1wmc+a77SxX0QJwnd0B60nhPYtxqGTV9jhS8n+FmS0Q==, tarball: file:projects/quantum-jobs.tgz} name: '@rush-temp/quantum-jobs' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 - '@azure/storage-blob': 12.9.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -16908,18 +16889,18 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -16928,7 +16909,7 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -16939,20 +16920,20 @@ packages: dev: false file:projects/schema-registry-avro.tgz: - resolution: {integrity: sha512-L7tpSNZZcCQcbMDmJe1VteiRzRMdH95R18n6R7JHtOVbzl+6v+2CH8DujYjbUd+u2ot+CyoMSRjWTFOluyZd2A==, tarball: file:projects/schema-registry-avro.tgz} + resolution: {integrity: sha512-bSa0FZYwShDizinsJz52yUB3AlgzgeprDq8scvtLN6qRdCM15xRRDonqL39MTaVGdfPcrVPtCTrxajjeiDraKw==, tarball: file:projects/schema-registry-avro.tgz} name: '@rush-temp/schema-registry-avro' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-inject': 4.0.4_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-inject': 4.0.4_rollup@2.73.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 - '@types/lru-cache': 7.6.1 + '@types/lru-cache': 7.10.10 '@types/mocha': 7.0.2 - '@types/node': 16.11.31 + '@types/node': 16.11.35 '@types/uuid': 8.3.4 avsc: 5.7.4 buffer: 6.0.3 @@ -16961,32 +16942,32 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 - lru-cache: 7.8.1 + lru-cache: 7.10.1 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 process: 0.11.10 rimraf: 3.0.2 - rollup: 2.70.2 + rollup: 2.73.0 rollup-plugin-shim: 1.0.0 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 uuid: 8.3.2 transitivePeerDependencies: - bufferutil @@ -17006,24 +16987,24 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -17032,7 +17013,7 @@ packages: rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 transitivePeerDependencies: - bufferutil - debug @@ -17049,7 +17030,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -17057,18 +17038,18 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -17076,9 +17057,9 @@ packages: prettier: 2.6.2 rimraf: 3.0.2 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - '@swc/core' @@ -17090,7 +17071,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-jIrpQrY6Vvl7qapBcw/xf84wQd5kzzpHEbFpcyyDBxrBlo6FmvLS5s2Gahd0hY6z6lWNHcC1SJ1ftPSR9qLpbg==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-pDM1CYSPeAwIdjqBC0r6H7ddrMXNuVX9SOR2E+QF9Cmir2OpqWmHgeZiiNFOfYuDJn7j2I7q0lDKUEveBT2pJQ==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -17104,7 +17085,7 @@ packages: '@types/is-buffer': 2.0.0 '@types/long': 4.0.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 @@ -17116,23 +17097,23 @@ packages: debug: 4.3.4 dotenv: 8.6.0 downlevel-dts: 0.8.0 - eslint: 8.14.0 + eslint: 8.15.0 esm: 3.2.25 events: 3.3.0 - glob: 7.2.0 + glob: 8.0.3 https-proxy-agent: 5.0.1 is-buffer: 2.0.5 jssha: 3.2.0 - karma: 6.3.19_debug@4.3.4 + karma: 6.3.20_debug@4.3.4 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 long: 5.2.0 mocha: 7.2.0 @@ -17142,16 +17123,16 @@ packages: prettier: 2.6.2 process: 0.11.10 promise: 8.1.0 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rhea-promise: 2.1.0 rimraf: 3.0.2 - rollup: 2.70.2 + rollup: 2.73.0 sinon: 9.2.4 - ts-node: 10.7.0_5ff6de28ce877d9a6652c4006a254f74 + ts-node: 10.7.0_883919596b5eb7018685c14864aed828 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 uuid: 8.3.2 - ws: 8.5.0 + ws: 8.6.0 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -17162,17 +17143,16 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-VSQlgYbDp+wosfR7rj1ytxpRorMW3c0VWrNldYhnlAImhH4j1rjDJapz1/s3eh6WzRUnNTiJhWI9s3Ui0u6StQ==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-SrCjeQtrzDJmR9Zt36InqNML4QReO6HcTs2/N/Pa4fvIX5WfkDW/vO9lXpUQYnrfXJVcKKatFAvc42WIanJaTg==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/storage-blob': 12.9.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 @@ -17183,28 +17163,28 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17219,7 +17199,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-Z4WYBqDkBTdeYPhXQ8H3dw82ToqmcnSWNw0nOFeiTexmbRtkR2YeuVwvU8OOu7wraT2Kd7bC+i/0TBxJvN/HZQ==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-e2ALxO3yxnmHXo8ZlA+u2EyYcnfBsqQ9mThb9kbTr08srrAOzUpbDrk5Vclzu1kPbnS2951/uNMay7DF4vAxLg==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -17229,7 +17209,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/node-fetch': 2.6.1 chai: 4.3.6 cross-env: 7.0.3 @@ -17240,27 +17220,27 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17275,7 +17255,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-VquDeL2bZ4rYeKIPbUoVq++0qBumzjDypaSMNu049cu6xTVWkwxyHlQwDebOLwyJ3Ls0lvT4XCz5x6VdKDj5Mw==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-nXm5s35Wfg8EJFNsOIDTkcIW5uWws1QHUGFGKuoWSJyHUEqY2pmtAAdO+3RZfaA10SrvCD3zNTwqFLYmxxZ37w==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -17285,7 +17265,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -17296,27 +17276,27 @@ packages: events: 3.3.0 execa: 6.1.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17331,17 +17311,16 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-7coQmxO3M1/r8TtcZqGAqsq/bP+z3PvxK/t+l5XHmxl/BHn5vHVvDYH3hFp6bF2IkrcNfd8THnqOiI1hH4kTZw==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-Jrb/nCljJ1JIrl0pYwCo6g7kp4d5qL8W3R/wAiFYHUgLwgRpF/4GaH8CtrfvlUwcGeuRhrkKJLp0+CFf1PEGKw==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/core-tracing': 1.0.0-preview.13 - '@azure/storage-blob': 12.9.0 '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -17351,27 +17330,27 @@ packages: esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17386,7 +17365,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-uDdAXGB5gG/lbDf0Ecy5wgJb1oT9s2xC+ZbvVo/9IuZlzbkGVJ2SRIDxPQ92bNTRd08Lf0FajtCkw9zHNZoaDQ==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-JC05RubVjGkhV84BNH6KEsj/KsfxdLM43k16Fb/Ykc5ImCtEly/XA+8sJ5JUsAzSgQMHbzsdHV3n5nvk970a2g==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -17394,7 +17373,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 dotenv: 8.6.0 downlevel-dts: 0.8.0 @@ -17402,27 +17381,27 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17437,7 +17416,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-D4yIIKQYos3J4l3XFApxt8LRvIGMSAGvP+JKtLgq4tVajEtOB6MLNLFd+onpmFW2ihsLHEUQQiQZ//UEXMCNfQ==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-qctLIt5pYffVAN/Arq/yCoK4Tw1qsea2BRQvdb9OTmPthiOtxbKL6/laS/I1IuYa/bLAHKSNw1zse/XgjTbjqg==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -17447,7 +17426,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -17456,27 +17435,27 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 util: 0.12.4 @@ -17502,25 +17481,25 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -17530,10 +17509,10 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -17555,7 +17534,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/uuid': 8.3.4 chai: 4.3.6 @@ -17563,18 +17542,18 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -17584,10 +17563,10 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 uuid: 8.3.2 transitivePeerDependencies: - '@swc/core' @@ -17609,25 +17588,25 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -17637,10 +17616,10 @@ packages: rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 - ts-node: 10.7.0_399288125904458fe9269dcaa1fb2559 + ts-node: 10.7.0_2bb383e6958e88f9b6508b8c2b6060d0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -17667,18 +17646,18 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -17688,7 +17667,7 @@ packages: rimraf: 3.0.2 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - bufferutil - debug @@ -17704,15 +17683,15 @@ packages: dependencies: '@azure/core-tracing': 1.0.0-preview.13 '@microsoft/api-extractor': 7.18.11 - '@rollup/plugin-commonjs': 21.1.0_rollup@2.70.2 - '@rollup/plugin-node-resolve': 13.2.1_rollup@2.70.2 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.73.0 + '@rollup/plugin-node-resolve': 13.3.0_rollup@2.73.0 eslint: 7.32.0 rimraf: 3.0.2 - rollup: 2.70.2 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.2 + rollup: 2.73.0 + rollup-plugin-sourcemaps: 0.6.3_rollup@2.73.0 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - '@types/node' - supports-color @@ -17735,18 +17714,18 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-source-map-support: 1.4.0 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 @@ -17756,7 +17735,7 @@ packages: rimraf: 3.0.2 tslib: 2.4.0 typescript: 4.2.4 - uglify-js: 3.15.4 + uglify-js: 3.15.5 transitivePeerDependencies: - bufferutil - debug @@ -17774,7 +17753,7 @@ packages: '@microsoft/api-extractor': 7.18.11 '@types/chai': 4.3.1 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 @@ -17782,18 +17761,18 @@ packages: eslint: 7.32.0 esm: 3.2.25 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 @@ -17801,7 +17780,7 @@ packages: rimraf: 3.0.2 source-map-support: 0.5.21 tslib: 2.4.0 - typescript: 4.6.3 + typescript: 4.6.4 util: 0.12.4 transitivePeerDependencies: - bufferutil @@ -17816,7 +17795,7 @@ packages: version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 eslint: 7.32.0 prettier: 2.6.2 rimraf: 3.0.2 @@ -17835,24 +17814,24 @@ packages: '@types/express': 4.17.13 '@types/fs-extra': 8.1.2 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 chai: 4.3.6 - concurrently: 7.1.0 + concurrently: 7.2.0 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 - express: 4.18.0 - karma: 6.3.19 + express: 4.18.1 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -17876,10 +17855,10 @@ packages: version: 0.0.0 dependencies: '@types/minimist': 1.2.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/node-fetch': 2.6.1 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 karma-env-preprocessor: 0.1.1 @@ -17909,14 +17888,14 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 chai-exclude: 2.1.0_chai@4.3.6 cross-env: 7.0.3 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 karma-env-preprocessor: 0.1.1 @@ -17946,23 +17925,23 @@ packages: '@types/mock-fs': 4.13.1 '@types/mock-require': 2.0.1 '@types/nise': 1.4.0 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/uuid': 8.3.4 chai: 4.3.6 dotenv: 8.6.0 eslint: 7.32.0 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -17992,7 +17971,7 @@ packages: '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.5 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 azure-iothub: 1.15.0 chai: 4.3.6 chai-as-promised: 7.1.1_chai@4.3.6 @@ -18001,16 +17980,16 @@ packages: eslint: 7.32.0 events: 3.3.0 inherits: 2.0.4 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 @@ -18029,7 +18008,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-96raTTKnLOwbMHcA/nliZ8xy8TkCsPISwkoKAiD/iXV3y1sgWT+i1rhUxXzNBw6CIrwMnk8CNWcxhscT+sBTEw==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-KmQsm5o7zxZdyO3UCIMQIj6aABPEG1Hy/ZxLMBmkki2kCJTbwQSaI05aLhK2PlggekQKRg7EIz4VGOeHgImOUQ==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -18040,32 +18019,32 @@ packages: '@types/express-serve-static-core': 4.17.28 '@types/jsonwebtoken': 8.5.8 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 chai: 4.3.6 cross-env: 7.0.3 dotenv: 8.6.0 eslint: 7.32.0 esm: 3.2.25 - express: 4.18.0 - karma: 6.3.19 + express: 4.18.1 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-json-preprocessor: 0.3.3_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-json-preprocessor: 0.3.3_karma@6.3.20 karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 @@ -18080,7 +18059,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-rIO2bMRXooML7pF/8cUoYenhTai0/xMKnvhmdUdwH1pdc6/LZZxLFDlduMxDzVuf4RTVixczeTCXBouQBlT2gQ==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-MLBI/RvEdeUYzKonnditTbgg8HTfow3phNO+nBXJLRQ5IT518UxKx9y34yaQHXBvoUtuF9c/9p7jXPJPg/1t3g==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: @@ -18088,7 +18067,7 @@ packages: '@types/chai': 4.3.1 '@types/jsonwebtoken': 8.5.8 '@types/mocha': 7.0.2 - '@types/node': 12.20.50 + '@types/node': 12.20.52 '@types/sinon': 9.0.11 '@types/ws': 8.5.3 chai: 4.3.6 @@ -18097,28 +18076,28 @@ packages: eslint: 7.32.0 esm: 3.2.25 jsonwebtoken: 8.5.1 - karma: 6.3.19 + karma: 6.3.20 karma-chrome-launcher: 3.1.1 karma-coverage: 2.2.0 - karma-edge-launcher: 0.4.2_karma@6.3.19 + karma-edge-launcher: 0.4.2_karma@6.3.20 karma-env-preprocessor: 0.1.1 karma-firefox-launcher: 1.3.0 - karma-ie-launcher: 1.0.0_karma@6.3.19 - karma-junit-reporter: 2.0.1_karma@6.3.19 + karma-ie-launcher: 1.0.0_karma@6.3.20 + karma-junit-reporter: 2.0.1_karma@6.3.20 karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5_karma@6.3.19 + karma-mocha-reporter: 2.2.5_karma@6.3.20 karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 2.0.2_mocha@7.2.0 nyc: 15.1.0 prettier: 2.6.2 - puppeteer: 13.7.0 + puppeteer: 14.1.0 rimraf: 3.0.2 sinon: 9.2.4 source-map-support: 0.5.21 tslib: 2.4.0 typescript: 4.2.4 - ws: 8.5.0 + ws: 8.6.0 transitivePeerDependencies: - bufferutil - debug diff --git a/common/tools/dev-tool/src/config/rollup.base.config.ts b/common/tools/dev-tool/src/config/rollup.base.config.ts index edaddc39b6d0..e57ca695cc89 100644 --- a/common/tools/dev-tool/src/config/rollup.base.config.ts +++ b/common/tools/dev-tool/src/config/rollup.base.config.ts @@ -83,6 +83,14 @@ function ignoreChaiCircularDependency(warning: RollupWarning): boolean { ); } + +function ignoreRheaPromiseCircularDependency(warning: RollupWarning): boolean { + return ( + warning.code === "CIRCULAR_DEPENDENCY" && + warning.importer?.includes(["node_modules", "rhea-promise"].join(path.sep)) === true + ); +} + function ignoreOpenTelemetryThisIsUndefined(warning: RollupWarning): boolean { return ( warning.code === "THIS_IS_UNDEFINED" && @@ -104,6 +112,7 @@ function ignoreMissingExportsFromEmpty(warning: RollupWarning): boolean { const warningInhibitors: Array<(warning: RollupWarning) => boolean> = [ ignoreChaiCircularDependency, + ignoreRheaPromiseCircularDependency, ignoreNiseSinonEval, ignoreOpenTelemetryThisIsUndefined, ignoreMissingExportsFromEmpty, diff --git a/common/tools/eslint-plugin-azure-sdk/package.json b/common/tools/eslint-plugin-azure-sdk/package.json index ef48f154f059..4f87a35ff8d7 100644 --- a/common/tools/eslint-plugin-azure-sdk/package.json +++ b/common/tools/eslint-plugin-azure-sdk/package.json @@ -72,7 +72,7 @@ "@types/eslint": "~8.4.0", "@types/estree": "~0.0.46", "eslint-config-prettier": "^8.0.0", - "glob": "^7.1.2", + "glob": "^8.0.0", "json-schema": "^0.4.0", "typescript": "~4.2.0", "tslib": "^2.2.0" diff --git a/dataplane.code-workspace b/dataplane.code-workspace index f14270a02928..99796bb0b127 100644 --- a/dataplane.code-workspace +++ b/dataplane.code-workspace @@ -68,10 +68,6 @@ "name": "agrifood-farming", "path": "sdk/agrifood/agrifood-farming-rest" }, - { - "name": "core-crypto", - "path": "sdk/core/core-crypto" - }, { "name": "core-http", "path": "sdk/core/core-http" diff --git a/documentation/RLC-customization-doc.md b/documentation/RLC-customization-doc.md new file mode 100644 index 000000000000..455d102670db --- /dev/null +++ b/documentation/RLC-customization-doc.md @@ -0,0 +1,300 @@ +# Customization on the RLC rest-level client libraries + +## Generate RLC Client + +Follow [quickstart](https://aka.ms/azsdk/rlc/js) to generate the rest-level client from OpenAPI specs. + +It's advised to put the generated code into the folder `generated`, add your customization code under the folder `src` and then export or re-export them as needed. + +```yaml +source-code-folder-path: ./src/generated +``` + +## Custom authentication + +Some services require a custom authentication flow. For example Metrics Advisor uses Key Authentication, however MA requires 2 headers for key authentication `Ocp-Apim-Subscription-Key` and `x-api-key`, which is different to the usual key authentication which only requires a single key. + +In this case we customize as follows: + +1. Hand author a `PipelinePolicy` that takes values for both keys and sign the request +2. Hand author a wrapping client factory function +3. In the wrapping factory, we create a new client with the generated factory +4. Inject the new policy to the client +5. Return the client +6. Only expose the wrapping factory and hide the generated factory. + +Here is the implementation in Metrics Advisor. + +The wrapping function looks like: + +```typescript +import MetricsAdvisor from "./generated/generatedClient"; +import { isTokenCredential, TokenCredential } from "@azure/core-auth"; +import { ClientOptions } from "@azure-rest/core-client"; +import { + createMetricsAdvisorKeyCredentialPolicy, + MetricsAdvisorKeyCredential, +} from "./metricsAdvisorKeyCredentialPolicy"; + +export default function createClient( + endpoint: string, + credential: TokenCredential | MetricsAdvisorKeyCredential, + options: ClientOptions = {} +): GeneratedClient { + if (isTokenCredential(credential)) { + return MetricsAdvisor(endpoint, credential, options); + } else { + const client = MetricsAdvisor(endpoint, undefined as any, options); + const authPolicy = createMetricsAdvisorKeyCredentialPolicy(credential); + client.pipeline.addPolicy(authPolicy); + return client; + } +} +``` + +And in `metricsAdvisorKeyCredentialPolicy.ts` file we have the customized policy and `createMetricsAdvisorKeyCredentialPolicy` function to create that policy + +```typescript +import { + PipelinePolicy, + PipelineRequest, + PipelineResponse, + SendRequest, +} from "@azure/core-rest-pipeline"; +import { KeyCredential } from "@azure/core-auth"; +export const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key"; +export const X_API_KEY_HEADER_NAME = "x-api-key"; + +/** + * Interface parameters for updateKey function + */ +export interface MetricsAdvisorKeyCredential extends KeyCredential { + /** API key from the Metrics Advisor web portal */ + // key?: string; // extended from KeyCredential + /** Subscription access key from the Azure portal */ + subscriptionKey?: string; +} + +/** + * Creates an HTTP pipeline policy to authenticate a request + * using an `MetricsAdvisorKeyCredential` + */ +export function createMetricsAdvisorKeyCredentialPolicy( + credential: MetricsAdvisorKeyCredential +): PipelinePolicy { + return { + name: "metricsAdvisorKeyCredentialPolicy", + sendRequest(request: PipelineRequest, next: SendRequest): Promise { + if (!request) { + throw new Error("webResource cannot be null or undefined"); + } + request.headers.set(API_KEY_HEADER_NAME, credential.subscriptionKey || ""); + request.headers.set(X_API_KEY_HEADER_NAME, credential.key); + return next(request); + }, + }; +} +``` + +With this user experience is the same as it is with any other RLC, as they just need to create a new client from the default exported factory function. + +```typescript +import MetricsAdvisor, { paginate } from "@azure-rest/ai-metricsadvisor"; + +const client = MetricsAdvisor("https://", { + key: "", + subscriptionKey: "", +}); +``` + +## Custom paging helper + +Eventhough the code generator provides a pagination helper for RLCs, there are services that implement their own pagination pattern, different to the standard specification of `x-ms-pageable`. + +One example is the Metrics Advisor service, which implements a pagination pattern in which getting the next page can be called with `GET` or `POST` depending on the resource. + +The standard pagination pattern, assumes `GET` for getting the next pages. In this case we implemented a custom paginate helper that has the same public interface as the generated helper but under the hoods has an additional pagination implementation to use `POST`. Also this custom helper has an internal map that indicates which operations need `POST` and which need `GET`. + +Here is the implementation in Metrics Advisor and remember to replace the `paginationMapping` as yours. The generated paging helper is hidden and the custom paginate helper is exposed. + +```typescript +import { getPagedAsyncIterator, PagedAsyncIterableIterator, PagedResult } from "@azure/core-paging"; +import { Client, createRestError, PathUncheckedResponse } from "@azure-rest/core-client"; +import { PaginateReturn, PagingOptions } from "./generated/paginateHelper"; + +export function paginate( + client: Client, + initialResponse: TResponse, + options: PagingOptions = {} +): PagedAsyncIterableIterator> { + // internal map to indicate which operation uses which method + const paginationMapping: Record = { + "/feedback/metric/query": { + method: "POST", + }, + "/dataFeeds": { + method: "GET", + }, + "/hooks": { + method: "GET", + }, + }; + + // Extract element type from initial response + type TElement = PaginateReturn; + let firstRun = true; + // We need to check the response for success before trying to inspect it looking for + // the properties to use for nextLink and itemName + checkPagingRequest(initialResponse); + const { itemName, nextLinkName } = getPaginationProperties(initialResponse); + const { customGetPage } = options; + const pagedResult: PagedResult = { + firstPageLink: "", + getPage: + typeof customGetPage === "function" + ? customGetPage + : async (pageLink: string) => { + // Calculate using get or post + let result; + if (paginationMapping[initialResponse.request.url]?.method == "POST") { + result = firstRun + ? initialResponse + : await client.pathUnchecked(pageLink).post({ body: initialResponse.request.body }); + } else { + result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get(); + } + firstRun = false; + checkPagingRequest(result); + const nextLink = getNextLink(result.body, nextLinkName); + const values = getElements(result.body, itemName); + return { + page: values, + nextPageLink: nextLink, + }; + }, + }; + + return getPagedAsyncIterator(pagedResult); +} +``` + +The example code to call the helper. + +```typescript +import MetricsAdvisor, { paginate } from "@azure-rest/ai-metricsadvisor"; +import { DefaultAzureCredential } from "@azure/identity"; + +const client = MetricsAdvisor("https://", new DefaultAzureCredential()); + +const initResponse = await client.listDataFeeds({ + queryParameters: { + dataFeedName: "js-test-", + $skip: 1, + $maxpagesize: 1, + }, +}); + +const dataFeeds = paginate(client, initResponse); +for await (const dataFeed of dataFeeds) { + console.log(data); +} +``` + +## Custom data transform helpers + +There may be times in which transforming the data from the service would be beneficial. When a transformation is common for our customers we may decide to expose helper transformation functions. These helper transformations are optional and customers can decide to use them or not, the calls maintain the original data form from the Service. + +If we export `toDataFeedDetailResponse` which may convert the REST model to a common one, so that the customers could call this way: + +```typescript +import MetricsAdvisor, { toDataFeedDetailResponse } from "@azure-rest/ai-metricsadvisor"; +import { DefaultAzureCredential } from "@azure/identity"; + +const client = MetricsAdvisor("https://", new DefaultAzureCredential()); +const listResponse = await client.listDataFeeds(); +if (listResponse.status != "201") { + throw new Error("Error"); +} + +// Transforms service data into a more useful shape +const formattedDatafeed = toDataFeedDetailResponse(listResponse); +``` + +## Multi-client packages + +There are cases where 2 services are closely related that most users will need to use both in the same application, in this case, we may opt for multi-client packages. Each client can be imported individually without a top-level client, this is to work nicely with bundler TreeShaking. + +We could leverage the autorest batch option and enable multi-client flag in our `README.md` to generate two or more service clients. + +Here is an example in metrics advisor, we have two clients `MetricsAdvisorClient` and `MetricsAdvisorAdministrationClient`. + +### Use multi-client flag and batch option + +Add the `multi-client` flag in our readme and use the `batch` autorest option to create the two clients: + +```yaml $(multi-client) +batch: + - metrics-advisor: true + - metrics-advisor-admin: true +``` + +### Specify configurations for each individual clients + +For each individual clients specify your client name and swagger file. Make sure that you don't have one Swagger with operations that are designed to be in two different clients so that clients should correspond to a clear set of Swagger files. + +Normally, the folder structure would be something like `sdk/{servicename}/{servicename}-{modulename}-rest`. For example, we have `sdk/agrifood/agrifood-farming-rest` folder for Farmbeats account modules. That folder will be your **${PROJECT_ROOT} folder**. + +```yaml $(metrics-advisor) == true +title: MetricsAdvisorClient +description: Metrics Advisor Client +output-folder: ${PROJECT_ROOT}/src +source-code-folder-path: ./client +input-file: /your/swagger/folder/metricsadvisor.json +``` + +```yaml $(metrics-advisor-admin) == true +title: MetricsAdvisorAdministrationClient +description: Metrics Advisor Admin Client +output-folder: ${PROJECT_ROOT}/src +source-code-folder-path: ./admin +input-file: /your/swagger/folder/metricsadvisor-admin.json +``` + +### Generate code with `--multi-client` + +When generating the code specify that what we want is multi-client so append the flag in command line `--multi-client`. After generation the folder structure would be like below: + +``` +${PROJECT_ROOT}/ +├─ src/ +│ ├─ client/ +│ │ ├─ MetricsAdvisorClient.ts +│ │ ├─ index.ts +│ ├─ admin/ +│ │ ├─ MetricsAdvisorAdministrationClient.ts +│ │ ├─ index.ts +│ ├─ index.ts +``` + +### Example code to call any client + +```typescript +import { + MetricsAdvisorAdministrationClient, + MetricsAdvisorClient, +} from "@azure-rest/ai-metrics-advisor"; +const adminClient = MetricsAdvisorAdministrationClient.createClient(endpoint, credential); +// call any admin operation +const createdResponse = await adminClient.createDataFeed(``); +const maClient = MetricsAdvisorClient.createClient(endpoint, credential); +// call any non-admin operation +const listedResponse = await maClient.getIncidentsByAnomalyDetectionConfiguration(``); +``` + +## RLC Customization Considerations + +Our customization strategy has the following principles: + +- Expose custom functionality as helper functions that users can opt-in +- Never force customers to use a customized function or operation +- The only exception is if we need to add custom policies to the client, it is okay to wrap the generated client factory and exposed the wrapped factory instead of the generated one. diff --git a/documentation/RLC-quickstart.md b/documentation/RLC-quickstart.md index bc2dadbcfb40..0dbd73a795c5 100644 --- a/documentation/RLC-quickstart.md +++ b/documentation/RLC-quickstart.md @@ -103,17 +103,34 @@ We are working on to automatically generate everything right now, but currently In order to release it, we need to add some tests for it to make sure we are delivering high quality packages. but before we add the test, we need to add a generate-test: true make the code generator generate the necessary change in package.json and tsconfig.json so that test framework can work. Once the generation finished, you will see a sampleTest.spec.ts file in your `{PROJECT_ROOT}/test/public` folder, which only has a empty test and you may change them into test against your own services. +## Prerequisites + +- To record and playback the tests, [Docker](https://www.docker.com/) is required when we run the test, as the [test proxy server](https://github.com/Azure/azure-sdk-tools/tree/main/tools/test-proxy) is run in a container during testing. When running the tests, ensure the Docker daemon is running and you have permission to use it. For WSL 2, running `sudo service docker start` and `sudo usermod -aG docker $USER` should be sufficient. + 1. **run the test** - Now, you can run the test like this. - ```shell + Now, you can run the test like this. If you are the first time to run test, you need to set the environment variable `TEST_MODE` to `record`. This will generate recordings for your test they could be used in `playback` mode. + On Linux, you could use `export` to set env variable: + ```shell rush build -t ${PACKAGE_NAME} - export TEST_MODE=record && rushx test # this will run live test and generate a recordings folder, you will need to submit it in the PR. + export TEST_MODE=record && rushx test # this will run live test and generate a recordings folder, you will need to submit it in the PR. ``` - You can also run the playback mode test if your apis don't have breaking changes and you already done the recording before. - ```shell + On Windows, you could use `SET`: + ```shell rush build -t ${PACKAGE_NAME} - rushx test + SET TEST_MODE=record&& rushx test # this will run live test and generate a recordings folder, you will need to submit it in the PR. ``` + You can also run the `playback` mode test if your apis don't have breaking changes and you've already done the recording before. + On Linux, you could use below commands: + ```shell + rush build -t ${PACKAGE_NAME} + export TEST_MODE=playback && rushx test # this will run live test and generate a recordings folder, you will need to submit it in the PR. + ``` + On Windows, you can use: + ```shell + rush build -t ${PACKAGE_NAME} + SET TEST_MODE=playback&& rushx test # this will run live test and generate a recordings folder, you will need to submit it in the PR. + ``` + # How to write samples We author TypeScript samples under the `samples-dev` folder. You can use sample-dev template for reference [samples-dev folder](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template/samples-dev) folder and update the relevant information for your service such as package-name, sample code, description, etc. @@ -209,4 +226,4 @@ Please change the paths.include value as your own project path, and change the A If there's already a ci.yml file in your project path. then the only thing you need to do is to add the Artifacts name and safeName of yours into that ci.yml. # Create API View -You may also want to create API View when submitting a PR. You can do it easily by uploading a json file to [API View Website](https://apiview.dev/). The json file is under `/temp`, and its name ends with `api.json`. For example: `sdk/compute/arm-compute/temp/arm-compute.api.json`. +You may also want to create API View when submitting a PR. You can do it easily by uploading a json file to [API View Website](https://apiview.dev/). The json file is under `/temp`, and its name ends with `api.json`. For example: `sdk/compute/arm-compute/temp/arm-compute.api.json`. \ No newline at end of file diff --git a/eng/common/TestResources/New-TestResources.ps1 b/eng/common/TestResources/New-TestResources.ps1 index 4c83ad316466..b7785df9ddf1 100644 --- a/eng/common/TestResources/New-TestResources.ps1 +++ b/eng/common/TestResources/New-TestResources.ps1 @@ -375,7 +375,7 @@ try { $BaseName = 't' + (New-Guid).ToString('n').Substring(0, 16) Log "Generated base name '$BaseName' for CI build" } else { - $BaseName = GetBaseName $UserName $ServiceDirectory + $BaseName = GetBaseName $UserName (GetServiceLeafDirectoryName $ServiceDirectory) Log "BaseName was not set. Using default base name '$BaseName'" } } @@ -520,7 +520,7 @@ try { $ResourceGroupName } elseif ($CI) { # Format the resource group name based on resource group naming recommendations and limitations. - "rg-{0}-$BaseName" -f ($serviceName -replace '[\\\/:]', '-').Substring(0, [Math]::Min($serviceName.Length, 90 - $BaseName.Length - 4)).Trim('-') + "rg-{0}-$BaseName" -f ($serviceName -replace '[\.\\\/:]', '-').ToLowerInvariant().Substring(0, [Math]::Min($serviceName.Length, 90 - $BaseName.Length - 4)).Trim('-') } else { "rg-$BaseName" } diff --git a/eng/common/TestResources/README.md b/eng/common/TestResources/README.md index 8463501c0f9a..957a1f9c3577 100644 --- a/eng/common/TestResources/README.md +++ b/eng/common/TestResources/README.md @@ -77,6 +77,49 @@ setx KEYVAULT_SKU ${env:KEYVAULT_SKU} setx AZURE_KEYVAULT_URL ${env:AZURE_KEYVAULT_URL} ``` +### Pre- and Post- Scripts + +Sometimes creating test resources requires either some work to be done prior to or after the main test-resources.json script is executed. +For these scenarios a `test-resources-pre.ps1` or `test-resources-post.ps1`, respectively, can be created in the same folder as the `test-resources.json` file. + +For example, it may be necessary to create artifacts prior to provisioning the actual resource, such as a certificate. +Typically the created artifact will need to be passed to `test-resources.json` to be used in the ARM template or as output (or both). + +Below is an example of how `$templateFileParameters` can be used to pass data from the `pre-` script to `test-resources.json`. + +**Snippet from `test-resources-pre.ps1`** +```powershell +$cert = New-X509Certificate2 -SubjectName 'E=opensource@microsoft.com, CN=Azure SDK, OU=Azure SDK, O=Microsoft, L=Frisco, S=TX, C=US' -ValidDays 3652 +# Create new entries in $templateFileParameters +$templateFileParameters['ConfidentialLedgerPrincipalPEM'] = Format-X509Certificate2 -Certificate $cert +$templateFileParameters['ConfidentialLedgerPrincipalPEMPK'] = Format-X509Certificate2 -Type Pkcs8 -Certificate $cert +``` + +**Snippet from the corresponding `test-resources.json`.** + +Note that the values present in `$templateFileParameters` will map to parameters of the same name. +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "_comment": "Other required parameters would go here... (this is not part of the actual test-resources.json)", + "ConfidentialLedgerPrincipalPEM": { + "type": "string", + "metadata": { + "description": "The certificate to configure as a certBasedSecurityPrincipal." + } + }, + "ConfidentialLedgerPrincipalPEMPK": { + "type": "string", + "metadata": { + "description": "The certificate to configure as a certBasedSecurityPrincipal." + } + } + }, +} +``` + ### Cleaning up Resources By default, resource groups are tagged with a `DeleteAfter` value and date according to the default or specified diff --git a/eng/common/TestResources/SubConfig-Helpers.ps1 b/eng/common/TestResources/SubConfig-Helpers.ps1 index 04cc7d3729d0..cc93def6aa89 100644 --- a/eng/common/TestResources/SubConfig-Helpers.ps1 +++ b/eng/common/TestResources/SubConfig-Helpers.ps1 @@ -1,4 +1,5 @@ function BuildServiceDirectoryPrefix([string]$serviceName) { + $serviceName = $serviceName -replace '[\./\\]', '_' return $serviceName.ToUpperInvariant() + "_" } @@ -17,8 +18,8 @@ function GetUserName() { function GetBaseName([string]$user, [string]$serviceDirectoryName) { # Handle service directories in nested directories, e.g. `data/aztables` - $serviceDirectorySafeName = $serviceDirectoryName -replace '[/\\]', '' - return "$user$serviceDirectorySafeName" + $serviceDirectorySafeName = $serviceDirectoryName -replace '[\./\\]', '' + return "$user$serviceDirectorySafeName".ToLowerInvariant() } function ShouldMarkValueAsSecret([string]$serviceName, [string]$key, [string]$value, [array]$allowedValues = @()) diff --git a/eng/common/TestResources/remove-test-resources.yml b/eng/common/TestResources/remove-test-resources.yml index 6c02706d2202..cf5c0c5ac452 100644 --- a/eng/common/TestResources/remove-test-resources.yml +++ b/eng/common/TestResources/remove-test-resources.yml @@ -34,5 +34,5 @@ steps: -Force ` -Verbose displayName: Remove test resources - condition: eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true') + condition: and(eq(variables['CI_HAS_DEPLOYED_RESOURCES'], 'true'), ne(variables['Skip.RemoveTestResources'], 'true')) continueOnError: true diff --git a/eng/ignore-links.txt b/eng/ignore-links.txt index 45cb61191122..272f5d70ac8d 100644 --- a/eng/ignore-links.txt +++ b/eng/ignore-links.txt @@ -15,3 +15,6 @@ https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-con https://docs.microsoft.com/javascript/api/@azure/arm-azureadexternalidentities https://docs.microsoft.com/javascript/api/@azure/arm-azureadexternalidentities?view=azure-node-preview https://docs.microsoft.com/javascript/api/@azure/arm-scvmm?view=azure-node-preview +https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker +https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview +https://docs.microsoft.com/en-us/rest/api/index diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index 19c7e3e206b8..bcd8d7226280 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -19,7 +19,7 @@ stages: jobs: - job: GenerateReports - timeoutInMinutes: 240 + timeoutInMinutes: 360 steps: - template: /eng/pipelines/templates/steps/use-node-version.yml parameters: @@ -32,10 +32,6 @@ stages: pwsh: true displayName: Spell check public API - - template: /eng/pipelines/templates/steps/use-node-version.yml - parameters: - NodeVersion: 10.x - - template: ../common/pipelines/templates/steps/verify-links.yml parameters: Directory: "" diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index 0b687b033cdb..b40891a215ad 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -1,8 +1,10 @@ variables: DocWardenVersion: '0.5.0' - NodeVersion: "14.x" + NodeVersion: "16.x" OSVmImage: "ubuntu-20.04" skipComponentGovernanceDetection: true coalesceResultFilter: $[ coalesce(variables['packageGlobFilter'], '**') ] ServiceVersion: "" Package.EnableSBOMSigning: true + # Disable warning until issue 21765 and 21766 are closed + DisableDockerDetector: true diff --git a/rush.json b/rush.json index fb984e9e19ea..f051c1fab022 100644 --- a/rush.json +++ b/rush.json @@ -1,7 +1,7 @@ /** * This is the main configuration file for Rush. * For full documentation, please see https://rushjs.io - */{ + */ { "$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json", /** * (Required) This specifies the version of the Rush engine to be used in this repo. @@ -456,11 +456,6 @@ "projectFolder": "sdk/core/core-client", "versionPolicyName": "core" }, - { - "packageName": "@azure/core-crypto", - "projectFolder": "sdk/core/core-crypto", - "versionPolicyName": "core" - }, { "packageName": "@azure/core-http", "projectFolder": "sdk/core/core-http", @@ -1690,6 +1685,11 @@ "packageName": "@azure/arm-scvmm", "projectFolder": "sdk/scvmm/arm-scvmm", "versionPolicyName": "management" + }, + { + "packageName": "@azure/arm-servicelinker", + "projectFolder": "sdk/servicelinker/arm-servicelinker", + "versionPolicyName": "management" } ] -} \ No newline at end of file +} diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index cc0d969376e8..a86ab16b1210 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -85,7 +85,7 @@ "@azure-rest/core-client": "1.0.0-beta.9", "@azure/core-auth": "^1.3.0", "@azure/core-lro": "^2.2.4", - "@azure/core-paging": "^1.2.2", + "@azure/core-paging": "^1.2.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/appconfiguration/app-configuration/CHANGELOG.md b/sdk/appconfiguration/app-configuration/CHANGELOG.md index 5abfbc6a56e4..9fd200c4daf4 100644 --- a/sdk/appconfiguration/app-configuration/CHANGELOG.md +++ b/sdk/appconfiguration/app-configuration/CHANGELOG.md @@ -1,6 +1,16 @@ # Release History -## 1.4.0-beta.1 (Unreleased) +## 1.4.0-beta.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 1.4.0-beta.1 (2022-05-10) ### Features Added @@ -8,8 +18,6 @@ - As part of the migration to `@azure/core-client` and `@azure/core-rest-pipeline`, through the operation options, the methods such as `AppConfgurationClient#addConfigurationSetting` can take a callback (`onResponse`) to access the HTTP response. See [Change to the \_response property](https://github.com/Azure/autorest.typescript/wiki/%60core-http%60-dependency-migration-to-%60core-client%60-%60core-rest-pipeline%60#change-to-the-_response-property). -### Breaking Changes - ### Bugs Fixed - Fix an issue where React-Native is loading the wrong file. Adding a `react-native` mapping to point to the ESM entrypoint file. [PR #21119](https://github.com/Azure/azure-sdk-for-js/pull/21119) @@ -17,6 +25,7 @@ ### Other Changes - Updated our `@azure/core-tracing` dependency to the latest version (1.0.0). + - Notable changes include Removal of `@opentelemetry/api` as a transitive dependency and ensuring that the active context is properly propagated. - Customers who would like to continue using OpenTelemetry driven tracing should visit our [OpenTelemetry Instrumentation](https://www.npmjs.com/package/@azure/opentelemetry-instrumentation-azure-sdk) package for instructions. diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index a32df6d2b647..12211dca5d0d 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.4.0-beta.1", + "version": "1.4.0-beta.2", "sdk-type": "client", "keywords": [ "node", @@ -41,7 +41,7 @@ "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:test": "tsc -p . && dev-tool run bundle", "build:samples": "echo Obsolete.", - "build": "npm run clean && tsc -p . && dev-tool run bundle --browser-test=false && api-extractor run --local", + "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local", "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", "coverage": "nyc --reporter=lcov --exclude-after-remap=false mocha -t 120000 dist-test/index.js --reporter ../../../common/tools/mocha-multi-reporter.js", @@ -73,10 +73,6 @@ "path": "src/internal/constants.ts", "prefix": "packageVersion" }, - { - "path": "src/generated/src/appConfigurationContext.ts", - "prefix": "packageVersion" - }, { "path": "swagger/swagger.md", "prefix": "package-version" diff --git a/sdk/appconfiguration/app-configuration/src/internal/constants.ts b/sdk/appconfiguration/app-configuration/src/internal/constants.ts index 0d9b48790b84..fe7e54576239 100644 --- a/sdk/appconfiguration/app-configuration/src/internal/constants.ts +++ b/sdk/appconfiguration/app-configuration/src/internal/constants.ts @@ -4,4 +4,4 @@ /** * @internal */ -export const packageVersion = "1.4.0-beta.1"; +export const packageVersion = "1.4.0-beta.2"; diff --git a/sdk/appconfiguration/perf-tests/app-configuration/package.json b/sdk/appconfiguration/perf-tests/app-configuration/package.json index b6f6327e5940..fe318fdac2be 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/package.json +++ b/sdk/appconfiguration/perf-tests/app-configuration/package.json @@ -26,7 +26,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts b/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts index 087f8d6ab71b..daee758703f1 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts +++ b/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts @@ -1,8 +1,6 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { ListSettingsTest } from "./listSettings.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([ListSettingsTest])); +const perfProgram = createPerfProgram(ListSettingsTest); perfProgram.run(); diff --git a/sdk/communication/communication-phone-numbers/CHANGELOG.md b/sdk/communication/communication-phone-numbers/CHANGELOG.md index 897392039198..30f890be8a9b 100644 --- a/sdk/communication/communication-phone-numbers/CHANGELOG.md +++ b/sdk/communication/communication-phone-numbers/CHANGELOG.md @@ -1,5 +1,10 @@ # Release History +## 1.2.0-alpha.20220517.1 (2022-05-17) + +- Added support for the API version `2022-06-01-preview` +- Added `operatorId`, `operatorName` and `phoneNumberSource` properties to the `PurchasedPhoneNumber` model. + ## 1.2.0-beta.3 (2022-04-06) ### Features Added diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index e6537505ee24..70ba6d249846 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.2.0-beta.3", + "version": "1.2.0-alpha.20220517.1", "description": "SDK for Azure Communication service which facilitates phone number management.", "sdk-type": "client", "main": "dist/index.js", 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 c11c2a3c0b8c..e19785ab18c4 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 @@ -4,21 +4,20 @@ "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:27 GMT", - "ms-cv": "owzk+pDQjEuVnbBCe6Qcnw.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:27 GMT", + "ms-cv": "cp05JwcSpEqZuh1oRaU3cw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0m98fYgAAAABmWetVNUvKRIVoMcsOzKZ/TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0vzB9YgAAAACo452w59k4TquNwdIGiQvvUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "948ms" + "x-processing-time": "1322ms" } } ], 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 a638439f959e..2e55352d9daf 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 @@ -4,21 +4,20 @@ "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 404, "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:20:27 GMT", - "ms-cv": "d3f6xy4OT0ucOZqLNuXCJA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:28 GMT", + "ms-cv": "syj0RufW5kCOhJksA0MWaw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0nN8fYgAAAABMC4MqrmguSI1GI1jB2uUuTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0wDB9YgAAAADNlfFxMKN3Q5NYV1axIb5AUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "333ms" + "x-processing-time": "408ms" } } ], 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 ca680e4d0799..7c8c06347d21 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 @@ -6,43 +6,41 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:24 GMT", + "date": "Thu, 12 May 2022 16:07: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://endpoint/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:26 GMT", - "ms-cv": "shQd0vzafEyFwbaiCvbElA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:24 GMT", + "ms-cv": "1BBacX0ErkanUyY3MD9s1g.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0md8fYgAAAAAes7OiNwEFQ6bP4eNgC0g4TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0uzB9YgAAAADNG4FOoU5kTbNNIQ3hWJk3UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1703ms" + "x-processing-time": "1533ms" } } ], 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 0ecb7a96d8c1..9983054dd016 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 @@ -6,43 +6,41 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:26 GMT", + "date": "Thu, 12 May 2022 16:07: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://endpoint/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 404, "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:20:26 GMT", - "ms-cv": "n6eI1bPWI0iuiiqEYkjCNA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:25 GMT", + "ms-cv": "wAqXhtevgk+YpJjXLk1gvQ.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0m98fYgAAAABll91fCx8PRqyrMzKIjRYgTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0vjB9YgAAAABDmvu1XirVQo/5KvIAh7T/UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "261ms" + "x-processing-time": "307ms" } } ], 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 6b4f33e092d2..edc0b3fc42f7 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 @@ -4,69 +4,22 @@ "method": "GET", "url": "https://endpoint/phoneNumbers", "query": { - "api-version": "2022-01-11-preview2", + "api-version": "2022-06-01-preview", "skip": "0", "top": "100" }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T15:18:14.7689633+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:36:43.2477114+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:36:13.5514009+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:09:18.7391177+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:11:43.8093725+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:09:44.856727+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:10:43.0470316+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:11:13.2871013+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:43.3598754+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:14.2925013+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:17.7642032+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:37:57.7589612+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:38:01.2490062+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:38:10.7033129+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T15:41:42.6103267+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:30:51.9182995+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:30:17.6614122+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:47.0550566+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:32:08.7055072+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:32:20.4489554+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:24.7610118+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:27.7725472+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:28:06.2941982+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:27:58.4564095+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:35:55.6362141+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:35:38.2751041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:12.122407+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:52.6849802+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:21.3246132+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:52.844006+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:26.0949019+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:16.7736485+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:07.5114194+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:24.9591048+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:31.4083206+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:24.2533723+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:16.2862265+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:37.7662022+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:46.6018872+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:50.4679082+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:44.6881974+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:55.8644165+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:55.9240487+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:20.5570756+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:22.1720088+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-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:44.9865457+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:11:13.6760492+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:13:14.7544127+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:51.5548845+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:22:13.6608168+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:23:13.802374+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:56.1826813+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:23:43.4526026+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:24:12.4592203+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:17.7235497+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:32:43.9547602+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:10.859962+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:30.851053+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\":\"2022-01-11T22:26:05.2198645+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\":\"2022-01-11T17:06:02.0097082+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:08:43.2976318+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:09:13.3731647+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:33:13.7739402+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:25:13.6206509+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:25:44.3664664+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:29:43.2087273+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:37:14.4369365+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:27:13.4604535+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:27:47.6058406+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:26:43.3088723+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:42:44.4416133+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:28:13.2155644+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:41:58.7312966+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:39:14.5759855+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:40:28.2331315+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:28:43.2865444+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:43:44.3267753+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:43:14.5582972+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:30:42.3622994+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:35:58.515204+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:30:13.3981412+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:36:12.1300788+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:36:43.3727213+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:31:43.1246125+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:58.3886965+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:44:13.795794+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:33:42.3770211+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:34:13.0593291+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:44:43.2825566+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:43.3853897+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:13.8368509+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:48:14.4930555+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:47:29.3763702+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:37:12.9376761+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:37:43.0423694+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:18:13.4190469+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:01:13.3943797+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:02:13.0024309+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:18:42.3038608+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}],\"nextLink\":\"/phoneNumbers?api-version=2022-01-11-preview2&skip=100&top=100\"}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T19:15:38.2651776+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"???\",\"phoneNumberSource\":\"cloud\"}]}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:37 GMT", - "ms-cv": "mtAkiSjPbEOkseLqMGBiJA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:31 GMT", + "ms-cv": "0PfYXYxolEGltoY6+/PP/Q.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0pN8fYgAAAACt98PvmGk5R76k8Jzi+y0+TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0wzB9YgAAAAAffojYh6bmQoT1eCHWITquUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2432ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers", - "query": { - "api-version": "2022-01-11-preview2", - "skip": "100", - "top": "100" - }, - "requestBody": null, - "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:12:13.538747+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:38:42.1281774+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:50:44.2721958+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:39:13.0650895+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:41:12.9270148+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:59:43.8702426+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:44:13.1870258+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:00:13.7898843+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:49:13.8501396+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:45:43.2412523+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:56:13.4198655+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:42:43.4785601+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:43:13.3329991+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:43:43.2644646+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:46:13.3693388+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:57:43.4206167+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:58:12.6113168+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:45:13.2256267+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:44:43.2018384+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:00:42.6467973+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:46:43.1901855+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:01:43.7661054+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:02:15.3937268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:06:41.01465+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:47:43.0690696+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:07:13.6917784+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:48:12.4350945+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:48:43.1996614+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:49:13.5431092+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:50:13.1026413+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:04:13.3157268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:04:43.1035835+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:22:13.3638878+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:08:43.5413541+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:09:13.8998904+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:51:13.0475026+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:20:05.8658511+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:54:16.6134103+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:11:13.7336785+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:12:58.6058156+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:56:43.0548698+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:11:42.604465+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:57:42.5799099+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:58:11.834285+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:15:28.6354088+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:00:13.1072593+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:30:43.8919494+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:31:13.4310333+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:21:49.9674396+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:45:13.7047676+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:14:13.6220104+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:44:44.6040573+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:54:13.9619565+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:29:43.161106+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:31:14.6037399+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:31:44.5667268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:56:43.3214042+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:54:13.8504347+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:03:14.7906887+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:15:42.8004345+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:31:13.2708013+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:06:43.0334527+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:04:42.9913305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:05:13.4188656+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:25:42.7521989+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:09:12.8370429+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:30:43.1675112+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:10:43.1221045+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:07:13.1907406+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:23:43.0592468+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:07:42.9423531+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:08:12.9812814+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:12:13.4724025+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:08:42.9989053+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:27:13.8887667+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:10:12.8329204+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:11:16.1285436+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:11:43.2160866+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:28:28.4487656+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:14:43.1045845+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:30:12.1604917+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:12:43.3294475+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:29:43.4410627+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:14:13.2280446+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:19:17.7166571+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:25:43.4713207+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:08:13.3307166+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:26:13.092427+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:07:43.1286116+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:28:13.6303453+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:28:43.3758897+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:03:43.893635+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:17:43.5066285+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:04:13.9066513+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:18:43.0105843+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:19:13.3153527+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:34:45.0763318+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:40:14.5388708+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:38:13.7766563+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:00.1600209+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}],\"nextLink\":\"/phoneNumbers?api-version=2022-01-11-preview2&skip=200&top=100\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:39 GMT", - "ms-cv": "zb95extfaUGqe+ZsuiKVwg.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0pt8fYgAAAAAyDujk3jgaRpfJQsAjLJxTTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1898ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers", - "query": { - "api-version": "2022-01-11-preview2", - "skip": "200", - "top": "100" - }, - "requestBody": null, - "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:15.9484758+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:23.3515457+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:42:13.7459585+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:42.5645252+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:59:43.6806531+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:43:42.9562291+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:43:12.077177+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:55:14.1329393+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:57:13.8937202+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:44:12.4528756+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:13:13.4711145+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:46:42.2851739+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:14:15.1108491+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:49:12.0653887+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:49:42.2605522+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:50:13.2673166+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:51:13.1710277+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:14:44.8212216+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:50:43.5645432+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:41 GMT", - "ms-cv": "qbErj67cU0eZKYJmD9uf2Q.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0qN8fYgAAAAD5/k+H0Pl4TYJjD7b4h202TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1902ms" + "x-processing-time": "1227ms" } } ], 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 6b0c9fe5bf24..f354c742d0e9 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 @@ -6,91 +6,43 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:28 GMT", + "date": "Thu, 12 May 2022 16:07: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\"", "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+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - NCUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers", "query": { - "api-version": "2022-01-11-preview2", + "api-version": "2022-06-01-preview", "skip": "0", "top": "100" }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T15:18:14.7689633+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:36:43.2477114+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:36:13.5514009+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:09:18.7391177+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:11:43.8093725+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:09:44.856727+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:10:43.0470316+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T05:11:13.2871013+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:43.3598754+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:14.2925013+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:35:17.7642032+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:37:57.7589612+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:38:01.2490062+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"person\",\"purchaseDate\":\"2021-06-24T06:38:10.7033129+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T15:41:42.6103267+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:30:51.9182995+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:30:17.6614122+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:47.0550566+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:32:08.7055072+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:32:20.4489554+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:24.7610118+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:31:27.7725472+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:28:06.2941982+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:27:58.4564095+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:35:55.6362141+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:35:38.2751041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:12.122407+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:52.6849802+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:21.3246132+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:52.844006+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:26.0949019+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:16.7736485+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:07.5114194+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:24.9591048+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:31.4083206+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:24.2533723+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:16.2862265+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:37.7662022+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:46.6018872+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:50.4679082+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:44.6881974+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:37:55.8644165+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:39:55.9240487+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:20.5570756+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:22.1720088+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-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:44.9865457+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:11:13.6760492+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:13:14.7544127+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:51.5548845+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:22:13.6608168+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:23:13.802374+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:40:56.1826813+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:23:43.4526026+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:24:12.4592203+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:17.7235497+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:32:43.9547602+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:10.859962+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:41:30.851053+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\":\"2022-01-11T22:26:05.2198645+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\":\"2022-01-11T17:06:02.0097082+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:08:43.2976318+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:09:13.3731647+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:33:13.7739402+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:25:13.6206509+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:25:44.3664664+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:29:43.2087273+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:37:14.4369365+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:27:13.4604535+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:27:47.6058406+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:26:43.3088723+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:42:44.4416133+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:28:13.2155644+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:41:58.7312966+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:39:14.5759855+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:40:28.2331315+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:28:43.2865444+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:43:44.3267753+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:43:14.5582972+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:30:42.3622994+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:35:58.515204+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:30:13.3981412+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:36:12.1300788+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:36:43.3727213+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:31:43.1246125+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:58.3886965+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:44:13.795794+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:33:42.3770211+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:34:13.0593291+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:44:43.2825566+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:43.3853897+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:45:13.8368509+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:48:14.4930555+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:47:29.3763702+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:37:12.9376761+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:37:43.0423694+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:18:13.4190469+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:01:13.3943797+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:02:13.0024309+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:18:42.3038608+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}],\"nextLink\":\"/phoneNumbers?api-version=2022-01-11-preview2&skip=100&top=100\"}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T19:15:38.2651776+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"???\",\"phoneNumberSource\":\"cloud\"}]}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:30 GMT", - "ms-cv": "mk/7n+03TU6e4AehkpP3rA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:07:30 GMT", + "ms-cv": "4sNoaZuD9kC7LUPd6Fz5uQ.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0nd8fYgAAAADa2k2yIO6fTqz8vSEjGsv/TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0wTB9YgAAAABB6FBB6FdSQKHulmiAhAJAUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2247ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers", - "query": { - "api-version": "2022-01-11-preview2", - "skip": "100", - "top": "100" - }, - "requestBody": null, - "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:12:13.538747+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:38:42.1281774+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:50:44.2721958+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:39:13.0650895+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:41:12.9270148+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:59:43.8702426+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:44:13.1870258+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:00:13.7898843+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:49:13.8501396+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:45:43.2412523+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:56:13.4198655+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:42:43.4785601+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:43:13.3329991+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:43:43.2644646+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:46:13.3693388+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:57:43.4206167+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:58:12.6113168+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:45:13.2256267+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:44:43.2018384+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:00:42.6467973+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:46:43.1901855+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:01:43.7661054+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:02:15.3937268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:06:41.01465+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:47:43.0690696+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:07:13.6917784+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:48:12.4350945+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:48:43.1996614+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:49:13.5431092+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:50:13.1026413+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:04:13.3157268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:04:43.1035835+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:22:13.3638878+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:08:43.5413541+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:09:13.8998904+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:51:13.0475026+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:20:05.8658511+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:54:16.6134103+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:11:13.7336785+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:12:58.6058156+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:56:43.0548698+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:11:42.604465+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:57:42.5799099+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:58:11.834285+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:15:28.6354088+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:00:13.1072593+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:30:43.8919494+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:31:13.4310333+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:21:49.9674396+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:45:13.7047676+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:14:13.6220104+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:44:44.6040573+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:54:13.9619565+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:29:43.161106+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:31:14.6037399+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:31:44.5667268+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:56:43.3214042+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:54:13.8504347+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:03:14.7906887+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:15:42.8004345+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:31:13.2708013+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:06:43.0334527+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:04:42.9913305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:05:13.4188656+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:25:42.7521989+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:09:12.8370429+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:30:43.1675112+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:10:43.1221045+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:07:13.1907406+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:23:43.0592468+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:07:42.9423531+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:08:12.9812814+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:12:13.4724025+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:08:42.9989053+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:27:13.8887667+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:10:12.8329204+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:11:16.1285436+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:11:43.2160866+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:28:28.4487656+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:14:43.1045845+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:30:12.1604917+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:12:43.3294475+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T04:29:43.4410627+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:14:13.2280446+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:19:17.7166571+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:25:43.4713207+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:08:13.3307166+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:26:13.092427+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:07:43.1286116+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:28:13.6303453+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T03:28:43.3758897+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:03:43.893635+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:17:43.5066285+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T02:04:13.9066513+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:18:43.0105843+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:19:13.3153527+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:34:45.0763318+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:40:14.5388708+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:38:13.7766563+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:00.1600209+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}],\"nextLink\":\"/phoneNumbers?api-version=2022-01-11-preview2&skip=200&top=100\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:32 GMT", - "ms-cv": "ZuJ3iDvuj0W8ZPciD0wWOQ.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0n98fYgAAAACAB8ZHcxLQTb0rtPB6J8qFTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2478ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers", - "query": { - "api-version": "2022-01-11-preview2", - "skip": "200", - "top": "100" - }, - "requestBody": null, - "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:15.9484758+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:23.3515457+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:42:13.7459585+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:42:42.5645252+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:59:43.6806531+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:43:42.9562291+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:43:12.077177+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:55:14.1329393+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T00:57:13.8937202+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:44:12.4528756+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:13:13.4711145+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:46:42.2851739+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:14:15.1108491+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:49:12.0653887+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:49:42.2605522+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:50:13.2673166+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:51:13.1710277+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-24T01:14:44.8212216+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:50:43.5645432+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:35 GMT", - "ms-cv": "8Ztw+1Czr02c2jewPwqqtA.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0od8fYgAAAAASsYhW1SgVRo9HlZH/Mk6ETEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2203ms" + "x-processing-time": "1216ms" } } ], 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 8831e4560d09..6239006196c1 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 @@ -4,435 +4,255 @@ "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"quantity\":1}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:11:37 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "7AloY2tWIEm64Vub2lzKeQ.0", + "date": "Thu, 12 May 2022 16:15:50 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "vZZx1WZg90qClEa8Blrkqw.0", "operation-id": "search_sanitized", - "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview", "search-id": "sanitized", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0twcgYgAAAACA4ssqTk3URrKakPFloljZTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0szJ9YgAAAADVr+g7szl7QZeEgb0l0J8GUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2068ms" + "x-processing-time": "2936ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/search_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"search\",\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"search\",\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:15:50.9516061+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:37 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "Q6H6phTT20+aiL4jjvxIWQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:15:51 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "nYKCpnyrn02zXT4hQDmCgw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0uQcgYgAAAAAsaFywXNqqS5J1rv/p82P7TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0tzJ9YgAAAAC/sTjUiOr8T5jOhU26qlGKUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "430ms" + "x-processing-time": "379ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2022-03-03T00:11:40.3971204+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\":\"2022-05-12T16:31:52.6170921+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:40 GMT", - "ms-cv": "CXp8SxiuPkKR2At6/HlY6g.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:15:54 GMT", + "ms-cv": "zvOSuGgG6UeHkGETJfvn7w.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0vAcgYgAAAAAfc1tad/WiQLfWXd7k0/TvTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0uTJ9YgAAAAB8SS1vFASXQK3/chWhR6dHUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "740ms" + "x-processing-time": "1234ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "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\":\"2022-03-03T00:27:38.9552162+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\":\"2022-05-12T16:31:52.6170921+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:43 GMT", - "ms-cv": "zGtKriHK1EuH3lybAwTsUw.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:15:58 GMT", + "ms-cv": "gkHoxPZHk06E7TUKzf4LYw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0vgcgYgAAAAB+T8tQpQaLSq0v9LmEKOodTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0vTJ9YgAAAACwFcphk5PvT47kdcjigOioUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "866ms" + "x-processing-time": "1264ms" } }, { "method": "POST", "url": "https://endpoint/availablePhoneNumbers/:purchase", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"searchId\":\"sanitized\"}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:11:45 GMT", - "ms-cv": "GhGNgTLEIE6r/I4YeLyYpg.0", + "date": "Thu, 12 May 2022 16:16:00 GMT", + "ms-cv": "X4u6E0c17UCVkPpN44+TMg.0", "operation-id": "purchase_sanitized", - "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2022-01-11-preview2", + "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2022-06-01-preview", "purchase-id": "sanitized", - "request-context": "appId=", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0vwcgYgAAAADzpR4NuaOFQ7gmYAStZr8uTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0vjJ9YgAAAABC/eoHNL0FSLNl5WbEwkpjUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1785ms" + "x-processing-time": "2254ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"purchase\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:15:50.9516061+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:45 GMT", - "ms-cv": "HHgVO02HrUuPU9hnqXUzYQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:01 GMT", + "ms-cv": "ScP5Xzlx902j3dF3Iw1VoA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0wQcgYgAAAAAAZk/Fmc8bSL6usoeldA5zTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0wTJ9YgAAAACHQn2RrbOQToFqP1yn2eAGUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "426ms" + "x-processing-time": "355ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:15:50.9516061+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:48 GMT", - "ms-cv": "+5qm5SLicESn8b2CtN/F/w.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:04 GMT", + "ms-cv": "bUb57o18wk+scO1xenjzZQ.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0wwcgYgAAAAATho8bezN3QL0oJWj+/Q7TTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0wzJ9YgAAAAAyOSvd3MRfRpAEtkdb/+JoUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "389ms" + "x-processing-time": "418ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"purchase\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:15:50.9516061+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:50 GMT", - "ms-cv": "dBbjeX5Y+UyEgaD0gkst4A.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:06 GMT", + "ms-cv": "y+iBeZAniEq+k67fDffeOw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0xgcgYgAAAAAGre2OqQaMQYf4WRacJ2vATEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0xjJ9YgAAAABg6vKKxR6MRZYQfb8d9jt3UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "395ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:52 GMT", - "ms-cv": "DF5oO7p4Vk+zim7nuOH8Jw.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0yAcgYgAAAACoJPFavwQ/SIds9EvGAvDZTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "363ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:55 GMT", - "ms-cv": "m9sE8pnfxU+5ptD/kSdccw.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0ywcgYgAAAABjHBnX2/GlQ4TbFaK15M6JTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "444ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:57 GMT", - "ms-cv": "qpz9suMr0UaIiiA1r9ABaw.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0zQcgYgAAAABPLOOZn3CuRpjDAXA3Wq7VTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "366ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:00 GMT", - "ms-cv": "Srod8CJ3aUqjeyOOgEUGrA.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "00AcgYgAAAABIKzZZuEDZT5D4OC2aYm42TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:37.2016405+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:03 GMT", - "ms-cv": "P5CYNiFxyE+j4mp7+rgo7A.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "00gcgYgAAAACP7YTAF3URQ7PdQ0ulzG0wTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "305ms" + "x-processing-time": "382ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-03T00:11:59.6875652+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\":\"2022-05-12T16:16:03.8100615+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:05 GMT", - "ms-cv": "kSpqYoUC90y1+cqsIts2gg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:08 GMT", + "ms-cv": "69U8FvuGdUCvJYRCmlPGcA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "00wcgYgAAAAA1BlJkaRbiT7pkHtSTx1b5TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0xzJ9YgAAAAC1dwV4hygiTr8rPWvj+iMqUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1851ms" + "x-processing-time": "1982ms" } }, { "method": "DELETE", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Operation-Location,operation-id,release-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:12:05 GMT", - "ms-cv": "HT0L1Ek8qUmAeSDe2vrd9g.0", + "date": "Thu, 12 May 2022 16:16:11 GMT", + "ms-cv": "dmTBs654gEOeSyGZJnHp7A.0", "operation-id": "release_sanitized", - "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2022-01-11-preview2", + "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2022-06-01-preview", "release-id": "sanitized", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "01QcgYgAAAABaeLCzgURuSY5o7TFkr7gmTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "802ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:12:05.6604944+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:06 GMT", - "ms-cv": "vNH6dcQLCUKnDvmLt2Dd3w.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "01gcgYgAAAAABd7+JpG5pT5Jzltui60NKTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "664ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:12:05.6604944+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:08 GMT", - "ms-cv": "NmdQ9rSy6kOcJcABYfWN/A.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "02AcgYgAAAAD+fActjSd/QKgRUqwyQ389TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "301ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:12:05.6604944+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:11 GMT", - "ms-cv": "/XoepIJj8EaSrxwNxxtOMg.0", - "request-context": "appId=", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "02wcgYgAAAACpIC+ByJhRTKg5t5l5xwSeTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0yTJ9YgAAAADUoCpgWpVCTYaMO+JOtkQyUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" + "x-processing-time": "2161ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:12:05.6604944+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:16:09.9463991+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:13 GMT", - "ms-cv": "OjbWd23+W0e3O7UD5772Wg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:11 GMT", + "ms-cv": "ioVQ4RZv/k6xMgrat4EjHA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "03QcgYgAAAAB5NSWFSGOhRrW2+S289f5YTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0yzJ9YgAAAACpiY6lFIjCTrN8N22fzLHdUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "301ms" + "x-processing-time": "254ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:12:05.6604944+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:16:09.9463991+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:12:16 GMT", - "ms-cv": "koZjXUwOYkWglRhJq9EQhg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:16:14 GMT", + "ms-cv": "UAE/0cztYkSc1gDZknXcyw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "03wcgYgAAAAAu2w3Bo8O8S7PDL12uy8SATEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0zjJ9YgAAAACtZfxi0ew0Sqg4+wi7DFPyUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "442ms" + "x-processing-time": "348ms" } } ], @@ -440,5 +260,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6ced0b61314a2989b97cff604ebd93db" + "hash": "aff75792de75078f2afba1ca82226e5f" } \ 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 3425c9f6d8ed..cacc88966cd4 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 @@ -6,478 +6,256 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:10:50 GMT", + "date": "Thu, 12 May 2022 16:10: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://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.12529.17 - NCUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"quantity\":1}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:10:53 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "DbGstCxENU6c2vC/j7AYOg.0", + "date": "Thu, 12 May 2022 16:10:42 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "Wlzd0TpvGk+wpznDt4IS/g.0", "operation-id": "search_sanitized", - "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview", "search-id": "sanitized", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0igcgYgAAAACn7iiCHfG6RYjq6rswAMJsTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0fjF9YgAAAAAllWq0R3PeQp65cuLvTKdEUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2987ms" + "x-processing-time": "4005ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/search_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"search\",\"status\":\"running\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"search\",\"status\":\"running\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:10:42.2643332+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:10:54 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "AbQOP+MvTUK16hx2CNj7mA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:43 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "MtAs6uw1YEySQovarrBo7A.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0jQcgYgAAAAALjUgwrQDXSaBtpjHhR/OtTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0gzF9YgAAAABS5/t8rM44RITh0PFxWs58UFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "507ms" + "x-processing-time": "589ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2022-03-03T00:10:57.4709983+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\":\"2022-05-12T16:26:43.7283467+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:10:57 GMT", - "ms-cv": "jYxt41uDHUqCw5DJNwIRGA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:47 GMT", + "ms-cv": "GpaJ1bUM90OEsaIokAezvg.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0kAcgYgAAAADeKNQmMre0TJoifYvAXFNfTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0hTF9YgAAAAAeeFkNLyh+SoOMX9cG9Hk6UFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1678ms" + "x-processing-time": "1889ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "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\":\"2022-03-03T00:26:54.8327236+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\":\"2022-05-12T16:26:43.7283467+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:00 GMT", - "ms-cv": "mkKAoBzanEiacx0Ih6W8Pw.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:51 GMT", + "ms-cv": "V6JpdLiKSE2yLQVpGW59Og.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0lAcgYgAAAACH4WqPu1+HTLyFgn0I/jjLTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0iTF9YgAAAACmbDTm/GnHQaycJ/j7z4/7UFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "902ms" + "x-processing-time": "1309ms" } }, { "method": "POST", "url": "https://endpoint/availablePhoneNumbers/:purchase", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"searchId\":\"sanitized\"}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:11:02 GMT", - "ms-cv": "vcJZkA9UX0SeJWjr4YWU8A.0", + "date": "Thu, 12 May 2022 16:10:53 GMT", + "ms-cv": "MWyizVW+PE2gbKBsB2m0nw.0", "operation-id": "purchase_sanitized", - "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2022-01-11-preview2", + "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2022-06-01-preview", "purchase-id": "sanitized", - "request-context": "appId=", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0lQcgYgAAAADlDp0t+iTuSrz8MjJcZ3QBTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0izF9YgAAAAD+PRaijjLAQZitMwH+ljacUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1974ms" + "x-processing-time": "2617ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"purchase\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:10:42.2643332+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:03 GMT", - "ms-cv": "7hwqZ5cYukuHHWIFL3AkrQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:54 GMT", + "ms-cv": "UjrFaSNUpECnAS3/sRpsEw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0lwcgYgAAAAAMxGW56nCdSrMhnhczAVB9TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0jjF9YgAAAABvBzO5XLcqT4SCZNVB0pIRUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "464ms" + "x-processing-time": "437ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"purchase\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:10:42.2643332+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:05 GMT", - "ms-cv": "v9DQ5NJpRUaiM6EdjGCvcg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:57 GMT", + "ms-cv": "3kReAgSp5ESug/MQYgD1OQ.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0mQcgYgAAAADLoyqXw0q2RZ7C4/hVr8TgTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0kDF9YgAAAAAnVtBjR1VpQYJa09ats8JlUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "382ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:08 GMT", - "ms-cv": "bXgV5OzV5ESs3KN7r89Zuw.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0mwcgYgAAAACAKU9FnpIST45XAb/FwceFTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "376ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:10 GMT", - "ms-cv": "pWsnD0+srUqY9TdQjE5o8A.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0ngcgYgAAAADHlMGh80+KTJn2hdU3XsXHTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "371ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:12 GMT", - "ms-cv": "bsWErfwZb0yXlO9Y7lyMSg.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0oAcgYgAAAABPQ6rj+Pk7Q5CWLdr5DMFJTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "380ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:15 GMT", - "ms-cv": "Oi02G7tPikuwl2dNRSRs6Q.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0owcgYgAAAABQnfShoT+OSYl36MsorEcjTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "367ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:17 GMT", - "ms-cv": "BwBJcptuZUOpDzwmnCIrHA.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0pQcgYgAAAABjaf0lqA1fT7aOHn9LCuaNTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "345ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"purchase\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:10:53.265642+00:00\",\"id\":\"purchase_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:20 GMT", - "ms-cv": "TNmGPgu++keNzdzTj3+V7w.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0pwcgYgAAAACNL9nYTa8dQ5yPnzeSO4QPTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "343ms" + "x-processing-time": "384ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-03T00:11:17.8978965+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\":\"2022-05-12T16:10:55.6147324+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:21 GMT", - "ms-cv": "YfpT1b3TUUirMQkmLmLjQg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:10:59 GMT", + "ms-cv": "AwTJ1F2wEEKGBE99pNIFpg.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0qAcgYgAAAABI3ofGJpmfRLl5bdH5ISMTTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0kTF9YgAAAAD2iDpKdWGtT68N2+LW79knUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1582ms" + "x-processing-time": "1855ms" } }, { "method": "DELETE", "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Operation-Location,operation-id,release-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Thu, 03 Mar 2022 00:11:23 GMT", - "ms-cv": "k8KU2AHIxEym2MvNDQ/2OA.0", + "date": "Thu, 12 May 2022 16:11:00 GMT", + "ms-cv": "0m4kT/tCHE+Ep2Z7m+XzFQ.0", "operation-id": "release_sanitized", - "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2022-01-11-preview2", + "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2022-06-01-preview", "release-id": "sanitized", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0qQcgYgAAAADdgsAVIFoKRosfXugA7WBQTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1662ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:23 GMT", - "ms-cv": "HDmtdV1ckkGYu6W5dACBmg.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0qwcgYgAAAACFJOKNM8hDRrVwtf0wUX3aTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "228ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:25 GMT", - "ms-cv": "SVM3okdLkEqXYCMpdZmGXQ.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0rQcgYgAAAADzC+bk4HTNS7tR8/XgS9XHTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "279ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:28 GMT", - "ms-cv": "WuAm3iklJkOcXXbTklrQJw.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0sAcgYgAAAAC4fT/p8VxCT5x4aVCVJm2ITEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "266ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "requestBody": null, - "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:30 GMT", - "ms-cv": "tGvjX8P8tkqxDQCMyG2W6Q.0", - "request-context": "appId=", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0sgcgYgAAAAAezyMpvBmnT6FfC8ldPYKuTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0kzF9YgAAAABDj0e3OJJfQJRc/2OaCUviUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "318ms" + "x-processing-time": "1348ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:11:00.1560706+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:32 GMT", - "ms-cv": "n8pPakENVUKqudmBPQC3wQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:11:01 GMT", + "ms-cv": "IZjkP3SACkKl6Yv2zjX9HA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0tAcgYgAAAACmAYv4kknJQq4XX9qABR82TEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0lTF9YgAAAACEoKrVpibgRoUtKdoFxDK+UFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "293ms" + "x-processing-time": "331ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-03-03T00:11:22.5951548+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"releasePhoneNumber\",\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2022-05-12T16:11:00.1560706+00:00\",\"id\":\"release_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Thu, 03 Mar 2022 00:11:35 GMT", - "ms-cv": "V0RxtSWN0EmkMBDDMlhUnQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:11:03 GMT", + "ms-cv": "tK/3kp184Uacdh/M3oU0Rw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0twcgYgAAAACeXrO9WBicS7wNJAKYdWjTTEFYMzExMDAwMTA4MDQ3ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0lzF9YgAAAAChE1+Qj47WS6uwJHAUBZjMUFJHMDFFREdFMDcyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "271ms" + "x-processing-time": "315ms" } } ], @@ -485,5 +263,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6ced0b61314a2989b97cff604ebd93db" + "hash": "aff75792de75078f2afba1ca82226e5f" } \ 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 69d442ab4af0..4cba40f94996 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 @@ -4,91 +4,67 @@ "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"quantity\":1}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Wed, 02 Mar 2022 21:20:54 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "XDD6RdWjZUSJKvqIxj9fKQ.0", + "date": "Thu, 12 May 2022 16:42:19 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "9zNfDiNF+E6BD8pRBhtOXw.0", "operation-id": "search_sanitized", - "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview", "search-id": "sanitized", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0td8fYgAAAAB9UNJokVSDS658N9AZQYqfTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "06Dh9YgAAAABdYE7YVAVaRLAZqC0giSEjUFJHMDFFREdFMDkyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2252ms" + "x-processing-time": "2875ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/search_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"search\",\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-02T21:20:55.3152908+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"search\",\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:42:19.3390584+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:55 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "SB+Gpy8HjkmPIUOVgzIjCQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:42:19 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "nwzMhVlhY0+8OoW2DdxE4Q.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0t98fYgAAAACFqjk6uhkwTLngDshwx0MATEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "06zh9YgAAAABvCZwvjg2gS4dy4T4xbkn8UFJHMDFFREdFMDkyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "429ms" + "x-processing-time": "393ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2022-03-02T21:20:58.6010356+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\":\"2022-05-12T16:58:19.8367474+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:58 GMT", - "ms-cv": "ZSrcNpwnWU+jirg6MgO/FQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:42:23 GMT", + "ms-cv": "cm2RFgaoC0q3gMWPQN8Cqg.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0ut8fYgAAAAC1BySCGgdKT6jRpC3eguXfTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "07jh9YgAAAAAig1dMiIU4Rpl1wqRfB9GTUFJHMDFFREdFMDkyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "802ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", - "query": { - "api-version": "2022-01-11-preview2" - }, - "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\":\"2022-03-02T21:36:57.1537229+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:01 GMT", - "ms-cv": "DyfOIBDXy0SVxvMREmtAyg.0", - "request-context": "appId=", - "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0vd8fYgAAAACOTQNk0AUBTY1saArsahq2TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "962ms" + "x-processing-time": "1164ms" } } ], 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 a3a81944c561..4b8f1993b842 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 @@ -4,21 +4,20 @@ "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"person\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"quantity\":1}", "status": 400, "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\",\"innererror\":{\"code\":\"BadRequest\",\"message\":\"We are unable to find phone plans to match your requested capabilities.\"}}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:21:02 GMT", - "ms-cv": "SnFD9yfDy0iixV8o5iPytg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:42:25 GMT", + "ms-cv": "atmwYZTSvUaJvrQYb8u+Dw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0vt8fYgAAAADI0JvHODUnTpDyCurwcprhTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "07zh9YgAAAAAOIKWAES/5QIyzK34oCRdpUFJHMDFFREdFMDkyMQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1508ms" + "x-processing-time": "2289ms" } } ], 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 e18f7faa5712..c5aad67483ac 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 @@ -6,113 +6,108 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:42 GMT", + "date": "Thu, 12 May 2022 16:46:03 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+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12529.17 - WUS2 ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12819.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"quantity\":1}", "status": 202, "response": "", "responseHeaders": { "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-length": "0", - "date": "Wed, 02 Mar 2022 21:20:44 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "mtA6oWR1a0uSYimbpoz8Hw.0", + "date": "Thu, 12 May 2022 16:46:07 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "oIY505cDCUSZnPhyJvEiLQ.0", "operation-id": "search_sanitized", - "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview", "search-id": "sanitized", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0qt8fYgAAAAB+SHZHfCOXRIOIwnfvICtITEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0yzl9YgAAAAA4xO/WDsp2Qq+uVftdSSuYUFJHMDFFREdFMDkxMwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "3005ms" + "x-processing-time": "2937ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/search_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"search\",\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-02T21:20:45.2492966+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"search\",\"status\":\"running\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:46:07.0717313+00:00\",\"id\":\"search_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:45 GMT", - "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2", - "ms-cv": "uqjz/NS9U0OwsGySZWhe3Q.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:46:07 GMT", + "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview", + "ms-cv": "YqG9aTWSBU2Q/o3yJ78K+A.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0rd8fYgAAAADvguK4pZxHQaVpX2cD4Av6TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0zzl9YgAAAABil1p/nqXYS5iaycwQ/LKPUFJHMDFFREdFMDkxMwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "390ms" + "x-processing-time": "433ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2022-03-02T21:20:48.4084023+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\":\"2022-05-12T17:02:08.1718146+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:47 GMT", - "ms-cv": "oO3wDjwTmEK/9jwfTlgtvQ.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:46:11 GMT", + "ms-cv": "JQPkhsC8IUy5miKeLEfLVA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0sN8fYgAAAAAL22q0kHgNR7LyKCnxiO0UTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "00jl9YgAAAAChlZuBzQlUSYKK3CMdhdnDUFJHMDFFREdFMDkxMwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "771ms" + "x-processing-time": "1315ms" } }, { "method": "GET", "url": "https://endpoint/availablePhoneNumbers/searchResults/sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "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\":\"2022-03-02T21:36:46.6657673+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\":\"2022-05-12T17:02:08.1718146+00:00\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:50 GMT", - "ms-cv": "VF6cT+meZEG1nmJwDc9o0w.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:46:15 GMT", + "ms-cv": "YMrbDXJ3lk+cyZAJnwEafw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0st8fYgAAAABhP5HFVTlTRoV3SXs4NDtxTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "01Tl9YgAAAAA89FrKjVHtTq9TgcxpsryWUFJHMDFFREdFMDkxMwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "907ms" + "x-processing-time": "1730ms" } } ], 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 1f5eb21c66c8..01ae2e83c517 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 @@ -6,43 +6,41 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:20:51 GMT", + "date": "Thu, 12 May 2022 16:46: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://endpoint/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12819.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "POST", "url": "https://endpoint/availablePhoneNumbers/countries/US/:search", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"person\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"quantity\":1}", "status": 400, "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\",\"innererror\":{\"code\":\"BadRequest\",\"message\":\"We are unable to find phone plans to match your requested capabilities.\"}}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:20:52 GMT", - "ms-cv": "oyw2001WGEa06kmvmzisAA.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:46:17 GMT", + "ms-cv": "dIaKNEBLWkSzgupmvHcywQ.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0tN8fYgAAAACQ0RXa0fQATqLGXtlnfzxVTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "02Dl9YgAAAACLgZQcPPN8QpsAkBDT4OAjUFJHMDFFREdFMDkxMwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1413ms" + "x-processing-time": "1844ms" } } ], 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 7aba598903c7..39ad8407af01 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 @@ -4,91 +4,87 @@ "method": "PATCH", "url": "https://endpoint/phoneNumbers/%2B14155550100/capabilities", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 202, "response": "{\"capabilitiesUpdateId\":\"sanitized\"}", "responseHeaders": { "access-control-expose-headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:12 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2022-01-11-preview2", - "ms-cv": "hgbKJb/IOUWO936YkeHIWg.0", + "date": "Thu, 12 May 2022 16:08:18 GMT", + "location": "/phoneNumbers/+14155550100?api-version=2022-06-01-preview", + "ms-cv": "GqZl6a6dAUKJDRMGuqasAA.0", "operation-id": "capabilities_sanitized", - "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2022-06-01-preview", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0x98fYgAAAAAFeImoguEERpd3MBJQ7ByjTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "08TB9YgAAAAAYimEkngsOQKCUa1tDd3ISUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1377ms" + "x-processing-time": "2105ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"updatePhoneNumberCapabilities\",\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-02T21:21:12.9874136+00:00\",\"id\":\"capabilities_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"updatePhoneNumberCapabilities\",\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:08:18.8878207+00:00\",\"id\":\"capabilities_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:12 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2022-01-11-preview2", - "ms-cv": "FoP+VjgCokSwdx9h18tLSw.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:19 GMT", + "location": "/phoneNumbers/+14155550100?api-version=2022-06-01-preview", + "ms-cv": "dcC6kIqz4E2PbsQdoIeNDg.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0yd8fYgAAAAAX+RSwQAPvT5WOslg26qb+TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "08zB9YgAAAABToQScyjUuRp/xGtmNRMROUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "284ms" + "x-processing-time": "312ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/+14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:16 GMT", - "ms-cv": "Y59LhW9eRE6xsM9GGpjU4A.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:23 GMT", + "ms-cv": "JLsUAlRp5kyaVtQPkaMxPw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0y98fYgAAAAArOdCG5hnJT477y10s7qnCTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "09jB9YgAAAACU2P2Q5U9VSLjzqxwnb/q3UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "940ms" + "x-processing-time": "1746ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/+14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:19 GMT", - "ms-cv": "no1IhrjB6E2fTHQHU/j3Og.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:26 GMT", + "ms-cv": "4qki+NTbwEG4SxnwkbPKYw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0zt8fYgAAAAA2NeG841lwQakkUZCbJ0JWTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0+jB9YgAAAAAmQYfvcwJ4RqH2Odva4uJ2UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1132ms" + "x-processing-time": "1246ms" } } ], 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 b2bf26c9e605..8f0dc21d176b 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 @@ -4,21 +4,20 @@ "method": "PATCH", "url": "https://endpoint/phoneNumbers/%2B14155550100/capabilities", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:21:20 GMT", - "ms-cv": "NmUxgorH4kKvQBhSUnv+gg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:27 GMT", + "ms-cv": "qY2zQpqH7U6hVmk/nb64qg.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0z98fYgAAAACF9ft+bFd0SIleMtngLZthTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "0+zB9YgAAAAAM94qp9vbTT5eql78Sg9vzUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "316ms" + "x-processing-time": "457ms" } } ], 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 f99268336979..64fa4d330b8b 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 @@ -6,113 +6,108 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:03 GMT", + "date": "Thu, 12 May 2022 16:08: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://endpoint/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - SCUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "PATCH", "url": "https://endpoint/phoneNumbers/%2B14155550100/capabilities", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 202, "response": "{\"capabilitiesUpdateId\":\"sanitized\"}", "responseHeaders": { "access-control-expose-headers": "Operation-Location,Location,operation-id,capabilities-id", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:03 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2022-01-11-preview2", - "ms-cv": "uUcsL26d20CfDi9KQsftjQ.0", + "date": "Thu, 12 May 2022 16:08:07 GMT", + "location": "/phoneNumbers/+14155550100?api-version=2022-06-01-preview", + "ms-cv": "nQktqtsJbkmg39rEKLH+Xw.0", "operation-id": "capabilities_sanitized", - "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2022-01-11-preview2", - "request-context": "appId=", + "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2022-06-01-preview", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0v98fYgAAAACwYpoRwnuCQr/0oz2ecKKsTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "05jB9YgAAAADfoSJ+bc3kRqSellmUe0AoUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1213ms" + "x-processing-time": "1722ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"operationType\":\"updatePhoneNumberCapabilities\",\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2022-01-11-preview2\",\"createdDateTime\":\"2022-03-02T21:21:04.598236+00:00\",\"id\":\"capabilities_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"operationType\":\"updatePhoneNumberCapabilities\",\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2022-06-01-preview\",\"createdDateTime\":\"2022-05-12T16:08:08.2541524+00:00\",\"id\":\"capabilities_sanitized\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:04 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2022-01-11-preview2", - "ms-cv": "3Ww2iKJ8ikOq2hXbKaYKwg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:08 GMT", + "location": "/phoneNumbers/+14155550100?api-version=2022-06-01-preview", + "ms-cv": "PLRN3YN3XEqK1t1T3NLZ7g.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0wN8fYgAAAACtzs3+4Mu/RamxlQ+u6b/fTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "06DB9YgAAAAB3JyTLtTEnTolIQvX+01ZIUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "233ms" + "x-processing-time": "354ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/+14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:07 GMT", - "ms-cv": "1ZC3SqhQKEKzF5DjrEWUIg.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:12 GMT", + "ms-cv": "9pr3H+h7yEywyKq8bygIUA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0w98fYgAAAACCa1t8MbQaQIBucNX6ohI5TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "06zB9YgAAAAAYcfV34sy+SInfZ8psDA/YUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1081ms" + "x-processing-time": "1300ms" } }, { "method": "GET", "url": "https://endpoint/phoneNumbers/+14155550100", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-23T23:38:41.0997634+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2022-03-14T18:26:44.3415816+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"operatorId\":\"sanitized\",\"operatorName\":\"Microsoft PPE (Dogfood)\",\"phoneNumberSource\":\"cloud\"}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:10 GMT", - "ms-cv": "hKKUt/i+DECkmVWeZMaPGw.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:15 GMT", + "ms-cv": "JR9VyAERr02IuxtKUrmYpA.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0xt8fYgAAAAADT8UG+r8DTaWpVOZKqQZWTEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "07zB9YgAAAAA+gl2sWGL1TpFaTcqMdeEjUFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "908ms" + "x-processing-time": "1230ms" } } ], 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 ab40a5e315a6..0c5e4f20f302 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 @@ -6,43 +6,41 @@ "query": {}, "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&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\"}", + "response": "{\"token_type\":\"Bearer\",\"expires_in\":3599,\"ext_expires_in\":3599,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", - "content-length": "1327", + "content-length": "1336", "content-type": "application/json; charset=utf-8", - "date": "Wed, 02 Mar 2022 21:21:10 GMT", + "date": "Thu, 12 May 2022 16:08: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://endpoint/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.12507.17 - EUS ProdSlices", - "x-ms-request-id": "sanitized" + "x-ms-ests-server": "2.1.12818.0 - DMS PPE", + "x-ms-request-id": "sanitized", + "x-xss-protection": "0" } }, { "method": "PATCH", "url": "https://endpoint/phoneNumbers/%2B14155550100/capabilities", "query": { - "api-version": "2022-01-11-preview2" + "api-version": "2022-06-01-preview" }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { - "api-supported-versions": "2021-03-07, 2022-01-11-preview2", + "api-supported-versions": "2021-03-07, 2022-01-11-preview2, 2022-06-01-preview", "content-type": "application/json", - "date": "Wed, 02 Mar 2022 21:21:10 GMT", - "ms-cv": "Mmx3embuhkm2WKN+KSvqew.0", - "request-context": "appId=", + "date": "Thu, 12 May 2022 16:08:16 GMT", + "ms-cv": "xaw+l9ShlkOOj7EMzjEtKw.0", "strict-transport-security": "max-age=2592000", - "x-azure-ref": "0x98fYgAAAAAqNm19uSStQL2FzetOAIg3TEFYMzExMDAwMTA4MDMzADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==", + "x-azure-ref": "08DB9YgAAAAAdchkYTAw1S59p+57P7Gr9UFJHMDFFREdFMDcxOQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "403ms" + "x-processing-time": "410ms" } } ], 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 23c518e25b55..4c26efb05143 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,31 +1,29 @@ let nock = require('nock'); -module.exports.hash = "36a27a5258392120bb8ab5b6301c54c7"; +module.exports.hash = "81926634f1aac5905b7e29c24a246cb7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'MsHbv6AiO0SrD3qugAZmuQ.0', + 'lcT/T8Ja0UOBNhkr3kT6+w.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '904ms', + '1421ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0X98fYgAAAAD8a3me8kdBQLSjQevMG+i1TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0UBJ9YgAAAADn2D8jaBxFSaLFqOafNGeKUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:28 GMT' + 'Thu, 12 May 2022 13:57:38 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 e50691c9b8f0..5fc6df8a0b4e 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,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; +module.exports.hash = "0e7dfc48726c677be0b03c6a752e49fc"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -12,20 +12,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'aw4V31YfSkSbWFFZbA2GqA.0', + '6754yf7m9kaZysa6wA+Zbg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '385ms', + '477ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0YN8fYgAAAABgEWANf6fXTaa/xoBTXRy7TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0UhJ9YgAAAACylEvXXPieSJ0u/8aJUQinUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:28 GMT' + 'Thu, 12 May 2022 13:57:39 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 c91c27a3a2fc..317780343ce5 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "36a27a5258392120bb8ab5b6301c54c7"; +module.exports.hash = "81926634f1aac5905b7e29c24a246cb7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - WUS2 ProdSlices', + '2.1.12651.10 - NEULR2 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AqZwVQZbscVKg2vFb_ms2tE; expires=Fri, 01-Apr-2022 21:19:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Arx-6-Fr3BZFpQWe3XHRXTU; expires=Sat, 11-Jun-2022 13:57:30 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHCyLi8DSrwqmnkkZ8QuUXixc11FwO7NcyjFuibxJg7c44_lcYc4eQ04PcUBmKR2YD6U0yds63EEhZfpMtkSsVjGLaYVU0jyiMVaWt0DG3SVlEXTGy-jOGZcIpCnmLvE_8aiK2y08sYEoKZEVApJrsbXrIrUewJ-Ts4mrOv04ZPkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrgjXHk11nWGkaCs9fPjWsCNwliljX1q0JUntY9iCcKuT7i3-u6fijyhXCAfHI5KZkE7F2BxNVYIJK09oTE24irDJX5qamyT5EiFo0x8SQI94tKEILKRqxF2-sppAGnZJlpbu2fsgP3EwVV6bQwU7Ry_qDFMytc1FnIHWqU0ljZZsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:25 GMT', + 'Thu, 12 May 2022 13:57:29 GMT', 'Content-Length', - '980' + '976' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ag-1WpXoXvNAvBsGGxKGAa0; expires=Fri, 01-Apr-2022 21:19:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AvLNc2M8p8RPi0yQfHiN80o; expires=Sat, 11-Jun-2022 13:57:30 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX00m9ZsoX_drRIdS6_mCiTo-2kiCrYqI8VKE0xetl5rFD3brnB5ajU4w_0u6hpzwd4IfHofU6a5IGThsHQAXVboUORbApRrRflno5q_F_3kcq6azmYHpxYNPHo4jaBKnThk0x_ZMMXrR3XLtd9sO-8F4RD3x8dKCSyIHJBQj1bggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70uEW6sFD5JqgRT1S7ADAd68f0xYCakWK8eQ_TXe4StuOe3aHlxDk3p2wRf2ue-LFdDcIjy_-xVpLGuHkwsVMm--xgFmkHvbAecftM7eizQwu6AtTndRY9BYizEaOHziSGpgzYW1TTyobLKlm_3f5L6d-z3wC5ys7X3dTPu_BUBE8gAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:25 GMT', + 'Thu, 12 May 2022 13:57:30 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,43 +97,41 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Aj4Vdd7LSsdOjPlnbUwSE-tWyo4SAQAAAF3WsdkOAAAA; expires=Fri, 01-Apr-2022 21:19:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AlRqE21l8T1PvccR0GSMeKCnuRFPAQAAAEoJD9oOAAAA; expires=Sat, 11-Jun-2022 13:57: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:25 GMT', + 'Thu, 12 May 2022 13:57:30 GMT', 'Content-Length', - '1327' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'MH6HexZ1ykqBDXLJhAceWA.0', + 'NP24CRLKSU2DU+nWAtCyKQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '995ms', + '2299ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Xd8fYgAAAAB/qeNMobDHQr1d99GWW6BkTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0SxJ9YgAAAAAWH2BYRGjKRYPUeIA2vJ3eUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:26 GMT' + 'Thu, 12 May 2022 13:57:34 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 4dd0934a9c13..f5309a20feee 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; +module.exports.hash = "0e7dfc48726c677be0b03c6a752e49fc"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12470.13 - NCUS ProdSlices', + '2.1.12707.12 - WEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ak5mxB_XVYdKrEUWzOHa9oM; expires=Fri, 01-Apr-2022 21:19:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AilhFAs728pPoGLrVZNfa9c; expires=Sat, 11-Jun-2022 13:57:35 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrY-89bB4sV2gXYAHKGWqmtUY1MY690i8ykg9zBbtJBFnOhv_0kLhvMLZ_ab7AseYtuOdzIaMuwqni5vG-Epw9UPU-tiED7I6d0qH6zJjjJQim45dg_kVkjWdIiA8auejSlc1vnS66TFuqfI9Y9QzvBErvmcQdoY1puvL3i4dUUkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW3BLccsooFvT6h8dJ9gZl99q50F45Ulj2BrzO5zabj4jl-rYoaSc_7mhChAb_YCHq3d31QGv8EGWMRu8prAEnvwPn9M577z4Oo4iZTPSjC1RzuwxUHcwr2QXAVw83GF9MZXWMkeKjlASM-J-jRDB3eW-0gXi10kgctpOh2Gfn60gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:26 GMT', + 'Thu, 12 May 2022 13:57:34 GMT', 'Content-Length', - '980' + '976' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Asm1-TLJWANOqg91NuAhQyk; expires=Fri, 01-Apr-2022 21:19:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Alf_RZrMABhIoapU1iN6MSs; expires=Sat, 11-Jun-2022 13:57:35 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvCHWJ29GMBjkdwz26Y5PSdf2d6munpR0mYf8SyfvcrV2-WommO31ufawfCeGpu4sMW3RQb0-JCuLcP1H-DN_Ih2R04rY7Rqhor3tNbF62XpUYHv0eSMrm4k7POf7XU8-i-Rwe0WN5s-Pt2C189l6w693jPTNyE6JuCLDxNnIDbsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-7005T8kZU64hj2Wj7pgyAWYADS4wE89Mgop9VSq6cefMaW_B2n6aXroUWxcSozbRS3tuM6uidLYbAq8M0rwKGsl9inGtxehllR_EAeKJFo3dAdqJN20_o6COP0wJrdLYxBVLvaLJqiYjiXRwlyh6zGThEOHFBXJy2vXbDsgtpxwEEgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:27 GMT', + 'Thu, 12 May 2022 13:57:34 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,19 +97,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AhrTfeLNE5ZFjOtbrYzZ1BA; expires=Fri, 01-Apr-2022 21:19:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhLs9r5o93BHqWdTPZBu9TOnuRFPAQAAAE4JD9oOAAAA; expires=Sat, 11-Jun-2022 13:57: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:27 GMT', + 'Thu, 12 May 2022 13:57:35 GMT', 'Content-Length', - '1327' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":true}) @@ -118,20 +120,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'Aw6x+i2emUGpdmOAQxEzjA.0', + '7x2id0ZgQ0G5/dVDjfRIbA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '324ms', + '512ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0X98fYgAAAACH+w0rBQTaTIQxoDuw+eVSTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0UBJ9YgAAAADA94cTPSKLQrVGgm0CFMwEUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:27 GMT' + 'Thu, 12 May 2022 13:57:36 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 acb1ea50773b..3b8a41934998 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,83 +1,29 @@ let nock = require('nock'); -module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; +module.exports.hash = "bd8421f48be834cb51b404a6576a2583"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .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-06-24T15:18:14.7689633+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:36:43.2477114+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:36:13.5514009+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:09:18.7391177+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:11:43.8093725+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:09:44.856727+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:10:43.0470316+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:11:13.2871013+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:43.3598754+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:14.2925013+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:17.7642032+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:37:57.7589612+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:38:01.2490062+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:38:10.7033129+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-06-24T15:41:42.6103267+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:30:51.9182995+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:30:17.6614122+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:47.0550566+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:32:08.7055072+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:32:20.4489554+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:24.7610118+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:27.7725472+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:28:06.2941982+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:27:58.4564095+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:35:55.6362141+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:35:38.2751041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:12.122407+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:52.6849802+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:21.3246132+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:52.844006+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:26.0949019+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:16.7736485+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:07.5114194+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:24.9591048+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:31.4083206+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:24.2533723+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:16.2862265+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:37.7662022+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:46.6018872+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:50.4679082+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:44.6881974+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:55.8644165+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:55.9240487+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:20.5570756+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:22.1720088+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-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:44.9865457+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:11:13.6760492+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:13:14.7544127+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:51.5548845+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:22:13.6608168+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:23:13.802374+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:56.1826813+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:23:43.4526026+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:24:12.4592203+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:17.7235497+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:32:43.9547602+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:10.859962+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:30.851053+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":"2022-01-11T22:26:05.2198645+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":"2022-01-11T17:06:02.0097082+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:08:43.2976318+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:09:13.3731647+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:33:13.7739402+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:25:13.6206509+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:25:44.3664664+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:29:43.2087273+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:37:14.4369365+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:27:13.4604535+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:27:47.6058406+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:26:43.3088723+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:42:44.4416133+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:28:13.2155644+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:41:58.7312966+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:39:14.5759855+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:40:28.2331315+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:28:43.2865444+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:43:44.3267753+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:43:14.5582972+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:30:42.3622994+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:35:58.515204+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:30:13.3981412+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:36:12.1300788+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:36:43.3727213+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:31:43.1246125+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:58.3886965+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:44:13.795794+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:33:42.3770211+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:34:13.0593291+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:44:43.2825566+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:43.3853897+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:13.8368509+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:48:14.4930555+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:47:29.3763702+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:37:12.9376761+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:37:43.0423694+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:18:13.4190469+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:01:13.3943797+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:02:13.0024309+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:18:42.3038608+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}],"nextLink":"/phoneNumbers?api-version=2022-01-11-preview2&skip=100&top=100"}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T19:15:38.2651776+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"???","phoneNumberSource":"cloud"}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'cWP+tacpk0yEughdSKa7jQ.0', + '72O9RI8FS06h3Hxmm7BW7g.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1835ms', + '1370ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Z98fYgAAAABBDtC3bTfwTK4YiwRj71sNTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0VRJ9YgAAAAAtOCqZFJJISabbN1wzOLZDUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:36 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('/phoneNumbers') - .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:12:13.538747+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:38:42.1281774+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:50:44.2721958+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:39:13.0650895+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:41:12.9270148+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:59:43.8702426+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:44:13.1870258+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:00:13.7898843+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:49:13.8501396+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:45:43.2412523+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:56:13.4198655+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:42:43.4785601+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:43:13.3329991+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:43:43.2644646+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:46:13.3693388+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:57:43.4206167+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:58:12.6113168+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:45:13.2256267+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:44:43.2018384+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:00:42.6467973+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:46:43.1901855+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:01:43.7661054+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:02:15.3937268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:06:41.01465+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:47:43.0690696+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:07:13.6917784+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:48:12.4350945+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:48:43.1996614+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:49:13.5431092+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:50:13.1026413+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:04:13.3157268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:04:43.1035835+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:22:13.3638878+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:08:43.5413541+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:09:13.8998904+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:51:13.0475026+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:20:05.8658511+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:54:16.6134103+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:11:13.7336785+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:12:58.6058156+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:56:43.0548698+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:11:42.604465+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:57:42.5799099+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:58:11.834285+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:15:28.6354088+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:00:13.1072593+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:30:43.8919494+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:31:13.4310333+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:21:49.9674396+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:45:13.7047676+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:14:13.6220104+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:44:44.6040573+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:54:13.9619565+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:29:43.161106+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:31:14.6037399+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:31:44.5667268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:56:43.3214042+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:54:13.8504347+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:03:14.7906887+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:15:42.8004345+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:31:13.2708013+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:06:43.0334527+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:04:42.9913305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:05:13.4188656+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:25:42.7521989+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:09:12.8370429+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:30:43.1675112+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:10:43.1221045+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:07:13.1907406+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:23:43.0592468+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:07:42.9423531+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:08:12.9812814+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:12:13.4724025+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:08:42.9989053+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:27:13.8887667+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:10:12.8329204+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:11:16.1285436+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:11:43.2160866+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:28:28.4487656+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:14:43.1045845+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:30:12.1604917+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:12:43.3294475+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:29:43.4410627+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:14:13.2280446+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:19:17.7166571+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:25:43.4713207+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:08:13.3307166+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:26:13.092427+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:07:43.1286116+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:28:13.6303453+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:28:43.3758897+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:03:43.893635+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:17:43.5066285+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:04:13.9066513+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:18:43.0105843+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:19:13.3153527+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:34:45.0763318+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:40:14.5388708+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:38:13.7766563+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:00.1600209+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}],"nextLink":"/phoneNumbers?api-version=2022-01-11-preview2&skip=200&top=100"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'h28HC5suu06MPhU74bfpJQ.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '1562ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0ad8fYgAAAABlDbY1NDXfTolVaizH0GStTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 21:19:38 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('/phoneNumbers') - .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:15.9484758+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:23.3515457+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:42:13.7459585+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:42.5645252+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:59:43.6806531+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:43:42.9562291+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:43:12.077177+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:55:14.1329393+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:57:13.8937202+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:44:12.4528756+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:13:13.4711145+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:46:42.2851739+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:14:15.1108491+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:49:12.0653887+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:49:42.2605522+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:50:13.2673166+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:51:13.1710277+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:14:44.8212216+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:50:43.5645432+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '4M3Qn/QqkUOkEjDHQuphOw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '1726ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0at8fYgAAAADDp7g/JRr8Rqeo/nUtiv7tTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 21:19:40 GMT' + 'Thu, 12 May 2022 13:57:42 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 824fb29a00f8..fec68e8af5d4 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; +module.exports.hash = "bd8421f48be834cb51b404a6576a2583"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12651.10 - NEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ag2c0FuA3qVCv7gyTQQpbPk; expires=Fri, 01-Apr-2022 21:19:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqxTKV8uOCBHkE3T896zN8Y; expires=Sat, 11-Jun-2022 13:57:39 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXD5hucqqok__76v1yMoPxjR4qC2lHJv63y-Y8GIG9NEh3w6jGraRFHzVGXf09NZVCwknh0mnnrle7gJYp_5v0tIY3JcuNnygBg2P_ngduAESGzENEPzVTAfpkTIDQZsIkBQ3lNCogPvqn7gdkraktk5RProog22taBvA3M16TRsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmKDubeuNIZ2wgOyLekG94Ba09Hhb0_dEaDLOLZllpmjg0L2XArUvhDVyJ0wil0Xi1OQ-mZNUkjISOM4z1NlXPCz6x6OHU1kPo5CYElymLlWi55_3LOET0iEIjXgU9Kd3cMm3SP9ACoGNt98dVu0-Gy5MYiyqwyS1qmmg8T6yzYIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:28 GMT', + 'Thu, 12 May 2022 13:57:38 GMT', 'Content-Length', - '980' + '976' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Aqojw_x-gPxPpvCIqaLa8ZI; expires=Fri, 01-Apr-2022 21:19:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=ArfostUhOMhFg2_afGVqPfk; expires=Sat, 11-Jun-2022 13:57:39 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLa7_kfE-PTTqKDAbIyKgA8U5Zccr9WcsyqTroXzt_8RsWMiubqHeEZuhxoK1sLBonf0w3fAJ2fsvki-d_TGHFBYTpCN3OWXlgHe6i53sDohaLpn22Gz74gzEmwthmi9NDxGKMEvWqZnAO8cnqwh7EBasQRNv6-0T8RX4eachb_0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70RMlUrjlhKTIdMZzcFCDDKoUM6Goe7J8kya724ftjdn_0z6K6zMiK2Ni3F6WeH6a4meSe6kGDNJMW0n-3h3m5xAjtJcgfGXk-xP63qa4RyWl4fjdVJcPfe-94ESd6fIJs9eaMx3yoCdORUJ0Pu07G4algbzvgrIRn_gsI7L95GTYgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:28 GMT', + 'Thu, 12 May 2022 13:57:38 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,95 +97,41 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - SCUS ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Aj-5uDIGLchNuuMUzs2pMLI; expires=Fri, 01-Apr-2022 21:19:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhnuTxhmd9tDiwFFHrKSUtOnuRFPAQAAAFIJD9oOAAAA; expires=Sat, 11-Jun-2022 13:57: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:29 GMT', + 'Thu, 12 May 2022 13:57:39 GMT', 'Content-Length', - '1327' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .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-06-24T15:18:14.7689633+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:36:43.2477114+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:36:13.5514009+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:09:18.7391177+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:11:43.8093725+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:09:44.856727+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:10:43.0470316+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T05:11:13.2871013+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:43.3598754+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:14.2925013+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:35:17.7642032+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:37:57.7589612+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:38:01.2490062+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"person","purchaseDate":"2021-06-24T06:38:10.7033129+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-06-24T15:41:42.6103267+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:30:51.9182995+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:30:17.6614122+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:47.0550566+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:32:08.7055072+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:32:20.4489554+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:24.7610118+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:31:27.7725472+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:28:06.2941982+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:27:58.4564095+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:35:55.6362141+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:35:38.2751041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:12.122407+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:52.6849802+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:21.3246132+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:52.844006+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:26.0949019+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:16.7736485+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:07.5114194+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:24.9591048+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:31.4083206+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:24.2533723+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:16.2862265+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:37.7662022+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:46.6018872+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:50.4679082+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:44.6881974+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:37:55.8644165+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:39:55.9240487+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:20.5570756+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:22.1720088+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-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:44.9865457+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:11:13.6760492+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:13:14.7544127+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:51.5548845+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:22:13.6608168+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:23:13.802374+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:40:56.1826813+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:23:43.4526026+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:24:12.4592203+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:17.7235497+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:32:43.9547602+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:10.859962+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:41:30.851053+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":"2022-01-11T22:26:05.2198645+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":"2022-01-11T17:06:02.0097082+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:08:43.2976318+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:09:13.3731647+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:33:13.7739402+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:25:13.6206509+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:25:44.3664664+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:29:43.2087273+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:37:14.4369365+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:27:13.4604535+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:27:47.6058406+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:26:43.3088723+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:42:44.4416133+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:28:13.2155644+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:41:58.7312966+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:39:14.5759855+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:40:28.2331315+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:28:43.2865444+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:43:44.3267753+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:43:14.5582972+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:30:42.3622994+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:35:58.515204+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:30:13.3981412+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:36:12.1300788+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:36:43.3727213+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:31:43.1246125+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:58.3886965+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:44:13.795794+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:33:42.3770211+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:34:13.0593291+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:44:43.2825566+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:43.3853897+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:45:13.8368509+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:48:14.4930555+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:47:29.3763702+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:37:12.9376761+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:37:43.0423694+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:18:13.4190469+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:01:13.3943797+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:02:13.0024309+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:18:42.3038608+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}],"nextLink":"/phoneNumbers?api-version=2022-01-11-preview2&skip=100&top=100"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'JuqYRcL+qkuHrlqUdYM/Gg.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '2085ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0Yd8fYgAAAABHIYOhbF2gSZAJiBhhE2MZTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 21:19:31 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('/phoneNumbers') - .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:12:13.538747+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:38:42.1281774+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:50:44.2721958+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:39:13.0650895+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:41:12.9270148+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:59:43.8702426+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:44:13.1870258+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:00:13.7898843+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:49:13.8501396+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:45:43.2412523+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:56:13.4198655+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:42:43.4785601+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:43:13.3329991+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:43:43.2644646+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:46:13.3693388+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:57:43.4206167+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:58:12.6113168+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:45:13.2256267+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:44:43.2018384+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:00:42.6467973+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:46:43.1901855+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:01:43.7661054+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:02:15.3937268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:06:41.01465+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:47:43.0690696+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:07:13.6917784+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:48:12.4350945+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:48:43.1996614+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:49:13.5431092+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:50:13.1026413+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:04:13.3157268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:04:43.1035835+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:22:13.3638878+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:08:43.5413541+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:09:13.8998904+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:51:13.0475026+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:20:05.8658511+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:54:16.6134103+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:11:13.7336785+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:12:58.6058156+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:56:43.0548698+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:11:42.604465+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:57:42.5799099+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:58:11.834285+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:15:28.6354088+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:00:13.1072593+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:30:43.8919494+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:31:13.4310333+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:21:49.9674396+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:45:13.7047676+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:14:13.6220104+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:44:44.6040573+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:54:13.9619565+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:29:43.161106+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:31:14.6037399+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:31:44.5667268+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:56:43.3214042+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:54:13.8504347+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:03:14.7906887+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:15:42.8004345+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:31:13.2708013+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:06:43.0334527+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:04:42.9913305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:05:13.4188656+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:25:42.7521989+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:09:12.8370429+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:30:43.1675112+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:10:43.1221045+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:07:13.1907406+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:23:43.0592468+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:07:42.9423531+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:08:12.9812814+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:12:13.4724025+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:08:42.9989053+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:27:13.8887667+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:10:12.8329204+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:11:16.1285436+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:11:43.2160866+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:28:28.4487656+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:14:43.1045845+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:30:12.1604917+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:12:43.3294475+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T04:29:43.4410627+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:14:13.2280446+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:19:17.7166571+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:25:43.4713207+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:08:13.3307166+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:26:13.092427+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:07:43.1286116+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:28:13.6303453+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T03:28:43.3758897+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:03:43.893635+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:17:43.5066285+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T02:04:13.9066513+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:18:43.0105843+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:19:13.3153527+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:34:45.0763318+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:40:14.5388708+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:38:13.7766563+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:00.1600209+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}],"nextLink":"/phoneNumbers?api-version=2022-01-11-preview2&skip=200&top=100"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'ACxo3s7QgEKYMDLPou3OHA.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '1902ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0Y98fYgAAAACJxW0bGvOTTq5xD/Cd2GFhTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 21:19:33 GMT' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers') .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:15.9484758+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:23.3515457+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:42:13.7459585+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:42:42.5645252+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:59:43.6806531+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:43:42.9562291+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:43:12.077177+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:55:14.1329393+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T00:57:13.8937202+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:44:12.4528756+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:13:13.4711145+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:46:42.2851739+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:14:15.1108491+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:49:12.0653887+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:49:42.2605522+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:50:13.2673166+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:51:13.1710277+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-24T01:14:44.8212216+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound+outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:50:43.5645432+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2022-03-14T19:15:38.2651776+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"???","phoneNumberSource":"cloud"}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'Am78LvDFXUWdTz0yFZ+SDQ.0', + 'NuSKG/rnW0GEZ++nFUzrmQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1722ms', + '1764ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Zd8fYgAAAAAgi7QgVHBuQIM/crNrxj7HTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0UxJ9YgAAAACfuoRfKGrTTIyCJnqnb+S/UFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:34 GMT' + 'Thu, 12 May 2022 13:57:41 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 e4a81f1e16c9..a75f2c88c7cb 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 = "e40db4a771c5a86fc3580081e9b7cdc2"; +module.exports.hash = "2735c784c95a0da858331cfa3554882b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -9,31 +9,29 @@ nock('https://endpoint', {"encodedQueryParams":false}) .query(true) .reply(202, "", [ 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location,Operation-Location,operation-id,search-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'rpXJ/UJIf0qnMhZHI77q4Q.0', + '1/wTo/lH/U+YRtaS2FDT5g.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview', 'operation-id', 'search_sanitized', 'search-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '3077ms', + '2621ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0SwQgYgAAAAA2cjsrAYoCT7pSqkfIKgkgTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ODR9YgAAAAB+hWfyz7kgQJ/RqB8iorcFUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:02 GMT', + 'Thu, 12 May 2022 16:22:19 GMT', 'Content-Length', '0' ]); @@ -41,83 +39,77 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T16:22:19.7893502+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', 'MS-CV', - 'N/GOZU1ZPUyyMliYmlFwqA.0', + 'xHsFdvsTAU+U5RxbjvCg+w.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '432ms', + '389ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0TgQgYgAAAABgPbnLWIilQqGWRnyAyT7JTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0PDR9YgAAAAA1W816xR2ASYhjw2F14zMvUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:02 GMT' + 'Thu, 12 May 2022 16:22:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":[],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2022-03-02T23:57:05.2764405+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":"2022-05-12T16:38:21.0616876+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '2wFvzoB+OkeHUn8mTbGmKA.0', + '1SwtEAsYE0qnHGvWRrKi5A.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '894ms', + '1166ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0UAQgYgAAAAA8xoT57OP+QqyiK2Il/C0LTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0PjR9YgAAAAC3h3/WX9ioRZHSErQV1YJLUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:05 GMT' + 'Thu, 12 May 2022 16:22:23 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":"2022-03-03T00:13:04.2299637+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":"2022-05-12T16:38:21.0616876+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '5Ay85CctB0i4ZNSbU5ZvQQ.0', + 'zHEAlK/PKU20ElHfw1FqRg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1240ms', + '1429ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0UwQgYgAAAADzcwZN13o6RI+ACUnDXwraTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0QjR9YgAAAAB0KLQH+/YYSKs1fmUOZvA8UFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:08 GMT' + 'Thu, 12 May 2022 16:22:27 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -126,28 +118,26 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(202, "", [ 'Access-Control-Expose-Headers', 'Operation-Location,operation-id,purchase-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'YBAxoQTYg0iSgklwZdlVmQ.0', + 'gWCiTthUJEa7uI5sxyPnUw.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/purchase_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/purchase_sanitized?api-version=2022-06-01-preview', 'operation-id', 'purchase_sanitized', 'purchase-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '2097ms', + '2641ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0VQQgYgAAAABNF6Ar24SKSp7yYzRmRYrLTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0QzR9YgAAAACPJSKk1kiNSI2r3Iqjfb4lUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:11 GMT', + 'Thu, 12 May 2022 16:22:30 GMT', 'Content-Length', '0' ]); @@ -155,235 +145,73 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"operationType":"purchase","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"purchase","status":"running","resourceLocation":null,"createdDateTime":"2022-05-12T16:22:19.7893502+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'Ts7hZhACTkS6anzFMXHDqg.0', + 'FpZwnhLkq0iNEjm7TMLjNw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '407ms', + '297ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0VwQgYgAAAABNDAzV0Nh2T6YRcFgCvv1rTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0RjR9YgAAAABS71Y2pwM7SpHNVYI4n+IjUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:11 GMT' + 'Thu, 12 May 2022 16:22:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"operationType":"purchase","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"purchase","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-05-12T16:22:19.7893502+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'AQSMXVkBGkK8aidxPVDIvg.0', + '7LnaxrmRCkmwsGB8zjosjA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '423ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0WQQgYgAAAACl/pG6UGf5R6vXuYfE7WAMTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:13 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'vqjVtjkrqkGArCCjX0nwdQ.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '413ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0XAQgYgAAAABda55E8+HeSrl014G/eG97TEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:16 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'dDHHMohH6EWah7huSsiBuQ.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '394ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0XgQgYgAAAADxVEvRWei1SJyOjcCx0W/rTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:18 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'x28MGVaUA0yXr7DRca+eFQ.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', '402ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0YAQgYgAAAAD0/1ZoIWPwSbjHpvhLzhGrTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:21 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'mTnXCmw0h0W7PvKm5sUrEQ.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '400ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0YwQgYgAAAACm/wxaiWn2S6STC98HN+B7TEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0STR9YgAAAACUKuo/INxqR7hpLt59ghaAUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:23 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'EKMOh2MmgEefw0fSd1bemw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '400ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0ZQQgYgAAAACT/95+NxgeTqqtUdS9GfH3TEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:25 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:01.9751797+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '/MfwQtDwHk2nvxcWm1Rw8g.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '375ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0aAQgYgAAAABZOgCRCx+BS64Nf6tehrpZTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:28 GMT' + 'Thu, 12 May 2022 16:22:33 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":"2022-03-02T23:57:26.2367125+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":"2022-05-12T16:22:32.2268286+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '/WxSYwQi4UOr3YARJKRWLw.0', + 'b/ZoPXZz+EeYPOz3oBOJ6g.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1639ms', + '1504ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0aAQgYgAAAAB5Ghu/g41gQYKAlHz6XMbJTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0STR9YgAAAADWwvXkHl+fTKRAgyuQgGgOUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:30 GMT' + 'Thu, 12 May 2022 16:22:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -392,28 +220,26 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(202, "", [ 'Access-Control-Expose-Headers', 'Operation-Location,operation-id,release-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'neDsWo2EOEaH2y0yVtrLiA.0', + '2oeBj97yW0O/8n1zlqFJPw.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/release_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/release_sanitized?api-version=2022-06-01-preview', 'operation-id', 'release_sanitized', 'release-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '942ms', + '1031ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0agQgYgAAAAAjkYxGH4kKRYCU35NfnHt1TEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0SzR9YgAAAABIg+cDH4WxT7hCqxvH50q5UFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:31 GMT', + 'Thu, 12 May 2022 16:22:36 GMT', 'Content-Length', '0' ]); @@ -421,129 +247,71 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:30.6893593+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '+9GFs8RGWUaE0Hb2PmCUwA.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '306ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0awQgYgAAAABdoXRnFOTUT4cb/9d3jAFxTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:31 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:30.6893593+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'qvKgxQCl9k2UW9vA9jNLdw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '412ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0bQQgYgAAAAAYH1bSUX9kQqL9B00MW0FxTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:57:33 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:30.6893593+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"releasePhoneNumber","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-05-12T16:22:36.2261334+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'Ghk3wkxsu0yMvI3O5JHtzw.0', + 'w8LmxikTrkOWosRnvCTDHg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '368ms', + '383ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0cAQgYgAAAAByX3BSrmFoTpDpWZsTbzc8TEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0TDR9YgAAAAC35J5iJn/NSIB2mHe+9tF6UFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:36 GMT' + 'Thu, 12 May 2022 16:22:36 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:30.6893593+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-05-12T16:22:36.2261334+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '3xIQ6AeneEqLmsjJIXfkGA.0', + 'Psm6VdyfnE2lIucQxKu08g.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '324ms', + '305ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0cgQgYgAAAAAt/R9vhACkTYVyXWDSbaJKTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0TzR9YgAAAADDPCNjlHMQTYwevWnD0hQ3UFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:38 GMT' + 'Thu, 12 May 2022 16:22:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-03-02T23:57:30.6893593+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"releasePhoneNumber","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-05-12T16:22:36.2261334+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'VHOXyXIe9U++O8rBujUjsw.0', + 'dG2e74EhIEaTVcu3R4oKzg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '404ms', + '373ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0dAQgYgAAAADk5xOS8Z10Rq9rmUIBVAlcTEFYMzExMDAwMTA4MDE5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0UTR9YgAAAAA7ZA7xxOJpTYxPsIgWCafmUFJHMDFFREdFMDcxNQBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:57:40 GMT' + 'Thu, 12 May 2022 16:22:41 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 cbbade51bb39..080f532ac210 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "6ce683f883decf653da0b34b87b586a3"; +module.exports.hash = "2735c784c95a0da858331cfa3554882b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - SCUS ProdSlices', + '2.1.12744.11 - WEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ag4ELhWpjLlDuCD904caE1I; expires=Fri, 01-Apr-2022 23:53:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AnzF9DvHSFZEppG0aCSpf8o; expires=Sat, 11-Jun-2022 15:53:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDBsMmbNgdfP2U6CAvMRC9dsUWfmhqN1Uu9GOj1VyPCDKtT3DFQVT32b2xCaJxeBrKe3yb7pvhvEE3bkHDk-NfjphIh4VNypzrfw4EAWXwHnSSXa6ZiqlYstsF6DejfthGHYgYvE3ri6egt4MLHC9UT-i5senGd1TzN71-8kehIMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrz0jVMzqQI1yd1NoHgFwijRkzk2-qIryNAE27z2LmwpWsPkTS8u82aRiMNa_nHEsyIxA4-RLMTzdpRj1rrF7xH6dl2jvcOoNHkP2AXAW7dhFdzF37nS8DtWKnz8hvDdkdyFOyniYU18D-GU-U9bf_3Q9HKi4LfE0T8sIJT9HL5RcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 23:53:40 GMT', + 'Thu, 12 May 2022 15:53:44 GMT', 'Content-Length', - '980' + '976' ]); 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"],"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - EUS ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AgGhXVgij3lAtV26yxF6lts; expires=Fri, 01-Apr-2022 23:53:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AjPMBar021dMiXvv34mi3Uw; expires=Sat, 11-Jun-2022 15:53:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwx6wA7LfiNFTvQBvhOxkfv6ALlSQzXuO6fTCU44doDr5dIcLEplRjdMvmAoftFgbv7bYrjCWU-6ymLuyS474zj2dlQtHV9ZcieXIy3kwaTx-UQC3e1ypLhNXRiBbbE3Eo-nlmD2i0sM7lG_uLfmC-GEUVybleU7gpnMSXYOITj4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70Qo22_TT5SBS6gV5jm1cyCZFWaHiSnAguTMjxr1miSuleCQJQSGrdRlaDz7Otnv0IO2Wdh4xfsDHmQqZ9K88UUmXbJV0Muo5qSi8JU28tTUgCkesdm2KNV2aHGv22jFXuVSCLnRazdrvAl-HqnnsxDbrnoSEmmn67C7la3FvUrjsgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 23:53:40 GMT', + 'Thu, 12 May 2022 15:53:45 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,19 +97,19 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Akr0GfVTl8ROheLjoV4aY4RWyo4SAQAAAIT6sdkOAAAA; expires=Fri, 01-Apr-2022 23:53:41 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Arfy3x0quLZIgI_TS3OCquanuRFPAQAAAIkkD9oOAAAA; expires=Sat, 11-Jun-2022 15:53: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 23:53:40 GMT', + 'Thu, 12 May 2022 15:53:46 GMT', 'Content-Length', - '1327' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -115,31 +117,29 @@ nock('https://endpoint', {"encodedQueryParams":false}) .query(true) .reply(202, "", [ 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location,Operation-Location,operation-id,search-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'gVmBMh3cZUaMPSdsm/9n3g.0', + 'mpCAqzTijEG9AR0Ew6DaUQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview', 'operation-id', 'search_sanitized', 'search-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '2602ms', + '5862ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0hQMgYgAAAABt0N5ptbHqRqxnPF8fACIPTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0iy19YgAAAADW8dGEIsEuQbRVVcbBXK0YUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:53:43 GMT', + 'Thu, 12 May 2022 15:53:52 GMT', 'Content-Length', '0' ]); @@ -147,83 +147,77 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"search","status":"running","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T15:53:53.1424289+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', 'MS-CV', - 'z9Khn7Gn2Eejjd44hYHE+w.0', + '4pWhU3QO8UCKrVV7aAxp4A.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '351ms', + '457ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0iAMgYgAAAADIEdR0Hl/hQZcrgiiNpbZnTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0kS19YgAAAADUkqoNs6mXT7BL9NjlohpgUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:53:43 GMT' + 'Thu, 12 May 2022 15:53:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":[],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2022-03-02T23:53:46.8161219+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":"2022-05-12T16:09:54.4881215+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'm17Jdpy8KEK/XPLc9g/0Zg.0', + '8DvErCcPCEC2sljPC3dvEQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '896ms', + '1071ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0igMgYgAAAAADqJA9NVlPRKlMGI08FlrHTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0lC19YgAAAACjN8q/eTcnTY/parKiCVgmUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:53:46 GMT' + 'Thu, 12 May 2022 15:53:56 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":"2022-03-03T00:09:46.6738570+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":"2022-05-12T16:09:54.4881215+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'YsPar4xQBUCU794pS2ZBpw.0', + 'Q1jM4lVsNk29M4T/cuQaxQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1029ms', + '1221ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0jQMgYgAAAACt2BPw1WWxT51IX2N4OHy4TEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ly19YgAAAABUNcB/G0kbSKBmFrpNNX/gUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:53:49 GMT' + 'Thu, 12 May 2022 15:54:00 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -232,28 +226,26 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(202, "", [ 'Access-Control-Expose-Headers', 'Operation-Location,operation-id,purchase-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'Co4fn6YgO068mTfdDiwITw.0', + '1NR63LC7tUmECK7cnEbhjw.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/purchase_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/purchase_sanitized?api-version=2022-06-01-preview', 'operation-id', 'purchase_sanitized', 'purchase-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '2074ms', + '2572ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0jgMgYgAAAADPcvwJFe2rTa2iH9Er0AB7TEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0mS19YgAAAACSJbzouCo1QJzHaAgB1KG9UFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:53:51 GMT', + 'Thu, 12 May 2022 15:54:02 GMT', 'Content-Length', '0' ]); @@ -261,235 +253,73 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"operationType":"purchase","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '09x0VL6UCEieIifJTY6/Gg.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '436ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0kAMgYgAAAABgepSo8j78Q4ppJK8pv7SlTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:53:52 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '4V0p5Fupo0GbpKXWJ1b4bw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '409ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0kwMgYgAAAAAv6HygaqipT6G7yphUE53fTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:53:54 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '0DH3PgUG2U+Zn8xvKtjR8w.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '535ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0lQMgYgAAAADlzJ/34VtnQ7Uowt4Aww3pTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:53:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'bnWQzzooWkyi1znHmINdEw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '303ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0mAMgYgAAAABGC09G/pyiRpQaz5INHMVMTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:53:59 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'vKS+Nt37YkCFkj/lgJN6Tw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '328ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0mgMgYgAAAABggFOecFVUTYIZaIPhlCfITEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:54:01 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'HTYqLreyFkS9OjWpS102Dw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '305ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0nAMgYgAAAADJcvLdx0liT7OC516Wu0qcTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:54:05 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"purchase","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-05-12T15:53:53.1424289+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'rgc5dvaxxUK2U2V20pSjyQ.0', + 'LCg5T7slj0+kT/7BWKHK1A.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '309ms', + '402ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0nwMgYgAAAAC5K7daBNwzTo7J9+rbTB3nTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0my19YgAAAABZusYL+9MLTrMew07JrIH8UFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:07 GMT' + 'Thu, 12 May 2022 15:54:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"operationType":"purchase","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-03-02T23:53:43.6847186+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"purchase","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-05-12T15:53:53.1424289+00:00","id":"purchase_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'KT3no26oZ0SSxJzSAt6v3Q.0', + 'L+6+oVM/f0yCZ76+WoABGw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '333ms', + '373ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0oQMgYgAAAAD/Ts5KmDyZRpJKIKn/H+YLTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ni19YgAAAAAN+qQmFzxeRbRsRB9rrI7sUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:09 GMT' + 'Thu, 12 May 2022 15:54:06 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":"2022-03-02T23:54:07.8233362+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":"2022-05-12T15:54:04.8422206+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'MfMk61Lrh0aQk6gMqvWBgw.0', + 'SaG6fIGh6keneDEVGM61ow.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1841ms', + '2081ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0oQMgYgAAAADDbGCwxaJBQpX/vb+xweNGTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ny19YgAAAADUGowLaFCGTJnlrlkv2sUrUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:11 GMT' + 'Thu, 12 May 2022 15:54:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -498,28 +328,26 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(202, "", [ 'Access-Control-Expose-Headers', 'Operation-Location,operation-id,release-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'cWuC52D+pkKVvVXDJipCZw.0', + 'spCtzJ5RM0+IC1WQLlOr/w.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/release_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/release_sanitized?api-version=2022-06-01-preview', 'operation-id', 'release_sanitized', 'release-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1103ms', + '1158ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0owMgYgAAAACDSdTmnw6gRJa4qlb9XNc1TEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0oS19YgAAAAACAjIi8hzCQImmiqSFfI7tUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:12 GMT', + 'Thu, 12 May 2022 15:54:10 GMT', 'Content-Length', '0' ]); @@ -527,129 +355,47 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-03-02T23:54:12.1960651+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'iZoweQ+BjUKW7THpmZ5Wtw.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '311ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0pAMgYgAAAADaLcMfTm/KQb1sq6KK8FucTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:54:13 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:54:12.1960651+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - '7YlPhEA4xkacvdDCB9VX6A.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '267ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0pwMgYgAAAACKuvZSpVqwSoyqOd2I5y3ATEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:54:15 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:54:12.1960651+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'tMaeujGyzUewoTGkNTkdbg.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '300ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0qQMgYgAAAAB0Y1NY1LlrTrUip5HKg233TEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 23:54:17 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"running","resourceLocation":null,"createdDateTime":"2022-03-02T23:54:12.1960651+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"releasePhoneNumber","status":"notStarted","resourceLocation":null,"createdDateTime":"2022-05-12T15:54:10.0448881+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '9GzgzmSSvUCJimzMzcBM9g.0', + 'uQ04tMBaQUqC/U9SKX7ToQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '216ms', + '341ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0qwMgYgAAAADTbPzuAZuBTbS3ax67U9H5TEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0oi19YgAAAAAS3Cgi+asLT7fiD6yZJxnLUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:19 GMT' + 'Thu, 12 May 2022 15:54:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"operationType":"releasePhoneNumber","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-03-02T23:54:12.1960651+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"releasePhoneNumber","status":"succeeded","resourceLocation":null,"createdDateTime":"2022-05-12T15:54:10.0448881+00:00","id":"release_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'AjbVzqYCRUOkBglmjXymQw.0', + 'Sgv8S5IAxkqDeNrDhend1Q.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '543ms', + '356ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0rQMgYgAAAADHRGYIlwXPQo4weqWfW3LpTEFYMzExMDAwMTA4MDM1ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0pS19YgAAAAAf0QiipUPtQJcpvkideysgUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 23:54:22 GMT' + 'Thu, 12 May 2022 15:54:13 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 0b1b5adb0d4b..3c4304007257 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 = "54fc9ee98e5f24aed78d2ab61a21b45d"; +module.exports.hash = "9c30512aa93297aeac75581053f54475"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -9,31 +9,29 @@ nock('https://endpoint', {"encodedQueryParams":true}) .query(true) .reply(202, "", [ 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location,Operation-Location,operation-id,search-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'd3kapLhhLkSZCO6tzfq7XQ.0', + 'fv4sE+Cj80KHsNV/Y1jr6Q.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview', 'operation-id', 'search_sanitized', 'search-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1977ms', + '2677ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0d98fYgAAAADQtc3BSCgAQo7ufQyqIb31TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0yhV9YgAAAADSFjtgCYXwTrrt7mroXrOLUFJHMDFFREdFMDYxNABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:52 GMT', + 'Thu, 12 May 2022 14:12:29 GMT', 'Content-Length', '0' ]); @@ -41,81 +39,75 @@ nock('https://endpoint', {"encodedQueryParams":true}) nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T21:19:52.6704705+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T14:12:29.8064318+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', 'MS-CV', - 'p9sAJn1TREut8PybB4cl5Q.0', + 'QKcy6mMEA0u+Y87sDFBYng.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '300ms', + '318ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0ed8fYgAAAADU6VMebOR9QYTbxPDcQYuvTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0zhV9YgAAAAAPYeJA3UZtRameVR9VgJNJUFJHMDFFREdFMDYxNABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:53 GMT' + 'Thu, 12 May 2022 14:12:29 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":[],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2022-03-02T21:19:55.7954140+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":"2022-05-12T14:28:31.4567966+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'GxGZ1aKfxU2MV7MKPAOutA.0', + '0zywFNaaiUWR72skJ8cf8Q.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1343ms', + '1085ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0e98fYgAAAAAIJGNi2qeqTJVnQ1KqdxWpTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '00BV9YgAAAACNnji7j2s/S7hr4dQ/3WhrUFJHMDFFREdFMDYxNABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:56 GMT' + 'Thu, 12 May 2022 14:12:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":"2022-03-02T21:35:54.5825400+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":"2022-05-12T14:28:31.4567966+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'xcE0IpPHXEOx0AG9GqU9Pg.0', + '3qAXD0/7KkmEBNPPAnQfEA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '872ms', + '1092ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0ft8fYgAAAADZBcgOY1shTLORY+8VzgDlTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '01BV9YgAAAADFxS3/xKA9S6aYX+S98vhqUFJHMDFFREdFMDYxNABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:59 GMT' + 'Thu, 12 May 2022 14:12:36 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 28da4318d2b6..326e977192af 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 = "1f4665bf36a13e89931d298eb1eafd19"; +module.exports.hash = "cf086addd4f715f0d75d002933d74b0b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -12,20 +12,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'BcYJItJiu0iaozCcJ2pGfw.0', + 'icGCOrpieUOd/vb71ruQPg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1496ms', + '1910ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0f98fYgAAAAANXOvHQshUToQVuyKK1xj6TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '01RV9YgAAAABrA47HmUiQQqoOCZdLyS1YUFJHMDFFREdFMDYxNABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:00 GMT' + 'Thu, 12 May 2022 14:12:38 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 3264b6549567..88871b522a3f 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "54fc9ee98e5f24aed78d2ab61a21b45d"; +module.exports.hash = "9c30512aa93297aeac75581053f54475"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12651.10 - NEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ap6HvsLXfS9AnafHUnzK6fk; expires=Fri, 01-Apr-2022 21:19:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuS0wHPu7CdDnJq9fAZulrA; expires=Sat, 11-Jun-2022 14:31:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTpnN8ygI18WRADkVhL9bceTfoHn-IiuBA2zupuv7y1IqUzDh3aQWRIDkcw_WTK2RP-WYnqHoVUaExrO3534obYWRsvzWllidwG-h42fd0DYx3r-zuNEASIRpdjywJfRD_S0Wv0MoSI2yaEzjL0ZKreyhoifShspQQsxRe3jXEB8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr92JPsTbUT393E8lfAmKC5fzdCaTu-ebnPcyyfYigaTsO7LsLWBIPWZ2L_fVb1hY1soWCP-YC9Ag5pRPDaY92kb42TuxF-L0nmewYgwsAGrlNXd_kPkGd4m5uTAVrelGVBwQJgF0MmoCDTxN6VzG13Mw9WOpF0gs3hIxIG8zDFmMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:40 GMT', + 'Thu, 12 May 2022 14:31:10 GMT', 'Content-Length', - '980' + '976' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - SCUS ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AuxTtCuhvqlAun_kgwxq-DM; expires=Fri, 01-Apr-2022 21:19:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AlwZcpK5JeBBlQ3DBENHU5w; expires=Sat, 11-Jun-2022 14:31:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfYS5Dtp2rzTJgulkn_dD1nTIHTsKQyRTQeYDqkE1utSHzVEn47J5QowHh5pODtDmz9oukjjETbxsQha_n_jbceG5GKg-Q9F4_WSz7NggXRYRpdEcvnUy7kjcJj3zOdZGcg_fplmrE9JSYDcE-BkrocO_PfdDudtbrZSq6csMlyggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-708JaImL3wZqDVofKWj6IGdQHG1DpwpPtEuACBX__0GRBJ4hv8fTasShODc5wvsTmlfh5kN-vcSpVJt-7rXnyzIEUmYfu_Flqtf_-Hlk72SSK764bOGbRZBHF0VkrzM02EZaNaecEKDXXBnHppNwMzwDDl7w4sJP7t-owO5d7TA2QgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:40 GMT', + 'Thu, 12 May 2022 14:31:11 GMT', 'Content-Length', - '1753' + '1737' ]); -nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ +nock('https://endpoint', {"encodedQueryParams":false}) + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,133 +97,101 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Amw1C4Yy05dNlXs8GoECfDE; expires=Fri, 01-Apr-2022 21:19:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AkYttRnOB-pAhszmTKIABtOnuRFPAQAAADARD9oOAAAA; expires=Sat, 11-Jun-2022 14:31: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:40 GMT', + 'Thu, 12 May 2022 14:31:11 GMT', 'Content-Length', - '1327' + '1336' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .post('/availablePhoneNumbers/countries/US/:search', {"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"quantity":1}) .query(true) .reply(202, "", [ 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location,Operation-Location,operation-id,search-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'GWLsDySRxECppgdQUBB/1A.0', + 'iU4Wmw9kSEixjWSWgnnhUg.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/search_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/search_sanitized?api-version=2022-06-01-preview', 'operation-id', 'search_sanitized', 'search-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '2030ms', + '5551ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0bN8fYgAAAABfeNgGr94PQqltB2hIlkcpTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0MBp9YgAAAAD4t/JFxPNnTbJJ/nubw7TnUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:42 GMT', + 'Thu, 12 May 2022 14:31:17 GMT', 'Content-Length', '0' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"operationType":"search","status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T21:19:42.3586009+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"search","status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T14:31:18.3833926+00:00","id":"search_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-01-11-preview2', + '/availablePhoneNumbers/searchResults/sanitized?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', - 'MS-CV', - 'r7JdIdn0UkCTgF/ZlqT/KA.0', - 'Strict-Transport-Security', - 'max-age=2592000', - 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', - 'X-Processing-Time', - '339ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0bt8fYgAAAADGBuumGmVkS5P2R2z4/Z6MTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', - 'Date', - 'Wed, 02 Mar 2022 21:19:42 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('/availablePhoneNumbers/searchResults/sanitized') - .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":[],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2022-03-02T21:19:45.5277784+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '98XKvRT+QkKLymZOrfn4Ww.0', + 'NmfKj9kmjEKfHYS2x7t+fA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1006ms', + '794ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0cd8fYgAAAABB1twZ03vKRJAhBjHHq+A8TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0Nhp9YgAAAAAlvW++eHCUTYv7lUYA32c+UFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:45 GMT' + 'Thu, 12 May 2022 14:31:18 GMT' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +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":"2022-03-02T21:35:44.0032432+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":"2022-05-12T14:47:18.8006973+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'ovTOv/sgOEq4c16+yMcm1Q.0', + 'VhnKLCGuFE6VmEcIGlb+dQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1140ms', + '1345ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0dN8fYgAAAAD4NznUlrsCRpDODZfsLI56TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ORp9YgAAAAC9maBGXu85R6sSzpOdbIm5UFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:49 GMT' + 'Thu, 12 May 2022 14:31:22 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 1200620b600f..f426ce5f0f70 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "1f4665bf36a13e89931d298eb1eafd19"; +module.exports.hash = "cf086addd4f715f0d75d002933d74b0b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12707.12 - WEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Agt5F48wqqtPsC29kZAb57A; expires=Fri, 01-Apr-2022 21:19:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AocdOuu3zvtMuDkrew28G7w; expires=Sat, 11-Jun-2022 14:31:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraTpffUNJnKpRZLpj_nORkJQYCvs-6XkZS9Xrngi8XNrS8IPNdKF51p5qnMqg8df5iI95g9n3rQ54hw4y2kGiAX_mQOFrLGvmDOm0KmFsJHxsLzjku4d_ihb67CL6v2-30wbTUGx6gF4wwuny9ZP5ysz9bOIKqBLO6VBv_32MPyggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHoDeT-lSNZgeRKK6MIDXYofRUOusV8xIZx2UGBq6SsisfGC4S8FDZtwyWdaviiJdQYkSCJ4QY3foNbFcr4bFwZ7qkyFe-jCujj77heP7ElGq8eb_x5g5FQSH8Sfr156ppU1ArpaCQ-7QiBCUvm7ZS6fODFXsg-o-z2iEv5xj0wUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:49 GMT', + 'Thu, 12 May 2022 14:31:22 GMT', 'Content-Length', - '980' + '976' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - SCUS ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Ah7ExPkD9KhLiAZ3epIN7n8; expires=Fri, 01-Apr-2022 21:19:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AtUocov_605Djec2SviX5O4; expires=Sat, 11-Jun-2022 14:31:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrY__nTKbfn0C49IxBi58XV6lX446HWJjaNkMwpTvrWg5QV_nU50XSti4V_elR4dXVUIyl5_Dza2AdTBK3PSx_1LaAC0Qu5N76ny1upOQdJanP0ykoJESX-b65lp_HY_BddY5yiLo5VyFAnza6yjKwbzB2V3ytzdHGv0unoN_h9uAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70ZbLXecJItrqo00W02yGwfWY429xhUEwDIwyCeoi3dMp6vzxiNk_tnaFufyGP0-o55EfQg57-Kkl9qAonxyrmXUI6Dp8SRFykHgIbOuNi55sH7iHEKtbhZ7IKTIk9HeFodl2VVPrZnle6mDl_uKixAwRYHXZ9Ym5BcZFzU_HivB8gAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:49 GMT', + 'Thu, 12 May 2022 14:31:22 GMT', 'Content-Length', - '1753' + '1737' ]); -nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ +nock('https://endpoint', {"encodedQueryParams":false}) + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,22 +97,22 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - NCUS ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AqQZlVI89FFOvPF8AnKboD4; expires=Fri, 01-Apr-2022 21:19:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AlonHHIluldDurjxiviTBpunuRFPAQAAADoRD9oOAAAA; expires=Sat, 11-Jun-2022 14:31: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:19:49 GMT', + 'Thu, 12 May 2022 14:31:23 GMT', 'Content-Length', - '1327' + '1336' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .post('/availablePhoneNumbers/countries/US/:search', {"phoneNumberType":"tollFree","assignmentType":"person","capabilities":{"calling":"none","sms":"inbound+outbound"},"quantity":1}) .query(true) .reply(400, {"error":{"code":"InternalError","message":"The server encountered an internal error.","innererror":{"code":"BadRequest","message":"We are unable to find phone plans to match your requested capabilities."}}}, [ @@ -118,20 +120,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'eFbCiy5G40+rvtF/1qsXFQ.0', + 'VKTWsvcCkUi/1HwfOr3u0Q.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1301ms', + '1867ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0dd8fYgAAAADvKzf/BfPeQLQmEfGz+vNYTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0PBp9YgAAAACSiLiWr6H8Q5c1jMGf2pOdUFJHMDFFREdFMDYxNwBjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:19:50 GMT' + 'Thu, 12 May 2022 14:31:25 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 e6b27086df83..937b85762f2c 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,10 +1,10 @@ let nock = require('nock'); -module.exports.hash = "e6cc5d618425d7272789412e8ab34410"; +module.exports.hash = "649cd5b74c6eb8795af1877131658e87"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) .reply(202, {"capabilitiesUpdateId":"sanitized"}, [ @@ -13,111 +13,103 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/phoneNumbers/+14155550100?api-version=2022-01-11-preview2', + '/phoneNumbers/+14155550100?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Operation-Location,Location,operation-id,capabilities-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'c83gmNIZuk+YVSskbqt1WA.0', + 'DNJGGSAT+Umj/4aOWBv3rg.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/capabilities_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/capabilities_sanitized?api-version=2022-06-01-preview', 'operation-id', 'capabilities_sanitized', 'capabilities-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1374ms', + '1486ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0it8fYgAAAABrWLWNFbAJSI4xTSK9iMilTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0hhJ9YgAAAABhIfjSdQuPT4hoDNFPehVeUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:11 GMT' + 'Thu, 12 May 2022 13:58:31 GMT' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"operationType":"updatePhoneNumberCapabilities","status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T21:20:11.7173666+00:00","id":"capabilities_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"updatePhoneNumberCapabilities","status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T13:58:31.7193634+00:00","id":"capabilities_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/phoneNumbers/+14155550100?api-version=2022-01-11-preview2', + '/phoneNumbers/+14155550100?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', 'MS-CV', - 't5BG+4qSQkaraDzOqstdNQ.0', + 'AsYIgyooJ0iXksQDpInNVw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '333ms', + '511ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0jN8fYgAAAAD/uipLMuzgRIKhgBBok+2yTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0iBJ9YgAAAACFoyL1X7ykQIgahdir+Ao0UFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:12 GMT' + 'Thu, 12 May 2022 13:58:32 GMT' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +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-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'ArM4BzoRCk2csDBO9Cfb9w.0', + 'JXB8Po6eHE6PeVXB4qKy7g.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1094ms', + '1851ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0jt8fYgAAAAAU2ooH/Ah5RqyuQnm33C4mTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0ihJ9YgAAAABCynrlLd2jRL3jCHDdZfbnUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:15 GMT' + 'Thu, 12 May 2022 13:58:36 GMT' ]); -nock('https://endpoint', {"encodedQueryParams":true}) +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-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - '6WqROFWNwEykXLNXJenffQ.0', + 'PocyZ0cMo0SQ6ZxnPPtAnA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1101ms', + '1233ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0kd8fYgAAAAByEfosYZ0CTL8dQpLBbJJ0TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0jhJ9YgAAAADT3ho/EuA7QrXmIluIETTWUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:18 GMT' + 'Thu, 12 May 2022 13:58:40 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 80e5b5002164..03bb32265816 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,10 +1,10 @@ let nock = require('nock'); -module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; +module.exports.hash = "bb0bb99bc6627e2b9c3ac870b03889d8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} -nock('https://endpoint', {"encodedQueryParams":true}) +nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) .reply(404, {"error":{"code":"InternalError","message":"The server encountered an internal error."}}, [ @@ -12,20 +12,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'M29tbxyHX0udEniNm+FZXA.0', + 'RnR3v8s0wUOt8cW7kjwPVA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '353ms', + '489ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0kt8fYgAAAAAxMyUSIfCcRJpxFvMj31WlTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0kBJ9YgAAAABspXjK6uwCRa2XtC4v0V0LUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:18 GMT' + 'Thu, 12 May 2022 13:58:40 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 8e6e2fdfd7d3..f8dc8c47ac04 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "e6cc5d618425d7272789412e8ab34410"; +module.exports.hash = "649cd5b74c6eb8795af1877131658e87"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12470.13 - EUS ProdSlices', + '2.1.12707.12 - NEULR2 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=At6rbqGmHWJCpUr3wPo6CUc; expires=Fri, 01-Apr-2022 21:20:01 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AjLiElRqj2ZDptfVjOveNQg; expires=Sat, 11-Jun-2022 13:58:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOXd9DbVwZSzOOWEZi6qRtzNjf8REhl8WMBI7Ux7Cdv1W-aSWc5Ik-1F-I8cW2OZSg32nCgYjTr7u5xnwXkv7XV9VOW0Thuj5lJzNvGB1wOwLrBjzSpZgMvHiwMQHLLM-Kqn8BYIfS11tc3g66mnId6gyZ7YOExZKdVPIwWkDKOggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr3mmdO4UMa0d-jYxfpvbAMWOxqQQjxvrlgdwCDzs3_BtvVoqVtm75POai_awMJVVByoWG64C_dwz2TVOIQzdzQ1QpzGAq6s1fukI3_ey93mmj47D_-XTrZwwJ2wdsXcYrKZZdSfz8GbCDBaetkJqOiOSq6DpOUnZlms9_EsW2TRkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:01 GMT', + 'Thu, 12 May 2022 13:58:17 GMT', 'Content-Length', - '980' + '976' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AheURapQTyxPgaAGOEUGYkc; expires=Fri, 01-Apr-2022 21:20:01 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AtNx-dRySkhGt90W2PwScXs; expires=Sat, 11-Jun-2022 13:58:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjdNcbPxmg-pieU2bq7VAj0X6Gq1-6jyxkB9t_XHkw8hXOljmMp2s8xOUjVAwhfn_uIvIGfJ5o7v1-bOqA78HDcbr2Ih2pT6q7e3Myoa1Ftfte2yLZhozTR-F_5vjsqKgxj7hXM5YSoSiEA8f_d_Z-FZlUvbzzg51xqHOPrundIMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70bWv8ClhFaWO0dg6-QOSQtnakGbFZ2WguchvcQyREnIdV1pksRaiX8qX7hJgSTipvtEIaTy-BZScP1_5A3us4HHbLsWMcfrv8a0AH1LMkmFAeovSL80QZkZF6e_Y66HuFos4ZZakmGu-K9_6DYbTQjmb5CMNswAsmbi-GiKMDhOIgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:01 GMT', + 'Thu, 12 May 2022 13:58:17 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,19 +97,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AtGqVABgAD9LvM-LFCXmu68; expires=Fri, 01-Apr-2022 21:20:01 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Al_N8E5uBz1GmRbw-nVrqASnuRFPAQAAAHoJD9oOAAAA; expires=Sat, 11-Jun-2022 13:58: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:01 GMT', + 'Thu, 12 May 2022 13:58:18 GMT', 'Content-Length', - '1327' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":true}) @@ -119,111 +121,103 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/phoneNumbers/+14155550100?api-version=2022-01-11-preview2', + '/phoneNumbers/+14155550100?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Operation-Location,Location,operation-id,capabilities-id', - 'Request-Context', - 'appId=', 'MS-CV', - 'nPARRGjoaUG9kQNTxQNcCQ.0', + '3Mxh4j3eZkiXCvUb9cFfcg.0', 'Strict-Transport-Security', 'max-age=2592000', 'Operation-Location', - '/phoneNumbers/operations/capabilities_sanitized?api-version=2022-01-11-preview2', + '/phoneNumbers/operations/capabilities_sanitized?api-version=2022-06-01-preview', 'operation-id', 'capabilities_sanitized', 'capabilities-id', 'sanitized', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1403ms', + '1656ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0gd8fYgAAAACw0nw7FObtTbnuHcd4qcF3TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0exJ9YgAAAACqGUAIMAYDSbSwcqiHbpRNUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:02 GMT' + 'Thu, 12 May 2022 13:58:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"operationType":"updatePhoneNumberCapabilities","status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2022-01-11-preview2","createdDateTime":"2022-03-02T21:20:02.5429103+00:00","id":"capabilities_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"operationType":"updatePhoneNumberCapabilities","status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2022-06-01-preview","createdDateTime":"2022-05-12T13:58:20.7348566+00:00","id":"capabilities_sanitized","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - '/phoneNumbers/+14155550100?api-version=2022-01-11-preview2', + '/phoneNumbers/+14155550100?api-version=2022-06-01-preview', 'Access-Control-Expose-Headers', 'Location', - 'Request-Context', - 'appId=', 'MS-CV', - '1b++pygG9EyjQUTtbg4nlw.0', + '8AGxdclIEUi3rJi/S8jNGg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '358ms', + '391ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0gt8fYgAAAABRQkhoP7bNQYn1TFMiv4P8TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0fRJ9YgAAAACb+JbeFVilR5AO5zAhVltfUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:02 GMT' + 'Thu, 12 May 2022 13:58:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'OJGTwBoTR0aJuxiGhpwvgA.0', + '7XpZXoqi2E2/of+FB+5xNg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1539ms', + '1307ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0hd8fYgAAAAAdLKCa4GRoR6tYGDdE2vJ7TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0fxJ9YgAAAAD/4jYroHKiS7JlxpkuPHDmUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:06 GMT' + 'Thu, 12 May 2022 13:58:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-06-23T23:38:41.0997634+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2022-03-14T18:26:44.3415816+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"},"operatorId":"sanitized","operatorName":"Microsoft PPE (Dogfood)","phoneNumberSource":"cloud"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', 'MS-CV', - 'kfj1qTlmQEyj32avZjv+qw.0', + '3WD8CLRbdEaz4/VaUBepYw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '1274ms', + '1540ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0iN8fYgAAAABIw5SKRAzORqV4JaV2DmTRTEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0gxJ9YgAAAAAxjEOEsrm0Q70og0z/FLlDUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:09 GMT' + 'Thu, 12 May 2022 13:58:28 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 7de9ed168e5d..7b820a687acc 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,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; +module.exports.hash = "bb0bb99bc6627e2b9c3ac870b03889d8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .get('/common/discovery/instance') .query(true) - .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"]}]}, [ + .reply(200, {"tenant_discovery_endpoint":"https://login.windows-ppe.net/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-Type', @@ -25,24 +25,26 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12470.13 - NCUS ProdSlices', + '2.1.12707.12 - WEULR1 ProdSlices', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=Au2oxrC3qUVPtAk3PRsiQYg; expires=Fri, 01-Apr-2022 21:20:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Angj-Jn9E-9Hmi3MJSK9IC4; expires=Sat, 11-Jun-2022 13:58:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfSsEdWdj5I4h9TcAMte14siZqljTTusC3tPfMaFZncrj3RA8zMaoQiyVy67gZwzXyLvS69xDOhmUzDB7oVlWMnxPBb5Tu-aTqAV5crFhPeni98R4rnplqJH-lhaUfzUr2-ogmK6stH1xbSRVkIjrKE0GpAcClyf-6mhziDovpVMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcA8E9xrejPBia5s7B3gIxki9D6jv3a1-Ivd3v1weO5khZZPftQT5iq_ODzX5TsYu91mGtEYgBweVjjrrozAn5njnw0-NWnAi82myH5gq3hiY6_QxX9cJgN34ixkbJkwYqy9qVaWiAXuzkaO1y6mmJ9ByMdWgHce5xMrSyxEv-vAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:10 GMT', + 'Thu, 12 May 2022 13:58:27 GMT', 'Content-Length', - '980' + '976' ]); nock('https://endpoint', {"encodedQueryParams":true}) .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":true,"frontchannel_logout_supported":true,"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"}, [ + .reply(200, {"token_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft-ppe.com/oidc/userinfo","authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.windows-ppe.net/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.windows-ppe.net/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.windows-ppe.net/SomeTenantId/kerberos","tenant_region_scope":"NA","cloud_instance_name":"windows-ppe.net","cloud_graph_host_name":"graph.ppe.windows.net","msgraph_host":"graph.microsoft-ppe.com","rbac_url":"https://pas.windows-ppe.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,24 +62,24 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12529.17 - WUS2 ProdSlices', + '2.1.12818.0 - DMS PPE', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=AnwxSU_Mm0pGpuVskrDUBQI; expires=Fri, 01-Apr-2022 21:20:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiMEmqu8hdpAtHHGXvUjChU; expires=Sat, 11-Jun-2022 13:58:29 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4DsSgX3-dUatACW8RQmhSIMSnTgmUEMIf2WfTNWM7JZ5chNZ_hHir07qleTuGaduV_tEt113lJDNeI023G82uFsAMm-557a1FPKrUdHPvgTXc7d8_k-glGbooaH5GxTf_OofbCCGSERzWtD5ZBH-K-TdRtlotp0sNQV7ZS5AzGcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAABYrKuFWqWSRpp9FiMCi-70FqeGehjRBbBzuOax7FPlLG5uwcljyv2E--e8ygOLsnXdzWMxxHHBXKpWsUmBiz3vq1DGm6oH2bA42MbDokYzffGtm3fNmpZp-hplPswnl17x-VsRFcjGnj0ohjbQGTTjwxCffwuaccvJ8j71GFkPCkO0ZMuOQEeuHtPxTeePBHIgAA; domain=.login.windows-ppe.net; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:10 GMT', + 'Thu, 12 May 2022 13:58:28 GMT', 'Content-Length', - '1753' + '1737' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .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.5.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .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.8.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=5|771,2,,,|,&x-client-last-telemetry=5|0|||0,0&client-request-id=sanitized&client_secret=azure_client_secret&claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -95,19 +97,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.12507.17 - EUS ProdSlices', + '2.1.12818.0 - DMS PPE', 'x-ms-clitelem', '1,0,0,,', + 'X-XSS-Protection', + '0', 'Set-Cookie', - 'fpc=As8uKIflmIRDoTe9_I8peKw; expires=Fri, 01-Apr-2022 21:20:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=ApH_VGCLdbZBhR5ZTtFAcaGnuRFPAQAAAIQJD9oOAAAA; expires=Sat, 11-Jun-2022 13:58: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', + 'stsservicecookie=estsppe; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 02 Mar 2022 21:20:10 GMT', + 'Thu, 12 May 2022 13:58:28 GMT', 'Content-Length', - '1327' + '1336' ]); nock('https://endpoint', {"encodedQueryParams":true}) @@ -118,20 +120,18 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'chunked', 'Content-Type', 'application/json', - 'Request-Context', - 'appId=', 'MS-CV', - 'FivxUOV0/UaRk45dQRGAOQ.0', + 'D+vGexyMBUKhlQz/mM7Vaw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2021-03-07, 2022-01-11-preview2', + '2021-03-07, 2022-01-11-preview2, 2022-06-01-preview', 'X-Processing-Time', - '274ms', + '407ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0it8fYgAAAABEdMoRV+5aSpvXtxXRFT36TEFYMzExMDAwMTA4MDI5ADlmYzdiNTE5LWE4Y2MtNGY4OS05MzVlLWM5MTQ4YWUwOWU4MQ==', + '0hRJ9YgAAAAAL6E/d4gbMQpZCt4gGoLyKUFJHMDFFREdFMDcxOABjYzkyNzU4ZC0wNWY3LTRhZDYtYWE1ZS0wZmE5NzE4ZDg5ODU=', 'Date', - 'Wed, 02 Mar 2022 21:20:10 GMT' + 'Thu, 12 May 2022 13:58:30 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/review/communication-phone-numbers.api.md b/sdk/communication/communication-phone-numbers/review/communication-phone-numbers.api.md index 11b374cf966a..83be9ac38041 100644 --- a/sdk/communication/communication-phone-numbers/review/communication-phone-numbers.api.md +++ b/sdk/communication/communication-phone-numbers/review/communication-phone-numbers.api.md @@ -99,6 +99,9 @@ export interface PhoneNumberSearchResult { searchId: string; } +// @public +export type PhoneNumberSource = "cloud" | "operatorConnect"; + // @public export type PhoneNumberType = "geographic" | "tollFree"; @@ -109,7 +112,10 @@ export interface PurchasedPhoneNumber { cost: PhoneNumberCost; countryCode: string; id: string; + operatorId: string; + operatorName: string; phoneNumber: string; + phoneNumberSource: PhoneNumberSource; phoneNumberType: PhoneNumberType; purchaseDate: Date; } diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/models/index.ts b/sdk/communication/communication-phone-numbers/src/generated/src/models/index.ts index a96789b862bb..67952e6f0d71 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/models/index.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/models/index.ts @@ -93,8 +93,9 @@ export interface PhoneNumberPurchaseRequest { searchId?: string; } -/** Long running operation. */ export interface PhoneNumberOperation { + /** The type of operation, e.g. Search */ + operationType: PhoneNumberOperationType; /** Status of operation. */ status: PhoneNumberOperationStatus; /** URL for retrieving the result of the operation, if any. */ @@ -105,8 +106,6 @@ export interface PhoneNumberOperation { error?: CommunicationError; /** Id of operation. */ id: string; - /** The type of operation, e.g. Search */ - operationType: PhoneNumberOperationType; /** * The most recent date that the operation was changed. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -130,7 +129,7 @@ export interface PurchasedPhoneNumber { phoneNumber: string; /** The ISO 3166-2 code of the phone number's country, e.g. US. */ countryCode: string; - /** The phone number's type, e.g. Geographic, TollFree. */ + /** The phone number's type, e.g. geographic, tollFree. */ phoneNumberType: PhoneNumberType; /** Capabilities of a phone number. */ capabilities: PhoneNumberCapabilities; @@ -140,6 +139,12 @@ export interface PurchasedPhoneNumber { purchaseDate: Date; /** The incurred cost for a single phone number. */ cost: PhoneNumberCost; + /** Id of the operator that provided the number */ + operatorId: string; + /** Name of the operator that provided the number */ + operatorName: string; + /** Source of the number, e.g. Cloud or OperatorConnect */ + phoneNumberSource: PhoneNumberSource; } /** The list of purchased phone numbers. */ @@ -210,18 +215,20 @@ export type PhoneNumberCapabilityType = | "inbound" | "outbound" | "inbound+outbound"; -/** Defines values for PhoneNumberOperationStatus. */ -export type PhoneNumberOperationStatus = - | "notStarted" - | "running" - | "succeeded" - | "failed"; /** Defines values for PhoneNumberOperationType. */ export type PhoneNumberOperationType = | "purchase" | "releasePhoneNumber" | "search" | "updatePhoneNumberCapabilities"; +/** Defines values for PhoneNumberOperationStatus. */ +export type PhoneNumberOperationStatus = + | "notStarted" + | "running" + | "succeeded" + | "failed"; +/** Defines values for PhoneNumberSource. */ +export type PhoneNumberSource = "cloud" | "operatorConnect"; /** Optional parameters. */ export interface PhoneNumbersSearchAvailablePhoneNumbersOptionalParams diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/models/mappers.ts b/sdk/communication/communication-phone-numbers/src/generated/src/models/mappers.ts index a62ed4baf737..eca3098b5b11 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/models/mappers.ts @@ -258,6 +258,13 @@ export const PhoneNumberOperation: coreClient.CompositeMapper = { name: "Composite", className: "PhoneNumberOperation", modelProperties: { + operationType: { + serializedName: "operationType", + required: true, + type: { + name: "String" + } + }, status: { serializedName: "status", required: true, @@ -292,13 +299,6 @@ export const PhoneNumberOperation: coreClient.CompositeMapper = { name: "String" } }, - operationType: { - serializedName: "operationType", - required: true, - type: { - name: "String" - } - }, lastActionDateTime: { serializedName: "lastActionDateTime", readOnly: true, @@ -391,6 +391,27 @@ export const PurchasedPhoneNumber: coreClient.CompositeMapper = { name: "Composite", className: "PhoneNumberCost" } + }, + operatorId: { + serializedName: "operatorId", + required: true, + type: { + name: "String" + } + }, + operatorName: { + serializedName: "operatorName", + required: true, + type: { + name: "String" + } + }, + phoneNumberSource: { + serializedName: "phoneNumberSource", + required: true, + type: { + name: "String" + } } } } diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts b/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts index 1a8ecd3961e9..23f8fe4acb6f 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/models/parameters.ts @@ -92,7 +92,7 @@ export const countryCode: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-01-11-preview2", + defaultValue: "2022-06-01-preview", isConstant: true, serializedName: "api-version", type: { diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts index d8c0e7bcd174..724510ad5481 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClient.ts @@ -14,8 +14,7 @@ import { PhoneNumbersClientOptionalParams } from "./models"; export class PhoneNumbersClient extends PhoneNumbersClientContext { /** * Initializes a new instance of the PhoneNumbersClient class. - * @param endpoint The communication resource, for example - * https://resourcename.communication.azure.com. + * @param endpoint The communication resource, for example https://resourcename.communication.azure.com * @param options The parameter options */ constructor(endpoint: string, options?: PhoneNumbersClientOptionalParams) { diff --git a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClientContext.ts b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClientContext.ts index 9bbf0fbdce6e..b80c335adbf0 100644 --- a/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClientContext.ts +++ b/sdk/communication/communication-phone-numbers/src/generated/src/phoneNumbersClientContext.ts @@ -15,8 +15,7 @@ export class PhoneNumbersClientContext extends coreClient.ServiceClient { /** * Initializes a new instance of the PhoneNumbersClientContext class. - * @param endpoint The communication resource, for example - * https://resourcename.communication.azure.com. + * @param endpoint The communication resource, for example https://resourcename.communication.azure.com * @param options The parameter options */ constructor(endpoint: string, options?: PhoneNumbersClientOptionalParams) { @@ -32,7 +31,7 @@ export class PhoneNumbersClientContext extends coreClient.ServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-communication-phone-numbers/1.2.0-beta.3`; + const packageDetails = `azsdk-js-communication-phone-numbers/1.2.0-alpha.20220517.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -51,6 +50,6 @@ export class PhoneNumbersClientContext extends coreClient.ServiceClient { this.endpoint = endpoint; // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "2022-01-11-preview2"; + this.apiVersion = options.apiVersion || "2022-06-01-preview"; } } diff --git a/sdk/communication/communication-phone-numbers/src/models.ts b/sdk/communication/communication-phone-numbers/src/models.ts index bbb64eea8821..daca595a3272 100644 --- a/sdk/communication/communication-phone-numbers/src/models.ts +++ b/sdk/communication/communication-phone-numbers/src/models.ts @@ -45,4 +45,5 @@ export { PhoneNumberSearchResult, PhoneNumberSearchRequest, PhoneNumberType, + PhoneNumberSource, } from "./generated/src/models/"; diff --git a/sdk/communication/communication-phone-numbers/src/utils/constants.ts b/sdk/communication/communication-phone-numbers/src/utils/constants.ts index 7b237ff3c458..8bfade661ce2 100644 --- a/sdk/communication/communication-phone-numbers/src/utils/constants.ts +++ b/sdk/communication/communication-phone-numbers/src/utils/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.2.0-beta.3"; +export const SDK_VERSION: string = "1.2.0-alpha.20220517.1"; diff --git a/sdk/communication/communication-phone-numbers/swagger/README.md b/sdk/communication/communication-phone-numbers/swagger/README.md index 8ff7babe8e35..c64ab33e06bc 100644 --- a/sdk/communication/communication-phone-numbers/swagger/README.md +++ b/sdk/communication/communication-phone-numbers/swagger/README.md @@ -7,12 +7,12 @@ ```yaml package-name: "@azure/communication-phone-numbers" description: Phone number configuration client -package-version: 1.2.0-beta.3 +package-version: 1.2.0-alpha.20220517.1 generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated -tag: package-phonenumber-2022-01-11-preview2 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/02fce64677f78021ba70d69bb8bd0d916d653927/specification/communication/data-plane/PhoneNumbers/readme.md +tag: package-phonenumber-2022-06-01-preview +require: https://github.com/Azure/azure-rest-api-specs/blob/6de2e5bf9286b2dddea9a372c78cc0de214897dd/specification/communication/data-plane/PhoneNumbers/readme.md model-date-time-as-string: false optional-response-headers: true payload-flattening-threshold: 10 @@ -38,3 +38,13 @@ directive: $.modelAsString = false } ``` + +### Change naming of update capabilities to ommit the OC specification + +``` yaml +directive: + from: swagger-document + where: $.paths.*[?(@.operationId == "PhoneNumbers_UpdateCapabilitiesOC")] + transform: > + $.operationId = "PhoneNumbers_UpdateCapabilities" +``` diff --git a/sdk/communication/communication-phone-numbers/test/public/utils/mockHttpClients.ts b/sdk/communication/communication-phone-numbers/test/public/utils/mockHttpClients.ts index 27126d9d7bc2..618f68f5e798 100644 --- a/sdk/communication/communication-phone-numbers/test/public/utils/mockHttpClients.ts +++ b/sdk/communication/communication-phone-numbers/test/public/utils/mockHttpClients.ts @@ -45,6 +45,9 @@ export const getPhoneNumberHttpClient: HttpClient = createMockHttpClient { - const { span, updatedOptions } = createSpan("ContainerRegistryBlobClient-deleteBlob", options); - - try { - await this.client.containerRegistryBlob.deleteBlob( - this.repositoryName, - digest, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - } finally { - span.end(); - } + public async deleteBlob(digest: string, options: DeleteBlobOptions = {}): Promise { + return tracingClient.withSpan( + "ContainerRegistryBlobClient.deleteBlob", + options, + async (updatedOptions) => { + await this.client.containerRegistryBlob.deleteBlob( + this.repositoryName, + digest, + updatedOptions + ); + } + ); } /** @@ -189,41 +186,35 @@ export class ContainerRegistryBlobClient { manifest: (() => NodeJS.ReadableStream) | NodeJS.ReadableStream | OciManifest, options?: UploadManifestOptions ): Promise { - const { span, updatedOptions } = createSpan( - "ContainerRegistryBlobClient-uploadManifest", - options - ); + return tracingClient.withSpan( + "ContainerRegistryBlobClient.uploadManifest", + options ?? {}, + async (updatedOptions) => { + let manifestBody: Buffer | NodeJS.ReadableStream; + + if (isReadableStream(manifest)) { + manifestBody = await readStreamToEnd(manifest); + } else if (typeof manifest === "function") { + manifestBody = await readStreamToEnd(manifest()); + } else { + const serialized = serializer.serialize(Mappers.OCIManifest, manifest); + manifestBody = Buffer.from(JSON.stringify(serialized)); + } + + const tagOrDigest = options?.tag ?? (await calculateDigest(manifestBody)); + + const createManifestResult = await this.client.containerRegistry.createManifest( + this.repositoryName, + tagOrDigest, + manifestBody, + { contentType: KnownManifestMediaType.OciManifestMediaType, ...updatedOptions } + ); - try { - let manifestBody: Buffer | NodeJS.ReadableStream; + assertHasProperty(createManifestResult, "dockerContentDigest"); - if (isReadableStream(manifest)) { - manifestBody = await readStreamToEnd(manifest); - } else if (typeof manifest === "function") { - manifestBody = await readStreamToEnd(manifest()); - } else { - const serialized = serializer.serialize(Mappers.OCIManifest, manifest); - manifestBody = Buffer.from(JSON.stringify(serialized)); + return { digest: createManifestResult.dockerContentDigest }; } - - const tagOrDigest = options?.tag ?? (await calculateDigest(manifestBody)); - - const createManifestResult = await this.client.containerRegistry.createManifest( - this.repositoryName, - tagOrDigest, - manifestBody, - { contentType: KnownManifestMediaType.OciManifestMediaType, ...updatedOptions } - ); - - assertHasProperty(createManifestResult, "dockerContentDigest"); - - return { digest: createManifestResult.dockerContentDigest }; - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + ); } /** @@ -234,49 +225,43 @@ export class ContainerRegistryBlobClient { */ public async downloadManifest( tagOrDigest: string, - options?: DownloadManifestOptions + options: DownloadManifestOptions = {} ): Promise { - const { span, updatedOptions } = createSpan( - "ContainerRegistryBlobClient-downloadManifest", - options - ); - - try { - const { dockerContentDigest, readableStreamBody } = - await this.client.containerRegistry.getManifest(this.repositoryName, tagOrDigest, { - accept: KnownManifestMediaType.OciManifestMediaType, - ...updatedOptions, - }); - - const bodyData = readableStreamBody - ? await readStreamToEnd(readableStreamBody) - : Buffer.alloc(0); - - const expectedDigest = await calculateDigest(bodyData); - - if (dockerContentDigest !== expectedDigest) { - throw new DigestMismatchError( - "Digest of blob to upload does not match the digest from the server." + return tracingClient.withSpan( + "ContainerRegistryBlobClient.downloadManifest", + options, + async (updatedOptions) => { + const { dockerContentDigest, readableStreamBody } = + await this.client.containerRegistry.getManifest(this.repositoryName, tagOrDigest, { + accept: KnownManifestMediaType.OciManifestMediaType, + ...updatedOptions, + }); + + const bodyData = readableStreamBody + ? await readStreamToEnd(readableStreamBody) + : Buffer.alloc(0); + + const expectedDigest = await calculateDigest(bodyData); + + if (dockerContentDigest !== expectedDigest) { + throw new DigestMismatchError( + "Digest of blob to upload does not match the digest from the server." + ); + } + + const manifest = serializer.deserialize( + Mappers.OCIManifest, + JSON.parse(bodyData.toString()), + "OCIManifest" ); - } - const manifest = serializer.deserialize( - Mappers.OCIManifest, - JSON.parse(bodyData.toString()), - "OCIManifest" - ); - - return { - digest: dockerContentDigest, - manifest, - manifestStream: Readable.from(bodyData), - }; - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return { + digest: dockerContentDigest, + manifest, + manifestStream: Readable.from(bodyData), + }; + } + ); } /** @@ -285,24 +270,18 @@ export class ContainerRegistryBlobClient { * @param digest - the digest of the manifest to delete * @param options - optional configuration used to send requests to the service */ - public async deleteManifest(digest: string, options?: DeleteManifestOptions): Promise { - const { span, updatedOptions } = createSpan( - "ContainerRegistryBlobClient-deleteManifest", - options + public async deleteManifest(digest: string, options: DeleteManifestOptions = {}): Promise { + return tracingClient.withSpan( + "ContainerRegistryBlobClient.deleteManifest", + options, + async (updatedOptions) => { + await this.client.containerRegistry.deleteManifest( + this.repositoryName, + digest, + updatedOptions + ); + } ); - - try { - await this.client.containerRegistry.deleteManifest( - this.repositoryName, - digest, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } } /** @@ -325,52 +304,52 @@ export class ContainerRegistryBlobClient { public async uploadBlob( blobStreamOrFactory: (() => NodeJS.ReadableStream) | NodeJS.ReadableStream ): Promise { - const { span } = createSpan("ContainerRegistryBlobClient-uploadBlob", undefined); + return tracingClient.withSpan( + "ContainerRegistryBlobClient.uploadBlob", + {}, + async (updatedOptions) => { + const startUploadResult = await this.client.containerRegistryBlob.startUpload( + this.repositoryName, + updatedOptions + ); - try { - const startUploadResult = await this.client.containerRegistryBlob.startUpload( - this.repositoryName - ); + assertHasProperty(startUploadResult, "location"); - assertHasProperty(startUploadResult, "location"); + let requestBody: NodeJS.ReadableStream | Buffer; + let digest: string; - let requestBody: NodeJS.ReadableStream | Buffer; - let digest: string; + if (typeof blobStreamOrFactory === "function") { + requestBody = blobStreamOrFactory(); + digest = await calculateDigest(blobStreamOrFactory()); + } else { + requestBody = await readStreamToEnd(blobStreamOrFactory); + digest = await calculateDigest(requestBody); + } - if (typeof blobStreamOrFactory === "function") { - requestBody = blobStreamOrFactory(); - digest = await calculateDigest(blobStreamOrFactory()); - } else { - requestBody = await readStreamToEnd(blobStreamOrFactory); - digest = await calculateDigest(requestBody); - } + const uploadChunkResult = await this.client.containerRegistryBlob.uploadChunk( + startUploadResult.location.substring(1), + requestBody, + updatedOptions + ); - const uploadChunkResult = await this.client.containerRegistryBlob.uploadChunk( - startUploadResult.location.substring(1), - requestBody - ); + assertHasProperty(uploadChunkResult, "location"); - assertHasProperty(uploadChunkResult, "location"); + const { dockerContentDigest: digestFromResponse } = + await this.client.containerRegistryBlob.completeUpload( + digest, + uploadChunkResult.location.substring(1), + updatedOptions + ); - const { dockerContentDigest: digestFromResponse } = - await this.client.containerRegistryBlob.completeUpload( - digest, - uploadChunkResult.location.substring(1) - ); + if (digest !== digestFromResponse) { + throw new DigestMismatchError( + "Digest of blob to upload does not match the digest from the server." + ); + } - if (digest !== digestFromResponse) { - throw new DigestMismatchError( - "Digest of blob to upload does not match the digest from the server." - ); + return { digest }; } - - return { digest }; - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + ); } /** @@ -382,29 +361,23 @@ export class ContainerRegistryBlobClient { */ public async downloadBlob( digest: string, - options?: DownloadBlobOptions + options: DownloadBlobOptions = {} ): Promise { - const { span, updatedOptions } = createSpan( - "ContainerRegistryBlobClient-downloadBlob", - options - ); + return tracingClient.withSpan( + "ContainerRegistryBlobClient.downloadBlob", + options, + async (updatedOptions) => { + const { readableStreamBody } = await this.client.containerRegistryBlob.getBlob( + this.repositoryName, + digest, + updatedOptions + ); - try { - const { readableStreamBody } = await this.client.containerRegistryBlob.getBlob( - this.repositoryName, - digest, - updatedOptions - ); - - return { - digest, - content: readableStreamBody ?? Readable.from([]), - }; - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return { + digest, + content: readableStreamBody ?? Readable.from([]), + }; + } + ); } } diff --git a/sdk/containerregistry/container-registry/src/constants.ts b/sdk/containerregistry/container-registry/src/constants.ts new file mode 100644 index 000000000000..d17332da9d00 --- /dev/null +++ b/sdk/containerregistry/container-registry/src/constants.ts @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +export const SDK_VERSION = "1.1.0-beta.1"; diff --git a/sdk/containerregistry/container-registry/src/containerRegistryClient.ts b/sdk/containerregistry/container-registry/src/containerRegistryClient.ts index 6ad949d262ac..677146d69b5c 100644 --- a/sdk/containerregistry/container-registry/src/containerRegistryClient.ts +++ b/sdk/containerregistry/container-registry/src/containerRegistryClient.ts @@ -10,13 +10,12 @@ import { } from "@azure/core-rest-pipeline"; import { CommonClientOptions, OperationOptions } from "@azure/core-client"; -import { SpanStatusCode } from "@azure/core-tracing"; import "@azure/core-paging"; import { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging"; import { logger } from "./logger"; import { GeneratedClient } from "./generated"; -import { createSpan } from "./tracing"; +import { tracingClient } from "./tracing"; import { RepositoryPageResponse } from "./models"; import { extractNextLink } from "./utils/helpers"; import { ChallengeHandler } from "./containerRegistryChallengeHandler"; @@ -169,19 +168,13 @@ export class ContainerRegistryClient { throw new Error("invalid repositoryName"); } - const { span, updatedOptions } = createSpan( - "ContainerRegistryClient-deleteRepository", - options + return tracingClient.withSpan( + "ContainerRegistryClient.deleteRepository", + options, + async (updatedOptions) => { + await this.client.containerRegistry.deleteRepository(repositoryName, updatedOptions); + } ); - - try { - await this.client.containerRegistry.deleteRepository(repositoryName, updatedOptions); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } } /** diff --git a/sdk/containerregistry/container-registry/src/containerRepository.ts b/sdk/containerregistry/container-registry/src/containerRepository.ts index 4362abff5114..a0d98a2e6987 100644 --- a/sdk/containerregistry/container-registry/src/containerRepository.ts +++ b/sdk/containerregistry/container-registry/src/containerRepository.ts @@ -4,12 +4,11 @@ /// import { OperationOptions } from "@azure/core-client"; -import { SpanStatusCode } from "@azure/core-tracing"; import "@azure/core-paging"; import { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging"; import { GeneratedClient, RepositoryWriteableProperties } from "./generated"; -import { createSpan } from "./tracing"; +import { tracingClient } from "./tracing"; import { ArtifactManifestOrder, ContainerRepositoryProperties, @@ -184,16 +183,13 @@ export class ContainerRepositoryImpl { * @param options - optional configuration for the operation */ public async delete(options: DeleteRepositoryOptions = {}): Promise { - const { span, updatedOptions } = createSpan("ContainerRepository-delete", options); - - try { - await this.client.containerRegistry.deleteRepository(this.name, updatedOptions); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "ContainerRepositoryImpl.delete", + options, + async (updatedOptions) => { + await this.client.containerRegistry.deleteRepository(this.name, updatedOptions); + } + ); } /** @@ -214,16 +210,13 @@ export class ContainerRepositoryImpl { public async getProperties( options: GetRepositoryPropertiesOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("ContainerRepository-getProperties", options); - - try { - return await this.client.containerRegistry.getProperties(this.name, updatedOptions); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "ContainerRepositoryImpl.getProperties", + options, + (updatedOptions) => { + return this.client.containerRegistry.getProperties(this.name, updatedOptions); + } + ); } /** @@ -252,19 +245,14 @@ export class ContainerRepositoryImpl { canList: options.canList, canRead: options.canRead, }; - const { span, updatedOptions } = createSpan("ContainerRepository-updateProperties", { - ...options, - value, - }); - try { - return await this.client.containerRegistry.updateProperties(this.name, updatedOptions); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "ContainerRepositoryImpl.updateProperties", + { ...options, value }, + (updatedOptions) => { + return this.client.containerRegistry.updateProperties(this.name, updatedOptions); + } + ); } /** diff --git a/sdk/containerregistry/container-registry/src/registryArtifact.ts b/sdk/containerregistry/container-registry/src/registryArtifact.ts index 5ca583985186..f4fc05237f54 100644 --- a/sdk/containerregistry/container-registry/src/registryArtifact.ts +++ b/sdk/containerregistry/container-registry/src/registryArtifact.ts @@ -4,7 +4,6 @@ /// import { OperationOptions } from "@azure/core-client"; -import { SpanStatusCode } from "@azure/core-tracing"; import "@azure/core-paging"; import { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging"; @@ -14,7 +13,7 @@ import { ArtifactTagOrder, TagPageResponse, } from "./models"; -import { createSpan } from "./tracing"; +import { tracingClient } from "./tracing"; import { GeneratedClient } from "./generated"; import { extractNextLink, isDigest } from "./utils/helpers"; import { toArtifactManifestProperties, toServiceTagOrderBy } from "./transformations"; @@ -278,20 +277,17 @@ export class RegistryArtifactImpl { * @param options - */ public async delete(options: DeleteArtifactOptions = {}): Promise { - const { span, updatedOptions } = createSpan("RegistryArtifact-delete", options); - - try { - await this.client.containerRegistry.deleteManifest( - this.repositoryName, - await this.getDigest(), - updatedOptions - ); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "RegistryArtifactImpl.delete", + options, + async (updatedOptions) => { + await this.client.containerRegistry.deleteManifest( + this.repositoryName, + await this.getDigest(), + updatedOptions + ); + } + ); } /** @@ -304,16 +300,13 @@ export class RegistryArtifactImpl { throw new Error("invalid tag"); } - const { span, updatedOptions } = createSpan("RegistryArtifact-deleteTag", options); - - try { - await this.client.containerRegistry.deleteTag(this.repositoryName, tag, updatedOptions); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "RegistryArtifactImpl.deleteTag", + options, + async (updatedOptions) => { + await this.client.containerRegistry.deleteTag(this.repositoryName, tag, updatedOptions); + } + ); } /** @@ -323,21 +316,22 @@ export class RegistryArtifactImpl { public async getManifestProperties( options: GetManifestPropertiesOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("RegistryArtifact-getManifestProperties", options); - - try { - const result = await this.client.containerRegistry.getManifestProperties( - this.repositoryName, - await this.getDigest(), - updatedOptions - ); - return toArtifactManifestProperties(result, this.repositoryName, result.registryLoginServer!); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "RegistryArtifactImpl.getManifestProperties", + options, + async (updatedOptions) => { + const result = await this.client.containerRegistry.getManifestProperties( + this.repositoryName, + await this.getDigest(), + updatedOptions + ); + return toArtifactManifestProperties( + result, + this.repositoryName, + result.registryLoginServer! + ); + } + ); } /** @@ -360,29 +354,30 @@ export class RegistryArtifactImpl { public async updateManifestProperties( options: UpdateManifestPropertiesOptions ): Promise { - const { span, updatedOptions } = createSpan("RegistryArtifact-updateManifestProperties", { - ...options, - value: { - canDelete: options.canDelete, - canWrite: options.canWrite, - canList: options.canList, - canRead: options.canRead, + return tracingClient.withSpan( + "RegistryArtifactImpl.updateManifestProperties", + { + ...options, + value: { + canDelete: options.canDelete, + canWrite: options.canWrite, + canList: options.canList, + canRead: options.canRead, + }, }, - }); - - try { - const result = await this.client.containerRegistry.updateManifestProperties( - this.repositoryName, - await this.getDigest(), - updatedOptions - ); - return toArtifactManifestProperties(result, this.repositoryName, result.registryLoginServer!); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + async (updatedOptions) => { + const result = await this.client.containerRegistry.updateManifestProperties( + this.repositoryName, + await this.getDigest(), + updatedOptions + ); + return toArtifactManifestProperties( + result, + this.repositoryName, + result.registryLoginServer! + ); + } + ); } /** @@ -398,19 +393,17 @@ export class RegistryArtifactImpl { throw new Error("invalid tag"); } - const { span, updatedOptions } = createSpan("RegistryArtifact-getTagProperties", options); - try { - return await this.client.containerRegistry.getTagProperties( - this.repositoryName, - tag, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "RegistryArtifactImpl.getTagProperties", + options, + (updatedOptions) => { + return this.client.containerRegistry.getTagProperties( + this.repositoryName, + tag, + updatedOptions + ); + } + ); } /** @@ -439,28 +432,25 @@ export class RegistryArtifactImpl { throw new Error("invalid tag"); } - const { span, updatedOptions } = createSpan("RegistryArtifact-updateTagProperties", { - ...options, - value: { - canDelete: options.canDelete, - canWrite: options.canWrite, - canList: options.canList, - canRead: options.canRead, + return tracingClient.withSpan( + "RegistryArtifactImpl.updateTagProperties", + { + ...options, + value: { + canDelete: options.canDelete, + canWrite: options.canWrite, + canList: options.canList, + canRead: options.canRead, + }, }, - }); - - try { - return await this.client.containerRegistry.updateTagAttributes( - this.repositoryName, - tag, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ code: SpanStatusCode.ERROR, message: e.message }); - throw e; - } finally { - span.end(); - } + (updatedOptions) => { + return this.client.containerRegistry.updateTagAttributes( + this.repositoryName, + tag, + updatedOptions + ); + } + ); } /** diff --git a/sdk/containerregistry/container-registry/src/tracing.ts b/sdk/containerregistry/container-registry/src/tracing.ts index 30b37a48a492..13f1bbe2aa70 100644 --- a/sdk/containerregistry/container-registry/src/tracing.ts +++ b/sdk/containerregistry/container-registry/src/tracing.ts @@ -1,17 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -// -import { createSpanFunction } from "@azure/core-tracing"; -/** - * Creates a span using the global tracer. - * - * @param name - The name of the operation being performed. - * @param tracingOptions - The options for the underlying http request. - * - * @internal - */ -export const createSpan = createSpanFunction({ - namespace: "Azure.Containers", - packagePrefix: "Azure.Containers.ContainerRegistry", +import { createTracingClient } from "@azure/core-tracing"; +import { SDK_VERSION } from "./constants"; + +/** @internal */ +export const tracingClient = createTracingClient({ + namespace: "Microsoft.ContainerRegistry", + packageName: "@azure/container-registry", + packageVersion: SDK_VERSION, }); diff --git a/sdk/containerregistry/perf-tests/container-registry/package.json b/sdk/containerregistry/perf-tests/container-registry/package.json index a39142d231a0..c2bae9a97631 100644 --- a/sdk/containerregistry/perf-tests/container-registry/package.json +++ b/sdk/containerregistry/perf-tests/container-registry/package.json @@ -22,7 +22,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "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", diff --git a/sdk/containerregistry/perf-tests/container-registry/test/index.spec.ts b/sdk/containerregistry/perf-tests/container-registry/test/index.spec.ts index e73db29a41bb..863a1542ef9d 100644 --- a/sdk/containerregistry/perf-tests/container-registry/test/index.spec.ts +++ b/sdk/containerregistry/perf-tests/container-registry/test/index.spec.ts @@ -1,10 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { ArtifactListTest } from "./listArtifacts.spec"; import { RepositoryListTest } from "./listRepositories.spec"; -console.log("=== Starting the perf test ==="); -const perfProgram = new PerfProgram(selectPerfTest([RepositoryListTest, ArtifactListTest])); +const perfProgram = createPerfProgram(RepositoryListTest, ArtifactListTest); perfProgram.run(); diff --git a/sdk/containerservice/arm-containerservice/CHANGELOG.md b/sdk/containerservice/arm-containerservice/CHANGELOG.md index d543801a4205..b521f762bfbc 100644 --- a/sdk/containerservice/arm-containerservice/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice/CHANGELOG.md @@ -1,4 +1,59 @@ # Release History + +## 16.1.0-beta.1 (2022-05-06) + +**Features** + + - Added operation group ManagedClusterSnapshots + - Added operation ManagedClusters.beginRotateServiceAccountSigningKeys + - Added operation ManagedClusters.beginRotateServiceAccountSigningKeysAndWait + - Added Interface AzureKeyVaultKms + - Added Interface ManagedClusterIngressProfile + - Added Interface ManagedClusterIngressProfileWebAppRouting + - Added Interface ManagedClusterOidcIssuerProfile + - Added Interface ManagedClusterPropertiesForSnapshot + - Added Interface ManagedClusterSecurityProfileWorkloadIdentity + - Added Interface ManagedClusterSnapshotListResult + - Added Interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams + - Added Interface ManagedClusterSnapshotsDeleteOptionalParams + - Added Interface ManagedClusterSnapshotsGetOptionalParams + - Added Interface ManagedClusterSnapshotsListByResourceGroupNextOptionalParams + - Added Interface ManagedClusterSnapshotsListByResourceGroupOptionalParams + - Added Interface ManagedClusterSnapshotsListNextOptionalParams + - Added Interface ManagedClusterSnapshotsListOptionalParams + - Added Interface ManagedClusterSnapshotsUpdateTagsOptionalParams + - Added Interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams + - Added Interface NetworkProfileForSnapshot + - Added Type Alias ManagedClusterSnapshot + - Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse + - Added Type Alias ManagedClusterSnapshotsGetResponse + - Added Type Alias ManagedClusterSnapshotsListByResourceGroupNextResponse + - Added Type Alias ManagedClusterSnapshotsListByResourceGroupResponse + - Added Type Alias ManagedClusterSnapshotsListNextResponse + - Added Type Alias ManagedClusterSnapshotsListResponse + - Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse + - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget + - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID + - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter currentOrchestratorVersion + - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter hostGroupID + - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay + - Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy + - Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget + - Interface ManagedClusterSecurityProfile has a new optional parameter azureKeyVaultKms + - Interface ManagedClusterSecurityProfile has a new optional parameter workloadIdentity + - Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version + - Class ContainerServiceClient has a new parameter managedClusterSnapshots + - Type Alias AgentPool has a new parameter messageOfTheDay + - Type Alias AgentPool has a new parameter currentOrchestratorVersion + - Type Alias AgentPool has a new parameter capacityReservationGroupID + - Type Alias AgentPool has a new parameter hostGroupID + - Type Alias ManagedCluster has a new parameter creationData + - Type Alias ManagedCluster has a new parameter currentKubernetesVersion + - Type Alias ManagedCluster has a new parameter oidcIssuerProfile + - Type Alias ManagedCluster has a new parameter enableNamespaceResources + - Type Alias ManagedCluster has a new parameter ingressProfile + - Enum KnownNetworkPlugin has a new value None + - Enum KnownSnapshotType has a new value ManagedCluster ## 16.0.0 (2022-04-20) diff --git a/sdk/containerservice/arm-containerservice/README.md b/sdk/containerservice/arm-containerservice/README.md index e82804d19418..634b51c21adf 100644 --- a/sdk/containerservice/arm-containerservice/README.md +++ b/sdk/containerservice/arm-containerservice/README.md @@ -6,7 +6,7 @@ The Container Service Client. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerservice) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerservice) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/containerservice/arm-containerservice/_meta.json b/sdk/containerservice/arm-containerservice/_meta.json index ca61735baa58..c0f0fa522199 100644 --- a/sdk/containerservice/arm-containerservice/_meta.json +++ b/sdk/containerservice/arm-containerservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d", + "commit": "63ecc4782618d9f20f3b1d9d0b5153d4cf4e45be", "readme": "specification/containerservice/resource-manager/readme.md", "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index d2ee71c045d6..0ba5dab77c35 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ContainerServiceClient.", - "version": "16.0.0", + "version": "16.1.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -115,4 +115,4 @@ "disableDocsMs": true, "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview" } -} \ No newline at end of file +} diff --git a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md index 33fe2d37b10b..01db72d6f270 100644 --- a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md @@ -18,6 +18,7 @@ export type AgentPool = SubResource & { osDiskType?: OSDiskType; kubeletDiskType?: KubeletDiskType; workloadRuntime?: WorkloadRuntime; + messageOfTheDay?: string; vnetSubnetID?: string; podSubnetID?: string; maxPods?: number; @@ -30,6 +31,7 @@ export type AgentPool = SubResource & { typePropertiesType?: AgentPoolType; mode?: AgentPoolMode; orchestratorVersion?: string; + currentOrchestratorVersion?: string; readonly nodeImageVersion?: string; upgradeSettings?: AgentPoolUpgradeSettings; readonly provisioningState?: string; @@ -55,6 +57,8 @@ export type AgentPool = SubResource & { enableFips?: boolean; gpuInstanceProfile?: GPUInstanceProfile; creationData?: CreationData; + capacityReservationGroupID?: string; + hostGroupID?: string; }; // @public @@ -106,6 +110,7 @@ export type AgentPoolsCreateOrUpdateResponse = AgentPool; // @public export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions { + ignorePodDisruptionBudget?: boolean; resumeFrom?: string; updateIntervalInMs?: number; } @@ -181,6 +186,12 @@ export interface AgentPoolUpgradeSettings { maxSurge?: string; } +// @public +export interface AzureKeyVaultKms { + enabled?: boolean; + keyId?: string; +} + // @public export interface CloudError { error?: CloudErrorBody; @@ -214,6 +225,8 @@ export class ContainerServiceClient extends coreClient.ServiceClient { // (undocumented) managedClusters: ManagedClusters; // (undocumented) + managedClusterSnapshots: ManagedClusterSnapshots; + // (undocumented) operations: Operations; // (undocumented) privateEndpointConnections: PrivateEndpointConnections; @@ -849,7 +862,8 @@ export enum KnownNetworkMode { // @public export enum KnownNetworkPlugin { Azure = "azure", - Kubenet = "kubenet" + Kubenet = "kubenet", + None = "none" } // @public @@ -926,6 +940,7 @@ export enum KnownScaleSetPriority { // @public export enum KnownSnapshotType { + ManagedCluster = "ManagedCluster", NodePool = "NodePool" } @@ -1054,8 +1069,10 @@ export type ManagedCluster = TrackedResource & { identity?: ManagedClusterIdentity; readonly provisioningState?: string; readonly powerState?: PowerState; + creationData?: CreationData; readonly maxAgentPools?: number; kubernetesVersion?: string; + readonly currentKubernetesVersion?: string; dnsPrefix?: string; fqdnSubdomain?: string; readonly fqdn?: string; @@ -1069,9 +1086,11 @@ export type ManagedCluster = TrackedResource & { [propertyName: string]: ManagedClusterAddonProfile; }; podIdentityProfile?: ManagedClusterPodIdentityProfile; + oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; nodeResourceGroup?: string; enableRbac?: boolean; enablePodSecurityPolicy?: boolean; + enableNamespaceResources?: boolean; networkProfile?: ContainerServiceNetworkProfile; aadProfile?: ManagedClusterAADProfile; autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile; @@ -1085,6 +1104,7 @@ export type ManagedCluster = TrackedResource & { disableLocalAccounts?: boolean; httpProxyConfig?: ManagedClusterHttpProxyConfig; securityProfile?: ManagedClusterSecurityProfile; + ingressProfile?: ManagedClusterIngressProfile; publicNetworkAccess?: PublicNetworkAccess; }; @@ -1124,19 +1144,23 @@ export type ManagedClusterAgentPoolProfile = ManagedClusterAgentPoolProfilePrope // @public export interface ManagedClusterAgentPoolProfileProperties { availabilityZones?: string[]; + capacityReservationGroupID?: string; count?: number; creationData?: CreationData; + currentOrchestratorVersion?: string; enableAutoScaling?: boolean; enableEncryptionAtHost?: boolean; enableFips?: boolean; enableNodePublicIP?: boolean; enableUltraSSD?: boolean; gpuInstanceProfile?: GPUInstanceProfile; + hostGroupID?: string; kubeletConfig?: KubeletConfig; kubeletDiskType?: KubeletDiskType; linuxOSConfig?: LinuxOSConfig; maxCount?: number; maxPods?: number; + messageOfTheDay?: string; minCount?: number; mode?: AgentPoolMode; readonly nodeImageVersion?: string; @@ -1184,6 +1208,7 @@ export interface ManagedClusterAutoUpgradeProfile { // @public export interface ManagedClusterHttpProxyConfig { + readonly effectiveNoProxy?: string[]; httpProxy?: string; httpsProxy?: string; noProxy?: string[]; @@ -1200,6 +1225,17 @@ export interface ManagedClusterIdentity { }; } +// @public +export interface ManagedClusterIngressProfile { + webAppRouting?: ManagedClusterIngressProfileWebAppRouting; +} + +// @public +export interface ManagedClusterIngressProfileWebAppRouting { + dnsZoneResourceId?: string; + enabled?: boolean; +} + // @public export interface ManagedClusterListResult { readonly nextLink?: string; @@ -1245,6 +1281,12 @@ export interface ManagedClusterNATGatewayProfile { managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile; } +// @public +export interface ManagedClusterOidcIssuerProfile { + enabled?: boolean; + readonly issuerURL?: string; +} + // @public export interface ManagedClusterPodIdentity { bindingSelector?: string; @@ -1328,6 +1370,14 @@ export interface ManagedClusterPropertiesAutoScalerProfile { skipNodesWithSystemPods?: string; } +// @public +export interface ManagedClusterPropertiesForSnapshot { + enableRbac?: boolean; + kubernetesVersion?: string; + readonly networkProfile?: NetworkProfileForSnapshot; + sku?: ManagedClusterSKU; +} + // @public export interface ManagedClusters { beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams): Promise, ManagedClustersCreateOrUpdateResponse>>; @@ -1340,6 +1390,8 @@ export interface ManagedClusters { beginResetServicePrincipalProfileAndWait(resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams): Promise; beginRotateClusterCertificates(resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams): Promise, void>>; beginRotateClusterCertificatesAndWait(resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams): Promise; + beginRotateServiceAccountSigningKeys(resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams): Promise, void>>; + beginRotateServiceAccountSigningKeysAndWait(resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams): Promise; beginRunCommand(resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams): Promise, ManagedClustersRunCommandResponse>>; beginRunCommandAndWait(resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams): Promise; beginStart(resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams): Promise, void>>; @@ -1372,6 +1424,7 @@ export type ManagedClustersCreateOrUpdateResponse = ManagedCluster; // @public export interface ManagedClustersDeleteOptionalParams extends coreClient.OperationOptions { + ignorePodDisruptionBudget?: boolean; resumeFrom?: string; updateIntervalInMs?: number; } @@ -1379,6 +1432,8 @@ export interface ManagedClustersDeleteOptionalParams extends coreClient.Operatio // @public export interface ManagedClusterSecurityProfile { azureDefender?: ManagedClusterSecurityProfileAzureDefender; + azureKeyVaultKms?: AzureKeyVaultKms; + workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } // @public @@ -1387,6 +1442,11 @@ export interface ManagedClusterSecurityProfileAzureDefender { logAnalyticsWorkspaceResourceId?: string; } +// @public +export interface ManagedClusterSecurityProfileWorkloadIdentity { + enabled?: boolean; +} + // @public export interface ManagedClusterServicePrincipalProfile { clientId: string; @@ -1508,6 +1568,82 @@ export type ManagedClustersListOutboundNetworkDependenciesEndpointsResponse = Ou // @public export type ManagedClustersListResponse = ManagedClusterListResult; +// @public +export type ManagedClusterSnapshot = TrackedResource & { + creationData?: CreationData; + snapshotType?: SnapshotType; + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; +}; + +// @public +export interface ManagedClusterSnapshotListResult { + readonly nextLink?: string; + value?: ManagedClusterSnapshot[]; +} + +// @public +export interface ManagedClusterSnapshots { + createOrUpdate(resourceGroupName: string, resourceName: string, parameters: ManagedClusterSnapshot, options?: ManagedClusterSnapshotsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, resourceName: string, options?: ManagedClusterSnapshotsDeleteOptionalParams): Promise; + get(resourceGroupName: string, resourceName: string, options?: ManagedClusterSnapshotsGetOptionalParams): Promise; + list(options?: ManagedClusterSnapshotsListOptionalParams): PagedAsyncIterableIterator; + listByResourceGroup(resourceGroupName: string, options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + updateTags(resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClusterSnapshotsUpdateTagsOptionalParams): Promise; +} + +// @public +export interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsCreateOrUpdateResponse = ManagedClusterSnapshot; + +// @public +export interface ManagedClusterSnapshotsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ManagedClusterSnapshotsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsGetResponse = ManagedClusterSnapshot; + +// @public +export interface ManagedClusterSnapshotsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsListByResourceGroupNextResponse = ManagedClusterSnapshotListResult; + +// @public +export interface ManagedClusterSnapshotsListByResourceGroupOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsListByResourceGroupResponse = ManagedClusterSnapshotListResult; + +// @public +export interface ManagedClusterSnapshotsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsListNextResponse = ManagedClusterSnapshotListResult; + +// @public +export interface ManagedClusterSnapshotsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsListResponse = ManagedClusterSnapshotListResult; + +// @public +export interface ManagedClusterSnapshotsUpdateTagsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedClusterSnapshotsUpdateTagsResponse = ManagedClusterSnapshot; + // @public export interface ManagedClustersResetAADProfileOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1526,6 +1662,12 @@ export interface ManagedClustersRotateClusterCertificatesOptionalParams extends updateIntervalInMs?: number; } +// @public +export interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + // @public export interface ManagedClustersRunCommandOptionalParams extends coreClient.OperationOptions { resumeFrom?: string; @@ -1557,6 +1699,7 @@ export interface ManagedClusterStorageProfile { // @public export interface ManagedClusterStorageProfileDiskCSIDriver { enabled?: boolean; + version?: string; } // @public @@ -1611,6 +1754,14 @@ export type NetworkPlugin = string; // @public export type NetworkPolicy = string; +// @public +export interface NetworkProfileForSnapshot { + loadBalancerSku?: LoadBalancerSku; + networkMode?: NetworkMode; + networkPlugin?: NetworkPlugin; + networkPolicy?: NetworkPolicy; +} + // @public export interface OperationListResult { readonly value?: OperationValue[]; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts index 58fedd17f05d..7003e928438a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsCreateOrUpdateSample.ts @@ -15,7 +15,39 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsAssociate_CRG.json + */ +async function associateAgentPoolWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1", + count: 3, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +associateAgentPoolWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Snapshot.json */ async function createAgentPoolUsingAnAgentPoolSnapshot() { const subscriptionId = "subid1"; @@ -50,7 +82,39 @@ createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_DedicatedHostGroup.json + */ +async function createAgentPoolWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableEncryptionAtHost.json */ async function createAgentPoolWithEncryptionAtHostEnabled() { const subscriptionId = "subid1"; @@ -81,7 +145,7 @@ createAgentPoolWithEncryptionAtHostEnabled().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Ephemeral.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Ephemeral.json */ async function createAgentPoolWithEphemeralOSDisk() { const subscriptionId = "subid1"; @@ -113,7 +177,7 @@ createAgentPoolWithEphemeralOSDisk().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableFIPS.json */ async function createAgentPoolWithFipsEnabledOS() { const subscriptionId = "subid1"; @@ -144,7 +208,7 @@ createAgentPoolWithFipsEnabledOS().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_GPUMIG.json */ async function createAgentPoolWithGpumig() { const subscriptionId = "subid1"; @@ -196,7 +260,7 @@ createAgentPoolWithGpumig().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_WasmWasi.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_WasmWasi.json */ async function createAgentPoolWithKrustletAndTheWasiRuntime() { const subscriptionId = "subid1"; @@ -229,7 +293,7 @@ createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_CustomNodeConfig.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json */ async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { const subscriptionId = "subid1"; @@ -280,7 +344,40 @@ createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_MessageOfTheDay.json + */ +async function createAgentPoolWithMessageOfTheDay() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + messageOfTheDay: "Zm9vCg==", + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithMessageOfTheDay().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_OSSKU.json */ async function createAgentPoolWithOssku() { const subscriptionId = "subid1"; @@ -332,7 +429,7 @@ createAgentPoolWithOssku().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_PPG.json */ async function createAgentPoolWithPpg() { const subscriptionId = "subid1"; @@ -364,7 +461,7 @@ createAgentPoolWithPpg().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableUltraSSD.json */ async function createAgentPoolWithUltraSsdEnabled() { const subscriptionId = "subid1"; @@ -395,7 +492,7 @@ createAgentPoolWithUltraSsdEnabled().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Spot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Spot.json */ async function createSpotAgentPool() { const subscriptionId = "subid1"; @@ -430,7 +527,7 @@ createSpotAgentPool().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Update.json */ async function createOrUpdateAgentPool() { const subscriptionId = "subid1"; @@ -466,7 +563,7 @@ createOrUpdateAgentPool().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Start.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Start.json */ async function startAgentPool() { const subscriptionId = "subid1"; @@ -491,7 +588,7 @@ startAgentPool().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Stop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Stop.json */ async function stopAgentPool() { const subscriptionId = "subid1"; @@ -516,7 +613,7 @@ stopAgentPool().catch(console.error); * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. * * @summary Creates or updates an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPools_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Update.json */ async function updateAgentPool() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts index 396a0b209b5d..c47f40aaec27 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. * * @summary Deletes an agent pool in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete.json */ async function deleteAgentPool() { const subscriptionId = "subid1"; @@ -33,3 +33,26 @@ async function deleteAgentPool() { } deleteAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete_IgnorePodDisruptionBudget.json + */ +async function deleteAgentPoolByIgnoringPodDisruptionBudget() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPoolByIgnoringPodDisruptionBudget().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts index 115f5a5f34cb..facb4a7c82ef 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. * * @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetAgentPoolAvailableVersions.json */ async function getAvailableVersionsForAgentPool() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts index 75f4c4a6d5ca..811aef2b4585 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified managed cluster agent pool. * * @summary Gets the specified managed cluster agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGet.json */ async function getAgentPool() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts index 46262c70e617..0f8327a4d89f 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsGetUpgradeProfileSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the upgrade profile for an agent pool. * * @summary Gets the upgrade profile for an agent pool. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetUpgradeProfile.json */ async function getUpgradeProfileForAgentPool() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts index 81098e5cd6bd..9a3c03bdbc8e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of agent pools in the specified managed cluster. * * @summary Gets a list of agent pools in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsList.json */ async function listAgentPoolsByManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts index dc3ab15f3a11..127826f80145 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/agentPoolsUpgradeNodeImageVersionSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade * * @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/AgentPoolsUpgradeNodeImageVersion.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsUpgradeNodeImageVersion.json */ async function upgradeAgentPoolNodeImageVersion() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts index 537f5add6c4f..7cf14ecdfbad 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. * * @summary Creates or updates a maintenance configuration in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/MaintenanceConfigurationsCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsCreate_Update.json */ async function createOrUpdateMaintenanceConfiguration() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts index c116255eeb32..124b8c218cef 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a maintenance configuration. * * @summary Deletes a maintenance configuration. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/MaintenanceConfigurationsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsDelete.json */ async function deleteMaintenanceConfiguration() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts index d91f9c861c22..8b7da3fbd57a 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. * * @summary Gets the specified maintenance configuration of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/MaintenanceConfigurationsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsGet.json */ async function getMaintenanceConfiguration() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts index b502675c22c0..b36a0fc95aa2 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/maintenanceConfigurationsListByManagedClusterSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. * * @summary Gets a list of maintenance configurations in the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/MaintenanceConfigurationsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsList.json */ async function listMaintenanceConfigurationsByManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..05d978e6cdf6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagedClusterSnapshot, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a managed cluster snapshot. + * + * @summary Creates or updates a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsCreate.json + */ +async function createOrUpdateManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: ManagedClusterSnapshot = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1" + }, + location: "westus", + tags: { key1: "val1", key2: "val2" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.createOrUpdate( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsDeleteSample.ts new file mode 100644 index 000000000000..15fda4caf71c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a managed cluster snapshot. + * + * @summary Deletes a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsDelete.json + */ +async function deleteManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.delete( + resourceGroupName, + resourceName + ); + console.log(result); +} + +deleteManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsGetSample.ts new file mode 100644 index 000000000000..8bd0b216e15b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a managed cluster snapshot. + * + * @summary Gets a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsGet.json + */ +async function getManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.get( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListByResourceGroupSample.ts new file mode 100644 index 000000000000..587f6fea5877 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists managed cluster snapshots in the specified subscription and resource group. + * + * @summary Lists managed cluster snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsListByResourceGroup.json + */ +async function listManagedClusterSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListSample.ts new file mode 100644 index 000000000000..d87223470e31 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of managed cluster snapshots in the specified subscription. + * + * @summary Gets a list of managed cluster snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsList.json + */ +async function listManagedClusterSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsUpdateTagsSample.ts new file mode 100644 index 000000000000..45c64b81b9d7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClusterSnapshotsUpdateTagsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags on a managed cluster snapshot. + * + * @summary Updates tags on a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsUpdateTags.json + */ +async function updateManagedClusterSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: TagsObject = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.updateTags( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts index e8e6fd626b3f..92cc04a789a2 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersCreateOrUpdateSample.ts @@ -18,7 +18,119 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_Snapshot.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersAssociate_CRG.json + */ +async function associateManagedClusterWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/capacityReservationGroups/crg1", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +associateManagedClusterWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_MCSnapshot.json + */ +async function createManagedClusterUsingAManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/managedclustersnapshots/snapshot1" + }, + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAManagedClusterSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Snapshot.json */ async function createManagedClusterUsingAnAgentPoolSnapshot() { const subscriptionId = "subid1"; @@ -83,7 +195,7 @@ createManagedClusterUsingAnAgentPoolSnapshot().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_ManagedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_ManagedNATGateway.json */ async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { const subscriptionId = "subid1"; @@ -145,7 +257,68 @@ createManagedClusterWithAksManagedNatGatewayAsOutboundType().catch( * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DedicatedHostGroup.json + */ +async function createManagedClusterWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableEncryptionAtHost.json */ async function createManagedClusterWithEncryptionAtHostEnabled() { const subscriptionId = "subid1"; @@ -206,7 +379,7 @@ createManagedClusterWithEncryptionAtHostEnabled().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_EnabledFIPS.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnabledFIPS.json */ async function createManagedClusterWithFipsEnabledOS() { const subscriptionId = "subid1"; @@ -267,7 +440,7 @@ createManagedClusterWithFipsEnabledOS().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_GPUMIG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_GPUMIG.json */ async function createManagedClusterWithGpumig() { const subscriptionId = "subid1"; @@ -334,7 +507,7 @@ createManagedClusterWithGpumig().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_HTTPProxy.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_HTTPProxy.json */ async function createManagedClusterWithHttpProxyConfigured() { const subscriptionId = "subid1"; @@ -400,7 +573,7 @@ createManagedClusterWithHttpProxyConfigured().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_NodePublicIPPrefix.json */ async function createManagedClusterWithNodePublicIPPrefix() { const subscriptionId = "subid1"; @@ -462,7 +635,7 @@ createManagedClusterWithNodePublicIPPrefix().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_OSSKU.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_OSSKU.json */ async function createManagedClusterWithOssku() { const subscriptionId = "subid1"; @@ -529,7 +702,7 @@ createManagedClusterWithOssku().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_PPG.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PPG.json */ async function createManagedClusterWithPpg() { const subscriptionId = "subid1"; @@ -591,7 +764,7 @@ createManagedClusterWithPpg().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_PodIdentity.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PodIdentity.json */ async function createManagedClusterWithPodIdentityEnabled() { const subscriptionId = "subid1"; @@ -652,7 +825,7 @@ createManagedClusterWithPodIdentityEnabled().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_DisableRunCommand.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DisableRunCommand.json */ async function createManagedClusterWithRunCommandDisabled() { const subscriptionId = "subid1"; @@ -712,7 +885,7 @@ createManagedClusterWithRunCommandDisabled().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_SecurityProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_SecurityProfile.json */ async function createManagedClusterWithSecurityProfileConfigured() { const subscriptionId = "subid1"; @@ -768,7 +941,7 @@ createManagedClusterWithSecurityProfileConfigured().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_EnableUltraSSD.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableUltraSSD.json */ async function createManagedClusterWithUltraSsdEnabled() { const subscriptionId = "subid1"; @@ -829,7 +1002,65 @@ createManagedClusterWithUltraSsdEnabled().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + */ +async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + dnsPrefix: "dnsprefix1", + ingressProfile: { + webAppRouting: { + dnsZoneResourceId: + "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME", + enabled: true + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithWebAppRoutingIngressProfileConfigured().catch( + console.error +); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UserAssignedNATGateway.json */ async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { const subscriptionId = "subid1"; @@ -890,7 +1121,7 @@ createManagedClusterWithUserAssignedNatGatewayAsOutboundType().catch( * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json */ async function createManagedPrivateClusterWithPublicFqdnSpecified() { const subscriptionId = "subid1"; @@ -953,7 +1184,7 @@ createManagedPrivateClusterWithPublicFqdnSpecified().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json */ async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { const subscriptionId = "subid1"; @@ -1017,7 +1248,7 @@ createManagedPrivateClusterWithFqdnSubdomainSpecified().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json */ async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { const subscriptionId = "subid1"; @@ -1079,7 +1310,7 @@ createOrUpdateAadManagedClusterWithEnableAzureRbac().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_Update.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Update.json */ async function createOrUpdateManagedCluster() { const subscriptionId = "subid1"; @@ -1155,7 +1386,7 @@ createOrUpdateManagedCluster().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithAHUB.json */ async function createOrUpdateManagedClusterWithEnableAhub() { const subscriptionId = "subid1"; @@ -1223,7 +1454,69 @@ createOrUpdateManagedClusterWithEnableAhub().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableNamespaceResources.json + */ +async function createOrUpdateManagedClusterWithEnableNamespaceResources() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enableNamespaceResources: true, + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableNamespaceResources().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWindowsGmsa.json */ async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { const subscriptionId = "subid1"; @@ -1291,7 +1584,7 @@ createOrUpdateManagedClusterWithWindowsGMsaEnabled().catch(console.error); * This sample demonstrates how to Creates or updates a managed cluster. * * @summary Creates or updates a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersCreate_DualStackNetworking.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DualStackNetworking.json */ async function createOrUpdateManagedClusterWithDualStackNetworking() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts index b51710aa586e..827fb080a3d0 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a managed cluster. * * @summary Deletes a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersDelete.json */ async function deleteManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts index 0c1a617e9ab5..230da6c17e69 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetAccessProfileSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . * * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersGetAccessProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetAccessProfile.json */ async function getManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts index 0026f19b615b..85a22291d263 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetCommandResultSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/RunCommandResultFailed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultFailed.json */ async function commandFailedResult() { const subscriptionId = "subid1"; @@ -38,7 +38,7 @@ commandFailedResult().catch(console.error); * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. * * @summary Gets the results of a command which has been run on the Managed Cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/RunCommandResultSucceed.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultSucceed.json */ async function commandSucceedResult() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetOSOptionsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetOSOptionsSample.ts index 3b777c150258..9cb65eb831b7 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetOSOptionsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetOSOptionsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets supported OS options in the specified subscription. * * @summary Gets supported OS options in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ContainerServiceGetOSOptions.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ContainerServiceGetOSOptions.json */ async function getContainerServiceOSOptions() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts index d8306bfe7565..4ce0262330f8 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a managed cluster. * * @summary Gets a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGet.json */ async function getManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts index 3df430890cae..adc996cb3720 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersGetUpgradeProfileSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the upgrade profile of a managed cluster. * * @summary Gets the upgrade profile of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersGetUpgradeProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetUpgradeProfile.json */ async function getUpgradeProfileForManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts index 915a40844662..98c996b33f7b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. * * @summary Lists managed clusters in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListByResourceGroup.json */ async function getManagedClustersByResourceGroup() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts index f5bedc881559..ac76c5cfb484 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterAdminCredentialsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the admin credentials of a managed cluster. * * @summary Lists the admin credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersListClusterCredentialResult.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json */ async function getManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts index 858c00c20cdf..60d8c6858b9d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. * * @summary Lists the cluster monitoring user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersListClusterCredentialResult.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json */ async function getManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts index a73280e33673..7efed75eaf87 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListClusterUserCredentialsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists the user credentials of a managed cluster. * * @summary Lists the user credentials of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersListClusterCredentialResult.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json */ async function getManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts index 5d0a98a64bb9..806a62f7022b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. * * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/OutboundNetworkDependenciesEndpointsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json */ async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts index 391c7504ca32..d6b05fd3dc7d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. * * @summary Gets a list of managed clusters in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersList.json */ async function listManagedClusters() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts index 5d8ff496b76f..ef2925b7f302 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetAadProfileSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Reset the AAD Profile of a managed cluster. * * @summary Reset the AAD Profile of a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersResetAADProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetAADProfile.json */ async function resetAadProfile() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts index 9d25266e6f4c..f623b7fb8a3d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersResetServicePrincipalProfileSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal * * @summary This action cannot be performed on a cluster that is not using a service principal - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersResetServicePrincipalProfile.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json */ async function resetServicePrincipalProfile() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts index a2aa4e730e76..9c5a1726c413 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateClusterCertificatesSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. * * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersRotateClusterCertificates.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateClusterCertificates.json */ async function rotateClusterCertificates() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts new file mode 100644 index 000000000000..9f82530282cd --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. + * + * @summary Rotates the service account signing keys of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json + */ +async function rotateClusterServiceAccountSigningKeys() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateServiceAccountSigningKeysAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterServiceAccountSigningKeys().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts index 4003085b7458..05b21eac6a5e 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersRunCommandSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). * * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/RunCommandRequest.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandRequest.json */ async function submitNewCommand() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts index 603ec4bac8a9..02c7a298052b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStartSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. * * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersStart.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStart.json */ async function startManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts index edd4387a2f6e..3ce68d5bdbe7 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersStopSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. * * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersStop.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStop.json */ async function stopManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts index 4da15c175c31..b4dc51ccee8d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/managedClustersUpdateTagsSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates tags on a managed cluster. * * @summary Updates tags on a managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ManagedClustersUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersUpdateTags.json */ async function updateManagedClusterTags() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts index d6bbf405fb93..945b99ec7e65 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/operationsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of operations. * * @summary Gets a list of operations. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/Operation_List.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/Operation_List.json */ async function listAvailableOperationsForTheContainerServiceResourceProvider() { const subscriptionId = "00000000-0000-0000-0000-000000000000"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts index 382657bf81ff..522255eafbc0 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a private endpoint connection. * * @summary Deletes a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/PrivateEndpointConnectionsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsDelete.json */ async function deletePrivateEndpointConnection() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts index 83ad56405d17..7cc424e132af 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/PrivateEndpointConnectionsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsGet.json */ async function getPrivateEndpointConnection() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts index 0eadd58955fc..490a04b3af1c 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/PrivateEndpointConnectionsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsList.json */ async function listPrivateEndpointConnectionsByManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts index 952bd66abaaa..a12cbf44880c 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateEndpointConnectionsUpdateSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates a private endpoint connection. * * @summary Updates a private endpoint connection. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/PrivateEndpointConnectionsUpdate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsUpdate.json */ async function updatePrivateEndpointConnection() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts index 9b54caef58f8..f6e517bd5e4d 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/privateLinkResourcesListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters * * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/PrivateLinkResourcesList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateLinkResourcesList.json */ async function listPrivateLinkResourcesByManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts index d22b82b02762..263a83b2233b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/resolvePrivateLinkServiceIdPostSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. * * @summary Gets the private link service ID for the specified managed cluster. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/ResolvePrivateLinkServiceId.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ResolvePrivateLinkServiceId.json */ async function resolveThePrivateLinkServiceIdForManagedCluster() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts index f7585ccb5d92..d1e84753866b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsCreateOrUpdateSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Creates or updates a snapshot. * * @summary Creates or updates a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsCreate.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsCreate.json */ async function createOrUpdateSnapshot() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts index e4f439808be9..762f0dfd1057 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsDeleteSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Deletes a snapshot. * * @summary Deletes a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsDelete.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsDelete.json */ async function deleteSnapshot() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts index 47074edc1596..82bff84c6c76 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsGetSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a snapshot. * * @summary Gets a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsGet.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsGet.json */ async function getSnapshot() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts index c99508f1d098..4fd50e410181 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListByResourceGroupSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. * * @summary Lists snapshots in the specified subscription and resource group. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsListByResourceGroup.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsListByResourceGroup.json */ async function listSnapshotsByResourceGroup() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts index 8237cb7e4ee2..bcdf22f842d4 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsListSample.ts @@ -15,7 +15,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Gets a list of snapshots in the specified subscription. * * @summary Gets a list of snapshots in the specified subscription. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsList.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsList.json */ async function listSnapshots() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts index 53cccd577d4a..0bbcad3d876b 100644 --- a/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts +++ b/sdk/containerservice/arm-containerservice/samples-dev/snapshotsUpdateTagsSample.ts @@ -18,7 +18,7 @@ import { DefaultAzureCredential } from "@azure/identity"; * This sample demonstrates how to Updates tags on a snapshot. * * @summary Updates tags on a snapshot. - * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-03-01/examples/SnapshotsUpdateTags.json + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsUpdateTags.json */ async function updateSnapshotTags() { const subscriptionId = "subid1"; diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/README.md b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/README.md new file mode 100644 index 000000000000..faf3361c4eb7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/README.md @@ -0,0 +1,300 @@ +# client library samples for JavaScript (Beta) + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [agentPoolsCreateOrUpdateSample.js][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsAssociate_CRG.json | +| [agentPoolsDeleteSample.js][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete.json | +| [agentPoolsGetAvailableAgentPoolVersionsSample.js][agentpoolsgetavailableagentpoolversionssample] | See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [agentPoolsGetSample.js][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGet.json | +| [agentPoolsGetUpgradeProfileSample.js][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetUpgradeProfile.json | +| [agentPoolsListSample.js][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsList.json | +| [agentPoolsUpgradeNodeImageVersionSample.js][agentpoolsupgradenodeimageversionsample] | Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsUpgradeNodeImageVersion.json | +| [commandFailedResult.js][commandfailedresult] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultFailed.json | +| [commandSucceedResult.js][commandsucceedresult] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultSucceed.json | +| [createAgentPoolUsingAnAgentPoolSnapshot.js][createagentpoolusinganagentpoolsnapshot] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Snapshot.json | +| [createAgentPoolWithEncryptionAtHostEnabled.js][createagentpoolwithencryptionathostenabled] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json | +| [createAgentPoolWithEphemeralOSDisk.js][createagentpoolwithephemeralosdisk] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Ephemeral.json | +| [createAgentPoolWithFipsEnabledOS.js][createagentpoolwithfipsenabledos] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableFIPS.json | +| [createAgentPoolWithGpumig.js][createagentpoolwithgpumig] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_GPUMIG.json | +| [createAgentPoolWithKrustletAndTheWasiRuntime.js][createagentpoolwithkrustletandthewasiruntime] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_WasmWasi.json | +| [createAgentPoolWithKubeletConfigAndLinuxOSConfig.js][createagentpoolwithkubeletconfigandlinuxosconfig] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_CustomNodeConfig.json | +| [createAgentPoolWithOssku.js][createagentpoolwithossku] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_OSSKU.json | +| [createAgentPoolWithPpg.js][createagentpoolwithppg] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_PPG.json | +| [createAgentPoolWithUltraSsdEnabled.js][createagentpoolwithultrassdenabled] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableUltraSSD.json | +| [createManagedClusterUsingAnAgentPoolSnapshot.js][createmanagedclusterusinganagentpoolsnapshot] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Snapshot.json | +| [createManagedClusterWithAksManagedNatGatewayAsOutboundType.js][createmanagedclusterwithaksmanagednatgatewayasoutboundtype] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_ManagedNATGateway.json | +| [createManagedClusterWithEncryptionAtHostEnabled.js][createmanagedclusterwithencryptionathostenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json | +| [createManagedClusterWithFipsEnabledOS.js][createmanagedclusterwithfipsenabledos] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnabledFIPS.json | +| [createManagedClusterWithGpumig.js][createmanagedclusterwithgpumig] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_GPUMIG.json | +| [createManagedClusterWithHttpProxyConfigured.js][createmanagedclusterwithhttpproxyconfigured] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_HTTPProxy.json | +| [createManagedClusterWithNodePublicIPPrefix.js][createmanagedclusterwithnodepublicipprefix] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json | +| [createManagedClusterWithOssku.js][createmanagedclusterwithossku] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_OSSKU.json | +| [createManagedClusterWithPodIdentityEnabled.js][createmanagedclusterwithpodidentityenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PodIdentity.json | +| [createManagedClusterWithPpg.js][createmanagedclusterwithppg] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PPG.json | +| [createManagedClusterWithRunCommandDisabled.js][createmanagedclusterwithruncommanddisabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DisableRunCommand.json | +| [createManagedClusterWithSecurityProfileConfigured.js][createmanagedclusterwithsecurityprofileconfigured] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_SecurityProfile.json | +| [createManagedClusterWithUltraSsdEnabled.js][createmanagedclusterwithultrassdenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableUltraSSD.json | +| [createManagedClusterWithUserAssignedNatGatewayAsOutboundType.js][createmanagedclusterwithuserassignednatgatewayasoutboundtype] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json | +| [createManagedPrivateClusterWithFqdnSubdomainSpecified.js][createmanagedprivateclusterwithfqdnsubdomainspecified] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json | +| [createManagedPrivateClusterWithPublicFqdnSpecified.js][createmanagedprivateclusterwithpublicfqdnspecified] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json | +| [createOrUpdateAadManagedClusterWithEnableAzureRbac.js][createorupdateaadmanagedclusterwithenableazurerbac] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json | +| [createOrUpdateAgentPool.js][createorupdateagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Update.json | +| [createOrUpdateMaintenanceConfiguration.js][createorupdatemaintenanceconfiguration] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsCreate_Update.json | +| [createOrUpdateManagedCluster.js][createorupdatemanagedcluster] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Update.json | +| [createOrUpdateManagedClusterWithDualStackNetworking.js][createorupdatemanagedclusterwithdualstacknetworking] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DualStackNetworking.json | +| [createOrUpdateManagedClusterWithEnableAhub.js][createorupdatemanagedclusterwithenableahub] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithAHUB.json | +| [createOrUpdateManagedClusterWithWindowsGMsaEnabled.js][createorupdatemanagedclusterwithwindowsgmsaenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json | +| [createOrUpdateSnapshot.js][createorupdatesnapshot] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsCreate.json | +| [createSpotAgentPool.js][createspotagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Spot.json | +| [deleteAgentPool.js][deleteagentpool] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsDelete.json | +| [deleteMaintenanceConfiguration.js][deletemaintenanceconfiguration] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsDelete.json | +| [deleteManagedCluster.js][deletemanagedcluster] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersDelete.json | +| [deletePrivateEndpointConnection.js][deleteprivateendpointconnection] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsDelete.json | +| [deleteSnapshot.js][deletesnapshot] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsDelete.json | +| [getAgentPool.js][getagentpool] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGet.json | +| [getAvailableVersionsForAgentPool.js][getavailableversionsforagentpool] | See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [getContainerServiceOSOptions.js][getcontainerserviceosoptions] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ContainerServiceGetOSOptions.json | +| [getMaintenanceConfiguration.js][getmaintenanceconfiguration] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsGet.json | +| [getManagedCluster.js][getmanagedcluster] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGet.json | +| [getManagedClustersByResourceGroup.js][getmanagedclustersbyresourcegroup] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersListByResourceGroup.json | +| [getPrivateEndpointConnection.js][getprivateendpointconnection] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsGet.json | +| [getSnapshot.js][getsnapshot] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsGet.json | +| [getUpgradeProfileForAgentPool.js][getupgradeprofileforagentpool] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetUpgradeProfile.json | +| [getUpgradeProfileForManagedCluster.js][getupgradeprofileformanagedcluster] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGetUpgradeProfile.json | +| [listAgentPoolsByManagedCluster.js][listagentpoolsbymanagedcluster] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsList.json | +| [listAvailableOperationsForTheContainerServiceResourceProvider.js][listavailableoperationsforthecontainerserviceresourceprovider] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/Operation_List.json | +| [listMaintenanceConfigurationsByManagedCluster.js][listmaintenanceconfigurationsbymanagedcluster] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsList.json | +| [listManagedClusters.js][listmanagedclusters] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersList.json | +| [listOutboundNetworkDependenciesEndpointsByManagedCluster.js][listoutboundnetworkdependenciesendpointsbymanagedcluster] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/OutboundNetworkDependenciesEndpointsList.json | +| [listPrivateEndpointConnectionsByManagedCluster.js][listprivateendpointconnectionsbymanagedcluster] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsList.json | +| [listPrivateLinkResourcesByManagedCluster.js][listprivatelinkresourcesbymanagedcluster] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateLinkResourcesList.json | +| [listSnapshots.js][listsnapshots] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsList.json | +| [listSnapshotsByResourceGroup.js][listsnapshotsbyresourcegroup] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsListByResourceGroup.json | +| [maintenanceConfigurationsCreateOrUpdateSample.js][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsCreate_Update.json | +| [maintenanceConfigurationsDeleteSample.js][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsDelete.json | +| [maintenanceConfigurationsGetSample.js][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsGet.json | +| [maintenanceConfigurationsListByManagedClusterSample.js][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsList.json | +| [managedClusterSnapshotsCreateOrUpdateSample.js][managedclustersnapshotscreateorupdatesample] | Creates or updates a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsCreate.json | +| [managedClusterSnapshotsDeleteSample.js][managedclustersnapshotsdeletesample] | Deletes a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsDelete.json | +| [managedClusterSnapshotsGetSample.js][managedclustersnapshotsgetsample] | Gets a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsGet.json | +| [managedClusterSnapshotsListByResourceGroupSample.js][managedclustersnapshotslistbyresourcegroupsample] | Lists managed cluster snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsListByResourceGroup.json | +| [managedClusterSnapshotsListSample.js][managedclustersnapshotslistsample] | Gets a list of managed cluster snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsList.json | +| [managedClusterSnapshotsUpdateTagsSample.js][managedclustersnapshotsupdatetagssample] | Updates tags on a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsUpdateTags.json | +| [managedClustersCreateOrUpdateSample.js][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.js][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.js][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.js][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.js][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.js][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.js][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.js][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.js][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.js][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.js][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.js][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.js][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.js][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.js][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.js][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.js][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.js][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.js][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.js][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.js][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersUpdateTags.json | +| [operationsListSample.js][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/Operation_List.json | +| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsDelete.json | +| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsGet.json | +| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsList.json | +| [privateEndpointConnectionsUpdateSample.js][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsUpdate.json | +| [privateLinkResourcesListSample.js][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateLinkResourcesList.json | +| [resetAadProfile.js][resetaadprofile] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetAADProfile.json | +| [resetServicePrincipalProfile.js][resetserviceprincipalprofile] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetServicePrincipalProfile.json | +| [resolvePrivateLinkServiceIdPostSample.js][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ResolvePrivateLinkServiceId.json | +| [resolveThePrivateLinkServiceIdForManagedCluster.js][resolvetheprivatelinkserviceidformanagedcluster] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ResolvePrivateLinkServiceId.json | +| [rotateClusterCertificates.js][rotateclustercertificates] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersRotateClusterCertificates.json | +| [snapshotsCreateOrUpdateSample.js][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsCreate.json | +| [snapshotsDeleteSample.js][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsDelete.json | +| [snapshotsGetSample.js][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsGet.json | +| [snapshotsListByResourceGroupSample.js][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsListByResourceGroup.json | +| [snapshotsListSample.js][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsList.json | +| [snapshotsUpdateTagsSample.js][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsUpdateTags.json | +| [startAgentPool.js][startagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Start.json | +| [startManagedCluster.js][startmanagedcluster] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStart.json | +| [stopAgentPool.js][stopagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Stop.json | +| [stopManagedCluster.js][stopmanagedcluster] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStop.json | +| [submitNewCommand.js][submitnewcommand] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandRequest.json | +| [updateAgentPool.js][updateagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Update.json | +| [updateManagedClusterTags.js][updatemanagedclustertags] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersUpdateTags.json | +| [updatePrivateEndpointConnection.js][updateprivateendpointconnection] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsUpdate.json | +| [updateSnapshotTags.js][updatesnapshottags] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsUpdateTags.json | +| [upgradeAgentPoolNodeImageVersion.js][upgradeagentpoolnodeimageversion] | Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsUpgradeNodeImageVersion.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 agentPoolsCreateOrUpdateSample.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 node agentPoolsCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[agentpoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsCreateOrUpdateSample.js +[agentpoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsDeleteSample.js +[agentpoolsgetavailableagentpoolversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js +[agentpoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetSample.js +[agentpoolsgetupgradeprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetUpgradeProfileSample.js +[agentpoolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsListSample.js +[agentpoolsupgradenodeimageversionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsUpgradeNodeImageVersionSample.js +[commandfailedresult]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandFailedResult.js +[commandsucceedresult]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandSucceedResult.js +[createagentpoolusinganagentpoolsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolUsingAnAgentPoolSnapshot.js +[createagentpoolwithencryptionathostenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEncryptionAtHostEnabled.js +[createagentpoolwithephemeralosdisk]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEphemeralOSDisk.js +[createagentpoolwithfipsenabledos]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithFipsEnabledOS.js +[createagentpoolwithgpumig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithGpumig.js +[createagentpoolwithkrustletandthewasiruntime]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKrustletAndTheWasiRuntime.js +[createagentpoolwithkubeletconfigandlinuxosconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKubeletConfigAndLinuxOSConfig.js +[createagentpoolwithossku]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithOssku.js +[createagentpoolwithppg]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithPpg.js +[createagentpoolwithultrassdenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithUltraSsdEnabled.js +[createmanagedclusterusinganagentpoolsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterUsingAnAgentPoolSnapshot.js +[createmanagedclusterwithaksmanagednatgatewayasoutboundtype]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithAksManagedNatGatewayAsOutboundType.js +[createmanagedclusterwithencryptionathostenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithEncryptionAtHostEnabled.js +[createmanagedclusterwithfipsenabledos]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithFipsEnabledOS.js +[createmanagedclusterwithgpumig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithGpumig.js +[createmanagedclusterwithhttpproxyconfigured]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithHttpProxyConfigured.js +[createmanagedclusterwithnodepublicipprefix]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithNodePublicIPPrefix.js +[createmanagedclusterwithossku]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithOssku.js +[createmanagedclusterwithpodidentityenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPodIdentityEnabled.js +[createmanagedclusterwithppg]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPpg.js +[createmanagedclusterwithruncommanddisabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithRunCommandDisabled.js +[createmanagedclusterwithsecurityprofileconfigured]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithSecurityProfileConfigured.js +[createmanagedclusterwithultrassdenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUltraSsdEnabled.js +[createmanagedclusterwithuserassignednatgatewayasoutboundtype]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.js +[createmanagedprivateclusterwithfqdnsubdomainspecified]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithFqdnSubdomainSpecified.js +[createmanagedprivateclusterwithpublicfqdnspecified]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithPublicFqdnSpecified.js +[createorupdateaadmanagedclusterwithenableazurerbac]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAadManagedClusterWithEnableAzureRbac.js +[createorupdateagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAgentPool.js +[createorupdatemaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateMaintenanceConfiguration.js +[createorupdatemanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedCluster.js +[createorupdatemanagedclusterwithdualstacknetworking]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithDualStackNetworking.js +[createorupdatemanagedclusterwithenableahub]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithEnableAhub.js +[createorupdatemanagedclusterwithwindowsgmsaenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithWindowsGMsaEnabled.js +[createorupdatesnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateSnapshot.js +[createspotagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createSpotAgentPool.js +[deleteagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteAgentPool.js +[deletemaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteMaintenanceConfiguration.js +[deletemanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteManagedCluster.js +[deleteprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deletePrivateEndpointConnection.js +[deletesnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteSnapshot.js +[getagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAgentPool.js +[getavailableversionsforagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAvailableVersionsForAgentPool.js +[getcontainerserviceosoptions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getContainerServiceOSOptions.js +[getmaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getMaintenanceConfiguration.js +[getmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedCluster.js +[getmanagedclustersbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedClustersByResourceGroup.js +[getprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getPrivateEndpointConnection.js +[getsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getSnapshot.js +[getupgradeprofileforagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForAgentPool.js +[getupgradeprofileformanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForManagedCluster.js +[listagentpoolsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAgentPoolsByManagedCluster.js +[listavailableoperationsforthecontainerserviceresourceprovider]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAvailableOperationsForTheContainerServiceResourceProvider.js +[listmaintenanceconfigurationsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listMaintenanceConfigurationsByManagedCluster.js +[listmanagedclusters]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listManagedClusters.js +[listoutboundnetworkdependenciesendpointsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listOutboundNetworkDependenciesEndpointsByManagedCluster.js +[listprivateendpointconnectionsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateEndpointConnectionsByManagedCluster.js +[listprivatelinkresourcesbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateLinkResourcesByManagedCluster.js +[listsnapshots]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshots.js +[listsnapshotsbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshotsByResourceGroup.js +[maintenanceconfigurationscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsCreateOrUpdateSample.js +[maintenanceconfigurationsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsDeleteSample.js +[maintenanceconfigurationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsGetSample.js +[maintenanceconfigurationslistbymanagedclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsListByManagedClusterSample.js +[managedclustersnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsCreateOrUpdateSample.js +[managedclustersnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsDeleteSample.js +[managedclustersnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsGetSample.js +[managedclustersnapshotslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListByResourceGroupSample.js +[managedclustersnapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListSample.js +[managedclustersnapshotsupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsUpdateTagsSample.js +[managedclusterscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersCreateOrUpdateSample.js +[managedclustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersDeleteSample.js +[managedclustersgetaccessprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetAccessProfileSample.js +[managedclustersgetcommandresultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetCommandResultSample.js +[managedclustersgetosoptionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetOSOptionsSample.js +[managedclustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetSample.js +[managedclustersgetupgradeprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetUpgradeProfileSample.js +[managedclusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListByResourceGroupSample.js +[managedclusterslistclusteradmincredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterAdminCredentialsSample.js +[managedclusterslistclustermonitoringusercredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js +[managedclusterslistclusterusercredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterUserCredentialsSample.js +[managedclusterslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +[managedclusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListSample.js +[managedclustersresetaadprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetAadProfileSample.js +[managedclustersresetserviceprincipalprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetServicePrincipalProfileSample.js +[managedclustersrotateclustercertificatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateClusterCertificatesSample.js +[managedclustersrotateserviceaccountsigningkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js +[managedclustersruncommandsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRunCommandSample.js +[managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStartSample.js +[managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStopSample.js +[managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersUpdateTagsSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/operationsListSample.js +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsDeleteSample.js +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsGetSample.js +[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsListSample.js +[privateendpointconnectionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsUpdateSample.js +[privatelinkresourceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateLinkResourcesListSample.js +[resetaadprofile]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetAadProfile.js +[resetserviceprincipalprofile]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetServicePrincipalProfile.js +[resolveprivatelinkserviceidpostsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolvePrivateLinkServiceIdPostSample.js +[resolvetheprivatelinkserviceidformanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolveThePrivateLinkServiceIdForManagedCluster.js +[rotateclustercertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/rotateClusterCertificates.js +[snapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsCreateOrUpdateSample.js +[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsDeleteSample.js +[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsGetSample.js +[snapshotslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListByResourceGroupSample.js +[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListSample.js +[snapshotsupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsUpdateTagsSample.js +[startagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startAgentPool.js +[startmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startManagedCluster.js +[stopagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopAgentPool.js +[stopmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopManagedCluster.js +[submitnewcommand]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/submitNewCommand.js +[updateagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateAgentPool.js +[updatemanagedclustertags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateManagedClusterTags.js +[updateprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updatePrivateEndpointConnection.js +[updatesnapshottags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateSnapshotTags.js +[upgradeagentpoolnodeimageversion]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/upgradeAgentPoolNodeImageVersion.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice/README.md diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsCreateOrUpdateSample.js new file mode 100644 index 000000000000..18750c8781d3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsCreateOrUpdateSample.js @@ -0,0 +1,646 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsAssociate_CRG.json + */ +async function associateAgentPoolWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1", + count: 3, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +associateAgentPoolWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Snapshot.json + */ +async function createAgentPoolUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1", + }, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_DedicatedHostGroup.json + */ +async function createAgentPoolWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + */ +async function createAgentPoolWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableEncryptionAtHost: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEncryptionAtHostEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Ephemeral.json + */ +async function createAgentPoolWithEphemeralOSDisk() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + orchestratorVersion: "", + osDiskSizeGB: 64, + osDiskType: "Ephemeral", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEphemeralOSDisk().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableFIPS.json + */ +async function createAgentPoolWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithFipsEnabledOS().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_GPUMIG.json + */ +async function createAgentPoolWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + gpuInstanceProfile: "MIG2g", + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_ND96asr_v4", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithGpumig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_WasmWasi.json + */ +async function createAgentPoolWithKrustletAndTheWasiRuntime() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2", + workloadRuntime: "WasmWasi", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json + */ +async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_MessageOfTheDay.json + */ +async function createAgentPoolWithMessageOfTheDay() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + messageOfTheDay: "Zm9vCg==", + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithMessageOfTheDay().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_OSSKU.json + */ +async function createAgentPoolWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithOssku().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_PPG.json + */ +async function createAgentPoolWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + orchestratorVersion: "", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithPpg().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableUltraSSD.json + */ +async function createAgentPoolWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableUltraSSD: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithUltraSsdEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Spot.json + */ +async function createSpotAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createSpotAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Update.json + */ +async function createOrUpdateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + mode: "User", + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createOrUpdateAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Start.json + */ +async function startAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { powerState: { code: "Running" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +startAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Stop.json + */ +async function stopAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { powerState: { code: "Stopped" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +stopAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Update.json + */ +async function updateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableAutoScaling: true, + maxCount: 2, + minCount: 2, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +updateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsDeleteSample.js new file mode 100644 index 000000000000..dc990e9abceb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsDeleteSample.js @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete.json + */ +async function deleteAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete_IgnorePodDisruptionBudget.json + */ +async function deleteAgentPoolByIgnoringPodDisruptionBudget() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPoolByIgnoringPodDisruptionBudget().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js new file mode 100644 index 000000000000..bb238e62b144 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetAvailableAgentPoolVersionsSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * + * @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetAgentPoolAvailableVersions.json + */ +async function getAvailableVersionsForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getAvailableAgentPoolVersions( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getAvailableVersionsForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetSample.js new file mode 100644 index 000000000000..60eb6ed7107c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the specified managed cluster agent pool. + * + * @summary Gets the specified managed cluster agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGet.json + */ +async function getAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.get(resourceGroupName, resourceName, agentPoolName); + console.log(result); +} + +getAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetUpgradeProfileSample.js new file mode 100644 index 000000000000..5a5158ae6d97 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsGetUpgradeProfileSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the upgrade profile for an agent pool. + * + * @summary Gets the upgrade profile for an agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetUpgradeProfile.json + */ +async function getUpgradeProfileForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getUpgradeProfile( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getUpgradeProfileForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsListSample.js new file mode 100644 index 000000000000..ef4d9ee056e9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsListSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of agent pools in the specified managed cluster. + * + * @summary Gets a list of agent pools in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsList.json + */ +async function listAgentPoolsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.agentPools.list(resourceGroupName, resourceName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAgentPoolsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsUpgradeNodeImageVersionSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsUpgradeNodeImageVersionSample.js new file mode 100644 index 000000000000..82c7e7ba823d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/agentPoolsUpgradeNodeImageVersionSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * + * @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsUpgradeNodeImageVersion.json + */ +async function upgradeAgentPoolNodeImageVersion() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginUpgradeNodeImageVersionAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +upgradeAgentPoolNodeImageVersion().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandFailedResult.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandFailedResult.js new file mode 100644 index 000000000000..73629ae3b1ef --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandFailedResult.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultFailed.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function commandFailedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandFailedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandSucceedResult.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandSucceedResult.js new file mode 100644 index 000000000000..5f0e49e89be4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/commandSucceedResult.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultSucceed.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function commandSucceedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandSucceedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolUsingAnAgentPoolSnapshot.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolUsingAnAgentPoolSnapshot.js new file mode 100644 index 000000000000..87d3faad1f5a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolUsingAnAgentPoolSnapshot.js @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Snapshot.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1", + }, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEncryptionAtHostEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEncryptionAtHostEnabled.js new file mode 100644 index 000000000000..62c86b7b4f0f --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEncryptionAtHostEnabled.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableEncryptionAtHost: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEncryptionAtHostEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEphemeralOSDisk.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEphemeralOSDisk.js new file mode 100644 index 000000000000..d10a4df0ccf3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithEphemeralOSDisk.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Ephemeral.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithEphemeralOSDisk() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + orchestratorVersion: "", + osDiskSizeGB: 64, + osDiskType: "Ephemeral", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEphemeralOSDisk().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithFipsEnabledOS.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithFipsEnabledOS.js new file mode 100644 index 000000000000..c3762ee0cee1 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithFipsEnabledOS.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableFIPS.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithFipsEnabledOS().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithGpumig.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithGpumig.js new file mode 100644 index 000000000000..69465952ec47 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithGpumig.js @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_GPUMIG.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + gpuInstanceProfile: "MIG2g", + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_ND96asr_v4", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithGpumig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKrustletAndTheWasiRuntime.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKrustletAndTheWasiRuntime.js new file mode 100644 index 000000000000..76b0c11652e3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKrustletAndTheWasiRuntime.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_WasmWasi.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithKrustletAndTheWasiRuntime() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2", + workloadRuntime: "WasmWasi", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKubeletConfigAndLinuxOSConfig.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKubeletConfigAndLinuxOSConfig.js new file mode 100644 index 000000000000..db2846213f02 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithKubeletConfigAndLinuxOSConfig.js @@ -0,0 +1,63 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_CustomNodeConfig.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithOssku.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithOssku.js new file mode 100644 index 000000000000..2f863fb82123 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithOssku.js @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_OSSKU.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort", + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true, + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always", + }, + orchestratorVersion: "", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithOssku().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithPpg.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithPpg.js new file mode 100644 index 000000000000..158ce4268b59 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithPpg.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_PPG.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + orchestratorVersion: "", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithPpg().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithUltraSsdEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithUltraSsdEnabled.js new file mode 100644 index 000000000000..8229692ab5c2 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createAgentPoolWithUltraSsdEnabled.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableUltraSSD.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createAgentPoolWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableUltraSSD: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithUltraSsdEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterUsingAnAgentPoolSnapshot.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterUsingAnAgentPoolSnapshot.js new file mode 100644 index 000000000000..2f214767ad31 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterUsingAnAgentPoolSnapshot.js @@ -0,0 +1,77 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Snapshot.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1", + }, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAnAgentPoolSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithAksManagedNatGatewayAsOutboundType.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithAksManagedNatGatewayAsOutboundType.js new file mode 100644 index 000000000000..8fee1589afc1 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithAksManagedNatGatewayAsOutboundType.js @@ -0,0 +1,72 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_ManagedNATGateway.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + natGatewayProfile: { managedOutboundIPProfile: { count: 2 } }, + outboundType: "managedNATGateway", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithAksManagedNatGatewayAsOutboundType().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithEncryptionAtHostEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithEncryptionAtHostEnabled.js new file mode 100644 index 000000000000..84cf0d6fe071 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithEncryptionAtHostEnabled.js @@ -0,0 +1,73 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithEncryptionAtHostEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithFipsEnabledOS.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithFipsEnabledOS.js new file mode 100644 index 000000000000..33d248add827 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithFipsEnabledOS.js @@ -0,0 +1,73 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnabledFIPS.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithFipsEnabledOS().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithGpumig.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithGpumig.js new file mode 100644 index 000000000000..c30f611d5ee6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithGpumig.js @@ -0,0 +1,79 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_GPUMIG.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + gpuInstanceProfile: "MIG3g", + mode: "System", + osType: "Linux", + vmSize: "Standard_ND96asr_v4", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithGpumig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithHttpProxyConfigured.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithHttpProxyConfigured.js new file mode 100644 index 000000000000..dee98cf6bad3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithHttpProxyConfigured.js @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_HTTPProxy.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithHttpProxyConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithHttpProxyConfigured().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithNodePublicIPPrefix.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithNodePublicIPPrefix.js new file mode 100644 index 000000000000..e60d26b4ce57 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithNodePublicIPPrefix.js @@ -0,0 +1,74 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithNodePublicIPPrefix() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + nodePublicIPPrefixID: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithNodePublicIPPrefix().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithOssku.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithOssku.js new file mode 100644 index 000000000000..e2436d1825a6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithOssku.js @@ -0,0 +1,79 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_OSSKU.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithOssku().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPodIdentityEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPodIdentityEnabled.js new file mode 100644 index 000000000000..cd9317cc8def --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPodIdentityEnabled.js @@ -0,0 +1,73 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PodIdentity.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithPodIdentityEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + podIdentityProfile: { allowNetworkPluginKubenet: true, enabled: true }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPodIdentityEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPpg.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPpg.js new file mode 100644 index 000000000000..2b93d9e4eff7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithPpg.js @@ -0,0 +1,74 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PPG.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPpg().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithRunCommandDisabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithRunCommandDisabled.js new file mode 100644 index 000000000000..9d8bb6b9029a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithRunCommandDisabled.js @@ -0,0 +1,72 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DisableRunCommand.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithRunCommandDisabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { disableRunCommand: true }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithRunCommandDisabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithSecurityProfileConfigured.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithSecurityProfileConfigured.js new file mode 100644 index 000000000000..915745a55dcf --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithSecurityProfileConfigured.js @@ -0,0 +1,68 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_SecurityProfile.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithSecurityProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + securityProfile: { + azureDefender: { + enabled: true, + logAnalyticsWorkspaceResourceId: + "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME", + }, + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithSecurityProfileConfigured().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUltraSsdEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUltraSsdEnabled.js new file mode 100644 index 000000000000..db8c43cb0193 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUltraSsdEnabled.js @@ -0,0 +1,73 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableUltraSSD.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + enableUltraSSD: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUltraSsdEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.js new file mode 100644 index 000000000000..6a5a4eb6c895 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.js @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + outboundType: "userAssignedNATGateway", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUserAssignedNatGatewayAsOutboundType().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithFqdnSubdomainSpecified.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithFqdnSubdomainSpecified.js new file mode 100644 index 000000000000..04a6c745e775 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithFqdnSubdomainSpecified.js @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + privateDNSZone: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io", + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + enablePodSecurityPolicy: true, + enableRbac: true, + fqdnSubdomain: "domain1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithFqdnSubdomainSpecified().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithPublicFqdnSpecified.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithPublicFqdnSpecified.js new file mode 100644 index 000000000000..b86f085e81c7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createManagedPrivateClusterWithPublicFqdnSpecified.js @@ -0,0 +1,75 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createManagedPrivateClusterWithPublicFqdnSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + enablePrivateClusterPublicFqdn: true, + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithPublicFqdnSpecified().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAadManagedClusterWithEnableAzureRbac.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAadManagedClusterWithEnableAzureRbac.js new file mode 100644 index 000000000000..261231b58887 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAadManagedClusterWithEnableAzureRbac.js @@ -0,0 +1,74 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + aadProfile: { enableAzureRbac: true, managed: true }, + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateAadManagedClusterWithEnableAzureRbac().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAgentPool.js new file mode 100644 index 000000000000..363b1f032713 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateAgentPool.js @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Update.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + mode: "User", + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createOrUpdateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateMaintenanceConfiguration.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateMaintenanceConfiguration.js new file mode 100644 index 000000000000..40869e8fd926 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateMaintenanceConfiguration.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. + * + * @summary Creates or updates a maintenance configuration in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsCreate_Update.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const parameters = { + notAllowedTime: [ + { + end: new Date("2020-11-30T12:00:00Z"), + start: new Date("2020-11-26T03:00:00Z"), + }, + ], + timeInWeek: [{ day: "Monday", hourSlots: [1, 2] }], + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.createOrUpdate( + resourceGroupName, + resourceName, + configName, + parameters + ); + console.log(result); +} + +createOrUpdateMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedCluster.js new file mode 100644 index 000000000000..a6f726ff95e4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedCluster.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Update.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false", + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithDualStackNetworking.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithDualStackNetworking.js new file mode 100644 index 000000000000..305dbe59c98b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithDualStackNetworking.js @@ -0,0 +1,90 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DualStackNetworking.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateManagedClusterWithDualStackNetworking() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false", + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + ipFamilies: ["IPv4", "IPv6"], + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithDualStackNetworking().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithEnableAhub.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithEnableAhub.js new file mode 100644 index 000000000000..319cfb8ad065 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithEnableAhub.js @@ -0,0 +1,81 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateManagedClusterWithEnableAhub() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + licenseType: "Windows_Server", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableAhub().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithWindowsGMsaEnabled.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithWindowsGMsaEnabled.js new file mode 100644 index 000000000000..aa8e7209b1ec --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateManagedClusterWithWindowsGMsaEnabled.js @@ -0,0 +1,81 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + gmsaProfile: { enabled: true }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithWindowsGMsaEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateSnapshot.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateSnapshot.js new file mode 100644 index 000000000000..950cf4929188 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createOrUpdateSnapshot.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a snapshot. + * + * @summary Creates or updates a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsCreate.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createOrUpdateSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0", + }, + location: "westus", + tags: { key1: "val1", key2: "val2" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.createOrUpdate(resourceGroupName, resourceName, parameters); + console.log(result); +} + +createOrUpdateSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createSpotAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createSpotAgentPool.js new file mode 100644 index 000000000000..484cf75f6fa6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/createSpotAgentPool.js @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Spot.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function createSpotAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createSpotAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteAgentPool.js new file mode 100644 index 000000000000..1be7ff9fb4ac --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteAgentPool.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsDelete.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function deleteAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteMaintenanceConfiguration.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteMaintenanceConfiguration.js new file mode 100644 index 000000000000..7808ad14dc6e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteMaintenanceConfiguration.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a maintenance configuration. + * + * @summary Deletes a maintenance configuration. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsDelete.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function deleteMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.delete( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +deleteMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteManagedCluster.js new file mode 100644 index 000000000000..4bc6c2cefc5c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a managed cluster. + * + * @summary Deletes a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersDelete.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function deleteManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginDeleteAndWait(resourceGroupName, resourceName); + console.log(result); +} + +deleteManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deletePrivateEndpointConnection.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deletePrivateEndpointConnection.js new file mode 100644 index 000000000000..195570ba5a3b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deletePrivateEndpointConnection.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a private endpoint connection. + * + * @summary Deletes a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsDelete.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function deletePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.beginDeleteAndWait( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +deletePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteSnapshot.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteSnapshot.js new file mode 100644 index 000000000000..1c9cf3f681b3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/deleteSnapshot.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a snapshot. + * + * @summary Deletes a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsDelete.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function deleteSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAgentPool.js new file mode 100644 index 000000000000..e7e37bfe2426 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAgentPool.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the specified managed cluster agent pool. + * + * @summary Gets the specified managed cluster agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGet.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.get(resourceGroupName, resourceName, agentPoolName); + console.log(result); +} + +getAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAvailableVersionsForAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAvailableVersionsForAgentPool.js new file mode 100644 index 000000000000..9820804ab6f2 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getAvailableVersionsForAgentPool.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * + * @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getAvailableVersionsForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getAvailableAgentPoolVersions( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getAvailableVersionsForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getContainerServiceOSOptions.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getContainerServiceOSOptions.js new file mode 100644 index 000000000000..0ad1bda643c0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getContainerServiceOSOptions.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets supported OS options in the specified subscription. + * + * @summary Gets supported OS options in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ContainerServiceGetOSOptions.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getContainerServiceOSOptions() { + const subscriptionId = "subid1"; + const location = "location1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getOSOptions(location); + console.log(result); +} + +getContainerServiceOSOptions().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getMaintenanceConfiguration.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getMaintenanceConfiguration.js new file mode 100644 index 000000000000..e5259f26615d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getMaintenanceConfiguration.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. + * + * @summary Gets the specified maintenance configuration of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsGet.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.get( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +getMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedCluster.js new file mode 100644 index 000000000000..bb58d0367806 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a managed cluster. + * + * @summary Gets a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGet.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.get(resourceGroupName, resourceName); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedClustersByResourceGroup.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedClustersByResourceGroup.js new file mode 100644 index 000000000000..0f093f125b26 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getManagedClustersByResourceGroup.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. + * + * @summary Lists managed clusters in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersListByResourceGroup.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getManagedClustersByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +getManagedClustersByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getPrivateEndpointConnection.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getPrivateEndpointConnection.js new file mode 100644 index 000000000000..cfa27e25428a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getPrivateEndpointConnection.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsGet.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getPrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +getPrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getSnapshot.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getSnapshot.js new file mode 100644 index 000000000000..7efb39639237 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getSnapshot.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a snapshot. + * + * @summary Gets a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsGet.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.get(resourceGroupName, resourceName); + console.log(result); +} + +getSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForAgentPool.js new file mode 100644 index 000000000000..04201a47715a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForAgentPool.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the upgrade profile for an agent pool. + * + * @summary Gets the upgrade profile for an agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetUpgradeProfile.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getUpgradeProfileForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getUpgradeProfile( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getUpgradeProfileForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForManagedCluster.js new file mode 100644 index 000000000000..66d391247cae --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/getUpgradeProfileForManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the upgrade profile of a managed cluster. + * + * @summary Gets the upgrade profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGetUpgradeProfile.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function getUpgradeProfileForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getUpgradeProfile(resourceGroupName, resourceName); + console.log(result); +} + +getUpgradeProfileForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAgentPoolsByManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAgentPoolsByManagedCluster.js new file mode 100644 index 000000000000..d46bdd85cb0c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAgentPoolsByManagedCluster.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of agent pools in the specified managed cluster. + * + * @summary Gets a list of agent pools in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listAgentPoolsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.agentPools.list(resourceGroupName, resourceName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAgentPoolsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAvailableOperationsForTheContainerServiceResourceProvider.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAvailableOperationsForTheContainerServiceResourceProvider.js new file mode 100644 index 000000000000..832f25008893 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listAvailableOperationsForTheContainerServiceResourceProvider.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of operations. + * + * @summary Gets a list of operations. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/Operation_List.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listAvailableOperationsForTheContainerServiceResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheContainerServiceResourceProvider().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listMaintenanceConfigurationsByManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listMaintenanceConfigurationsByManagedCluster.js new file mode 100644 index 000000000000..813faef67060 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listMaintenanceConfigurationsByManagedCluster.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. + * + * @summary Gets a list of maintenance configurations in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listMaintenanceConfigurationsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.maintenanceConfigurations.listByManagedCluster( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listMaintenanceConfigurationsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listManagedClusters.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listManagedClusters.js new file mode 100644 index 000000000000..8c81bd209a2c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listManagedClusters.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. + * + * @summary Gets a list of managed clusters in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listManagedClusters() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusters().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listOutboundNetworkDependenciesEndpointsByManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listOutboundNetworkDependenciesEndpointsByManagedCluster.js new file mode 100644 index 000000000000..67ec0e54a2cf --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listOutboundNetworkDependenciesEndpointsByManagedCluster.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * + * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/OutboundNetworkDependenciesEndpointsList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listOutboundNetworkDependenciesEndpoints( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listOutboundNetworkDependenciesEndpointsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateEndpointConnectionsByManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateEndpointConnectionsByManagedCluster.js new file mode 100644 index 000000000000..413c36392717 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateEndpointConnectionsByManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listPrivateEndpointConnectionsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.list(resourceGroupName, resourceName); + console.log(result); +} + +listPrivateEndpointConnectionsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateLinkResourcesByManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateLinkResourcesByManagedCluster.js new file mode 100644 index 000000000000..94aeffb357e4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listPrivateLinkResourcesByManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateLinkResourcesList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listPrivateLinkResourcesByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateLinkResources.list(resourceGroupName, resourceName); + console.log(result); +} + +listPrivateLinkResourcesByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshots.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshots.js new file mode 100644 index 000000000000..44ece47204c1 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshots.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of snapshots in the specified subscription. + * + * @summary Gets a list of snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsList.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshotsByResourceGroup.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshotsByResourceGroup.js new file mode 100644 index 000000000000..8fe36c3de87e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/listSnapshotsByResourceGroup.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. + * + * @summary Lists snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsListByResourceGroup.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function listSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsCreateOrUpdateSample.js new file mode 100644 index 000000000000..5121f0094e05 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsCreateOrUpdateSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. + * + * @summary Creates or updates a maintenance configuration in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsCreate_Update.json + */ +async function createOrUpdateMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const parameters = { + notAllowedTime: [ + { + end: new Date("2020-11-30T12:00:00Z"), + start: new Date("2020-11-26T03:00:00Z"), + }, + ], + timeInWeek: [{ day: "Monday", hourSlots: [1, 2] }], + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.createOrUpdate( + resourceGroupName, + resourceName, + configName, + parameters + ); + console.log(result); +} + +createOrUpdateMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsDeleteSample.js new file mode 100644 index 000000000000..2d343b74b4da --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a maintenance configuration. + * + * @summary Deletes a maintenance configuration. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsDelete.json + */ +async function deleteMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.delete( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +deleteMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsGetSample.js new file mode 100644 index 000000000000..52477914b72c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. + * + * @summary Gets the specified maintenance configuration of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsGet.json + */ +async function getMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.get( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +getMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsListByManagedClusterSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsListByManagedClusterSample.js new file mode 100644 index 000000000000..855c2722102b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/maintenanceConfigurationsListByManagedClusterSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. + * + * @summary Gets a list of maintenance configurations in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsList.json + */ +async function listMaintenanceConfigurationsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.maintenanceConfigurations.listByManagedCluster( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listMaintenanceConfigurationsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsCreateOrUpdateSample.js new file mode 100644 index 000000000000..5dc894032dfd --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsCreateOrUpdateSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates a managed cluster snapshot. + * + * @summary Creates or updates a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsCreate.json + */ +async function createOrUpdateManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1", + }, + location: "westus", + tags: { key1: "val1", key2: "val2" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.createOrUpdate( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsDeleteSample.js new file mode 100644 index 000000000000..c25127d9acc4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a managed cluster snapshot. + * + * @summary Deletes a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsDelete.json + */ +async function deleteManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsGetSample.js new file mode 100644 index 000000000000..dbd8105479c7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a managed cluster snapshot. + * + * @summary Gets a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsGet.json + */ +async function getManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.get(resourceGroupName, resourceName); + console.log(result); +} + +getManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListByResourceGroupSample.js new file mode 100644 index 000000000000..bc53d4c102ea --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists managed cluster snapshots in the specified subscription and resource group. + * + * @summary Lists managed cluster snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsListByResourceGroup.json + */ +async function listManagedClusterSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListSample.js new file mode 100644 index 000000000000..273f4ae620c4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of managed cluster snapshots in the specified subscription. + * + * @summary Gets a list of managed cluster snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsList.json + */ +async function listManagedClusterSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsUpdateTagsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsUpdateTagsSample.js new file mode 100644 index 000000000000..4eae45ee3e2c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClusterSnapshotsUpdateTagsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates tags on a managed cluster snapshot. + * + * @summary Updates tags on a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsUpdateTags.json + */ +async function updateManagedClusterSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.updateTags( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersCreateOrUpdateSample.js new file mode 100644 index 000000000000..5712c884f4c9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersCreateOrUpdateSample.js @@ -0,0 +1,1653 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersAssociate_CRG.json + */ +async function associateManagedClusterWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/capacityReservationGroups/crg1", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +associateManagedClusterWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_MCSnapshot.json + */ +async function createManagedClusterUsingAManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/managedclustersnapshots/snapshot1", + }, + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAManagedClusterSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Snapshot.json + */ +async function createManagedClusterUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1", + }, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAnAgentPoolSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_ManagedNATGateway.json + */ +async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + natGatewayProfile: { managedOutboundIPProfile: { count: 2 } }, + outboundType: "managedNATGateway", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithAksManagedNatGatewayAsOutboundType().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DedicatedHostGroup.json + */ +async function createManagedClusterWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + */ +async function createManagedClusterWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithEncryptionAtHostEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnabledFIPS.json + */ +async function createManagedClusterWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithFipsEnabledOS().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_GPUMIG.json + */ +async function createManagedClusterWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + gpuInstanceProfile: "MIG3g", + mode: "System", + osType: "Linux", + vmSize: "Standard_ND96asr_v4", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithGpumig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_HTTPProxy.json + */ +async function createManagedClusterWithHttpProxyConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithHttpProxyConfigured().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_NodePublicIPPrefix.json + */ +async function createManagedClusterWithNodePublicIPPrefix() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + nodePublicIPPrefixID: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithNodePublicIPPrefix().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_OSSKU.json + */ +async function createManagedClusterWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=", + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithOssku().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PPG.json + */ +async function createManagedClusterWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPpg().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PodIdentity.json + */ +async function createManagedClusterWithPodIdentityEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + podIdentityProfile: { allowNetworkPluginKubenet: true, enabled: true }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPodIdentityEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DisableRunCommand.json + */ +async function createManagedClusterWithRunCommandDisabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { disableRunCommand: true }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithRunCommandDisabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_SecurityProfile.json + */ +async function createManagedClusterWithSecurityProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + securityProfile: { + azureDefender: { + enabled: true, + logAnalyticsWorkspaceResourceId: + "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME", + }, + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithSecurityProfileConfigured().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableUltraSSD.json + */ +async function createManagedClusterWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + enableUltraSSD: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUltraSsdEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + */ +async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + dnsPrefix: "dnsprefix1", + ingressProfile: { + webAppRouting: { + dnsZoneResourceId: + "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME", + enabled: true, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithWebAppRoutingIngressProfileConfigured().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UserAssignedNATGateway.json + */ +async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + outboundType: "userAssignedNATGateway", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUserAssignedNatGatewayAsOutboundType().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + */ +async function createManagedPrivateClusterWithPublicFqdnSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + enablePrivateClusterPublicFqdn: true, + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithPublicFqdnSpecified().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + */ +async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2", + }, + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + privateDNSZone: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io", + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + enablePodSecurityPolicy: true, + enableRbac: true, + fqdnSubdomain: "domain1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithFqdnSubdomainSpecified().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + */ +async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + aadProfile: { enableAzureRbac: true, managed: true }, + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateAadManagedClusterWithEnableAzureRbac().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Update.json + */ +async function createOrUpdateManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false", + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedCluster().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithAHUB.json + */ +async function createOrUpdateManagedClusterWithEnableAhub() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + licenseType: "Windows_Server", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableAhub().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableNamespaceResources.json + */ +async function createOrUpdateManagedClusterWithEnableNamespaceResources() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enableNamespaceResources: true, + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableNamespaceResources().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + */ +async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + gmsaProfile: { enabled: true }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithWindowsGMsaEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DualStackNetworking.json + */ +async function createOrUpdateManagedClusterWithDualStackNetworking() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2", + }, + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false", + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": + {}, + }, + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] }, + }, + location: "location1", + networkProfile: { + ipFamilies: ["IPv4", "IPv6"], + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer", + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithDualStackNetworking().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersDeleteSample.js new file mode 100644 index 000000000000..945aca507821 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a managed cluster. + * + * @summary Deletes a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersDelete.json + */ +async function deleteManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginDeleteAndWait(resourceGroupName, resourceName); + console.log(result); +} + +deleteManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetAccessProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetAccessProfileSample.js new file mode 100644 index 000000000000..4131c44fedbb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetAccessProfileSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . + * + * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetAccessProfile.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const roleName = "clusterUser"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getAccessProfile( + resourceGroupName, + resourceName, + roleName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetCommandResultSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetCommandResultSample.js new file mode 100644 index 000000000000..9507182a6abd --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetCommandResultSample.js @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultFailed.json + */ +async function commandFailedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandFailedResult().catch(console.error); + +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultSucceed.json + */ +async function commandSucceedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandSucceedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetOSOptionsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetOSOptionsSample.js new file mode 100644 index 000000000000..9440939e2f3b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetOSOptionsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets supported OS options in the specified subscription. + * + * @summary Gets supported OS options in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ContainerServiceGetOSOptions.json + */ +async function getContainerServiceOSOptions() { + const subscriptionId = "subid1"; + const location = "location1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getOSOptions(location); + console.log(result); +} + +getContainerServiceOSOptions().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetSample.js new file mode 100644 index 000000000000..684e08c7793b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a managed cluster. + * + * @summary Gets a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGet.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.get(resourceGroupName, resourceName); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetUpgradeProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetUpgradeProfileSample.js new file mode 100644 index 000000000000..2374ed57fc56 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersGetUpgradeProfileSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the upgrade profile of a managed cluster. + * + * @summary Gets the upgrade profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetUpgradeProfile.json + */ +async function getUpgradeProfileForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getUpgradeProfile(resourceGroupName, resourceName); + console.log(result); +} + +getUpgradeProfileForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListByResourceGroupSample.js new file mode 100644 index 000000000000..ae8878e5595c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. + * + * @summary Lists managed clusters in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListByResourceGroup.json + */ +async function getManagedClustersByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +getManagedClustersByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterAdminCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterAdminCredentialsSample.js new file mode 100644 index 000000000000..7a1cd4060d70 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterAdminCredentialsSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the admin credentials of a managed cluster. + * + * @summary Lists the admin credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterAdminCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js new file mode 100644 index 000000000000..f8b779252901 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterMonitoringUserCredentialsSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. + * + * @summary Lists the cluster monitoring user credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterMonitoringUserCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterUserCredentialsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterUserCredentialsSample.js new file mode 100644 index 000000000000..2bda56284e1d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListClusterUserCredentialsSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the user credentials of a managed cluster. + * + * @summary Lists the user credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterUserCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js new file mode 100644 index 000000000000..242e8c0a1f9e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListOutboundNetworkDependenciesEndpointsSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * + * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json + */ +async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listOutboundNetworkDependenciesEndpoints( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listOutboundNetworkDependenciesEndpointsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListSample.js new file mode 100644 index 000000000000..06fca7d8f39c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. + * + * @summary Gets a list of managed clusters in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersList.json + */ +async function listManagedClusters() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusters().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetAadProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetAadProfileSample.js new file mode 100644 index 000000000000..e13d185033ad --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetAadProfileSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Reset the AAD Profile of a managed cluster. + * + * @summary Reset the AAD Profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetAADProfile.json + */ +async function resetAadProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + clientAppID: "clientappid", + serverAppID: "serverappid", + serverAppSecret: "serverappsecret", + tenantID: "tenantid", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetAADProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetAadProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetServicePrincipalProfileSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetServicePrincipalProfileSample.js new file mode 100644 index 000000000000..b0afae5e070e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersResetServicePrincipalProfileSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal + * + * @summary This action cannot be performed on a cluster that is not using a service principal + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json + */ +async function resetServicePrincipalProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + clientId: "clientid", + secret: "secret", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetServicePrincipalProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetServicePrincipalProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateClusterCertificatesSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateClusterCertificatesSample.js new file mode 100644 index 000000000000..31d5a457f67d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateClusterCertificatesSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * + * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateClusterCertificates.json + */ +async function rotateClusterCertificates() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateClusterCertificatesAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterCertificates().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js new file mode 100644 index 000000000000..50fd777fbfe5 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRotateServiceAccountSigningKeysSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. + * + * @summary Rotates the service account signing keys of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json + */ +async function rotateClusterServiceAccountSigningKeys() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateServiceAccountSigningKeysAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterServiceAccountSigningKeys().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRunCommandSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRunCommandSample.js new file mode 100644 index 000000000000..677cb9c378e3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersRunCommandSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * + * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandRequest.json + */ +async function submitNewCommand() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const requestPayload = { + clusterToken: "", + command: "kubectl apply -f ns.yaml", + context: "", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRunCommandAndWait( + resourceGroupName, + resourceName, + requestPayload + ); + console.log(result); +} + +submitNewCommand().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStartSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStartSample.js new file mode 100644 index 000000000000..1e567ddb3e2e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStartSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * + * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStart.json + */ +async function startManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStartAndWait(resourceGroupName, resourceName); + console.log(result); +} + +startManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStopSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStopSample.js new file mode 100644 index 000000000000..f67b91e58849 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersStopSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * + * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStop.json + */ +async function stopManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStopAndWait(resourceGroupName, resourceName); + console.log(result); +} + +stopManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersUpdateTagsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersUpdateTagsSample.js new file mode 100644 index 000000000000..8f2384e37788 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/managedClustersUpdateTagsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates tags on a managed cluster. + * + * @summary Updates tags on a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersUpdateTags.json + */ +async function updateManagedClusterTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { tags: { archv3: "", tier: "testing" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginUpdateTagsAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/operationsListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/operationsListSample.js new file mode 100644 index 000000000000..d0a6bcd15445 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of operations. + * + * @summary Gets a list of operations. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/Operation_List.json + */ +async function listAvailableOperationsForTheContainerServiceResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheContainerServiceResourceProvider().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/package.json b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/package.json new file mode 100644 index 000000000000..38319091e3c7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-containerservice-js-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for JavaScript (Beta)", + "engines": { + "node": ">=12.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/containerservice/arm-containerservice" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/containerservice/arm-containerservice", + "dependencies": { + "@azure/arm-containerservice": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsDeleteSample.js new file mode 100644 index 000000000000..3de69c4caa5d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a private endpoint connection. + * + * @summary Deletes a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsDelete.json + */ +async function deletePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.beginDeleteAndWait( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +deletePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsGetSample.js new file mode 100644 index 000000000000..dd76c4c56fe8 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsGet.json + */ +async function getPrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +getPrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsListSample.js new file mode 100644 index 000000000000..e79a489fbef9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsList.json + */ +async function listPrivateEndpointConnectionsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.list(resourceGroupName, resourceName); + console.log(result); +} + +listPrivateEndpointConnectionsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsUpdateSample.js new file mode 100644 index 000000000000..7942d7ffe592 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateEndpointConnectionsUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates a private endpoint connection. + * + * @summary Updates a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsUpdate.json + */ +async function updatePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const parameters = { + privateLinkServiceConnectionState: { status: "Approved" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.update( + resourceGroupName, + resourceName, + privateEndpointConnectionName, + parameters + ); + console.log(result); +} + +updatePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateLinkResourcesListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateLinkResourcesListSample.js new file mode 100644 index 000000000000..0e5fd1c932ed --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/privateLinkResourcesListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateLinkResourcesList.json + */ +async function listPrivateLinkResourcesByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateLinkResources.list(resourceGroupName, resourceName); + console.log(result); +} + +listPrivateLinkResourcesByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetAadProfile.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetAadProfile.js new file mode 100644 index 000000000000..4a67f8d62add --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetAadProfile.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Reset the AAD Profile of a managed cluster. + * + * @summary Reset the AAD Profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetAADProfile.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function resetAadProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + clientAppID: "clientappid", + serverAppID: "serverappid", + serverAppSecret: "serverappsecret", + tenantID: "tenantid", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetAADProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetAadProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetServicePrincipalProfile.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetServicePrincipalProfile.js new file mode 100644 index 000000000000..adf16181626c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resetServicePrincipalProfile.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal + * + * @summary This action cannot be performed on a cluster that is not using a service principal + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetServicePrincipalProfile.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function resetServicePrincipalProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { + clientId: "clientid", + secret: "secret", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetServicePrincipalProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetServicePrincipalProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolvePrivateLinkServiceIdPostSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolvePrivateLinkServiceIdPostSample.js new file mode 100644 index 000000000000..8fa466c4998e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolvePrivateLinkServiceIdPostSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. + * + * @summary Gets the private link service ID for the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ResolvePrivateLinkServiceId.json + */ +async function resolveThePrivateLinkServiceIdForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { name: "management" }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.resolvePrivateLinkServiceId.post( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resolveThePrivateLinkServiceIdForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolveThePrivateLinkServiceIdForManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolveThePrivateLinkServiceIdForManagedCluster.js new file mode 100644 index 000000000000..e99122f3969f --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/resolveThePrivateLinkServiceIdForManagedCluster.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. + * + * @summary Gets the private link service ID for the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ResolvePrivateLinkServiceId.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function resolveThePrivateLinkServiceIdForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { name: "management" }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.resolvePrivateLinkServiceId.post( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resolveThePrivateLinkServiceIdForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/rotateClusterCertificates.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/rotateClusterCertificates.js new file mode 100644 index 000000000000..8b591182309c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/rotateClusterCertificates.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * + * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersRotateClusterCertificates.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function rotateClusterCertificates() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateClusterCertificatesAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterCertificates().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/sample.env b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsCreateOrUpdateSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsCreateOrUpdateSample.js new file mode 100644 index 000000000000..0eb595d635a9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsCreateOrUpdateSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates a snapshot. + * + * @summary Creates or updates a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsCreate.json + */ +async function createOrUpdateSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0", + }, + location: "westus", + tags: { key1: "val1", key2: "val2" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.createOrUpdate(resourceGroupName, resourceName, parameters); + console.log(result); +} + +createOrUpdateSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsDeleteSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsDeleteSample.js new file mode 100644 index 000000000000..97df22cfb2d0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a snapshot. + * + * @summary Deletes a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsDelete.json + */ +async function deleteSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsGetSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsGetSample.js new file mode 100644 index 000000000000..41fe30e7c999 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a snapshot. + * + * @summary Gets a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsGet.json + */ +async function getSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.get(resourceGroupName, resourceName); + console.log(result); +} + +getSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListByResourceGroupSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListByResourceGroupSample.js new file mode 100644 index 000000000000..bbcfe270b194 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. + * + * @summary Lists snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsListByResourceGroup.json + */ +async function listSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListSample.js new file mode 100644 index 000000000000..3590082bc40a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of snapshots in the specified subscription. + * + * @summary Gets a list of snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsList.json + */ +async function listSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsUpdateTagsSample.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsUpdateTagsSample.js new file mode 100644 index 000000000000..46f890a23dab --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/snapshotsUpdateTagsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates tags on a snapshot. + * + * @summary Updates tags on a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsUpdateTags.json + */ +async function updateSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.updateTags(resourceGroupName, resourceName, parameters); + console.log(result); +} + +updateSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startAgentPool.js new file mode 100644 index 000000000000..0780151e860b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startAgentPool.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Start.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function startAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { powerState: { code: "Running" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +startAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startManagedCluster.js new file mode 100644 index 000000000000..c0a38c5e48fa --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/startManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * + * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStart.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function startManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStartAndWait(resourceGroupName, resourceName); + console.log(result); +} + +startManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopAgentPool.js new file mode 100644 index 000000000000..ce63fdf520f0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopAgentPool.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Stop.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function stopAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { powerState: { code: "Stopped" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +stopAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopManagedCluster.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopManagedCluster.js new file mode 100644 index 000000000000..602aa781a82b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/stopManagedCluster.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * + * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStop.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function stopManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStopAndWait(resourceGroupName, resourceName); + console.log(result); +} + +stopManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/submitNewCommand.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/submitNewCommand.js new file mode 100644 index 000000000000..38dddc196b31 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/submitNewCommand.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * + * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandRequest.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function submitNewCommand() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const requestPayload = { + clusterToken: "", + command: "kubectl apply -f ns.yaml", + context: "", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRunCommandAndWait( + resourceGroupName, + resourceName, + requestPayload + ); + console.log(result); +} + +submitNewCommand().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateAgentPool.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateAgentPool.js new file mode 100644 index 000000000000..f764ba5d3d43 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateAgentPool.js @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Update.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function updateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters = { + count: 3, + enableAutoScaling: true, + maxCount: 2, + minCount: 2, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + vmSize: "Standard_DS1_v2", + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +updateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateManagedClusterTags.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateManagedClusterTags.js new file mode 100644 index 000000000000..c35c2c855494 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateManagedClusterTags.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates tags on a managed cluster. + * + * @summary Updates tags on a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersUpdateTags.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function updateManagedClusterTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters = { tags: { archv3: "", tier: "testing" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginUpdateTagsAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updatePrivateEndpointConnection.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updatePrivateEndpointConnection.js new file mode 100644 index 000000000000..f1dbc72f8dd0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updatePrivateEndpointConnection.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates a private endpoint connection. + * + * @summary Updates a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsUpdate.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function updatePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const parameters = { + privateLinkServiceConnectionState: { status: "Approved" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.update( + resourceGroupName, + resourceName, + privateEndpointConnectionName, + parameters + ); + console.log(result); +} + +updatePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateSnapshotTags.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateSnapshotTags.js new file mode 100644 index 000000000000..e841a03b8f02 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/updateSnapshotTags.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates tags on a snapshot. + * + * @summary Updates tags on a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsUpdateTags.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function updateSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.updateTags(resourceGroupName, resourceName, parameters); + console.log(result); +} + +updateSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/upgradeAgentPoolNodeImageVersion.js b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/upgradeAgentPoolNodeImageVersion.js new file mode 100644 index 000000000000..5ad0efbfa5d0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/javascript/upgradeAgentPoolNodeImageVersion.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * + * @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsUpgradeNodeImageVersion.json + */ +const { ContainerServiceClient } = require("@azure/arm-containerservice"); +const { DefaultAzureCredential } = require("@azure/identity"); + +async function upgradeAgentPoolNodeImageVersion() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginUpgradeNodeImageVersionAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +upgradeAgentPoolNodeImageVersion().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/README.md b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/README.md new file mode 100644 index 000000000000..7f13c6efc210 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/README.md @@ -0,0 +1,313 @@ +# client library samples for TypeScript (Beta) + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [agentPoolsCreateOrUpdateSample.ts][agentpoolscreateorupdatesample] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsAssociate_CRG.json | +| [agentPoolsDeleteSample.ts][agentpoolsdeletesample] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete.json | +| [agentPoolsGetAvailableAgentPoolVersionsSample.ts][agentpoolsgetavailableagentpoolversionssample] | See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [agentPoolsGetSample.ts][agentpoolsgetsample] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGet.json | +| [agentPoolsGetUpgradeProfileSample.ts][agentpoolsgetupgradeprofilesample] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetUpgradeProfile.json | +| [agentPoolsListSample.ts][agentpoolslistsample] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsList.json | +| [agentPoolsUpgradeNodeImageVersionSample.ts][agentpoolsupgradenodeimageversionsample] | Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsUpgradeNodeImageVersion.json | +| [commandFailedResult.ts][commandfailedresult] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultFailed.json | +| [commandSucceedResult.ts][commandsucceedresult] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultSucceed.json | +| [createAgentPoolUsingAnAgentPoolSnapshot.ts][createagentpoolusinganagentpoolsnapshot] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Snapshot.json | +| [createAgentPoolWithEncryptionAtHostEnabled.ts][createagentpoolwithencryptionathostenabled] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json | +| [createAgentPoolWithEphemeralOSDisk.ts][createagentpoolwithephemeralosdisk] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Ephemeral.json | +| [createAgentPoolWithFipsEnabledOS.ts][createagentpoolwithfipsenabledos] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableFIPS.json | +| [createAgentPoolWithGpumig.ts][createagentpoolwithgpumig] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_GPUMIG.json | +| [createAgentPoolWithKrustletAndTheWasiRuntime.ts][createagentpoolwithkrustletandthewasiruntime] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_WasmWasi.json | +| [createAgentPoolWithKubeletConfigAndLinuxOSConfig.ts][createagentpoolwithkubeletconfigandlinuxosconfig] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_CustomNodeConfig.json | +| [createAgentPoolWithOssku.ts][createagentpoolwithossku] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_OSSKU.json | +| [createAgentPoolWithPpg.ts][createagentpoolwithppg] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_PPG.json | +| [createAgentPoolWithUltraSsdEnabled.ts][createagentpoolwithultrassdenabled] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableUltraSSD.json | +| [createManagedClusterUsingAnAgentPoolSnapshot.ts][createmanagedclusterusinganagentpoolsnapshot] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Snapshot.json | +| [createManagedClusterWithAksManagedNatGatewayAsOutboundType.ts][createmanagedclusterwithaksmanagednatgatewayasoutboundtype] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_ManagedNATGateway.json | +| [createManagedClusterWithEncryptionAtHostEnabled.ts][createmanagedclusterwithencryptionathostenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json | +| [createManagedClusterWithFipsEnabledOS.ts][createmanagedclusterwithfipsenabledos] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnabledFIPS.json | +| [createManagedClusterWithGpumig.ts][createmanagedclusterwithgpumig] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_GPUMIG.json | +| [createManagedClusterWithHttpProxyConfigured.ts][createmanagedclusterwithhttpproxyconfigured] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_HTTPProxy.json | +| [createManagedClusterWithNodePublicIPPrefix.ts][createmanagedclusterwithnodepublicipprefix] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json | +| [createManagedClusterWithOssku.ts][createmanagedclusterwithossku] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_OSSKU.json | +| [createManagedClusterWithPodIdentityEnabled.ts][createmanagedclusterwithpodidentityenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PodIdentity.json | +| [createManagedClusterWithPpg.ts][createmanagedclusterwithppg] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PPG.json | +| [createManagedClusterWithRunCommandDisabled.ts][createmanagedclusterwithruncommanddisabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DisableRunCommand.json | +| [createManagedClusterWithSecurityProfileConfigured.ts][createmanagedclusterwithsecurityprofileconfigured] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_SecurityProfile.json | +| [createManagedClusterWithUltraSsdEnabled.ts][createmanagedclusterwithultrassdenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableUltraSSD.json | +| [createManagedClusterWithUserAssignedNatGatewayAsOutboundType.ts][createmanagedclusterwithuserassignednatgatewayasoutboundtype] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json | +| [createManagedPrivateClusterWithFqdnSubdomainSpecified.ts][createmanagedprivateclusterwithfqdnsubdomainspecified] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json | +| [createManagedPrivateClusterWithPublicFqdnSpecified.ts][createmanagedprivateclusterwithpublicfqdnspecified] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json | +| [createOrUpdateAadManagedClusterWithEnableAzureRbac.ts][createorupdateaadmanagedclusterwithenableazurerbac] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json | +| [createOrUpdateAgentPool.ts][createorupdateagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Update.json | +| [createOrUpdateMaintenanceConfiguration.ts][createorupdatemaintenanceconfiguration] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsCreate_Update.json | +| [createOrUpdateManagedCluster.ts][createorupdatemanagedcluster] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Update.json | +| [createOrUpdateManagedClusterWithDualStackNetworking.ts][createorupdatemanagedclusterwithdualstacknetworking] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DualStackNetworking.json | +| [createOrUpdateManagedClusterWithEnableAhub.ts][createorupdatemanagedclusterwithenableahub] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithAHUB.json | +| [createOrUpdateManagedClusterWithWindowsGMsaEnabled.ts][createorupdatemanagedclusterwithwindowsgmsaenabled] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json | +| [createOrUpdateSnapshot.ts][createorupdatesnapshot] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsCreate.json | +| [createSpotAgentPool.ts][createspotagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Spot.json | +| [deleteAgentPool.ts][deleteagentpool] | Deletes an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsDelete.json | +| [deleteMaintenanceConfiguration.ts][deletemaintenanceconfiguration] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsDelete.json | +| [deleteManagedCluster.ts][deletemanagedcluster] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersDelete.json | +| [deletePrivateEndpointConnection.ts][deleteprivateendpointconnection] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsDelete.json | +| [deleteSnapshot.ts][deletesnapshot] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsDelete.json | +| [getAgentPool.ts][getagentpool] | Gets the specified managed cluster agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGet.json | +| [getAvailableVersionsForAgentPool.ts][getavailableversionsforagentpool] | See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json | +| [getContainerServiceOSOptions.ts][getcontainerserviceosoptions] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ContainerServiceGetOSOptions.json | +| [getMaintenanceConfiguration.ts][getmaintenanceconfiguration] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsGet.json | +| [getManagedCluster.ts][getmanagedcluster] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGet.json | +| [getManagedClustersByResourceGroup.ts][getmanagedclustersbyresourcegroup] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersListByResourceGroup.json | +| [getPrivateEndpointConnection.ts][getprivateendpointconnection] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsGet.json | +| [getSnapshot.ts][getsnapshot] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsGet.json | +| [getUpgradeProfileForAgentPool.ts][getupgradeprofileforagentpool] | Gets the upgrade profile for an agent pool. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetUpgradeProfile.json | +| [getUpgradeProfileForManagedCluster.ts][getupgradeprofileformanagedcluster] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGetUpgradeProfile.json | +| [listAgentPoolsByManagedCluster.ts][listagentpoolsbymanagedcluster] | Gets a list of agent pools in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsList.json | +| [listAvailableOperationsForTheContainerServiceResourceProvider.ts][listavailableoperationsforthecontainerserviceresourceprovider] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/Operation_List.json | +| [listMaintenanceConfigurationsByManagedCluster.ts][listmaintenanceconfigurationsbymanagedcluster] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsList.json | +| [listManagedClusters.ts][listmanagedclusters] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersList.json | +| [listOutboundNetworkDependenciesEndpointsByManagedCluster.ts][listoutboundnetworkdependenciesendpointsbymanagedcluster] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/OutboundNetworkDependenciesEndpointsList.json | +| [listPrivateEndpointConnectionsByManagedCluster.ts][listprivateendpointconnectionsbymanagedcluster] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsList.json | +| [listPrivateLinkResourcesByManagedCluster.ts][listprivatelinkresourcesbymanagedcluster] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateLinkResourcesList.json | +| [listSnapshots.ts][listsnapshots] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsList.json | +| [listSnapshotsByResourceGroup.ts][listsnapshotsbyresourcegroup] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsListByResourceGroup.json | +| [maintenanceConfigurationsCreateOrUpdateSample.ts][maintenanceconfigurationscreateorupdatesample] | Creates or updates a maintenance configuration in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsCreate_Update.json | +| [maintenanceConfigurationsDeleteSample.ts][maintenanceconfigurationsdeletesample] | Deletes a maintenance configuration. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsDelete.json | +| [maintenanceConfigurationsGetSample.ts][maintenanceconfigurationsgetsample] | Gets the specified maintenance configuration of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsGet.json | +| [maintenanceConfigurationsListByManagedClusterSample.ts][maintenanceconfigurationslistbymanagedclustersample] | Gets a list of maintenance configurations in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsList.json | +| [managedClusterSnapshotsCreateOrUpdateSample.ts][managedclustersnapshotscreateorupdatesample] | Creates or updates a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsCreate.json | +| [managedClusterSnapshotsDeleteSample.ts][managedclustersnapshotsdeletesample] | Deletes a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsDelete.json | +| [managedClusterSnapshotsGetSample.ts][managedclustersnapshotsgetsample] | Gets a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsGet.json | +| [managedClusterSnapshotsListByResourceGroupSample.ts][managedclustersnapshotslistbyresourcegroupsample] | Lists managed cluster snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsListByResourceGroup.json | +| [managedClusterSnapshotsListSample.ts][managedclustersnapshotslistsample] | Gets a list of managed cluster snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsList.json | +| [managedClusterSnapshotsUpdateTagsSample.ts][managedclustersnapshotsupdatetagssample] | Updates tags on a managed cluster snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsUpdateTags.json | +| [managedClustersCreateOrUpdateSample.ts][managedclusterscreateorupdatesample] | Creates or updates a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersAssociate_CRG.json | +| [managedClustersDeleteSample.ts][managedclustersdeletesample] | Deletes a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersDelete.json | +| [managedClustersGetAccessProfileSample.ts][managedclustersgetaccessprofilesample] | **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetAccessProfile.json | +| [managedClustersGetCommandResultSample.ts][managedclustersgetcommandresultsample] | Gets the results of a command which has been run on the Managed Cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultFailed.json | +| [managedClustersGetOSOptionsSample.ts][managedclustersgetosoptionssample] | Gets supported OS options in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ContainerServiceGetOSOptions.json | +| [managedClustersGetSample.ts][managedclustersgetsample] | Gets a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGet.json | +| [managedClustersGetUpgradeProfileSample.ts][managedclustersgetupgradeprofilesample] | Gets the upgrade profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetUpgradeProfile.json | +| [managedClustersListByResourceGroupSample.ts][managedclusterslistbyresourcegroupsample] | Lists managed clusters in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListByResourceGroup.json | +| [managedClustersListClusterAdminCredentialsSample.ts][managedclusterslistclusteradmincredentialssample] | Lists the admin credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterMonitoringUserCredentialsSample.ts][managedclusterslistclustermonitoringusercredentialssample] | Lists the cluster monitoring user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListClusterUserCredentialsSample.ts][managedclusterslistclusterusercredentialssample] | Lists the user credentials of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json | +| [managedClustersListOutboundNetworkDependenciesEndpointsSample.ts][managedclusterslistoutboundnetworkdependenciesendpointssample] | Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json | +| [managedClustersListSample.ts][managedclusterslistsample] | Gets a list of managed clusters in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersList.json | +| [managedClustersResetAadProfileSample.ts][managedclustersresetaadprofilesample] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetAADProfile.json | +| [managedClustersResetServicePrincipalProfileSample.ts][managedclustersresetserviceprincipalprofilesample] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json | +| [managedClustersRotateClusterCertificatesSample.ts][managedclustersrotateclustercertificatessample] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateClusterCertificates.json | +| [managedClustersRotateServiceAccountSigningKeysSample.ts][managedclustersrotateserviceaccountsigningkeyssample] | Rotates the service account signing keys of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json | +| [managedClustersRunCommandSample.ts][managedclustersruncommandsample] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandRequest.json | +| [managedClustersStartSample.ts][managedclustersstartsample] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStart.json | +| [managedClustersStopSample.ts][managedclustersstopsample] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStop.json | +| [managedClustersUpdateTagsSample.ts][managedclustersupdatetagssample] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersUpdateTags.json | +| [operationsListSample.ts][operationslistsample] | Gets a list of operations. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/Operation_List.json | +| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Deletes a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsDelete.json | +| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsGet.json | +| [privateEndpointConnectionsListSample.ts][privateendpointconnectionslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsList.json | +| [privateEndpointConnectionsUpdateSample.ts][privateendpointconnectionsupdatesample] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsUpdate.json | +| [privateLinkResourcesListSample.ts][privatelinkresourceslistsample] | To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateLinkResourcesList.json | +| [resetAadProfile.ts][resetaadprofile] | Reset the AAD Profile of a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetAADProfile.json | +| [resetServicePrincipalProfile.ts][resetserviceprincipalprofile] | This action cannot be performed on a cluster that is not using a service principal x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetServicePrincipalProfile.json | +| [resolvePrivateLinkServiceIdPostSample.ts][resolveprivatelinkserviceidpostsample] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ResolvePrivateLinkServiceId.json | +| [resolveThePrivateLinkServiceIdForManagedCluster.ts][resolvetheprivatelinkserviceidformanagedcluster] | Gets the private link service ID for the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ResolvePrivateLinkServiceId.json | +| [rotateClusterCertificates.ts][rotateclustercertificates] | See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersRotateClusterCertificates.json | +| [snapshotsCreateOrUpdateSample.ts][snapshotscreateorupdatesample] | Creates or updates a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsCreate.json | +| [snapshotsDeleteSample.ts][snapshotsdeletesample] | Deletes a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsDelete.json | +| [snapshotsGetSample.ts][snapshotsgetsample] | Gets a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsGet.json | +| [snapshotsListByResourceGroupSample.ts][snapshotslistbyresourcegroupsample] | Lists snapshots in the specified subscription and resource group. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsListByResourceGroup.json | +| [snapshotsListSample.ts][snapshotslistsample] | Gets a list of snapshots in the specified subscription. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsList.json | +| [snapshotsUpdateTagsSample.ts][snapshotsupdatetagssample] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsUpdateTags.json | +| [startAgentPool.ts][startagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Start.json | +| [startManagedCluster.ts][startmanagedcluster] | See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStart.json | +| [stopAgentPool.ts][stopagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Stop.json | +| [stopManagedCluster.ts][stopmanagedcluster] | This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStop.json | +| [submitNewCommand.ts][submitnewcommand] | AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandRequest.json | +| [updateAgentPool.ts][updateagentpool] | Creates or updates an agent pool in the specified managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Update.json | +| [updateManagedClusterTags.ts][updatemanagedclustertags] | Updates tags on a managed cluster. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersUpdateTags.json | +| [updatePrivateEndpointConnection.ts][updateprivateendpointconnection] | Updates a private endpoint connection. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsUpdate.json | +| [updateSnapshotTags.ts][updatesnapshottags] | Updates tags on a snapshot. x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsUpdateTags.json | +| [upgradeAgentPoolNodeImageVersion.ts][upgradeagentpoolnodeimageversion] | Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsUpgradeNodeImageVersion.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/agentPoolsCreateOrUpdateSample.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 node dist/agentPoolsCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[agentpoolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsCreateOrUpdateSample.ts +[agentpoolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsDeleteSample.ts +[agentpoolsgetavailableagentpoolversionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts +[agentpoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetSample.ts +[agentpoolsgetupgradeprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetUpgradeProfileSample.ts +[agentpoolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsListSample.ts +[agentpoolsupgradenodeimageversionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts +[commandfailedresult]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandFailedResult.ts +[commandsucceedresult]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandSucceedResult.ts +[createagentpoolusinganagentpoolsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolUsingAnAgentPoolSnapshot.ts +[createagentpoolwithencryptionathostenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEncryptionAtHostEnabled.ts +[createagentpoolwithephemeralosdisk]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEphemeralOSDisk.ts +[createagentpoolwithfipsenabledos]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithFipsEnabledOS.ts +[createagentpoolwithgpumig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithGpumig.ts +[createagentpoolwithkrustletandthewasiruntime]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKrustletAndTheWasiRuntime.ts +[createagentpoolwithkubeletconfigandlinuxosconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKubeletConfigAndLinuxOSConfig.ts +[createagentpoolwithossku]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithOssku.ts +[createagentpoolwithppg]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithPpg.ts +[createagentpoolwithultrassdenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithUltraSsdEnabled.ts +[createmanagedclusterusinganagentpoolsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterUsingAnAgentPoolSnapshot.ts +[createmanagedclusterwithaksmanagednatgatewayasoutboundtype]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithAksManagedNatGatewayAsOutboundType.ts +[createmanagedclusterwithencryptionathostenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithEncryptionAtHostEnabled.ts +[createmanagedclusterwithfipsenabledos]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithFipsEnabledOS.ts +[createmanagedclusterwithgpumig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithGpumig.ts +[createmanagedclusterwithhttpproxyconfigured]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithHttpProxyConfigured.ts +[createmanagedclusterwithnodepublicipprefix]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithNodePublicIPPrefix.ts +[createmanagedclusterwithossku]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithOssku.ts +[createmanagedclusterwithpodidentityenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPodIdentityEnabled.ts +[createmanagedclusterwithppg]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPpg.ts +[createmanagedclusterwithruncommanddisabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithRunCommandDisabled.ts +[createmanagedclusterwithsecurityprofileconfigured]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithSecurityProfileConfigured.ts +[createmanagedclusterwithultrassdenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUltraSsdEnabled.ts +[createmanagedclusterwithuserassignednatgatewayasoutboundtype]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.ts +[createmanagedprivateclusterwithfqdnsubdomainspecified]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithFqdnSubdomainSpecified.ts +[createmanagedprivateclusterwithpublicfqdnspecified]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithPublicFqdnSpecified.ts +[createorupdateaadmanagedclusterwithenableazurerbac]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAadManagedClusterWithEnableAzureRbac.ts +[createorupdateagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAgentPool.ts +[createorupdatemaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateMaintenanceConfiguration.ts +[createorupdatemanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedCluster.ts +[createorupdatemanagedclusterwithdualstacknetworking]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithDualStackNetworking.ts +[createorupdatemanagedclusterwithenableahub]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithEnableAhub.ts +[createorupdatemanagedclusterwithwindowsgmsaenabled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithWindowsGMsaEnabled.ts +[createorupdatesnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateSnapshot.ts +[createspotagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createSpotAgentPool.ts +[deleteagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteAgentPool.ts +[deletemaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteMaintenanceConfiguration.ts +[deletemanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteManagedCluster.ts +[deleteprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deletePrivateEndpointConnection.ts +[deletesnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteSnapshot.ts +[getagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAgentPool.ts +[getavailableversionsforagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAvailableVersionsForAgentPool.ts +[getcontainerserviceosoptions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getContainerServiceOSOptions.ts +[getmaintenanceconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getMaintenanceConfiguration.ts +[getmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedCluster.ts +[getmanagedclustersbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedClustersByResourceGroup.ts +[getprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getPrivateEndpointConnection.ts +[getsnapshot]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getSnapshot.ts +[getupgradeprofileforagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForAgentPool.ts +[getupgradeprofileformanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForManagedCluster.ts +[listagentpoolsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAgentPoolsByManagedCluster.ts +[listavailableoperationsforthecontainerserviceresourceprovider]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAvailableOperationsForTheContainerServiceResourceProvider.ts +[listmaintenanceconfigurationsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listMaintenanceConfigurationsByManagedCluster.ts +[listmanagedclusters]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listManagedClusters.ts +[listoutboundnetworkdependenciesendpointsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listOutboundNetworkDependenciesEndpointsByManagedCluster.ts +[listprivateendpointconnectionsbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateEndpointConnectionsByManagedCluster.ts +[listprivatelinkresourcesbymanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateLinkResourcesByManagedCluster.ts +[listsnapshots]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshots.ts +[listsnapshotsbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshotsByResourceGroup.ts +[maintenanceconfigurationscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts +[maintenanceconfigurationsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsDeleteSample.ts +[maintenanceconfigurationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsGetSample.ts +[maintenanceconfigurationslistbymanagedclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts +[managedclustersnapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsCreateOrUpdateSample.ts +[managedclustersnapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsDeleteSample.ts +[managedclustersnapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsGetSample.ts +[managedclustersnapshotslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListByResourceGroupSample.ts +[managedclustersnapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListSample.ts +[managedclustersnapshotsupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsUpdateTagsSample.ts +[managedclusterscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersCreateOrUpdateSample.ts +[managedclustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersDeleteSample.ts +[managedclustersgetaccessprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetAccessProfileSample.ts +[managedclustersgetcommandresultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetCommandResultSample.ts +[managedclustersgetosoptionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetOSOptionsSample.ts +[managedclustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetSample.ts +[managedclustersgetupgradeprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts +[managedclusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListByResourceGroupSample.ts +[managedclusterslistclusteradmincredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts +[managedclusterslistclustermonitoringusercredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts +[managedclusterslistclusterusercredentialssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts +[managedclusterslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts +[managedclusterslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListSample.ts +[managedclustersresetaadprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetAadProfileSample.ts +[managedclustersresetserviceprincipalprofilesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts +[managedclustersrotateclustercertificatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts +[managedclustersrotateserviceaccountsigningkeyssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts +[managedclustersruncommandsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRunCommandSample.ts +[managedclustersstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStartSample.ts +[managedclustersstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStopSample.ts +[managedclustersupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersUpdateTagsSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/operationsListSample.ts +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsGetSample.ts +[privateendpointconnectionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsListSample.ts +[privateendpointconnectionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsUpdateSample.ts +[privatelinkresourceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateLinkResourcesListSample.ts +[resetaadprofile]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetAadProfile.ts +[resetserviceprincipalprofile]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetServicePrincipalProfile.ts +[resolveprivatelinkserviceidpostsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolvePrivateLinkServiceIdPostSample.ts +[resolvetheprivatelinkserviceidformanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolveThePrivateLinkServiceIdForManagedCluster.ts +[rotateclustercertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/rotateClusterCertificates.ts +[snapshotscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsCreateOrUpdateSample.ts +[snapshotsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsDeleteSample.ts +[snapshotsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsGetSample.ts +[snapshotslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListByResourceGroupSample.ts +[snapshotslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListSample.ts +[snapshotsupdatetagssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsUpdateTagsSample.ts +[startagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startAgentPool.ts +[startmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startManagedCluster.ts +[stopagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopAgentPool.ts +[stopmanagedcluster]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopManagedCluster.ts +[submitnewcommand]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/submitNewCommand.ts +[updateagentpool]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateAgentPool.ts +[updatemanagedclustertags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateManagedClusterTags.ts +[updateprivateendpointconnection]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updatePrivateEndpointConnection.ts +[updatesnapshottags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateSnapshotTags.ts +[upgradeagentpoolnodeimageversion]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/upgradeAgentPoolNodeImageVersion.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/package.json b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/package.json new file mode 100644 index 000000000000..8a6b75f0c69d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-containerservice-ts-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for TypeScript (Beta)", + "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/containerservice/arm-containerservice" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/containerservice/arm-containerservice", + "dependencies": { + "@azure/arm-containerservice": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/sample.env b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..7003e928438a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsCreateOrUpdateSample.ts @@ -0,0 +1,646 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsAssociate_CRG.json + */ +async function associateAgentPoolWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/CapacityReservationGroups/crg1", + count: 3, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +associateAgentPoolWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Snapshot.json + */ +async function createAgentPoolUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1" + }, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_DedicatedHostGroup.json + */ +async function createAgentPoolWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + */ +async function createAgentPoolWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableEncryptionAtHost: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEncryptionAtHostEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Ephemeral.json + */ +async function createAgentPoolWithEphemeralOSDisk() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + orchestratorVersion: "", + osDiskSizeGB: 64, + osDiskType: "Ephemeral", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEphemeralOSDisk().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableFIPS.json + */ +async function createAgentPoolWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithFipsEnabledOS().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_GPUMIG.json + */ +async function createAgentPoolWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + gpuInstanceProfile: "MIG2g", + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_ND96asr_v4" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithGpumig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_WasmWasi.json + */ +async function createAgentPoolWithKrustletAndTheWasiRuntime() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2", + workloadRuntime: "WasmWasi" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_CustomNodeConfig.json + */ +async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_MessageOfTheDay.json + */ +async function createAgentPoolWithMessageOfTheDay() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + messageOfTheDay: "Zm9vCg==", + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithMessageOfTheDay().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_OSSKU.json + */ +async function createAgentPoolWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithOssku().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_PPG.json + */ +async function createAgentPoolWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + orchestratorVersion: "", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithPpg().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_EnableUltraSSD.json + */ +async function createAgentPoolWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableUltraSSD: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithUltraSsdEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Spot.json + */ +async function createSpotAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createSpotAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsCreate_Update.json + */ +async function createOrUpdateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + mode: "User", + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createOrUpdateAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Start.json + */ +async function startAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { powerState: { code: "Running" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +startAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Stop.json + */ +async function stopAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { powerState: { code: "Stopped" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +stopAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPools_Update.json + */ +async function updateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableAutoScaling: true, + maxCount: 2, + minCount: 2, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +updateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsDeleteSample.ts new file mode 100644 index 000000000000..c47f40aaec27 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsDeleteSample.ts @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete.json + */ +async function deleteAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPool().catch(console.error); + +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsDelete_IgnorePodDisruptionBudget.json + */ +async function deleteAgentPoolByIgnoringPodDisruptionBudget() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPoolByIgnoringPodDisruptionBudget().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts new file mode 100644 index 000000000000..facb4a7c82ef --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetAvailableAgentPoolVersionsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * + * @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetAgentPoolAvailableVersions.json + */ +async function getAvailableVersionsForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getAvailableAgentPoolVersions( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getAvailableVersionsForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetSample.ts new file mode 100644 index 000000000000..811aef2b4585 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified managed cluster agent pool. + * + * @summary Gets the specified managed cluster agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGet.json + */ +async function getAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.get( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetUpgradeProfileSample.ts new file mode 100644 index 000000000000..0f8327a4d89f --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsGetUpgradeProfileSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the upgrade profile for an agent pool. + * + * @summary Gets the upgrade profile for an agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsGetUpgradeProfile.json + */ +async function getUpgradeProfileForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getUpgradeProfile( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getUpgradeProfileForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsListSample.ts new file mode 100644 index 000000000000..9a3c03bdbc8e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsListSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of agent pools in the specified managed cluster. + * + * @summary Gets a list of agent pools in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsList.json + */ +async function listAgentPoolsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.agentPools.list( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAgentPoolsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts new file mode 100644 index 000000000000..127826f80145 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/agentPoolsUpgradeNodeImageVersionSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * + * @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/AgentPoolsUpgradeNodeImageVersion.json + */ +async function upgradeAgentPoolNodeImageVersion() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginUpgradeNodeImageVersionAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +upgradeAgentPoolNodeImageVersion().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandFailedResult.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandFailedResult.ts new file mode 100644 index 000000000000..9cbe6e5acbf3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandFailedResult.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultFailed.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function commandFailedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandFailedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandSucceedResult.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandSucceedResult.ts new file mode 100644 index 000000000000..85dcad6433e6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/commandSucceedResult.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandResultSucceed.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function commandSucceedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandSucceedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolUsingAnAgentPoolSnapshot.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolUsingAnAgentPoolSnapshot.ts new file mode 100644 index 000000000000..5a603cb40100 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolUsingAnAgentPoolSnapshot.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Snapshot.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1" + }, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolUsingAnAgentPoolSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEncryptionAtHostEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEncryptionAtHostEnabled.ts new file mode 100644 index 000000000000..615937aecc3d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEncryptionAtHostEnabled.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableEncryptionAtHost: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEncryptionAtHostEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEphemeralOSDisk.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEphemeralOSDisk.ts new file mode 100644 index 000000000000..d6ae50f316bf --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithEphemeralOSDisk.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Ephemeral.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithEphemeralOSDisk() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + orchestratorVersion: "", + osDiskSizeGB: 64, + osDiskType: "Ephemeral", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithEphemeralOSDisk().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithFipsEnabledOS.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithFipsEnabledOS.ts new file mode 100644 index 000000000000..10b8598d5f1c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithFipsEnabledOS.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableFIPS.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableFips: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithFipsEnabledOS().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithGpumig.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithGpumig.ts new file mode 100644 index 000000000000..91d06caaed3b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithGpumig.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_GPUMIG.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + gpuInstanceProfile: "MIG2g", + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_ND96asr_v4" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithGpumig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKrustletAndTheWasiRuntime.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKrustletAndTheWasiRuntime.ts new file mode 100644 index 000000000000..4f1575c18522 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKrustletAndTheWasiRuntime.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_WasmWasi.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithKrustletAndTheWasiRuntime() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + mode: "User", + orchestratorVersion: "", + osDiskSizeGB: 64, + osType: "Linux", + vmSize: "Standard_DS2_v2", + workloadRuntime: "WasmWasi" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKrustletAndTheWasiRuntime().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKubeletConfigAndLinuxOSConfig.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKubeletConfigAndLinuxOSConfig.ts new file mode 100644 index 000000000000..e3757240cf85 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithKubeletConfigAndLinuxOSConfig.ts @@ -0,0 +1,63 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_CustomNodeConfig.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithKubeletConfigAndLinuxOSConfig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithKubeletConfigAndLinuxOSConfig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithOssku.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithOssku.ts new file mode 100644 index 000000000000..f51c123aa8de --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithOssku.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_OSSKU.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + kubeletConfig: { + allowedUnsafeSysctls: ["kernel.msg*", "net.core.somaxconn"], + cpuCfsQuota: true, + cpuCfsQuotaPeriod: "200ms", + cpuManagerPolicy: "static", + failSwapOn: false, + imageGcHighThreshold: 90, + imageGcLowThreshold: 70, + topologyManagerPolicy: "best-effort" + }, + linuxOSConfig: { + swapFileSizeMB: 1500, + sysctls: { + kernelThreadsMax: 99999, + netCoreWmemDefault: 12345, + netIpv4IpLocalPortRange: "20000 60000", + netIpv4TcpTwReuse: true + }, + transparentHugePageDefrag: "madvise", + transparentHugePageEnabled: "always" + }, + orchestratorVersion: "", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithOssku().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithPpg.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithPpg.ts new file mode 100644 index 000000000000..1267606f3a53 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithPpg.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_PPG.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + orchestratorVersion: "", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithPpg().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithUltraSsdEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithUltraSsdEnabled.ts new file mode 100644 index 000000000000..0e0fb907fc64 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createAgentPoolWithUltraSsdEnabled.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_EnableUltraSSD.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createAgentPoolWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableUltraSSD: true, + orchestratorVersion: "", + osType: "Linux", + vmSize: "Standard_DS2_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createAgentPoolWithUltraSsdEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterUsingAnAgentPoolSnapshot.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterUsingAnAgentPoolSnapshot.ts new file mode 100644 index 000000000000..5ba30e202d27 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterUsingAnAgentPoolSnapshot.ts @@ -0,0 +1,80 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Snapshot.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1" + }, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAnAgentPoolSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithAksManagedNatGatewayAsOutboundType.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithAksManagedNatGatewayAsOutboundType.ts new file mode 100644 index 000000000000..181970a8528a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithAksManagedNatGatewayAsOutboundType.ts @@ -0,0 +1,77 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_ManagedNATGateway.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + natGatewayProfile: { managedOutboundIPProfile: { count: 2 } }, + outboundType: "managedNATGateway" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithAksManagedNatGatewayAsOutboundType().catch( + console.error +); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithEncryptionAtHostEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithEncryptionAtHostEnabled.ts new file mode 100644 index 000000000000..e505c2f2f7e7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithEncryptionAtHostEnabled.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithEncryptionAtHostEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithFipsEnabledOS.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithFipsEnabledOS.ts new file mode 100644 index 000000000000..5617fca5d656 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithFipsEnabledOS.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnabledFIPS.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithFipsEnabledOS().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithGpumig.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithGpumig.ts new file mode 100644 index 000000000000..6f3a230b00f8 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithGpumig.ts @@ -0,0 +1,82 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_GPUMIG.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + gpuInstanceProfile: "MIG3g", + mode: "System", + osType: "Linux", + vmSize: "Standard_ND96asr_v4" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithGpumig().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithHttpProxyConfigured.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithHttpProxyConfigured.ts new file mode 100644 index 000000000000..4e17d164b0bb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithHttpProxyConfigured.ts @@ -0,0 +1,81 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_HTTPProxy.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithHttpProxyConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithHttpProxyConfigured().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithNodePublicIPPrefix.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithNodePublicIPPrefix.ts new file mode 100644 index 000000000000..46634263760a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithNodePublicIPPrefix.ts @@ -0,0 +1,77 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithNodePublicIPPrefix() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + nodePublicIPPrefixID: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithNodePublicIPPrefix().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithOssku.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithOssku.ts new file mode 100644 index 000000000000..b21e4283e40e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithOssku.ts @@ -0,0 +1,82 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_OSSKU.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithOssku().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPodIdentityEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPodIdentityEnabled.ts new file mode 100644 index 000000000000..baa04d31a2bf --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPodIdentityEnabled.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PodIdentity.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithPodIdentityEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + podIdentityProfile: { allowNetworkPluginKubenet: true, enabled: true }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPodIdentityEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPpg.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPpg.ts new file mode 100644 index 000000000000..af05f09ca833 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithPpg.ts @@ -0,0 +1,77 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PPG.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPpg().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithRunCommandDisabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithRunCommandDisabled.ts new file mode 100644 index 000000000000..9fb35f651f81 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithRunCommandDisabled.ts @@ -0,0 +1,75 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DisableRunCommand.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithRunCommandDisabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { disableRunCommand: true }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithRunCommandDisabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithSecurityProfileConfigured.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithSecurityProfileConfigured.ts new file mode 100644 index 000000000000..da11d929dade --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithSecurityProfileConfigured.ts @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_SecurityProfile.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithSecurityProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + securityProfile: { + azureDefender: { + enabled: true, + logAnalyticsWorkspaceResourceId: + "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME" + } + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithSecurityProfileConfigured().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUltraSsdEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUltraSsdEnabled.ts new file mode 100644 index 000000000000..e5fb7f045345 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUltraSsdEnabled.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_EnableUltraSSD.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + enableUltraSSD: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUltraSsdEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.ts new file mode 100644 index 000000000000..646696e3e0f2 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedClusterWithUserAssignedNatGatewayAsOutboundType.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + outboundType: "userAssignedNATGateway" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUserAssignedNatGatewayAsOutboundType().catch( + console.error +); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithFqdnSubdomainSpecified.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithFqdnSubdomainSpecified.ts new file mode 100644 index 000000000000..75e255b95aa5 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithFqdnSubdomainSpecified.ts @@ -0,0 +1,79 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + privateDNSZone: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io" + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + enablePodSecurityPolicy: true, + enableRbac: true, + fqdnSubdomain: "domain1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithFqdnSubdomainSpecified().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithPublicFqdnSpecified.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithPublicFqdnSpecified.ts new file mode 100644 index 000000000000..3e5da0c46707 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createManagedPrivateClusterWithPublicFqdnSpecified.ts @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createManagedPrivateClusterWithPublicFqdnSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + enablePrivateClusterPublicFqdn: true + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithPublicFqdnSpecified().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAadManagedClusterWithEnableAzureRbac.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAadManagedClusterWithEnableAzureRbac.ts new file mode 100644 index 000000000000..63110d7ea12f --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAadManagedClusterWithEnableAzureRbac.ts @@ -0,0 +1,77 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + aadProfile: { enableAzureRbac: true, managed: true }, + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateAadManagedClusterWithEnableAzureRbac().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAgentPool.ts new file mode 100644 index 000000000000..349b36b7e42e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateAgentPool.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Update.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + mode: "User", + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createOrUpdateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateMaintenanceConfiguration.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateMaintenanceConfiguration.ts new file mode 100644 index 000000000000..771591bddf3e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateMaintenanceConfiguration.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. + * + * @summary Creates or updates a maintenance configuration in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsCreate_Update.json + */ +import { + MaintenanceConfiguration, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const parameters: MaintenanceConfiguration = { + notAllowedTime: [ + { + end: new Date("2020-11-30T12:00:00Z"), + start: new Date("2020-11-26T03:00:00Z") + } + ], + timeInWeek: [{ day: "Monday", hourSlots: [1, 2] }] + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.createOrUpdate( + resourceGroupName, + resourceName, + configName, + parameters + ); + console.log(result); +} + +createOrUpdateMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedCluster.ts new file mode 100644 index 000000000000..da3f2aa83499 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedCluster.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_Update.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false" + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithDualStackNetworking.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithDualStackNetworking.ts new file mode 100644 index 000000000000..299da4d06149 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithDualStackNetworking.ts @@ -0,0 +1,92 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_DualStackNetworking.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateManagedClusterWithDualStackNetworking() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false" + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + ipFamilies: ["IPv4", "IPv6"], + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithDualStackNetworking().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithEnableAhub.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithEnableAhub.ts new file mode 100644 index 000000000000..1acc1632c1a1 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithEnableAhub.ts @@ -0,0 +1,83 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWithAHUB.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateManagedClusterWithEnableAhub() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + licenseType: "Windows_Server" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableAhub().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithWindowsGMsaEnabled.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithWindowsGMsaEnabled.ts new file mode 100644 index 000000000000..5ee8718cdaa0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateManagedClusterWithWindowsGMsaEnabled.ts @@ -0,0 +1,83 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + */ +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + gmsaProfile: { enabled: true } + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithWindowsGMsaEnabled().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateSnapshot.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateSnapshot.ts new file mode 100644 index 000000000000..0d67d5eb4bf5 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createOrUpdateSnapshot.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates a snapshot. + * + * @summary Creates or updates a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsCreate.json + */ +import { Snapshot, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createOrUpdateSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: Snapshot = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0" + }, + location: "westus", + tags: { key1: "val1", key2: "val2" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.createOrUpdate( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createSpotAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createSpotAgentPool.ts new file mode 100644 index 000000000000..189774c3f7d9 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/createSpotAgentPool.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsCreate_Spot.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function createSpotAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + nodeLabels: { key1: "val1" }, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + tags: { name1: "val1" }, + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +createSpotAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteAgentPool.ts new file mode 100644 index 000000000000..245416a8635e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteAgentPool.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes an agent pool in the specified managed cluster. + * + * @summary Deletes an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsDelete.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function deleteAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginDeleteAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +deleteAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteMaintenanceConfiguration.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteMaintenanceConfiguration.ts new file mode 100644 index 000000000000..a06d13b5bc53 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteMaintenanceConfiguration.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a maintenance configuration. + * + * @summary Deletes a maintenance configuration. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsDelete.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function deleteMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.delete( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +deleteMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteManagedCluster.ts new file mode 100644 index 000000000000..0f9bb5c77ea6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a managed cluster. + * + * @summary Deletes a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersDelete.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function deleteManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginDeleteAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +deleteManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deletePrivateEndpointConnection.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deletePrivateEndpointConnection.ts new file mode 100644 index 000000000000..5b9e73a1a0fb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deletePrivateEndpointConnection.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a private endpoint connection. + * + * @summary Deletes a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsDelete.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function deletePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.beginDeleteAndWait( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +deletePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteSnapshot.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteSnapshot.ts new file mode 100644 index 000000000000..61aa8776211d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/deleteSnapshot.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Deletes a snapshot. + * + * @summary Deletes a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsDelete.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function deleteSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAgentPool.ts new file mode 100644 index 000000000000..8788993c44fb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAgentPool.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the specified managed cluster agent pool. + * + * @summary Gets the specified managed cluster agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGet.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.get( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAvailableVersionsForAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAvailableVersionsForAgentPool.ts new file mode 100644 index 000000000000..ad6514519638 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getAvailableVersionsForAgentPool.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * + * @summary See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getAvailableVersionsForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getAvailableAgentPoolVersions( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getAvailableVersionsForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getContainerServiceOSOptions.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getContainerServiceOSOptions.ts new file mode 100644 index 000000000000..f42a58741c0a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getContainerServiceOSOptions.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets supported OS options in the specified subscription. + * + * @summary Gets supported OS options in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ContainerServiceGetOSOptions.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getContainerServiceOSOptions() { + const subscriptionId = "subid1"; + const location = "location1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getOSOptions(location); + console.log(result); +} + +getContainerServiceOSOptions().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getMaintenanceConfiguration.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getMaintenanceConfiguration.ts new file mode 100644 index 000000000000..bb4f4c8c3d80 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getMaintenanceConfiguration.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. + * + * @summary Gets the specified maintenance configuration of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsGet.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.get( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +getMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedCluster.ts new file mode 100644 index 000000000000..3836bfe3a4d3 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a managed cluster. + * + * @summary Gets a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGet.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.get( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedClustersByResourceGroup.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedClustersByResourceGroup.ts new file mode 100644 index 000000000000..dec78a9f2d26 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getManagedClustersByResourceGroup.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. + * + * @summary Lists managed clusters in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersListByResourceGroup.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getManagedClustersByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +getManagedClustersByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getPrivateEndpointConnection.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..f8ab7dd6c387 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getPrivateEndpointConnection.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsGet.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getPrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +getPrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getSnapshot.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getSnapshot.ts new file mode 100644 index 000000000000..66dba8b551fa --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getSnapshot.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a snapshot. + * + * @summary Gets a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsGet.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.get(resourceGroupName, resourceName); + console.log(result); +} + +getSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForAgentPool.ts new file mode 100644 index 000000000000..b88f86b90221 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForAgentPool.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the upgrade profile for an agent pool. + * + * @summary Gets the upgrade profile for an agent pool. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsGetUpgradeProfile.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getUpgradeProfileForAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.getUpgradeProfile( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +getUpgradeProfileForAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForManagedCluster.ts new file mode 100644 index 000000000000..1531bad68b0c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/getUpgradeProfileForManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the upgrade profile of a managed cluster. + * + * @summary Gets the upgrade profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersGetUpgradeProfile.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function getUpgradeProfileForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getUpgradeProfile( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getUpgradeProfileForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAgentPoolsByManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAgentPoolsByManagedCluster.ts new file mode 100644 index 000000000000..c169b98e728d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAgentPoolsByManagedCluster.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of agent pools in the specified managed cluster. + * + * @summary Gets a list of agent pools in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listAgentPoolsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.agentPools.list( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAgentPoolsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAvailableOperationsForTheContainerServiceResourceProvider.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAvailableOperationsForTheContainerServiceResourceProvider.ts new file mode 100644 index 000000000000..3f2872f40265 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listAvailableOperationsForTheContainerServiceResourceProvider.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of operations. + * + * @summary Gets a list of operations. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/Operation_List.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listAvailableOperationsForTheContainerServiceResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheContainerServiceResourceProvider().catch( + console.error +); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listMaintenanceConfigurationsByManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listMaintenanceConfigurationsByManagedCluster.ts new file mode 100644 index 000000000000..8851d5d4f366 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listMaintenanceConfigurationsByManagedCluster.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. + * + * @summary Gets a list of maintenance configurations in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/MaintenanceConfigurationsList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listMaintenanceConfigurationsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.maintenanceConfigurations.listByManagedCluster( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listMaintenanceConfigurationsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listManagedClusters.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listManagedClusters.ts new file mode 100644 index 000000000000..db2d31fff72d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listManagedClusters.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. + * + * @summary Gets a list of managed clusters in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listManagedClusters() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusters().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listOutboundNetworkDependenciesEndpointsByManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listOutboundNetworkDependenciesEndpointsByManagedCluster.ts new file mode 100644 index 000000000000..aa4127525805 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listOutboundNetworkDependenciesEndpointsByManagedCluster.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * + * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/OutboundNetworkDependenciesEndpointsList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listOutboundNetworkDependenciesEndpoints( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listOutboundNetworkDependenciesEndpointsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateEndpointConnectionsByManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateEndpointConnectionsByManagedCluster.ts new file mode 100644 index 000000000000..efc52f9b27b7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateEndpointConnectionsByManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listPrivateEndpointConnectionsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.list( + resourceGroupName, + resourceName + ); + console.log(result); +} + +listPrivateEndpointConnectionsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateLinkResourcesByManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateLinkResourcesByManagedCluster.ts new file mode 100644 index 000000000000..b6d6769d5a1f --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listPrivateLinkResourcesByManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateLinkResourcesList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listPrivateLinkResourcesByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateLinkResources.list( + resourceGroupName, + resourceName + ); + console.log(result); +} + +listPrivateLinkResourcesByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshots.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshots.ts new file mode 100644 index 000000000000..886b67511f26 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshots.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets a list of snapshots in the specified subscription. + * + * @summary Gets a list of snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsList.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshotsByResourceGroup.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshotsByResourceGroup.ts new file mode 100644 index 000000000000..902260abc84e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/listSnapshotsByResourceGroup.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. + * + * @summary Lists snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsListByResourceGroup.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function listSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..7cf14ecdfbad --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsCreateOrUpdateSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + MaintenanceConfiguration, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a maintenance configuration in the specified managed cluster. + * + * @summary Creates or updates a maintenance configuration in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsCreate_Update.json + */ +async function createOrUpdateMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const parameters: MaintenanceConfiguration = { + notAllowedTime: [ + { + end: new Date("2020-11-30T12:00:00Z"), + start: new Date("2020-11-26T03:00:00Z") + } + ], + timeInWeek: [{ day: "Monday", hourSlots: [1, 2] }] + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.createOrUpdate( + resourceGroupName, + resourceName, + configName, + parameters + ); + console.log(result); +} + +createOrUpdateMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsDeleteSample.ts new file mode 100644 index 000000000000..124b8c218cef --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a maintenance configuration. + * + * @summary Deletes a maintenance configuration. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsDelete.json + */ +async function deleteMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.delete( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +deleteMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsGetSample.ts new file mode 100644 index 000000000000..8b7da3fbd57a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the specified maintenance configuration of a managed cluster. + * + * @summary Gets the specified maintenance configuration of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsGet.json + */ +async function getMaintenanceConfiguration() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const configName = "default"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.maintenanceConfigurations.get( + resourceGroupName, + resourceName, + configName + ); + console.log(result); +} + +getMaintenanceConfiguration().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts new file mode 100644 index 000000000000..b36a0fc95aa2 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/maintenanceConfigurationsListByManagedClusterSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of maintenance configurations in the specified managed cluster. + * + * @summary Gets a list of maintenance configurations in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/MaintenanceConfigurationsList.json + */ +async function listMaintenanceConfigurationsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.maintenanceConfigurations.listByManagedCluster( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listMaintenanceConfigurationsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..05d978e6cdf6 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagedClusterSnapshot, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a managed cluster snapshot. + * + * @summary Creates or updates a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsCreate.json + */ +async function createOrUpdateManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: ManagedClusterSnapshot = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1" + }, + location: "westus", + tags: { key1: "val1", key2: "val2" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.createOrUpdate( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsDeleteSample.ts new file mode 100644 index 000000000000..15fda4caf71c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a managed cluster snapshot. + * + * @summary Deletes a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsDelete.json + */ +async function deleteManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.delete( + resourceGroupName, + resourceName + ); + console.log(result); +} + +deleteManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsGetSample.ts new file mode 100644 index 000000000000..8bd0b216e15b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a managed cluster snapshot. + * + * @summary Gets a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsGet.json + */ +async function getManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.get( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedClusterSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListByResourceGroupSample.ts new file mode 100644 index 000000000000..587f6fea5877 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists managed cluster snapshots in the specified subscription and resource group. + * + * @summary Lists managed cluster snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsListByResourceGroup.json + */ +async function listManagedClusterSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListSample.ts new file mode 100644 index 000000000000..d87223470e31 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of managed cluster snapshots in the specified subscription. + * + * @summary Gets a list of managed cluster snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsList.json + */ +async function listManagedClusterSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusterSnapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusterSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsUpdateTagsSample.ts new file mode 100644 index 000000000000..45c64b81b9d7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClusterSnapshotsUpdateTagsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags on a managed cluster snapshot. + * + * @summary Updates tags on a managed cluster snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClusterSnapshotsUpdateTags.json + */ +async function updateManagedClusterSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: TagsObject = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusterSnapshots.updateTags( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..92cc04a789a2 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersCreateOrUpdateSample.ts @@ -0,0 +1,1658 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagedCluster, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersAssociate_CRG.json + */ +async function associateManagedClusterWithCapacityReservationGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + capacityReservationGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/capacityReservationGroups/crg1", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +associateManagedClusterWithCapacityReservationGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_MCSnapshot.json + */ +async function createManagedClusterUsingAManagedClusterSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/managedclustersnapshots/snapshot1" + }, + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAManagedClusterSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Snapshot.json + */ +async function createManagedClusterUsingAnAgentPoolSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1" + }, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterUsingAnAgentPoolSnapshot().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_ManagedNATGateway.json + */ +async function createManagedClusterWithAksManagedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + natGatewayProfile: { managedOutboundIPProfile: { count: 2 } }, + outboundType: "managedNATGateway" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithAksManagedNatGatewayAsOutboundType().catch( + console.error +); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DedicatedHostGroup.json + */ +async function createManagedClusterWithDedicatedHostGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + hostGroupID: + "/subscriptions/subid1/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithDedicatedHostGroup().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableEncryptionAtHost.json + */ +async function createManagedClusterWithEncryptionAtHostEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithEncryptionAtHostEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnabledFIPS.json + */ +async function createManagedClusterWithFipsEnabledOS() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableFips: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: false, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithFipsEnabledOS().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_GPUMIG.json + */ +async function createManagedClusterWithGpumig() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + gpuInstanceProfile: "MIG3g", + mode: "System", + osType: "Linux", + vmSize: "Standard_ND96asr_v4" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithGpumig().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_HTTPProxy.json + */ +async function createManagedClusterWithHttpProxyConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithHttpProxyConfigured().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_NodePublicIPPrefix.json + */ +async function createManagedClusterWithNodePublicIPPrefix() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + nodePublicIPPrefixID: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithNodePublicIPPrefix().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_OSSKU.json + */ +async function createManagedClusterWithOssku() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osSKU: "CBLMariner", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + httpProxyConfig: { + httpProxy: "http://myproxy.server.com:8080", + httpsProxy: "https://myproxy.server.com:8080", + noProxy: ["localhost", "127.0.0.1"], + trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=" + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithOssku().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PPG.json + */ +async function createManagedClusterWithPpg() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + proximityPlacementGroupID: + "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPpg().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PodIdentity.json + */ +async function createManagedClusterWithPodIdentityEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + podIdentityProfile: { allowNetworkPluginKubenet: true, enabled: true }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithPodIdentityEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DisableRunCommand.json + */ +async function createManagedClusterWithRunCommandDisabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { disableRunCommand: true }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithRunCommandDisabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_SecurityProfile.json + */ +async function createManagedClusterWithSecurityProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + dnsPrefix: "dnsprefix1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + securityProfile: { + azureDefender: { + enabled: true, + logAnalyticsWorkspaceResourceId: + "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME" + } + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithSecurityProfileConfigured().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_EnableUltraSSD.json + */ +async function createManagedClusterWithUltraSsdEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + enableUltraSSD: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUltraSsdEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_IngressProfile_WebAppRouting.json + */ +async function createManagedClusterWithWebAppRoutingIngressProfileConfigured() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + dnsPrefix: "dnsprefix1", + ingressProfile: { + webAppRouting: { + dnsZoneResourceId: + "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME", + enabled: true + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithWebAppRoutingIngressProfileConfigured().catch( + console.error +); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UserAssignedNATGateway.json + */ +async function createManagedClusterWithUserAssignedNatGatewayAsOutboundType() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableNodePublicIP: false, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerSku: "standard", + outboundType: "userAssignedNATGateway" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedClusterWithUserAssignedNatGatewayAsOutboundType().catch( + console.error +); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json + */ +async function createManagedPrivateClusterWithPublicFqdnSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + enablePrivateClusterPublicFqdn: true + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithPublicFqdnSpecified().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json + */ +async function createManagedPrivateClusterWithFqdnSubdomainSpecified() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + count: 3, + enableEncryptionAtHost: true, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS2_v2" + } + ], + apiServerAccessProfile: { + enablePrivateCluster: true, + privateDNSZone: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io" + }, + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + enablePodSecurityPolicy: true, + enableRbac: true, + fqdnSubdomain: "domain1", + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createManagedPrivateClusterWithFqdnSubdomainSpecified().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json + */ +async function createOrUpdateAadManagedClusterWithEnableAzureRbac() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + aadProfile: { enableAzureRbac: true, managed: true }, + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateAadManagedClusterWithEnableAzureRbac().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_Update.json + */ +async function createOrUpdateManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false" + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedCluster().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithAHUB.json + */ +async function createOrUpdateManagedClusterWithEnableAhub() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + licenseType: "Windows_Server" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableAhub().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWithEnableNamespaceResources.json + */ +async function createOrUpdateManagedClusterWithEnableNamespaceResources() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enableNamespaceResources: true, + enablePodSecurityPolicy: true, + enableRbac: true, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithEnableNamespaceResources().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_UpdateWindowsGmsa.json + */ +async function createOrUpdateManagedClusterWithWindowsGMsaEnabled() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { scaleDownDelayAfterAdd: "15m", scanInterval: "20s" }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser", + gmsaProfile: { enabled: true } + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithWindowsGMsaEnabled().catch(console.error); + +/** + * This sample demonstrates how to Creates or updates a managed cluster. + * + * @summary Creates or updates a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersCreate_DualStackNetworking.json + */ +async function createOrUpdateManagedClusterWithDualStackNetworking() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedCluster = { + addonProfiles: {}, + agentPoolProfiles: [ + { + name: "nodepool1", + type: "VirtualMachineScaleSets", + availabilityZones: ["1", "2", "3"], + count: 3, + enableNodePublicIP: true, + mode: "System", + osType: "Linux", + scaleDownMode: "Deallocate", + vmSize: "Standard_DS1_v2" + } + ], + autoScalerProfile: { + balanceSimilarNodeGroups: "true", + expander: "priority", + maxNodeProvisionTime: "15m", + newPodScaleUpDelay: "1m", + scaleDownDelayAfterAdd: "15m", + scanInterval: "20s", + skipNodesWithSystemPods: "false" + }, + diskEncryptionSetID: + "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des", + dnsPrefix: "dnsprefix1", + enablePodSecurityPolicy: true, + enableRbac: true, + identity: { + type: "UserAssigned", + userAssignedIdentities: { + "/subscriptions/subid1/resourceGroups/rgName1/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + kubernetesVersion: "", + linuxProfile: { + adminUsername: "azureuser", + ssh: { publicKeys: [{ keyData: "keydata" }] } + }, + location: "location1", + networkProfile: { + ipFamilies: ["IPv4", "IPv6"], + loadBalancerProfile: { managedOutboundIPs: { count: 2 } }, + loadBalancerSku: "standard", + outboundType: "loadBalancer" + }, + servicePrincipalProfile: { clientId: "clientid", secret: "secret" }, + sku: { name: "Basic", tier: "Free" }, + tags: { archv2: "", tier: "production" }, + windowsProfile: { + adminPassword: "replacePassword1234$", + adminUsername: "azureuser" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateManagedClusterWithDualStackNetworking().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersDeleteSample.ts new file mode 100644 index 000000000000..827fb080a3d0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a managed cluster. + * + * @summary Deletes a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersDelete.json + */ +async function deleteManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginDeleteAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +deleteManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetAccessProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetAccessProfileSample.ts new file mode 100644 index 000000000000..230da6c17e69 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetAccessProfileSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . + * + * @summary **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetAccessProfile.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const roleName = "clusterUser"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getAccessProfile( + resourceGroupName, + resourceName, + roleName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetCommandResultSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetCommandResultSample.ts new file mode 100644 index 000000000000..85a22291d263 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetCommandResultSample.ts @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultFailed.json + */ +async function commandFailedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandFailedResult().catch(console.error); + +/** + * This sample demonstrates how to Gets the results of a command which has been run on the Managed Cluster. + * + * @summary Gets the results of a command which has been run on the Managed Cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandResultSucceed.json + */ +async function commandSucceedResult() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const commandId = "def7b3ea71bd4f7e9d226ddbc0f00ad9"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getCommandResult( + resourceGroupName, + resourceName, + commandId + ); + console.log(result); +} + +commandSucceedResult().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetOSOptionsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetOSOptionsSample.ts new file mode 100644 index 000000000000..9cb65eb831b7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetOSOptionsSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets supported OS options in the specified subscription. + * + * @summary Gets supported OS options in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ContainerServiceGetOSOptions.json + */ +async function getContainerServiceOSOptions() { + const subscriptionId = "subid1"; + const location = "location1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getOSOptions(location); + console.log(result); +} + +getContainerServiceOSOptions().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetSample.ts new file mode 100644 index 000000000000..4ce0262330f8 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a managed cluster. + * + * @summary Gets a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGet.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.get( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts new file mode 100644 index 000000000000..adc996cb3720 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersGetUpgradeProfileSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the upgrade profile of a managed cluster. + * + * @summary Gets the upgrade profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersGetUpgradeProfile.json + */ +async function getUpgradeProfileForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.getUpgradeProfile( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getUpgradeProfileForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListByResourceGroupSample.ts new file mode 100644 index 000000000000..98c996b33f7b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists managed clusters in the specified subscription and resource group. + * + * @summary Lists managed clusters in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListByResourceGroup.json + */ +async function getManagedClustersByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +getManagedClustersByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts new file mode 100644 index 000000000000..ac76c5cfb484 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterAdminCredentialsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the admin credentials of a managed cluster. + * + * @summary Lists the admin credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterAdminCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts new file mode 100644 index 000000000000..60d8c6858b9d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterMonitoringUserCredentialsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the cluster monitoring user credentials of a managed cluster. + * + * @summary Lists the cluster monitoring user credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterMonitoringUserCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts new file mode 100644 index 000000000000..7efed75eaf87 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListClusterUserCredentialsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the user credentials of a managed cluster. + * + * @summary Lists the user credentials of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersListClusterCredentialResult.json + */ +async function getManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.listClusterUserCredentials( + resourceGroupName, + resourceName + ); + console.log(result); +} + +getManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts new file mode 100644 index 000000000000..806a62f7022b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListOutboundNetworkDependenciesEndpointsSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * + * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/OutboundNetworkDependenciesEndpointsList.json + */ +async function listOutboundNetworkDependenciesEndpointsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.listOutboundNetworkDependenciesEndpoints( + resourceGroupName, + resourceName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listOutboundNetworkDependenciesEndpointsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListSample.ts new file mode 100644 index 000000000000..d6b05fd3dc7d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of managed clusters in the specified subscription. + * + * @summary Gets a list of managed clusters in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersList.json + */ +async function listManagedClusters() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managedClusters.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listManagedClusters().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetAadProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetAadProfileSample.ts new file mode 100644 index 000000000000..ef2925b7f302 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetAadProfileSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagedClusterAADProfile, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Reset the AAD Profile of a managed cluster. + * + * @summary Reset the AAD Profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetAADProfile.json + */ +async function resetAadProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedClusterAADProfile = { + clientAppID: "clientappid", + serverAppID: "serverappid", + serverAppSecret: "serverappsecret", + tenantID: "tenantid" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetAADProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetAadProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts new file mode 100644 index 000000000000..f623b7fb8a3d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersResetServicePrincipalProfileSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagedClusterServicePrincipalProfile, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal + * + * @summary This action cannot be performed on a cluster that is not using a service principal + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersResetServicePrincipalProfile.json + */ +async function resetServicePrincipalProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedClusterServicePrincipalProfile = { + clientId: "clientid", + secret: "secret" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetServicePrincipalProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetServicePrincipalProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts new file mode 100644 index 000000000000..9c5a1726c413 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateClusterCertificatesSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * + * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateClusterCertificates.json + */ +async function rotateClusterCertificates() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateClusterCertificatesAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterCertificates().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts new file mode 100644 index 000000000000..9f82530282cd --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRotateServiceAccountSigningKeysSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Rotates the service account signing keys of a managed cluster. + * + * @summary Rotates the service account signing keys of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersRotateServiceAccountSigningKeys.json + */ +async function rotateClusterServiceAccountSigningKeys() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateServiceAccountSigningKeysAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterServiceAccountSigningKeys().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRunCommandSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRunCommandSample.ts new file mode 100644 index 000000000000..05b21eac6a5e --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersRunCommandSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + RunCommandRequest, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * + * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/RunCommandRequest.json + */ +async function submitNewCommand() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const requestPayload: RunCommandRequest = { + clusterToken: "", + command: "kubectl apply -f ns.yaml", + context: "" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRunCommandAndWait( + resourceGroupName, + resourceName, + requestPayload + ); + console.log(result); +} + +submitNewCommand().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStartSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStartSample.ts new file mode 100644 index 000000000000..02c7a298052b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStartSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * + * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStart.json + */ +async function startManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStartAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +startManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStopSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStopSample.ts new file mode 100644 index 000000000000..3ce68d5bdbe7 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersStopSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * + * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersStop.json + */ +async function stopManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStopAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +stopManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersUpdateTagsSample.ts new file mode 100644 index 000000000000..b4dc51ccee8d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/managedClustersUpdateTagsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags on a managed cluster. + * + * @summary Updates tags on a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ManagedClustersUpdateTags.json + */ +async function updateManagedClusterTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: TagsObject = { tags: { archv3: "", tier: "testing" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginUpdateTagsAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/operationsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..945b99ec7e65 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/operationsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of operations. + * + * @summary Gets a list of operations. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/Operation_List.json + */ +async function listAvailableOperationsForTheContainerServiceResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheContainerServiceResourceProvider().catch( + console.error +); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts new file mode 100644 index 000000000000..522255eafbc0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a private endpoint connection. + * + * @summary Deletes a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsDelete.json + */ +async function deletePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.beginDeleteAndWait( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +deletePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsGetSample.ts new file mode 100644 index 000000000000..7cc424e132af --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsGet.json + */ +async function getPrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + resourceName, + privateEndpointConnectionName + ); + console.log(result); +} + +getPrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsListSample.ts new file mode 100644 index 000000000000..490a04b3af1c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsList.json + */ +async function listPrivateEndpointConnectionsByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.list( + resourceGroupName, + resourceName + ); + console.log(result); +} + +listPrivateEndpointConnectionsByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsUpdateSample.ts new file mode 100644 index 000000000000..a12cbf44880c --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateEndpointConnectionsUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateEndpointConnection, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates a private endpoint connection. + * + * @summary Updates a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateEndpointConnectionsUpdate.json + */ +async function updatePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const parameters: PrivateEndpointConnection = { + privateLinkServiceConnectionState: { status: "Approved" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.update( + resourceGroupName, + resourceName, + privateEndpointConnectionName, + parameters + ); + console.log(result); +} + +updatePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateLinkResourcesListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateLinkResourcesListSample.ts new file mode 100644 index 000000000000..f6e517bd5e4d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/privateLinkResourcesListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * + * @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/PrivateLinkResourcesList.json + */ +async function listPrivateLinkResourcesByManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateLinkResources.list( + resourceGroupName, + resourceName + ); + console.log(result); +} + +listPrivateLinkResourcesByManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetAadProfile.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetAadProfile.ts new file mode 100644 index 000000000000..d452ca0f6cdb --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetAadProfile.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Reset the AAD Profile of a managed cluster. + * + * @summary Reset the AAD Profile of a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetAADProfile.json + */ +import { + ManagedClusterAADProfile, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function resetAadProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedClusterAADProfile = { + clientAppID: "clientappid", + serverAppID: "serverappid", + serverAppSecret: "serverappsecret", + tenantID: "tenantid" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetAADProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetAadProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetServicePrincipalProfile.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetServicePrincipalProfile.ts new file mode 100644 index 000000000000..f33bf51974a0 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resetServicePrincipalProfile.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal + * + * @summary This action cannot be performed on a cluster that is not using a service principal + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersResetServicePrincipalProfile.json + */ +import { + ManagedClusterServicePrincipalProfile, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function resetServicePrincipalProfile() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: ManagedClusterServicePrincipalProfile = { + clientId: "clientid", + secret: "secret" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginResetServicePrincipalProfileAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resetServicePrincipalProfile().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolvePrivateLinkServiceIdPostSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolvePrivateLinkServiceIdPostSample.ts new file mode 100644 index 000000000000..263a83b2233b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolvePrivateLinkServiceIdPostSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateLinkResource, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. + * + * @summary Gets the private link service ID for the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/ResolvePrivateLinkServiceId.json + */ +async function resolveThePrivateLinkServiceIdForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: PrivateLinkResource = { name: "management" }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.resolvePrivateLinkServiceId.post( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resolveThePrivateLinkServiceIdForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolveThePrivateLinkServiceIdForManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolveThePrivateLinkServiceIdForManagedCluster.ts new file mode 100644 index 000000000000..dff4d8559a95 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/resolveThePrivateLinkServiceIdForManagedCluster.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Gets the private link service ID for the specified managed cluster. + * + * @summary Gets the private link service ID for the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ResolvePrivateLinkServiceId.json + */ +import { + PrivateLinkResource, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function resolveThePrivateLinkServiceIdForManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: PrivateLinkResource = { name: "management" }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.resolvePrivateLinkServiceId.post( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +resolveThePrivateLinkServiceIdForManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/rotateClusterCertificates.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/rotateClusterCertificates.ts new file mode 100644 index 000000000000..002290ef1f4a --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/rotateClusterCertificates.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * + * @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersRotateClusterCertificates.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function rotateClusterCertificates() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRotateClusterCertificatesAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +rotateClusterCertificates().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsCreateOrUpdateSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..d1e84753866b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsCreateOrUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { Snapshot, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a snapshot. + * + * @summary Creates or updates a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsCreate.json + */ +async function createOrUpdateSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: Snapshot = { + creationData: { + sourceResourceId: + "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0" + }, + location: "westus", + tags: { key1: "val1", key2: "val2" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.createOrUpdate( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +createOrUpdateSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsDeleteSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsDeleteSample.ts new file mode 100644 index 000000000000..762f0dfd1057 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsDeleteSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a snapshot. + * + * @summary Deletes a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsDelete.json + */ +async function deleteSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsGetSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsGetSample.ts new file mode 100644 index 000000000000..82bff84c6c76 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a snapshot. + * + * @summary Gets a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsGet.json + */ +async function getSnapshot() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.get(resourceGroupName, resourceName); + console.log(result); +} + +getSnapshot().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListByResourceGroupSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListByResourceGroupSample.ts new file mode 100644 index 000000000000..4fd50e410181 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists snapshots in the specified subscription and resource group. + * + * @summary Lists snapshots in the specified subscription and resource group. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsListByResourceGroup.json + */ +async function listSnapshotsByResourceGroup() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshotsByResourceGroup().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListSample.ts new file mode 100644 index 000000000000..bcdf22f842d4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of snapshots in the specified subscription. + * + * @summary Gets a list of snapshots in the specified subscription. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsList.json + */ +async function listSnapshots() { + const subscriptionId = "subid1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.snapshots.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSnapshots().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsUpdateTagsSample.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsUpdateTagsSample.ts new file mode 100644 index 000000000000..0bbcad3d876b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/snapshotsUpdateTagsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags on a snapshot. + * + * @summary Updates tags on a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-03-02-preview/examples/SnapshotsUpdateTags.json + */ +async function updateSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: TagsObject = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.updateTags( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startAgentPool.ts new file mode 100644 index 000000000000..da11fe149751 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startAgentPool.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Start.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function startAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { powerState: { code: "Running" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +startAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startManagedCluster.ts new file mode 100644 index 000000000000..c651026cee93 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/startManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * + * @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStart.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function startManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStartAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +startManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopAgentPool.ts new file mode 100644 index 000000000000..d097562b4b3d --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopAgentPool.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Stop.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function stopAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { powerState: { code: "Stopped" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +stopAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopManagedCluster.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopManagedCluster.ts new file mode 100644 index 000000000000..ec7580095818 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/stopManagedCluster.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * + * @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersStop.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function stopManagedCluster() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginStopAndWait( + resourceGroupName, + resourceName + ); + console.log(result); +} + +stopManagedCluster().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/submitNewCommand.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/submitNewCommand.ts new file mode 100644 index 000000000000..d491445abc39 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/submitNewCommand.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * + * @summary AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/RunCommandRequest.json + */ +import { + RunCommandRequest, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function submitNewCommand() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const requestPayload: RunCommandRequest = { + clusterToken: "", + command: "kubectl apply -f ns.yaml", + context: "" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginRunCommandAndWait( + resourceGroupName, + resourceName, + requestPayload + ); + console.log(result); +} + +submitNewCommand().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateAgentPool.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateAgentPool.ts new file mode 100644 index 000000000000..35b855be63cd --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateAgentPool.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Creates or updates an agent pool in the specified managed cluster. + * + * @summary Creates or updates an agent pool in the specified managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPools_Update.json + */ +import { AgentPool, ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function updateAgentPool() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const parameters: AgentPool = { + count: 3, + enableAutoScaling: true, + maxCount: 2, + minCount: 2, + nodeTaints: ["Key1=Value1:NoSchedule"], + orchestratorVersion: "", + osType: "Linux", + scaleSetEvictionPolicy: "Delete", + scaleSetPriority: "Spot", + vmSize: "Standard_DS1_v2" + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginCreateOrUpdateAndWait( + resourceGroupName, + resourceName, + agentPoolName, + parameters + ); + console.log(result); +} + +updateAgentPool().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateManagedClusterTags.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateManagedClusterTags.ts new file mode 100644 index 000000000000..710cc39e6dbc --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateManagedClusterTags.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates tags on a managed cluster. + * + * @summary Updates tags on a managed cluster. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/ManagedClustersUpdateTags.json + */ +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function updateManagedClusterTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const parameters: TagsObject = { tags: { archv3: "", tier: "testing" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.managedClusters.beginUpdateTagsAndWait( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateManagedClusterTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updatePrivateEndpointConnection.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updatePrivateEndpointConnection.ts new file mode 100644 index 000000000000..0d77112cd0ab --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updatePrivateEndpointConnection.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates a private endpoint connection. + * + * @summary Updates a private endpoint connection. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/PrivateEndpointConnectionsUpdate.json + */ +import { + PrivateEndpointConnection, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function updatePrivateEndpointConnection() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const privateEndpointConnectionName = "privateendpointconnection1"; + const parameters: PrivateEndpointConnection = { + privateLinkServiceConnectionState: { status: "Approved" } + }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.update( + resourceGroupName, + resourceName, + privateEndpointConnectionName, + parameters + ); + console.log(result); +} + +updatePrivateEndpointConnection().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateSnapshotTags.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateSnapshotTags.ts new file mode 100644 index 000000000000..f98829e3ea01 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/updateSnapshotTags.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Updates tags on a snapshot. + * + * @summary Updates tags on a snapshot. + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/SnapshotsUpdateTags.json + */ +import { + TagsObject, + ContainerServiceClient +} from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function updateSnapshotTags() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "snapshot1"; + const parameters: TagsObject = { tags: { key2: "new-val2", key3: "val3" } }; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.snapshots.updateTags( + resourceGroupName, + resourceName, + parameters + ); + console.log(result); +} + +updateSnapshotTags().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/upgradeAgentPoolNodeImageVersion.ts b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/upgradeAgentPoolNodeImageVersion.ts new file mode 100644 index 000000000000..e4b7d5d4e892 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/src/upgradeAgentPoolNodeImageVersion.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +/** + * This sample demonstrates how to Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * + * @summary Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade + * x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2022-01-01/examples/AgentPoolsUpgradeNodeImageVersion.json + */ +import { ContainerServiceClient } from "@azure/arm-containerservice"; +import { DefaultAzureCredential } from "@azure/identity"; + +async function upgradeAgentPoolNodeImageVersion() { + const subscriptionId = "subid1"; + const resourceGroupName = "rg1"; + const resourceName = "clustername1"; + const agentPoolName = "agentpool1"; + const credential = new DefaultAzureCredential(); + const client = new ContainerServiceClient(credential, subscriptionId); + const result = await client.agentPools.beginUpgradeNodeImageVersionAndWait( + resourceGroupName, + resourceName, + agentPoolName + ); + console.log(result); +} + +upgradeAgentPoolNodeImageVersion().catch(console.error); diff --git a/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/tsconfig.json b/sdk/containerservice/arm-containerservice/samples/v16-beta/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/samples/v16-beta/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/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index 833ee1126d83..a7ac1f385fa8 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -17,7 +17,8 @@ import { PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, ResolvePrivateLinkServiceIdImpl, - SnapshotsImpl + SnapshotsImpl, + ManagedClusterSnapshotsImpl } from "./operations"; import { Operations, @@ -27,7 +28,8 @@ import { PrivateEndpointConnections, PrivateLinkResources, ResolvePrivateLinkServiceId, - Snapshots + Snapshots, + ManagedClusterSnapshots } from "./operationsInterfaces"; import { ContainerServiceClientOptionalParams } from "./models"; @@ -63,7 +65,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-containerservice/16.0.0`; + const packageDetails = `azsdk-js-arm-containerservice/16.1.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -110,7 +112,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-03-01"; + this.apiVersion = options.apiVersion || "2022-03-02-preview"; this.operations = new OperationsImpl(this); this.managedClusters = new ManagedClustersImpl(this); this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this); @@ -121,6 +123,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { this ); this.snapshots = new SnapshotsImpl(this); + this.managedClusterSnapshots = new ManagedClusterSnapshotsImpl(this); } operations: Operations; @@ -131,4 +134,5 @@ export class ContainerServiceClient extends coreClient.ServiceClient { privateLinkResources: PrivateLinkResources; resolvePrivateLinkServiceId: ResolvePrivateLinkServiceId; snapshots: Snapshots; + managedClusterSnapshots: ManagedClusterSnapshots; } diff --git a/sdk/containerservice/arm-containerservice/src/models/index.ts b/sdk/containerservice/arm-containerservice/src/models/index.ts index f0eed7e2ce5c..2fefc02d087e 100644 --- a/sdk/containerservice/arm-containerservice/src/models/index.ts +++ b/sdk/containerservice/arm-containerservice/src/models/index.ts @@ -164,6 +164,12 @@ export interface PowerState { code?: Code; } +/** Data used when creating a target resource from a source resource. */ +export interface CreationData { + /** This is the ARM ID of the source object to be used to create the target object. */ + sourceResourceId?: string; +} + /** Properties for the container service agent pool profile. */ export interface ManagedClusterAgentPoolProfileProperties { /** Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1. */ @@ -178,6 +184,8 @@ export interface ManagedClusterAgentPoolProfileProperties { kubeletDiskType?: KubeletDiskType; /** Determines the type of workload a node can run. */ workloadRuntime?: WorkloadRuntime; + /** A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). */ + messageOfTheDay?: string; /** If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: string; /** If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -200,8 +208,10 @@ export interface ManagedClusterAgentPoolProfileProperties { type?: AgentPoolType; /** A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ mode?: AgentPoolMode; - /** As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ + /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; + /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ + currentOrchestratorVersion?: string; /** * The version of node image * NOTE: This property will not be serialized. It can only be populated by the server. @@ -250,6 +260,10 @@ export interface ManagedClusterAgentPoolProfileProperties { gpuInstanceProfile?: GPUInstanceProfile; /** CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ creationData?: CreationData; + /** AKS will associate the specified agent pool with the Capacity Reservation Group. */ + capacityReservationGroupID?: string; + /** This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ + hostGroupID?: string; } /** Settings for upgrading an agentpool */ @@ -356,12 +370,6 @@ export interface SysctlConfig { vmVfsCachePressure?: number; } -/** Data used when creating a target resource from a source resource. */ -export interface CreationData { - /** This is the ARM ID of the source object to be used to create the target object. */ - sourceResourceId?: string; -} - /** Profile for Linux VMs in the container service cluster. */ export interface ContainerServiceLinuxProfile { /** The administrator username to use for Linux VMs. */ @@ -501,6 +509,17 @@ export interface ManagedClusterPodIdentityException { podLabels: { [propertyName: string]: string }; } +/** The OIDC issuer profile of the Managed Cluster. */ +export interface ManagedClusterOidcIssuerProfile { + /** + * The OIDC issuer url of the Managed Cluster. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly issuerURL?: string; + /** Whether the OIDC issuer is enabled. */ + enabled?: boolean; +} + /** Profile of network configuration. */ export interface ContainerServiceNetworkProfile { /** Network plugin used for building the Kubernetes network. */ @@ -696,6 +715,11 @@ export interface ManagedClusterHttpProxyConfig { httpsProxy?: string; /** The endpoints that should not go through proxy. */ noProxy?: string[]; + /** + * A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a superset of noProxy and values injected by AKS. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly effectiveNoProxy?: string[]; /** Alternative CA cert to use for connecting to proxy servers. */ trustedCa?: string; } @@ -704,6 +728,10 @@ export interface ManagedClusterHttpProxyConfig { export interface ManagedClusterSecurityProfile { /** Azure Defender settings for the security profile. */ azureDefender?: ManagedClusterSecurityProfileAzureDefender; + /** Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile. */ + azureKeyVaultKms?: AzureKeyVaultKms; + /** [Workload Identity](https://azure.github.io/azure-workload-identity/docs/) settings for the security profile. */ + workloadIdentity?: ManagedClusterSecurityProfileWorkloadIdentity; } /** Azure Defender settings for the security profile. */ @@ -714,6 +742,34 @@ export interface ManagedClusterSecurityProfileAzureDefender { logAnalyticsWorkspaceResourceId?: string; } +/** Azure Key Vault key management service settings for the security profile. */ +export interface AzureKeyVaultKms { + /** Whether to enable Azure Key Vault key management service. The default is false. */ + enabled?: boolean; + /** Identifier of Azure Key Vault key. See [key identifier format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name) for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty. */ + keyId?: string; +} + +/** Workload Identity settings for the security profile. */ +export interface ManagedClusterSecurityProfileWorkloadIdentity { + /** Whether to enable Workload Identity */ + enabled?: boolean; +} + +/** Ingress profile for the container service cluster. */ +export interface ManagedClusterIngressProfile { + /** Web App Routing settings for the ingress profile. */ + webAppRouting?: ManagedClusterIngressProfileWebAppRouting; +} + +/** Web App Routing settings for the ingress profile. */ +export interface ManagedClusterIngressProfileWebAppRouting { + /** Whether to enable Web App Routing. */ + enabled?: boolean; + /** Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled. */ + dnsZoneResourceId?: string; +} + /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** @@ -1099,6 +1155,44 @@ export interface SnapshotListResult { readonly nextLink?: string; } +/** The response from the List Managed Cluster Snapshots operation. */ +export interface ManagedClusterSnapshotListResult { + /** The list of managed cluster snapshots. */ + value?: ManagedClusterSnapshot[]; + /** + * The URL to get the next set of managed cluster snapshot results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** managed cluster properties for snapshot, these properties are read only. */ +export interface ManagedClusterPropertiesForSnapshot { + /** The current kubernetes version. */ + kubernetesVersion?: string; + /** The current managed cluster sku. */ + sku?: ManagedClusterSKU; + /** Whether the cluster has enabled Kubernetes Role-Based Access Control or not. */ + enableRbac?: boolean; + /** + * The current network profile. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly networkProfile?: NetworkProfileForSnapshot; +} + +/** network profile for managed cluster snapshot, these properties are read only. */ +export interface NetworkProfileForSnapshot { + /** networkPlugin for managed cluster snapshot. */ + networkPlugin?: NetworkPlugin; + /** networkPolicy for managed cluster snapshot. */ + networkPolicy?: NetworkPolicy; + /** networkMode for managed cluster snapshot. */ + networkMode?: NetworkMode; + /** loadBalancerSku for managed cluster snapshot. */ + loadBalancerSku?: LoadBalancerSku; +} + /** Profile for the container service master. */ export interface ContainerServiceMasterProfile { /** Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1. */ @@ -1153,6 +1247,8 @@ export interface ManagedClusterStorageProfile { export interface ManagedClusterStorageProfileDiskCSIDriver { /** Whether to enable AzureDisk CSI Driver. The default value is true. */ enabled?: boolean; + /** The version of AzureDisk CSI Driver. The default value is v1. */ + version?: string; } /** AzureFile CSI Driver settings for the storage profile. */ @@ -1211,6 +1307,8 @@ export type AgentPool = SubResource & { kubeletDiskType?: KubeletDiskType; /** Determines the type of workload a node can run. */ workloadRuntime?: WorkloadRuntime; + /** A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script). */ + messageOfTheDay?: string; /** If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ vnetSubnetID?: string; /** If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} */ @@ -1233,8 +1331,10 @@ export type AgentPool = SubResource & { typePropertiesType?: AgentPoolType; /** A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools */ mode?: AgentPoolMode; - /** As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ + /** Both patch version and are supported. When is specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same once it has been created will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). */ orchestratorVersion?: string; + /** If orchestratorVersion was a fully specified version , this field will be exactly equal to it. If orchestratorVersion was , this field will contain the full version being used. */ + currentOrchestratorVersion?: string; /** * The version of node image * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1283,6 +1383,10 @@ export type AgentPool = SubResource & { gpuInstanceProfile?: GPUInstanceProfile; /** CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */ creationData?: CreationData; + /** AKS will associate the specified agent pool with the Capacity Reservation Group. */ + capacityReservationGroupID?: string; + /** This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */ + hostGroupID?: string; }; /** Managed cluster. */ @@ -1303,6 +1407,8 @@ export type ManagedCluster = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly powerState?: PowerState; + /** CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a snapshot. */ + creationData?: CreationData; /** * The max number of agent pools for the managed cluster. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1310,6 +1416,11 @@ export type ManagedCluster = TrackedResource & { readonly maxAgentPools?: number; /** When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details. */ kubernetesVersion?: string; + /** + * The version of Kubernetes the Managed Cluster is running. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly currentKubernetesVersion?: string; /** This cannot be updated once the Managed Cluster has been created. */ dnsPrefix?: string; /** This cannot be updated once the Managed Cluster has been created. */ @@ -1341,12 +1452,16 @@ export type ManagedCluster = TrackedResource & { addonProfiles?: { [propertyName: string]: ManagedClusterAddonProfile }; /** See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration. */ podIdentityProfile?: ManagedClusterPodIdentityProfile; + /** The OIDC issuer profile of the Managed Cluster. */ + oidcIssuerProfile?: ManagedClusterOidcIssuerProfile; /** The name of the resource group containing agent pool nodes. */ nodeResourceGroup?: string; /** Whether to enable Kubernetes Role-Based Access Control. */ enableRbac?: boolean; /** (DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy. */ enablePodSecurityPolicy?: boolean; + /** The default value is false. It can be enabled/disabled on creation and updation of the managed cluster. See [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as a ARM Resource. */ + enableNamespaceResources?: boolean; /** The network configuration profile. */ networkProfile?: ContainerServiceNetworkProfile; /** The Azure Active Directory configuration. */ @@ -1369,6 +1484,8 @@ export type ManagedCluster = TrackedResource & { httpProxyConfig?: ManagedClusterHttpProxyConfig; /** Security profile for the managed cluster. */ securityProfile?: ManagedClusterSecurityProfile; + /** Ingress profile for the managed cluster. */ + ingressProfile?: ManagedClusterIngressProfile; /** Allow or deny public network access for AKS */ publicNetworkAccess?: PublicNetworkAccess; }; @@ -1417,6 +1534,19 @@ export type Snapshot = TrackedResource & { readonly enableFips?: boolean; }; +/** A managed cluster snapshot resource. */ +export type ManagedClusterSnapshot = TrackedResource & { + /** CreationData to be used to specify the source resource ID to create this snapshot. */ + creationData?: CreationData; + /** The type of a snapshot. The default is NodePool. */ + snapshotType?: SnapshotType; + /** + * What the properties will be showed when getting managed cluster snapshot. Those properties are read-only. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly managedClusterPropertiesReadOnly?: ManagedClusterPropertiesForSnapshot; +}; + /** Defines headers for AgentPools_upgradeNodeImageVersion operation. */ export interface AgentPoolsUpgradeNodeImageVersionHeaders { /** URL to query for status of the operation. */ @@ -1730,7 +1860,9 @@ export enum KnownNetworkPlugin { /** Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for more information. */ Azure = "azure", /** Use the Kubenet network plugin. See [Kubenet (basic) networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more information. */ - Kubenet = "kubenet" + Kubenet = "kubenet", + /** Do not use a network plugin. A custom CNI will need to be installed after cluster creation for networking functionality. */ + None = "none" } /** @@ -1739,7 +1871,8 @@ export enum KnownNetworkPlugin { * this enum contains the known values that the service supports. * ### Known values supported by the service * **azure**: Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https:\/\/docs.microsoft.com\/azure\/aks\/concepts-network#azure-cni-advanced-networking) for more information. \ - * **kubenet**: Use the Kubenet network plugin. See [Kubenet (basic) networking](https:\/\/docs.microsoft.com\/azure\/aks\/concepts-network#kubenet-basic-networking) for more information. + * **kubenet**: Use the Kubenet network plugin. See [Kubenet (basic) networking](https:\/\/docs.microsoft.com\/azure\/aks\/concepts-network#kubenet-basic-networking) for more information. \ + * **none**: Do not use a network plugin. A custom CNI will need to be installed after cluster creation for networking functionality. */ export type NetworkPlugin = string; @@ -2011,7 +2144,9 @@ export type ConnectionStatus = string; /** Known values of {@link SnapshotType} that the service accepts. */ export enum KnownSnapshotType { /** The snapshot is a snapshot of a node pool. */ - NodePool = "NodePool" + NodePool = "NodePool", + /** The snapshot is a snapshot of a managed cluster. */ + ManagedCluster = "ManagedCluster" } /** @@ -2019,7 +2154,8 @@ export enum KnownSnapshotType { * {@link KnownSnapshotType} can be used interchangeably with SnapshotType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **NodePool**: The snapshot is a snapshot of a node pool. + * **NodePool**: The snapshot is a snapshot of a node pool. \ + * **ManagedCluster**: The snapshot is a snapshot of a managed cluster. */ export type SnapshotType = string; @@ -2514,6 +2650,8 @@ export type ManagedClustersUpdateTagsResponse = ManagedCluster; /** Optional parameters. */ export interface ManagedClustersDeleteOptionalParams extends coreClient.OperationOptions { + /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ + ignorePodDisruptionBudget?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -2547,6 +2685,15 @@ export interface ManagedClustersRotateClusterCertificatesOptionalParams resumeFrom?: string; } +/** Optional parameters. */ +export interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + /** Optional parameters. */ export interface ManagedClustersStopOptionalParams extends coreClient.OperationOptions { @@ -2673,6 +2820,8 @@ export type AgentPoolsCreateOrUpdateResponse = AgentPool; /** Optional parameters. */ export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions { + /** ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget */ + ignorePodDisruptionBudget?: boolean; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -2806,6 +2955,59 @@ export interface SnapshotsListByResourceGroupNextOptionalParams /** Contains response data for the listByResourceGroupNext operation. */ export type SnapshotsListByResourceGroupNextResponse = SnapshotListResult; +/** Optional parameters. */ +export interface ManagedClusterSnapshotsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ManagedClusterSnapshotsListResponse = ManagedClusterSnapshotListResult; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type ManagedClusterSnapshotsListByResourceGroupResponse = ManagedClusterSnapshotListResult; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ManagedClusterSnapshotsGetResponse = ManagedClusterSnapshot; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ManagedClusterSnapshotsCreateOrUpdateResponse = ManagedClusterSnapshot; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsUpdateTagsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the updateTags operation. */ +export type ManagedClusterSnapshotsUpdateTagsResponse = ManagedClusterSnapshot; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ManagedClusterSnapshotsListNextResponse = ManagedClusterSnapshotListResult; + +/** Optional parameters. */ +export interface ManagedClusterSnapshotsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ManagedClusterSnapshotsListByResourceGroupNextResponse = ManagedClusterSnapshotListResult; + /** Optional parameters. */ export interface ContainerServiceClientOptionalParams extends coreClient.ServiceClientOptions { diff --git a/sdk/containerservice/arm-containerservice/src/models/mappers.ts b/sdk/containerservice/arm-containerservice/src/models/mappers.ts index 9f41f45edf12..e25358b421cf 100644 --- a/sdk/containerservice/arm-containerservice/src/models/mappers.ts +++ b/sdk/containerservice/arm-containerservice/src/models/mappers.ts @@ -352,6 +352,21 @@ export const PowerState: coreClient.CompositeMapper = { } }; +export const CreationData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CreationData", + modelProperties: { + sourceResourceId: { + serializedName: "sourceResourceId", + type: { + name: "String" + } + } + } + } +}; + export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -397,6 +412,12 @@ export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMappe name: "String" } }, + messageOfTheDay: { + serializedName: "messageOfTheDay", + type: { + name: "String" + } + }, vnetSubnetID: { serializedName: "vnetSubnetID", type: { @@ -470,6 +491,12 @@ export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMappe name: "String" } }, + currentOrchestratorVersion: { + serializedName: "currentOrchestratorVersion", + type: { + name: "String" + } + }, nodeImageVersion: { serializedName: "nodeImageVersion", readOnly: true, @@ -617,6 +644,18 @@ export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMappe name: "Composite", className: "CreationData" } + }, + capacityReservationGroupID: { + serializedName: "capacityReservationGroupID", + type: { + name: "String" + } + }, + hostGroupID: { + serializedName: "hostGroupID", + type: { + name: "String" + } } } } @@ -931,21 +970,6 @@ export const SysctlConfig: coreClient.CompositeMapper = { } }; -export const CreationData: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CreationData", - modelProperties: { - sourceResourceId: { - serializedName: "sourceResourceId", - type: { - name: "String" - } - } - } - } -}; - export const ContainerServiceLinuxProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1354,6 +1378,28 @@ export const ManagedClusterPodIdentityException: coreClient.CompositeMapper = { } }; +export const ManagedClusterOidcIssuerProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterOidcIssuerProfile", + modelProperties: { + issuerURL: { + serializedName: "issuerURL", + readOnly: true, + type: { + name: "String" + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + } + } + } +}; + export const ContainerServiceNetworkProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2012,6 +2058,18 @@ export const ManagedClusterHttpProxyConfig: coreClient.CompositeMapper = { } } }, + effectiveNoProxy: { + serializedName: "effectiveNoProxy", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, trustedCa: { serializedName: "trustedCa", type: { @@ -2033,6 +2091,20 @@ export const ManagedClusterSecurityProfile: coreClient.CompositeMapper = { name: "Composite", className: "ManagedClusterSecurityProfileAzureDefender" } + }, + azureKeyVaultKms: { + serializedName: "azureKeyVaultKms", + type: { + name: "Composite", + className: "AzureKeyVaultKms" + } + }, + workloadIdentity: { + serializedName: "workloadIdentity", + type: { + name: "Composite", + className: "ManagedClusterSecurityProfileWorkloadIdentity" + } } } } @@ -2059,6 +2131,79 @@ export const ManagedClusterSecurityProfileAzureDefender: coreClient.CompositeMap } }; +export const AzureKeyVaultKms: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureKeyVaultKms", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + keyId: { + serializedName: "keyId", + type: { + name: "String" + } + } + } + } +}; + +export const ManagedClusterSecurityProfileWorkloadIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterSecurityProfileWorkloadIdentity", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ManagedClusterIngressProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterIngressProfile", + modelProperties: { + webAppRouting: { + serializedName: "webAppRouting", + type: { + name: "Composite", + className: "ManagedClusterIngressProfileWebAppRouting" + } + } + } + } +}; + +export const ManagedClusterIngressProfileWebAppRouting: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterIngressProfileWebAppRouting", + modelProperties: { + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + dnsZoneResourceId: { + serializedName: "dnsZoneResourceId", + type: { + name: "String" + } + } + } + } +}; + export const Resource: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2965,6 +3110,103 @@ export const SnapshotListResult: coreClient.CompositeMapper = { } }; +export const ManagedClusterSnapshotListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterSnapshotListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedClusterSnapshot" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ManagedClusterPropertiesForSnapshot: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterPropertiesForSnapshot", + modelProperties: { + kubernetesVersion: { + serializedName: "kubernetesVersion", + type: { + name: "String" + } + }, + sku: { + serializedName: "sku", + type: { + name: "Composite", + className: "ManagedClusterSKU" + } + }, + enableRbac: { + serializedName: "enableRbac", + type: { + name: "Boolean" + } + }, + networkProfile: { + serializedName: "networkProfile", + type: { + name: "Composite", + className: "NetworkProfileForSnapshot" + } + } + } + } +}; + +export const NetworkProfileForSnapshot: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "NetworkProfileForSnapshot", + modelProperties: { + networkPlugin: { + defaultValue: "kubenet", + serializedName: "networkPlugin", + type: { + name: "String" + } + }, + networkPolicy: { + serializedName: "networkPolicy", + type: { + name: "String" + } + }, + networkMode: { + serializedName: "networkMode", + type: { + name: "String" + } + }, + loadBalancerSku: { + serializedName: "loadBalancerSku", + type: { + name: "String" + } + } + } + } +}; + export const ContainerServiceMasterProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -3111,6 +3353,12 @@ export const ManagedClusterStorageProfileDiskCSIDriver: coreClient.CompositeMapp type: { name: "Boolean" } + }, + version: { + serializedName: "version", + type: { + name: "String" + } } } } @@ -3287,6 +3535,12 @@ export const AgentPool: coreClient.CompositeMapper = { name: "String" } }, + messageOfTheDay: { + serializedName: "properties.messageOfTheDay", + type: { + name: "String" + } + }, vnetSubnetID: { serializedName: "properties.vnetSubnetID", type: { @@ -3360,6 +3614,12 @@ export const AgentPool: coreClient.CompositeMapper = { name: "String" } }, + currentOrchestratorVersion: { + serializedName: "properties.currentOrchestratorVersion", + type: { + name: "String" + } + }, nodeImageVersion: { serializedName: "properties.nodeImageVersion", readOnly: true, @@ -3507,6 +3767,18 @@ export const AgentPool: coreClient.CompositeMapper = { name: "Composite", className: "CreationData" } + }, + capacityReservationGroupID: { + serializedName: "properties.capacityReservationGroupID", + type: { + name: "String" + } + }, + hostGroupID: { + serializedName: "properties.hostGroupID", + type: { + name: "String" + } } } } @@ -3553,6 +3825,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { className: "PowerState" } }, + creationData: { + serializedName: "properties.creationData", + type: { + name: "Composite", + className: "CreationData" + } + }, maxAgentPools: { serializedName: "properties.maxAgentPools", readOnly: true, @@ -3566,6 +3845,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { name: "String" } }, + currentKubernetesVersion: { + serializedName: "properties.currentKubernetesVersion", + readOnly: true, + type: { + name: "String" + } + }, dnsPrefix: { serializedName: "properties.dnsPrefix", type: { @@ -3648,6 +3934,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { className: "ManagedClusterPodIdentityProfile" } }, + oidcIssuerProfile: { + serializedName: "properties.oidcIssuerProfile", + type: { + name: "Composite", + className: "ManagedClusterOidcIssuerProfile" + } + }, nodeResourceGroup: { serializedName: "properties.nodeResourceGroup", type: { @@ -3666,6 +3959,12 @@ export const ManagedCluster: coreClient.CompositeMapper = { name: "Boolean" } }, + enableNamespaceResources: { + serializedName: "properties.enableNamespaceResources", + type: { + name: "Boolean" + } + }, networkProfile: { serializedName: "properties.networkProfile", type: { @@ -3748,6 +4047,13 @@ export const ManagedCluster: coreClient.CompositeMapper = { className: "ManagedClusterSecurityProfile" } }, + ingressProfile: { + serializedName: "properties.ingressProfile", + type: { + name: "Composite", + className: "ManagedClusterIngressProfile" + } + }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", type: { @@ -3841,6 +4147,37 @@ export const Snapshot: coreClient.CompositeMapper = { } }; +export const ManagedClusterSnapshot: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedClusterSnapshot", + modelProperties: { + ...TrackedResource.type.modelProperties, + creationData: { + serializedName: "properties.creationData", + type: { + name: "Composite", + className: "CreationData" + } + }, + snapshotType: { + defaultValue: "NodePool", + serializedName: "properties.snapshotType", + type: { + name: "String" + } + }, + managedClusterPropertiesReadOnly: { + serializedName: "properties.managedClusterPropertiesReadOnly", + type: { + name: "Composite", + className: "ManagedClusterPropertiesForSnapshot" + } + } + } + } +}; + export const AgentPoolsUpgradeNodeImageVersionHeaders: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/containerservice/arm-containerservice/src/models/parameters.ts b/sdk/containerservice/arm-containerservice/src/models/parameters.ts index e386a546621f..c83c37a48294 100644 --- a/sdk/containerservice/arm-containerservice/src/models/parameters.ts +++ b/sdk/containerservice/arm-containerservice/src/models/parameters.ts @@ -21,7 +21,8 @@ import { AgentPool as AgentPoolMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper, PrivateLinkResource as PrivateLinkResourceMapper, - Snapshot as SnapshotMapper + Snapshot as SnapshotMapper, + ManagedClusterSnapshot as ManagedClusterSnapshotMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -51,7 +52,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-03-01", + defaultValue: "2022-03-02-preview", isConstant: true, serializedName: "api-version", type: { @@ -184,6 +185,16 @@ export const parameters1: OperationParameter = { mapper: TagsObjectMapper }; +export const ignorePodDisruptionBudget: OperationQueryParameter = { + parameterPath: ["options", "ignorePodDisruptionBudget"], + mapper: { + serializedName: "ignore-pod-disruption-budget", + type: { + name: "Boolean" + } + } +}; + export const parameters2: OperationParameter = { parameterPath: "parameters", mapper: ManagedClusterServicePrincipalProfileMapper @@ -279,3 +290,8 @@ export const parameters8: OperationParameter = { parameterPath: "parameters", mapper: SnapshotMapper }; + +export const parameters9: OperationParameter = { + parameterPath: "parameters", + mapper: ManagedClusterSnapshotMapper +}; diff --git a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts index a369ccc10c2a..cef7bd8c5f6f 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts @@ -567,7 +567,10 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.ignorePodDisruptionBudget + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/containerservice/arm-containerservice/src/operations/index.ts b/sdk/containerservice/arm-containerservice/src/operations/index.ts index 6d786ed8c56d..67e60e725e9b 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/index.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/index.ts @@ -14,3 +14,4 @@ export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./resolvePrivateLinkServiceId"; export * from "./snapshots"; +export * from "./managedClusterSnapshots"; diff --git a/sdk/containerservice/arm-containerservice/src/operations/managedClusterSnapshots.ts b/sdk/containerservice/arm-containerservice/src/operations/managedClusterSnapshots.ts new file mode 100644 index 000000000000..e6ac26542e18 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/src/operations/managedClusterSnapshots.ts @@ -0,0 +1,447 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { ManagedClusterSnapshots } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ContainerServiceClient } from "../containerServiceClient"; +import { + ManagedClusterSnapshot, + ManagedClusterSnapshotsListNextOptionalParams, + ManagedClusterSnapshotsListOptionalParams, + ManagedClusterSnapshotsListByResourceGroupNextOptionalParams, + ManagedClusterSnapshotsListByResourceGroupOptionalParams, + ManagedClusterSnapshotsListResponse, + ManagedClusterSnapshotsListByResourceGroupResponse, + ManagedClusterSnapshotsGetOptionalParams, + ManagedClusterSnapshotsGetResponse, + ManagedClusterSnapshotsCreateOrUpdateOptionalParams, + ManagedClusterSnapshotsCreateOrUpdateResponse, + TagsObject, + ManagedClusterSnapshotsUpdateTagsOptionalParams, + ManagedClusterSnapshotsUpdateTagsResponse, + ManagedClusterSnapshotsDeleteOptionalParams, + ManagedClusterSnapshotsListNextResponse, + ManagedClusterSnapshotsListByResourceGroupNextResponse +} from "../models"; + +/// +/** Class containing ManagedClusterSnapshots operations. */ +export class ManagedClusterSnapshotsImpl implements ManagedClusterSnapshots { + private readonly client: ContainerServiceClient; + + /** + * Initialize a new instance of the class ManagedClusterSnapshots class. + * @param client Reference to the service client + */ + constructor(client: ContainerServiceClient) { + this.client = client; + } + + /** + * Gets a list of managed cluster snapshots in the specified subscription. + * @param options The options parameters. + */ + public list( + options?: ManagedClusterSnapshotsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(options); + } + }; + } + + private async *listPagingPage( + options?: ManagedClusterSnapshotsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + options?: ManagedClusterSnapshotsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } + } + + /** + * Lists managed cluster snapshots in the specified subscription and resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + public listByResourceGroup( + resourceGroupName: string, + options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listByResourceGroupPagingPage(resourceGroupName, options); + } + }; + } + + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams + ): AsyncIterableIterator { + let result = await this._listByResourceGroup(resourceGroupName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options + )) { + yield* page; + } + } + + /** + * Gets a list of managed cluster snapshots in the specified subscription. + * @param options The options parameters. + */ + private _list( + options?: ManagedClusterSnapshotsListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + + /** + * Lists managed cluster snapshots in the specified subscription and resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec + ); + } + + /** + * Gets a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + resourceName: string, + options?: ManagedClusterSnapshotsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, resourceName, options }, + getOperationSpec + ); + } + + /** + * Creates or updates a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param parameters The managed cluster snapshot to create or update. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + resourceName: string, + parameters: ManagedClusterSnapshot, + options?: ManagedClusterSnapshotsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, resourceName, parameters, options }, + createOrUpdateOperationSpec + ); + } + + /** + * Updates tags on a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation. + * @param options The options parameters. + */ + updateTags( + resourceGroupName: string, + resourceName: string, + parameters: TagsObject, + options?: ManagedClusterSnapshotsUpdateTagsOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, resourceName, parameters, options }, + updateTagsOperationSpec + ); + } + + /** + * Deletes a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + resourceName: string, + options?: ManagedClusterSnapshotsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, resourceName, options }, + deleteOperationSpec + ); + } + + /** + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + nextLink: string, + options?: ManagedClusterSnapshotsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listNextOperationSpec + ); + } + + /** + * ListByResourceGroupNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. + * @param options The options parameters. + */ + private _listByResourceGroupNext( + resourceGroupName: string, + nextLink: string, + options?: ManagedClusterSnapshotsListByResourceGroupNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listByResourceGroupNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshotListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshotListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshot + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshot + }, + 201: { + bodyMapper: Mappers.ManagedClusterSnapshot + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters9, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const updateTagsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshot + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.parameters1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshotListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedClusterSnapshotListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts index fee316d8fce4..d5c53c65fd5b 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts @@ -50,6 +50,7 @@ import { ManagedClusterAADProfile, ManagedClustersResetAADProfileOptionalParams, ManagedClustersRotateClusterCertificatesOptionalParams, + ManagedClustersRotateServiceAccountSigningKeysOptionalParams, ManagedClustersStopOptionalParams, ManagedClustersStartOptionalParams, RunCommandRequest, @@ -915,6 +916,88 @@ export class ManagedClustersImpl implements ManagedClusters { return poller.pollUntilDone(); } + /** + * Rotates the service account signing keys of a managed cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + async beginRotateServiceAccountSigningKeys( + resourceGroupName: string, + resourceName: string, + options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, resourceName, options }, + rotateServiceAccountSigningKeysOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Rotates the service account signing keys of a managed cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + async beginRotateServiceAccountSigningKeysAndWait( + resourceGroupName: string, + resourceName: string, + options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams + ): Promise { + const poller = await this.beginRotateServiceAccountSigningKeys( + resourceGroupName, + resourceName, + options + ); + return poller.pollUntilDone(); + } + /** * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster * stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A @@ -1554,7 +1637,10 @@ const deleteOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.CloudError } }, - queryParameters: [Parameters.apiVersion], + queryParameters: [ + Parameters.apiVersion, + Parameters.ignorePodDisruptionBudget + ], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -1637,6 +1723,29 @@ const rotateClusterCertificatesOperationSpec: coreClient.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const rotateServiceAccountSigningKeysOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateServiceAccountSigningKeys", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceName + ], + headerParameters: [Parameters.accept], + serializer +}; const stopOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop", diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/index.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/index.ts index 6d786ed8c56d..67e60e725e9b 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/index.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/index.ts @@ -14,3 +14,4 @@ export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; export * from "./resolvePrivateLinkServiceId"; export * from "./snapshots"; +export * from "./managedClusterSnapshots"; diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusterSnapshots.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusterSnapshots.ts new file mode 100644 index 000000000000..bec60709a6e4 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusterSnapshots.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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + ManagedClusterSnapshot, + ManagedClusterSnapshotsListOptionalParams, + ManagedClusterSnapshotsListByResourceGroupOptionalParams, + ManagedClusterSnapshotsGetOptionalParams, + ManagedClusterSnapshotsGetResponse, + ManagedClusterSnapshotsCreateOrUpdateOptionalParams, + ManagedClusterSnapshotsCreateOrUpdateResponse, + TagsObject, + ManagedClusterSnapshotsUpdateTagsOptionalParams, + ManagedClusterSnapshotsUpdateTagsResponse, + ManagedClusterSnapshotsDeleteOptionalParams +} from "../models"; + +/// +/** Interface representing a ManagedClusterSnapshots. */ +export interface ManagedClusterSnapshots { + /** + * Gets a list of managed cluster snapshots in the specified subscription. + * @param options The options parameters. + */ + list( + options?: ManagedClusterSnapshotsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Lists managed cluster snapshots in the specified subscription and resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: ManagedClusterSnapshotsListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator; + /** + * Gets a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + resourceName: string, + options?: ManagedClusterSnapshotsGetOptionalParams + ): Promise; + /** + * Creates or updates a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param parameters The managed cluster snapshot to create or update. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + resourceName: string, + parameters: ManagedClusterSnapshot, + options?: ManagedClusterSnapshotsCreateOrUpdateOptionalParams + ): Promise; + /** + * Updates tags on a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param parameters Parameters supplied to the Update managed cluster snapshot Tags operation. + * @param options The options parameters. + */ + updateTags( + resourceGroupName: string, + resourceName: string, + parameters: TagsObject, + options?: ManagedClusterSnapshotsUpdateTagsOptionalParams + ): Promise; + /** + * Deletes a managed cluster snapshot. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + resourceName: string, + options?: ManagedClusterSnapshotsDeleteOptionalParams + ): Promise; +} diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts index ff803ac9e121..5d7cb831a154 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts @@ -39,6 +39,7 @@ import { ManagedClusterAADProfile, ManagedClustersResetAADProfileOptionalParams, ManagedClustersRotateClusterCertificatesOptionalParams, + ManagedClustersRotateServiceAccountSigningKeysOptionalParams, ManagedClustersStopOptionalParams, ManagedClustersStartOptionalParams, RunCommandRequest, @@ -320,6 +321,28 @@ export interface ManagedClusters { resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams ): Promise; + /** + * Rotates the service account signing keys of a managed cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + beginRotateServiceAccountSigningKeys( + resourceGroupName: string, + resourceName: string, + options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams + ): Promise, void>>; + /** + * Rotates the service account signing keys of a managed cluster. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param resourceName The name of the managed cluster resource. + * @param options The options parameters. + */ + beginRotateServiceAccountSigningKeysAndWait( + resourceGroupName: string, + resourceName: string, + options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams + ): Promise; /** * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster * stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A diff --git a/sdk/core/README.md b/sdk/core/README.md index 3a61c9578b9e..f4f90d9683de 100644 --- a/sdk/core/README.md +++ b/sdk/core/README.md @@ -130,7 +130,7 @@ To setup Application Insights tracking for your application follow the [Start Mo 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/main/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 [withSpan](https://github.com/Azure/azure-sdk-for-js/blob/b697907427cb2332bf362742ace450524019dc96/sdk/textanalytics/ai-text-analytics/src/textAnalysisClient.ts#L495) to manage the new `Span` and automatically handle closing it. When `tracingOptions.tracingContext` is set on an operation, a default request policy will automatically create a span for each HTTP request that is issued. diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 637ccffa94f5..abf5389f4ee1 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -48,8 +48,6 @@ extends: safeName: azurecoreclient - name: azure-rest-core-client safeName: azurerestcoreclient - - name: azure-core-crypto - safeName: azurecorecrypto - name: azure-core-http safeName: azurecorehttp - name: azure-core-rest-pipeline diff --git a/sdk/core/core-amqp/CHANGELOG.md b/sdk/core/core-amqp/CHANGELOG.md index e3bfd9f3b9d3..b36e76d4b6ac 100644 --- a/sdk/core/core-amqp/CHANGELOG.md +++ b/sdk/core/core-amqp/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed +- Fix an issue of accessing `undefined` receiver in timeout handler of `RequestResponseLink.sendRequest`. [PR 21866](https://github.com/Azure/azure-sdk-for-js/pull/21866) + ### Other Changes ## 3.1.0 (2022-02-03) diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index e5ae17b83db2..b29ce7c39508 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -109,7 +109,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "rollup": "^2.0.0", "rollup-plugin-shim": "^1.0.0", diff --git a/sdk/core/core-amqp/src/requestResponseLink.ts b/sdk/core/core-amqp/src/requestResponseLink.ts index 352af6bec8b5..0427ceadae53 100644 --- a/sdk/core/core-amqp/src/requestResponseLink.ts +++ b/sdk/core/core-amqp/src/requestResponseLink.ts @@ -155,7 +155,7 @@ export class RequestResponseLink implements ReqResLink { if (aborter) { aborter.removeEventListener("abort", onAbort); } - const address = this.receiver.address || "address"; + const address = this.receiver?.address || "address"; const desc: string = `The request with message_id "${request.message_id}" to "${address}" ` + `endpoint timed out. Please try again later.`; diff --git a/sdk/core/core-amqp/test/requestResponse.spec.ts b/sdk/core/core-amqp/test/requestResponse.spec.ts index 87fa0e8dfde3..5df09b2da1bf 100644 --- a/sdk/core/core-amqp/test/requestResponse.spec.ts +++ b/sdk/core/core-amqp/test/requestResponse.spec.ts @@ -604,7 +604,7 @@ describe("RequestResponseLink", function () { beforeEach(() => { clearTimeoutCalledCount = 0; - _global.clearTimeout = (tid) => { + _global.clearTimeout = (tid: NodeJS.Timeout) => { clearTimeoutCalledCount++; return originalClearTimeout(tid); }; diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 05081126d7c1..04014dbf90a8 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.6.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.6.0 (2022-05-05) ### Features Added diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index c92f13bc516d..fb2dd12e4f3c 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.6.0", + "version": "1.6.1", "description": "Core library for interfacing with AutoRest generated code", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/core/core-crypto/.eslintrc.json b/sdk/core/core-crypto/.eslintrc.json deleted file mode 100644 index 1a065ea7f1a3..000000000000 --- a/sdk/core/core-crypto/.eslintrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "plugins": ["@azure/azure-sdk"], - "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], - "rules": { - "sort-imports": "error" - } -} diff --git a/sdk/core/core-crypto/CHANGELOG.md b/sdk/core/core-crypto/CHANGELOG.md deleted file mode 100644 index 46314a46d180..000000000000 --- a/sdk/core/core-crypto/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -# Release History - -## 1.0.0 (Unreleased) - - diff --git a/sdk/core/core-crypto/LICENSE b/sdk/core/core-crypto/LICENSE deleted file mode 100644 index ea8fb1516028..000000000000 --- a/sdk/core/core-crypto/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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-crypto/README.md b/sdk/core/core-crypto/README.md deleted file mode 100644 index f609cf210dfc..000000000000 --- a/sdk/core/core-crypto/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# Azure Core Crypto client library for JavaScript (Experimental) - -This library is primarily intended to contain cryptographic helper functions for use by the Azure SDK for JavaScript. - -## Getting started - -### Requirements - -### 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 - -This package is not meant to be consumed directly by end users. - -## Key concepts - -This package currently supports the following protocols: - -- SHA-256 HMAC -- SHA-256 HASH - -## Examples - -Examples can be found in the `samples` folder. - -## Next steps - -TODO: ??? - -## 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/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-crypto/karma.conf.js b/sdk/core/core-crypto/karma.conf.js deleted file mode 100644 index 5d8ab620091a..000000000000 --- a/sdk/core/core-crypto/karma.conf.js +++ /dev/null @@ -1,110 +0,0 @@ -// 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: ["dist-test/index.browser.js", "dist-test/webworker.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: { - "dist-test/index.browser.js": ["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": ["sourcemap", "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: ["ChromeHeadless"], - - // 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-crypto/package.json b/sdk/core/core-crypto/package.json deleted file mode 100644 index 0f9bb6120e4c..000000000000 --- a/sdk/core/core-crypto/package.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "name": "@azure/core-crypto", - "version": "1.0.0", - "description": "Core library for exposing crypto helpers.", - "sdk-type": "client", - "main": "dist/index.js", - "module": "dist-esm/src/index.js", - "browser": { - "./dist-esm/src/sha256.js": "./dist-esm/src/sha256.browser.js" - }, - "react-native": { - "./dist/index.js": "./dist-esm/src/index.js" - }, - "types": "types/latest/core-crypto.d.ts", - "typesVersions": { - "<3.6": { - "types/latest/*": [ - "types/3.1/*" - ] - } - }, - "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 Obsolete", - "build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1", - "build:types": "downlevel-dts types/latest/ types/3.1/", - "build": "npm run clean && tsc -p . && dev-tool run bundle && 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}\"", - "clean": "rimraf dist dist-* temp types *.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}\"", - "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", - "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", - "test:node": "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node", - "test": "npm run clean && tsc -p . && npm run unit-test:node && rollup -c rollup.test.config.js 2>&1 && npm run unit-test:browser && npm run integration-test", - "unit-test:browser": "karma start --single-run", - "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 50000 --full-trace --exclude \"test/**/browser/*.spec.ts\" \"test/**/*.spec.ts\"", - "unit-test": "npm run unit-test:node && npm run unit-test:browser" - }, - "files": [ - "dist/", - "dist-esm/src/", - "types/latest/core-crypto.d.ts", - "types/3.1/core-crypto.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": ">=12.0.0" - }, - "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": { - "@azure/abort-controller": "^1.0.0", - "tslib": "^2.2.0" - }, - "devDependencies": { - "@azure/dev-tool": "^1.0.0", - "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "^21.0.1", - "@rollup/plugin-node-resolve": "^13.0.6", - "@rollup/plugin-replace": "^2.2.0", - "@types/chai": "^4.1.6", - "@types/mocha": "^7.0.2", - "@types/node": "^12.0.0", - "@types/sinon": "^9.0.4", - "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "chai": "^4.2.0", - "downlevel-dts": "^0.8.0", - "cross-env": "^7.0.2", - "eslint": "^7.15.0", - "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": "^2.0.0", - "prettier": "^2.5.1", - "rimraf": "^3.0.0", - "rollup": "^2.0.0", - "rollup-plugin-sourcemaps": "^0.6.3", - "sinon": "^9.0.2", - "typescript": "~4.6.0" - } -} diff --git a/sdk/core/core-crypto/review/core-crypto.api.md b/sdk/core/core-crypto/review/core-crypto.api.md deleted file mode 100644 index 636bb267c6db..000000000000 --- a/sdk/core/core-crypto/review/core-crypto.api.md +++ /dev/null @@ -1,16 +0,0 @@ -## API Report File for "@azure/core-crypto" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -// @public -export function computeSha256Hash(content: string, encoding: "base64" | "hex"): Promise; - -// @public -export function computeSha256Hmac(key: string, stringToSign: string, encoding: "base64" | "hex"): Promise; - - -// (No @packageDocumentation comment for this package) - -``` diff --git a/sdk/core/core-crypto/rollup.test.config.js b/sdk/core/core-crypto/rollup.test.config.js deleted file mode 100644 index cbbb96c676d1..000000000000 --- a/sdk/core/core-crypto/rollup.test.config.js +++ /dev/null @@ -1,10 +0,0 @@ -import { makeConfig } from "@azure/dev-tool/shared-config/rollup"; -import * as base from "./rollup.webworker.config"; - -const inputs = makeConfig(require("./package.json")); - -if (!process.env.ONLY_NODE) { - inputs.push(base.webworkerConfig()); -} - -export default inputs; diff --git a/sdk/core/core-crypto/rollup.webworker.config.js b/sdk/core/core-crypto/rollup.webworker.config.js deleted file mode 100644 index 0a40c11b20f5..000000000000 --- a/sdk/core/core-crypto/rollup.webworker.config.js +++ /dev/null @@ -1,53 +0,0 @@ -import path from "path"; -import nodeResolve from "@rollup/plugin-node-resolve"; -import cjs from "@rollup/plugin-commonjs"; -import replace from "@rollup/plugin-replace"; -import sourcemaps from "rollup-plugin-sourcemaps"; - -export function webworkerConfig() { - const baseConfig = { - input: "dist-esm/test/public/browser/webworker.js", - output: { - file: "dist-test/webworker.js", - format: "iife", - sourcemap: true, - }, - preserveSymlinks: false, - plugins: [ - sourcemaps(), - replace({ - delimiters: ["", ""], - values: { - // replace dynamic checks with if (false) since this is for - // browser only. Rollup's dead code elimination will remove - // any code guarded by if (isNode) { ... } - "if (isNode)": "if (false)", - }, - }), - nodeResolve({ - mainFields: ["module", "browser"], - preferBuiltins: false, - }), - cjs(), - ], - }; - - baseConfig.onwarn = (warning) => { - if ( - warning.code === "CIRCULAR_DEPENDENCY" && - warning.importer.indexOf(path.normalize("node_modules/chai/lib") === 0) - ) { - // Chai contains circular references, but they are not fatal and can be ignored. - return; - } - - console.error(`(!) ${warning.message}`); - }; - - // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0, rollup started respecting - // the "sideEffects" field in package.json. Since our package.json sets "sideEffects=false", this also - // applies to test code, which causes all tests to be removed by tree-shaking. - baseConfig.treeshake = false; - - return baseConfig; -} diff --git a/sdk/core/core-crypto/src/index.ts b/sdk/core/core-crypto/src/index.ts deleted file mode 100644 index a9d2aa3d159e..000000000000 --- a/sdk/core/core-crypto/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export { computeSha256Hash, computeSha256Hmac } from "./sha256"; diff --git a/sdk/core/core-crypto/src/sha256.browser.ts b/sdk/core/core-crypto/src/sha256.browser.ts deleted file mode 100644 index cfdb37a4e253..000000000000 --- a/sdk/core/core-crypto/src/sha256.browser.ts +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/// - -import { base64ToBytes, bufferToBase64 } from "./utils/base64.browser"; -import { bufferToHex } from "./utils/hex"; -import { utf8ToBytes } from "./utils/utf8.browser"; - -let subtleCrypto: SubtleCrypto | undefined; - -/** - * Returns a cached reference to the Web API crypto.subtle object. - * @internal - */ -function getCrypto(): SubtleCrypto { - if (subtleCrypto) { - return subtleCrypto; - } - - if (!self.crypto || !self.crypto.subtle) { - throw new Error("Your browser environment does not support cryptography functions."); - } - - subtleCrypto = self.crypto.subtle; - return subtleCrypto; -} - -const importParams: HmacImportParams = { - name: "HMAC", - hash: { name: "SHA-256" }, -}; - -/** - * Generates a SHA-256 HMAC signature. - * @param key - The HMAC key represented as a base64 string, used to generate the cryptographic HMAC hash. - * @param stringToSign - The data to be signed. - * @param encoding - The textual encoding to use for the returned HMAC digest. - */ -export async function computeSha256Hmac( - key: string, - stringToSign: string, - encoding: "base64" | "hex" -): Promise { - const crypto = getCrypto(); - const keyBytes = base64ToBytes(key); - const stringToSignBytes = utf8ToBytes(stringToSign); - - const cryptoKey = await crypto.importKey("raw", keyBytes, importParams, false, ["sign"]); - const signature = await crypto.sign(importParams, cryptoKey, stringToSignBytes); - - switch (encoding) { - case "base64": - return bufferToBase64(signature); - case "hex": - return bufferToHex(signature); - } -} - -/** - * Generates a SHA-256 hash. - * @param content - The data to be included in the hash. - * @param encoding - The textual encoding to use for the returned hash. - */ -export async function computeSha256Hash( - content: string, - encoding: "base64" | "hex" -): Promise { - const contentBytes = utf8ToBytes(content); - const digest = await getCrypto().digest({ name: "SHA-256" }, contentBytes); - - switch (encoding) { - case "base64": - return bufferToBase64(digest); - case "hex": - return bufferToHex(digest); - } -} diff --git a/sdk/core/core-crypto/src/sha256.ts b/sdk/core/core-crypto/src/sha256.ts deleted file mode 100644 index 338aab15575f..000000000000 --- a/sdk/core/core-crypto/src/sha256.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { createHash, createHmac } from "crypto"; - -/** - * Generates a SHA-256 HMAC signature. - * @param key - The HMAC key represented as a base64 string, used to generate the cryptographic HMAC hash. - * @param stringToSign - The data to be signed. - * @param encoding - The textual encoding to use for the returned HMAC digest. - */ -export async function computeSha256Hmac( - key: string, - stringToSign: string, - encoding: "base64" | "hex" -): Promise { - const decodedKey = Buffer.from(key, "base64"); - - return createHmac("sha256", decodedKey).update(stringToSign).digest(encoding); -} - -/** - * Generates a SHA-256 hash. - * @param content - The data to be included in the hash. - * @param encoding - The textual encoding to use for the returned hash. - */ -export async function computeSha256Hash( - content: string, - encoding: "base64" | "hex" -): Promise { - return createHash("sha256").update(content).digest(encoding); -} diff --git a/sdk/core/core-crypto/src/utils/base64.browser.ts b/sdk/core/core-crypto/src/utils/base64.browser.ts deleted file mode 100644 index ca811a62c0c9..000000000000 --- a/sdk/core/core-crypto/src/utils/base64.browser.ts +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/// - -/** - * Converts a base64 string into a byte array. - * @param content - The base64 string to convert. - * @internal - */ -export function base64ToBytes(content: string): Uint8Array { - if (typeof atob !== "function") { - throw new Error(`Your browser environment is missing the global "atob" function.`); - } - - const binary = atob(content); - const bytes = new Uint8Array(binary.length); - for (let i = 0; i < binary.length; i++) { - bytes[i] = binary.charCodeAt(i); - } - - return bytes; -} - -/** - * Converts an ArrayBuffer to base64 string. - * @param buffer - Raw binary data. - * @internal - */ -export function bufferToBase64(buffer: ArrayBuffer): string { - if (typeof btoa !== "function") { - throw new Error(`Your browser environment is missing the global "btoa" function.`); - } - - const bytes = new Uint8Array(buffer); - let binary = ""; - for (const byte of bytes) { - binary += String.fromCharCode(byte); - } - return btoa(binary); -} diff --git a/sdk/core/core-crypto/src/utils/hex.ts b/sdk/core/core-crypto/src/utils/hex.ts deleted file mode 100644 index 2b83e38745a9..000000000000 --- a/sdk/core/core-crypto/src/utils/hex.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/** - * Converts an ArrayBuffer to a hexadecimal string. - * @param buffer - Raw binary data. - * @internal - */ -export function bufferToHex(buffer: ArrayBuffer): string { - const bytes = new Uint8Array(buffer); - return Array.prototype.map.call(bytes, byteToHex).join(""); -} - -/** - * Converts a byte to a hexadecimal string. - * @param byte - An integer representation of a byte. - * @internal - */ -function byteToHex(byte: number): string { - const hex = byte.toString(16); - return hex.length === 2 ? hex : `0${hex}`; -} diff --git a/sdk/core/core-crypto/src/utils/utf8.browser.ts b/sdk/core/core-crypto/src/utils/utf8.browser.ts deleted file mode 100644 index b1532aef2002..000000000000 --- a/sdk/core/core-crypto/src/utils/utf8.browser.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/// - -let encoder: TextEncoder | undefined; - -/** - * Returns a cached TextEncoder. - * @internal - */ -function getTextEncoder(): TextEncoder { - if (encoder) { - return encoder; - } - - if (typeof TextEncoder === "undefined") { - throw new Error(`Your browser environment is missing "TextEncoder".`); - } - - encoder = new TextEncoder(); - return encoder; -} - -/** - * Converts a utf8 string into a byte array. - * @param content - The utf8 string to convert. - * @internal - */ -export function utf8ToBytes(content: string): Uint8Array { - return getTextEncoder().encode(content); -} diff --git a/sdk/core/core-crypto/test/internal/browser/base64.spec.ts b/sdk/core/core-crypto/test/internal/browser/base64.spec.ts deleted file mode 100644 index ef8213bd55ed..000000000000 --- a/sdk/core/core-crypto/test/internal/browser/base64.spec.ts +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { base64ToBytes, bufferToBase64 } from "../../../src/utils/base64.browser"; -import { assert } from "chai"; - -describe("Base64", function () { - describe("base64ToBytes", function () { - it("converts a base64 string to bytes", function () { - const input = "YXp1cmU="; // 'azure' in utf8. - - const output = base64ToBytes(input); - assert.deepEqual( - output, - new Uint8Array([97, 122, 117, 114, 101]), - "Incorrect conversion of base64 to bytes." - ); - }); - }); - - describe("bufferToBase64", function () { - it("converts an ArrayBuffer to a base64 string", function () { - const input = new Uint8Array([97, 122, 117, 114, 101]).buffer; // 'azure' in utf8. - - const output = bufferToBase64(input); - assert.deepEqual(output, "YXp1cmU=", "Incorrect conversion of bytes to base64."); - }); - - it("has proper padding", function () { - const scenarios = [ - { bytes: new Uint8Array([65]), expected: "QQ==" }, - { bytes: new Uint8Array([65, 90]), expected: "QVo=" }, - { bytes: new Uint8Array([65, 66, 67]), expected: "QUJD" }, - ]; - - for (const scenario of scenarios) { - const output = bufferToBase64(scenario.bytes.buffer); - assert.equal(output, scenario.expected, "Incorrect conversion of bytes to base64."); - } - }); - }); -}); diff --git a/sdk/core/core-crypto/test/internal/browser/utf8.spec.ts b/sdk/core/core-crypto/test/internal/browser/utf8.spec.ts deleted file mode 100644 index 7ca5010907ec..000000000000 --- a/sdk/core/core-crypto/test/internal/browser/utf8.spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; -import { utf8ToBytes } from "../../../src/utils/utf8.browser"; - -describe("utf-8", function () { - describe("utf8ToBytes", function () { - it("converts a utf-8 string to bytes", function () { - const input = "azure"; // 'azure' in utf8. - - const output = utf8ToBytes(input); - assert.deepEqual( - output, - new Uint8Array([97, 122, 117, 114, 101]), - "Incorrect conversion of utf-8 to bytes." - ); - }); - }); -}); diff --git a/sdk/core/core-crypto/test/internal/hex.spec.ts b/sdk/core/core-crypto/test/internal/hex.spec.ts deleted file mode 100644 index 7db6c18d8ab6..000000000000 --- a/sdk/core/core-crypto/test/internal/hex.spec.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; -import { bufferToHex } from "../../src/utils/hex"; - -function generateValidBytes(): Uint8Array { - const bytes = new Uint8Array(256); - return bytes.map((_, index) => index); -} - -describe("Hex", function () { - describe("bufferToHex", function () { - it("encodes a byte", function () { - const bytes = generateValidBytes(); - bytes.forEach((_, index) => { - const hex = bufferToHex(bytes.buffer.slice(index, index + 1)); - assert.equal(hex.length, 2, "Unexpected length for hex value."); - assert.equal(parseInt(hex, 16), index, "Unexpected hex value."); - }); - }); - - it("encodes bytes", function () { - const bytes = new Uint8Array([97, 122, 117, 114, 101]); // 'azure' in utf8 - const hex = bufferToHex(bytes.buffer); - assert.equal(hex, "617a757265", "Unexpected hex value."); - }); - }); -}); diff --git a/sdk/core/core-crypto/test/public/browser/webworker-runner.spec.ts b/sdk/core/core-crypto/test/public/browser/webworker-runner.spec.ts deleted file mode 100644 index 08e5bd842e7b..000000000000 --- a/sdk/core/core-crypto/test/public/browser/webworker-runner.spec.ts +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { HashMessage, HmacMessage } from "./webworker"; -import { assert } from "chai"; - -describe("SHA-256 (WebWorker)", function () { - const worker = new Worker("/base/dist-test/webworker.js"); - - function postMessage(message: HashMessage | HmacMessage): Promise { - return new Promise((resolve) => { - worker.postMessage(message); - const listener = (event: MessageEvent): void => { - worker.removeEventListener("message", listener); - resolve(event.data); - }; - worker.addEventListener("message", listener); - }); - } - - after(function () { - worker.terminate(); - }); - - describe("Hash", function () { - it("base64 encoding", async function () { - const hash = await postMessage({ - type: "hash", - algorithm: "sha256", - content: "azure", - encoding: "base64", - }); - - assert.equal( - hash, - "efQ8O5wj+98pO9uoDas4uhlPwdp5GHCRs9N2Da2EC/g=", - "The computed hash does not match the expected value." - ); - }); - - it("hex encoding", async function () { - const hash = await postMessage({ - type: "hash", - algorithm: "sha256", - content: "azure", - encoding: "hex", - }); - - assert.equal( - hash, - "79f43c3b9c23fbdf293bdba80dab38ba194fc1da79187091b3d3760dad840bf8", - "The computed hash does not match the expected value." - ); - }); - }); - - describe("HMAC", function () { - const base64EncodedKey = "c2VjcmV0"; // 'secret' in utf8. - - it("base64 encoding", async function () { - const hmac = await postMessage({ - type: "hmac", - algorithm: "sha256", - key: base64EncodedKey, - stringToSign: "azure", - encoding: "base64", - }); - - assert.equal( - hmac, - "AJ/qUoDtgLeA1A5ND2AS3uF7hsSe9O7imtXlkAj8VR4=", - "The computed hmac does not match the expected value." - ); - }); - - it("hex encoding", async function () { - const hmac = await postMessage({ - type: "hmac", - algorithm: "sha256", - key: base64EncodedKey, - stringToSign: "azure", - encoding: "hex", - }); - - assert.equal( - hmac, - "009fea5280ed80b780d40e4d0f6012dee17b86c49ef4eee29ad5e59008fc551e", - "The computed hmac does not match the expected value." - ); - }); - }); -}); diff --git a/sdk/core/core-crypto/test/public/browser/webworker.ts b/sdk/core/core-crypto/test/public/browser/webworker.ts deleted file mode 100644 index 3e9e2d85a379..000000000000 --- a/sdk/core/core-crypto/test/public/browser/webworker.ts +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { computeSha256Hash, computeSha256Hmac } from "../../../src/index"; - -export interface HashMessage { - type: "hash"; - algorithm: "sha256"; - encoding: "base64" | "hex"; - content: string; -} - -export interface HmacMessage { - type: "hmac"; - algorithm: "sha256"; - encoding: "base64" | "hex"; - key: string; - stringToSign: string; -} - -onmessage = async (event: MessageEvent) => { - let result: string | undefined; - switch (event.data.type) { - case "hash": - result = await handleHashMessage(event.data); - break; - case "hmac": - result = await handleHmacMessage(event.data); - break; - } - - // https://github.com/microsoft/TypeScript/issues/20595 - (self as unknown as Worker).postMessage(result); -}; - -function handleHashMessage(message: HashMessage): Promise { - if (message.algorithm === "sha256") { - return computeSha256Hash(message.content, message.encoding); - } - return Promise.resolve(""); -} - -function handleHmacMessage(message: HmacMessage): Promise { - if (message.algorithm === "sha256") { - return computeSha256Hmac(message.key, message.stringToSign, message.encoding); - } - return Promise.resolve(""); -} diff --git a/sdk/core/core-crypto/test/public/sha256.spec.ts b/sdk/core/core-crypto/test/public/sha256.spec.ts deleted file mode 100644 index 5e968f94abd3..000000000000 --- a/sdk/core/core-crypto/test/public/sha256.spec.ts +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { computeSha256Hash, computeSha256Hmac } from "../../src/index"; -import { assert } from "chai"; - -describe("SHA-256", function () { - describe("Hash", function () { - it("base64 encoding", async function () { - const hash = await computeSha256Hash("azure", "base64"); - - assert.equal( - hash, - "efQ8O5wj+98pO9uoDas4uhlPwdp5GHCRs9N2Da2EC/g=", - "The computed hash does not match the expected value." - ); - }); - - it("hex encoding", async function () { - const hash = await computeSha256Hash("azure", "hex"); - - assert.equal( - hash, - "79f43c3b9c23fbdf293bdba80dab38ba194fc1da79187091b3d3760dad840bf8", - "The computed hash does not match the expected value." - ); - }); - }); - - describe("HMAC", function () { - const base64EncodedKey = "c2VjcmV0"; // 'secret' in utf8. - - it("base64 encoding", async function () { - const hmac = await computeSha256Hmac(base64EncodedKey, "azure", "base64"); - - assert.equal( - hmac, - "AJ/qUoDtgLeA1A5ND2AS3uF7hsSe9O7imtXlkAj8VR4=", - "The computed hmac does not match the expected value." - ); - }); - - it("hex encoding", async function () { - const hmac = await computeSha256Hmac(base64EncodedKey, "azure", "hex"); - - assert.equal( - hmac, - "009fea5280ed80b780d40e4d0f6012dee17b86c49ef4eee29ad5e59008fc551e", - "The computed hmac does not match the expected value." - ); - }); - }); -}); diff --git a/sdk/core/core-crypto/tsconfig.json b/sdk/core/core-crypto/tsconfig.json deleted file mode 100644 index 4a53cc511418..000000000000 --- a/sdk/core/core-crypto/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../../tsconfig.package", - "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types/latest" - }, - "exclude": ["node_modules", "types", "temp", "browser", "dist", "dist-esm", "./samples/**/*.ts"] -} diff --git a/sdk/core/core-crypto/tsdoc.json b/sdk/core/core-crypto/tsdoc.json deleted file mode 100644 index 81c5a8a2aa2f..000000000000 --- a/sdk/core/core-crypto/tsdoc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "extends": ["../../../tsdoc.json"] -} diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index f4f71d3b8fba..5a4d39cc251c 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -139,7 +139,6 @@ "@opentelemetry/api": "^1.0.1", "@types/chai": "^4.1.6", "@types/express": "^4.16.0", - "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", @@ -152,7 +151,6 @@ "eslint": "^7.15.0", "express": "^4.16.3", "fetch-mock": "^9.10.1", - "glob": "^7.1.2", "karma": "^6.2.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.0.0", @@ -165,7 +163,7 @@ "npm-run-all": "^4.1.5", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "regenerator-runtime": "^0.13.3", "rimraf": "^3.0.0", "shx": "^0.3.2", diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index 5e0e44a56d5b..d5f53fc6d61f 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -1,9 +1,11 @@ # Release History -## 2.2.5 (Unreleased) +## 2.3.0 (Unreleased) ### Features Added +- `lroEngine` now supports cancellation of the long-running operation. + ### Breaking Changes ### Bugs Fixed diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index a87ca169cdc9..e883a9972249 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.2.5", + "version": "2.3.0", "description": "Isomorphic client library for supporting long-running operations in node.js and browser.", "tags": [ "isomorphic", diff --git a/sdk/core/core-lro/review/core-lro.api.md b/sdk/core/core-lro/review/core-lro.api.md index 0316067d1419..f398a4732435 100644 --- a/sdk/core/core-lro/review/core-lro.api.md +++ b/sdk/core/core-lro/review/core-lro.api.md @@ -25,6 +25,7 @@ export class LroEngine> exte // @public export interface LroEngineOptions { + cancel?: (state: TState) => Promise; intervalInMs?: number; isDone?: (lastResponse: unknown, state: TState) => boolean; lroResourceLocationConfig?: LroResourceLocationConfig; @@ -125,7 +126,6 @@ export interface RawResponse { statusCode: number; } - // (No @packageDocumentation comment for this package) ``` diff --git a/sdk/core/core-lro/src/lroEngine/lroEngine.ts b/sdk/core/core-lro/src/lroEngine/lroEngine.ts index 330deafe1b28..72d9a3f44400 100644 --- a/sdk/core/core-lro/src/lroEngine/lroEngine.ts +++ b/sdk/core/core-lro/src/lroEngine/lroEngine.ts @@ -16,7 +16,7 @@ function deserializeState( ): TState & ResumablePollOperationState { try { return JSON.parse(serializedState).state; - } catch (e: any) { + } catch (e) { throw new Error(`LroEngine: Unable to deserialize state: ${serializedState}`); } } @@ -42,7 +42,8 @@ export class LroEngine> exte options?.lroResourceLocationConfig, options?.processResult, options?.updateState, - options?.isDone + options?.isDone, + options?.cancel ); super(operation); diff --git a/sdk/core/core-lro/src/lroEngine/models.ts b/sdk/core/core-lro/src/lroEngine/models.ts index dcd3d26a2dcf..f14cb41e3f5d 100644 --- a/sdk/core/core-lro/src/lroEngine/models.ts +++ b/sdk/core/core-lro/src/lroEngine/models.ts @@ -31,6 +31,11 @@ export interface LroEngineOptions { * A predicate to determine whether the LRO finished processing. */ isDone?: (lastResponse: unknown, state: TState) => boolean; + + /** + * A function to cancel the LRO. + */ + cancel?: (state: TState) => Promise; } export const successStates = ["succeeded"]; diff --git a/sdk/core/core-lro/src/lroEngine/operation.ts b/sdk/core/core-lro/src/lroEngine/operation.ts index 578710ad59cf..61ac1ff1d4f6 100644 --- a/sdk/core/core-lro/src/lroEngine/operation.ts +++ b/sdk/core/core-lro/src/lroEngine/operation.ts @@ -34,7 +34,8 @@ export class GenericPollOperation TResult, private updateState?: (state: TState, lastResponse: RawResponse) => void, - private isDone?: (lastResponse: TResult, state: TState) => boolean + private isDone?: (lastResponse: TResult, state: TState) => boolean, + private cancelOp?: (state: TState) => Promise ) {} public setPollerConfig(pollerConfig: PollerConfig): void { @@ -122,6 +123,7 @@ export class GenericPollOperation> { this.state.isCancelled = true; + await this.cancelOp?.(this.state); return this; } diff --git a/sdk/core/core-paging/CHANGELOG.md b/sdk/core/core-paging/CHANGELOG.md index f6951ec13262..0b190c2b1c5b 100644 --- a/sdk/core/core-paging/CHANGELOG.md +++ b/sdk/core/core-paging/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.2.2 (Unreleased) +## 1.3.0 (Unreleased) ### Features Added @@ -10,6 +10,8 @@ ### Other Changes +- The default implementation of `byPage` now supports using the continuationToken option as a URL for the page to get first. + ## 1.2.1 (2022-01-06) ### Bugs Fixed diff --git a/sdk/core/core-paging/package.json b/sdk/core/core-paging/package.json index 0fac50a0474c..3bfdc6ea32ac 100644 --- a/sdk/core/core-paging/package.json +++ b/sdk/core/core-paging/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-paging", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "1.2.2", + "version": "1.3.0", "description": "Core types for paging async iterable iterators", "tags": [ "microsoft", diff --git a/sdk/core/core-paging/src/getPagedAsyncIterator.ts b/sdk/core/core-paging/src/getPagedAsyncIterator.ts index feb5d65d5d30..a527d3ac8513 100644 --- a/sdk/core/core-paging/src/getPagedAsyncIterator.ts +++ b/sdk/core/core-paging/src/getPagedAsyncIterator.ts @@ -29,19 +29,19 @@ export function getPagedAsyncIterator< byPage: pagedResult?.byPage ?? ((settings?: PageSettings) => { - return getPageAsyncIterator( - pagedResult as PagedResult, - settings?.maxPageSize - ); + const { continuationToken, maxPageSize } = settings ?? {}; + return getPageAsyncIterator(pagedResult as PagedResult, { + pageLink: continuationToken as unknown as TLink | undefined, + maxPageSize, + }); }), }; } async function* getItemAsyncIterator( - pagedResult: PagedResult, - maxPageSize?: number + pagedResult: PagedResult ): AsyncIterableIterator { - const pages = getPageAsyncIterator(pagedResult, maxPageSize); + const pages = getPageAsyncIterator(pagedResult); const firstVal = await pages.next(); // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is if (!Array.isArray(firstVal.value)) { @@ -60,9 +60,13 @@ async function* getItemAsyncIterator( async function* getPageAsyncIterator( pagedResult: PagedResult, - maxPageSize?: number + options: { + maxPageSize?: number; + pageLink?: TLink; + } = {} ): AsyncIterableIterator { - let response = await pagedResult.getPage(pagedResult.firstPageLink, maxPageSize); + const { pageLink, maxPageSize } = options; + let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink, maxPageSize); yield response.page; while (response.nextPageLink) { response = await pagedResult.getPage(response.nextPageLink, maxPageSize); diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 6b8af4520f77..8ff4e1e8a8d4 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.8.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.8.1 (2022-05-05) ### Features Added diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 489f3fb6dec8..ce9eac7b5b72 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.8.1", + "version": "1.8.2", "description": "Isomorphic client library for making HTTP requests in node.js and browser.", "sdk-type": "client", "main": "dist/index.js", @@ -127,7 +127,7 @@ "mocha-junit-reporter": "^2.0.0", "mocha": "^7.1.1", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/core/core-rest-pipeline/src/constants.ts b/sdk/core/core-rest-pipeline/src/constants.ts index ce09ff3c7bdb..fe9210c2fd9b 100644 --- a/sdk/core/core-rest-pipeline/src/constants.ts +++ b/sdk/core/core-rest-pipeline/src/constants.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.8.1"; +export const SDK_VERSION: string = "1.8.2"; export const DEFAULT_RETRY_POLICY_COUNT = 3; diff --git a/sdk/core/core-xml/CHANGELOG.md b/sdk/core/core-xml/CHANGELOG.md index 7730b48e762c..891da2bf7809 100644 --- a/sdk/core/core-xml/CHANGELOG.md +++ b/sdk/core/core-xml/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.2.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.2.1 (2022-05-05) ### Bugs Fixed diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index a4f35a0c122e..2b6a52b880a9 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-xml", - "version": "1.2.1", + "version": "1.2.2", "description": "Core library for interacting with XML payloads", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 04cba94e11a4..e774def8e9d0 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -79,7 +79,6 @@ "@types/sinon": "^9.0.4", "chai": "^4.2.0", "cross-env": "^7.0.2", - "delay": "^4.2.0", "dotenv": "^8.2.0", "eslint": "^7.15.0", "karma": "^6.2.0", @@ -97,7 +96,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "ts-node": "^10.0.0", diff --git a/sdk/core/perf-tests/core-rest-pipeline/package.json b/sdk/core/perf-tests/core-rest-pipeline/package.json index 9c85b4c0b2b9..bf9d00349a51 100644 --- a/sdk/core/perf-tests/core-rest-pipeline/package.json +++ b/sdk/core/perf-tests/core-rest-pipeline/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "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 Obsolete", "build": "npm run clean && tsc -p .", diff --git a/sdk/core/perf-tests/core-rest-pipeline/test/index.spec.ts b/sdk/core/perf-tests/core-rest-pipeline/test/index.spec.ts index b1d4da00252d..5a5647d40f42 100644 --- a/sdk/core/perf-tests/core-rest-pipeline/test/index.spec.ts +++ b/sdk/core/perf-tests/core-rest-pipeline/test/index.spec.ts @@ -1,8 +1,6 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { BearerTokenAuthenticationPolicyChallengeTest } from "./bearerTokenChallengeAuthenticationPolicy/wwwChallenge.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([BearerTokenAuthenticationPolicyChallengeTest])); +const perfProgram = createPerfProgram(BearerTokenAuthenticationPolicyChallengeTest); perfProgram.run(); diff --git a/sdk/cosmosdb/cosmos/review/cosmos.api.md b/sdk/cosmosdb/cosmos/review/cosmos.api.md index 350267c6dee4..72fba177cdca 100644 --- a/sdk/cosmosdb/cosmos/review/cosmos.api.md +++ b/sdk/cosmosdb/cosmos/review/cosmos.api.md @@ -395,6 +395,7 @@ export const Constants: { IsBatchRequest: string; IsBatchAtomic: string; BatchContinueOnError: string; + DedicatedGatewayPerRequestCacheStaleness: string; ForceRefresh: string; }; WritableLocations: string; @@ -671,6 +672,11 @@ export enum DataType { String = "String" } +// @beta +export interface DedicatedGatewayRequestOptions { + maxIntegratedCacheStalenessInMs?: number; +} + // @public (undocumented) export const DEFAULT_PARTITION_KEY_PATH: "/_partitionKey"; @@ -730,8 +736,10 @@ export type ExistingKeyOperation = { // @public (undocumented) export function extractPartitionKey(document: unknown, partitionKeyDefinition: PartitionKeyDefinition): PartitionKey[]; +// Warning: (ae-incompatible-release-tags) The symbol "FeedOptions" is marked as @public, but its signature references "DedicatedGatewayRequestOptions" which is marked as @beta +// // @public -export interface FeedOptions extends SharedOptions { +export interface FeedOptions extends SharedOptions, DedicatedGatewayRequestOptions { accessCondition?: { type: string; condition: string; @@ -1460,8 +1468,10 @@ interface RequestInfo_2 { } export { RequestInfo_2 as RequestInfo } +// Warning: (ae-incompatible-release-tags) The symbol "RequestOptions" is marked as @public, but its signature references "DedicatedGatewayRequestOptions" which is marked as @beta +// // @public -export interface RequestOptions extends SharedOptions { +export interface RequestOptions extends SharedOptions, DedicatedGatewayRequestOptions { accessCondition?: { type: string; condition: string; diff --git a/sdk/cosmosdb/cosmos/samples/v3/typescript/src/ItemManagement.ts b/sdk/cosmosdb/cosmos/samples/v3/typescript/src/ItemManagement.ts index 8ff8e394429f..debceaa96b8f 100644 --- a/sdk/cosmosdb/cosmos/samples/v3/typescript/src/ItemManagement.ts +++ b/sdk/cosmosdb/cosmos/samples/v3/typescript/src/ItemManagement.ts @@ -1,4 +1,4 @@ -// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /** diff --git a/sdk/cosmosdb/cosmos/src/common/constants.ts b/sdk/cosmosdb/cosmos/src/common/constants.ts index 0254d4ba0d47..03652e408b80 100644 --- a/sdk/cosmosdb/cosmos/src/common/constants.ts +++ b/sdk/cosmosdb/cosmos/src/common/constants.ts @@ -158,6 +158,9 @@ export const Constants = { IsBatchAtomic: "x-ms-cosmos-batch-atomic", BatchContinueOnError: "x-ms-cosmos-batch-continue-on-error", + // Dedicated Gateway Headers + DedicatedGatewayPerRequestCacheStaleness: "x-ms-dedicatedgateway-max-age", + // Cache Refresh header ForceRefresh: "x-ms-force-refresh", }, diff --git a/sdk/cosmosdb/cosmos/src/request/DedicatedGatewayRequestOptions.ts b/sdk/cosmosdb/cosmos/src/request/DedicatedGatewayRequestOptions.ts new file mode 100644 index 000000000000..2dafd9e284cf --- /dev/null +++ b/sdk/cosmosdb/cosmos/src/request/DedicatedGatewayRequestOptions.ts @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * @beta Dedicated Gateway Request Options *Private feature* + */ +export interface DedicatedGatewayRequestOptions { + /** + * Sets the staleness value associated with the request in the Azure CosmosDB service. For requests where the {@link + * com.azure.cosmos.ConsistencyLevel} is {@link com.azure.cosmos.ConsistencyLevel#EVENTUAL}, responses from the + * integrated cache are guaranteed to be no staler than value indicated by this maxIntegratedCacheStaleness. When the + * consistency level is not set, this property is ignored. + * + *

Default value is null

+ * + *

Cache Staleness is supported in milliseconds granularity. Anything smaller than milliseconds will be ignored.

+ */ + maxIntegratedCacheStalenessInMs?: number; +} diff --git a/sdk/cosmosdb/cosmos/src/request/FeedOptions.ts b/sdk/cosmosdb/cosmos/src/request/FeedOptions.ts index 5650bd4ebb5e..970de25e1076 100644 --- a/sdk/cosmosdb/cosmos/src/request/FeedOptions.ts +++ b/sdk/cosmosdb/cosmos/src/request/FeedOptions.ts @@ -1,11 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { DedicatedGatewayRequestOptions } from ".."; import { SharedOptions } from "./SharedOptions"; /** * The feed options and query methods. */ -export interface FeedOptions extends SharedOptions { +export interface FeedOptions extends SharedOptions, DedicatedGatewayRequestOptions { /** Opaque token for continuing the enumeration. Default: undefined * @deprecated Use continuationToken instead. */ diff --git a/sdk/cosmosdb/cosmos/src/request/RequestOptions.ts b/sdk/cosmosdb/cosmos/src/request/RequestOptions.ts index 413208500edf..765bf151c732 100644 --- a/sdk/cosmosdb/cosmos/src/request/RequestOptions.ts +++ b/sdk/cosmosdb/cosmos/src/request/RequestOptions.ts @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { SharedOptions } from "./SharedOptions"; +import { DedicatedGatewayRequestOptions, SharedOptions } from ".."; /** * Options that can be specified for a requested issued to the Azure Cosmos DB servers.= */ -export interface RequestOptions extends SharedOptions { +export interface RequestOptions extends SharedOptions, DedicatedGatewayRequestOptions { /** Conditions Associated with the request. */ accessCondition?: { /** Conditional HTTP method header type (IfMatch or IfNoneMatch). */ diff --git a/sdk/cosmosdb/cosmos/src/request/index.ts b/sdk/cosmosdb/cosmos/src/request/index.ts index dae314f01343..9033c21eed29 100644 --- a/sdk/cosmosdb/cosmos/src/request/index.ts +++ b/sdk/cosmosdb/cosmos/src/request/index.ts @@ -18,3 +18,4 @@ export { SharedOptions } from "./SharedOptions"; export { StatusCode, SubStatusCode } from "./StatusCodes"; export { FeedResponse } from "./FeedResponse"; export { RequestContext } from "./RequestContext"; +export { DedicatedGatewayRequestOptions } from "./DedicatedGatewayRequestOptions"; diff --git a/sdk/cosmosdb/cosmos/src/request/request.ts b/sdk/cosmosdb/cosmos/src/request/request.ts index 8b9b51b4c754..bb3d684478a6 100644 --- a/sdk/cosmosdb/cosmos/src/request/request.ts +++ b/sdk/cosmosdb/cosmos/src/request/request.ts @@ -127,6 +127,11 @@ export async function getHeaders({ headers[Constants.HttpHeaders.ConsistencyLevel] = options.consistencyLevel; } + if (options.maxIntegratedCacheStalenessInMs && resourceType === ResourceType.item) { + headers[Constants.HttpHeaders.DedicatedGatewayPerRequestCacheStaleness] = + options.maxIntegratedCacheStalenessInMs; + } + if (options.resourceTokenExpirySeconds) { headers[Constants.HttpHeaders.ResourceTokenExpiry] = options.resourceTokenExpirySeconds; } @@ -187,6 +192,7 @@ export async function getHeaders({ if (options.disableRUPerMinuteUsage) { headers[Constants.HttpHeaders.DisableRUPerMinuteUsage] = true; } + if ( clientOptions.key || clientOptions.resourceTokens || diff --git a/sdk/cosmosdb/cosmos/test/internal/session.spec.ts b/sdk/cosmosdb/cosmos/test/internal/session.spec.ts index 8dc20654e92b..a95a9d3269d9 100644 --- a/sdk/cosmosdb/cosmos/test/internal/session.spec.ts +++ b/sdk/cosmosdb/cosmos/test/internal/session.spec.ts @@ -70,6 +70,96 @@ describe("New session token", function () { }); }); +describe("Integrated Cache Staleness", async function (this: Suite) { + beforeEach(async function () { + await removeAllDatabases(); + }); + const dbId = addEntropy("maxIntegratedCacheTestDB"); + const containerId = addEntropy("maxIntegratedCacheTestContainer"); + const dedicatedGatewayMaxAge = 600000; + const client = new CosmosClient({ + endpoint, + key: masterKey, + consistencyLevel: ConsistencyLevel.Eventual, + plugins: [ + { + on: "request", + plugin: async (context, next) => { + it("Should check if the max integrated cache staleness header is set and the value is correct.", async function () { + if (context.headers["x-ms-consistency-level"]) { + if (context.resourceType === ResourceType.item) { + if (context.headers["x-ms-dedicatedgateway-max-age"]) { + assert.strictEqual( + context.headers["x-ms-dedicatedgateway-max-age"].valueOf(), + dedicatedGatewayMaxAge + ); + } else { + assert( + context.headers["x-ms-dedicatedgateway-max-age"], + "x-ms-dedicatedgateway-max-age is not set." + ); + assert.ifError(context.headers["x-ms-dedicatedgateway-max-age"]); + } + } else { + assert( + context.headers["x-ms-dedicatedgateway-max-age"], + "Attempt to use x-ms-dedicatedgateway-max-age on a non-item request." + ); + assert.ifError(context.headers["x-ms-dedicatedgateway-max-age"]); + } + } else { + assert( + context.headers["x-ms-consistency-level"], + "x-ms-consistency-level is not set." + ); + assert.ifError(context.headers["x-ms-consistency-level"]); + } + }); + const response = await next(context); + return response; + }, + }, + ], + }); + const itemRequestFeedOptions = { + maxIntegratedCacheStalenessInMs: dedicatedGatewayMaxAge, + }; + const { database } = await client.databases.createIfNotExists({ + id: dbId, + }); + const { container } = await database.containers.createIfNotExists({ + id: containerId, + }); + + // Should pass with maxIntegratedCacheStalenessInMs and consistency level set. + await container.items.create({ id: "1" }); + await container.item("1").read(itemRequestFeedOptions); + + // Should pass with maxIntegratedCacheStalenessInMs and consistency level set. + // read document. + await container.items.readAll(itemRequestFeedOptions).fetchAll(); + + // Should pass with maxIntegratedCacheStalenessInMs and consistency level set. + // query documents + const querySpec = { + query: "SELECT * FROM root r WHERE r.id=@id", + parameters: [ + { + name: "@id", + value: "1", + }, + ], + }; + await container.items.query(querySpec, itemRequestFeedOptions).fetchAll(); + + // Should fail: maxIntegratedCacheStalenessInMs should only be set at the item request level and query feed options + assert.doesNotThrow(async () => { + await container.read({ + maxIntegratedCacheStalenessInMs: dedicatedGatewayMaxAge, + }); + }, "maxIntegratedCacheStalenessInMs should only be set at the item request level and query feed options"); +}); + // For some reason this test does not pass against the emulator. Skipping it for now describe.skip("Session Token", function (this: Suite) { beforeEach(async function () { diff --git a/sdk/cosmosdb/cosmos/tsconfig.strict.json b/sdk/cosmosdb/cosmos/tsconfig.strict.json index c38cebfdbc29..770783cc0cf5 100644 --- a/sdk/cosmosdb/cosmos/tsconfig.strict.json +++ b/sdk/cosmosdb/cosmos/tsconfig.strict.json @@ -117,6 +117,7 @@ "src/client/Database/index.ts", "src/documents/index.ts", "src/request/index.ts", + "src/request/DedicatedGatewayRequestOptions.ts", "src/index.ts", "src/retry/index.ts", "src/queryExecutionContext/Aggregators/index.ts", diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index a29f027686e7..6a31eaa9a0e7 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,4 +1,23 @@ # Release History + +## 10.5.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 10.5.0 (2022-05-09) + +**Features** + + - Added Interface PrivateEndpoint + - Interface PrivateLinkConnectionApprovalRequest has a new optional parameter privateEndpoint + - Type Alias DataFlowSink has a new parameter rejectedDataLinkedService + ## 10.4.0 (2022-04-20) diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index a0c15da10399..8996df746dbb 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,8 +1,8 @@ { - "commit": "8a9bd9c5b65e5c3e5a8536f3c5b2b15bf9920b5d", + "commit": "ee15422a60409285806e1673e191fe69333a7743", "readme": "specification/datafactory/resource-manager/readme.md", "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index e6ad8434229d..05b943db24fc 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "10.4.0", + "version": "10.5.1", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md index e6806f922158..d9d6d4a8cbec 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -1848,6 +1848,7 @@ export type DataFlowsGetResponse = DataFlowResource; // @public export type DataFlowSink = Transformation & { schemaLinkedService?: LinkedServiceReference; + rejectedDataLinkedService?: LinkedServiceReference; }; // @public @@ -6330,6 +6331,11 @@ export type PrestoSource = TabularSource & { query?: Record; }; +// @public +export interface PrivateEndpoint { + id?: string; +} + // @public export interface PrivateEndpointConnection { createOrUpdate(resourceGroupName: string, factoryName: string, privateEndpointConnectionName: string, privateEndpointWrapper: PrivateLinkConnectionApprovalRequestResource, options?: PrivateEndpointConnectionCreateOrUpdateOptionalParams): Promise; @@ -6389,6 +6395,7 @@ export type PrivateEndPointConnectionsListByFactoryResponse = PrivateEndpointCon // @public export interface PrivateLinkConnectionApprovalRequest { + privateEndpoint?: PrivateEndpoint; privateLinkServiceConnectionState?: PrivateLinkConnectionState; } diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index b76a0a0ef1d6..a4e52a573cca 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -87,7 +87,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-datafactory/10.4.0`; + const packageDetails = `azsdk-js-arm-datafactory/10.5.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 4efef14cdc31..f426b7cf27e0 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -2261,6 +2261,14 @@ export interface PrivateLinkConnectionState { export interface PrivateLinkConnectionApprovalRequest { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionState; + /** The resource of private endpoint. */ + privateEndpoint?: PrivateEndpoint; +} + +/** Private endpoint which a connection belongs to. */ +export interface PrivateEndpoint { + /** The resource Id for private endpoint */ + id?: string; } /** Wrapper for a collection of private link resources */ @@ -7418,6 +7426,8 @@ export type DataFlowSource = Transformation & { export type DataFlowSink = Transformation & { /** Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; + /** Rejected data linked service reference. */ + rejectedDataLinkedService?: LinkedServiceReference; }; /** The location of azure blob dataset. */ diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 0da0102f5043..fb890e4b1a39 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -3641,6 +3641,28 @@ export const PrivateLinkConnectionApprovalRequest: coreClient.CompositeMapper = name: "Composite", className: "PrivateLinkConnectionState" } + }, + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } + } + } +}; + +export const PrivateEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } } } } @@ -18472,6 +18494,13 @@ export const DataFlowSink: coreClient.CompositeMapper = { name: "Composite", className: "LinkedServiceReference" } + }, + rejectedDataLinkedService: { + serializedName: "rejectedDataLinkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } } } } diff --git a/sdk/digitaltwins/digital-twins-core/CHANGELOG.md b/sdk/digitaltwins/digital-twins-core/CHANGELOG.md index 6fa17168bccf..87c290e31b39 100644 --- a/sdk/digitaltwins/digital-twins-core/CHANGELOG.md +++ b/sdk/digitaltwins/digital-twins-core/CHANGELOG.md @@ -12,6 +12,12 @@ ### Key Bugs Fixed +### Other Changes + +- Updated our `@azure/core-tracing` dependency to the latest version (1.0.0). + - Notable changes include Removal of `@opentelemetry/api` as a transitive dependency and ensuring that the active context is properly propagated. + - Customers who would like to continue using OpenTelemetry driven tracing should visit our [OpenTelemetry Instrumentation](https://www.npmjs.com/package/@azure/opentelemetry-instrumentation-azure-sdk) package for instructions. + ## 1.0.3 (2021-01-15) - Bug Fix: include the types definition file in the shipped package diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index d78a471c6307..9e71d5501c8e 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -66,7 +66,7 @@ "dependencies": { "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-tracing": "^1.0.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, @@ -118,7 +118,7 @@ "prefix": "packageVersion" }, { - "path": "src/digitalTwinsClient.ts", + "path": "src/constants.ts", "prefix": "SDK_VERSION" }, { diff --git a/sdk/digitaltwins/digital-twins-core/src/constants.ts b/sdk/digitaltwins/digital-twins-core/src/constants.ts new file mode 100644 index 000000000000..9ffa1892ce39 --- /dev/null +++ b/sdk/digitaltwins/digital-twins-core/src/constants.ts @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +export const SDK_VERSION: string = "1.1.0"; diff --git a/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts b/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts index 191ed6f38d84..54a6ae06fef9 100644 --- a/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts +++ b/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts @@ -52,11 +52,9 @@ import { QueryQueryTwinsResponse, QuerySpecification, } from "./generated/models"; -import { createSpan } from "./tracing"; -import { SpanStatusCode } from "@azure/core-tracing"; +import { tracingClient } from "./tracing"; import { logger } from "./logger"; - -export const SDK_VERSION: string = "1.1.0"; +import { SDK_VERSION } from "./constants"; export interface DigitalTwinsClientOptions extends PipelineOptions { /** @@ -140,18 +138,13 @@ export class DigitalTwinsClient { digitalTwinId: string, options: OperationOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-getDigitalTwin", options); - try { - return this.client.digitalTwins.getById(digitalTwinId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.getDigitalTwin", + options, + async (updatedOptions) => { + return this.client.digitalTwins.getById(digitalTwinId, updatedOptions); + } + ); } /** @@ -168,19 +161,14 @@ export class DigitalTwinsClient { digitalTwinJson: string, options: DigitalTwinsAddOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-upsertDigitalTwin", options); - try { - const payload = JSON.parse(digitalTwinJson); - return this.client.digitalTwins.add(digitalTwinId, payload, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.upsertDigitalTwin", + options, + async (updatedOptions) => { + const payload = JSON.parse(digitalTwinJson); + return this.client.digitalTwins.add(digitalTwinId, payload, updatedOptions); + } + ); } /** @@ -200,18 +188,13 @@ export class DigitalTwinsClient { jsonPatch: any, options: DigitalTwinsUpdateOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-updateDigitalTwin", options); - try { - return this.client.digitalTwins.update(digitalTwinId, jsonPatch, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.updateDigitalTwin", + options, + async (updatedOptions) => { + return this.client.digitalTwins.update(digitalTwinId, jsonPatch, updatedOptions); + } + ); } /** @@ -226,18 +209,13 @@ export class DigitalTwinsClient { digitalTwinId: string, options: DigitalTwinsDeleteOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-deleteDigitalTwin", options); - try { - return this.client.digitalTwins.delete(digitalTwinId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.deleteDigitalTwin", + options, + async (updatedOptions) => { + return this.client.digitalTwins.delete(digitalTwinId, updatedOptions); + } + ); } /** @@ -253,18 +231,13 @@ export class DigitalTwinsClient { componentName: string, options: OperationOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-getComponent", options); - try { - return this.client.digitalTwins.getComponent(digitalTwinId, componentName, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.getComponent", + options, + async (updatedOptions) => { + return this.client.digitalTwins.getComponent(digitalTwinId, componentName, updatedOptions); + } + ); } /** @@ -284,23 +257,18 @@ export class DigitalTwinsClient { jsonPatch: any[], options: DigitalTwinsUpdateComponentOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-updateComponent", options); - try { - return this.client.digitalTwins.updateComponent( - digitalTwinId, - componentName, - jsonPatch, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.updateComponent", + options, + async (updatedOptions) => { + return this.client.digitalTwins.updateComponent( + digitalTwinId, + componentName, + jsonPatch, + updatedOptions + ); + } + ); } /** @@ -316,22 +284,17 @@ export class DigitalTwinsClient { relationshipId: string, options: OperationOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-getRelationship", options); - try { - return this.client.digitalTwins.getRelationshipById( - digitalTwinId, - relationshipId, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.getRelationship", + options, + async (updatedOptions) => { + return this.client.digitalTwins.getRelationshipById( + digitalTwinId, + relationshipId, + updatedOptions + ); + } + ); } /** @@ -350,23 +313,18 @@ export class DigitalTwinsClient { relationship: any, options: DigitalTwinsAddRelationshipOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-upsertRelationship", options); - try { - return this.client.digitalTwins.addRelationship( - digitalTwinId, - relationshipId, - relationship, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.upsertRelationship", + options, + async (updatedOptions) => { + return this.client.digitalTwins.addRelationship( + digitalTwinId, + relationshipId, + relationship, + updatedOptions + ); + } + ); } /** @@ -384,23 +342,18 @@ export class DigitalTwinsClient { jsonPatch: any[], options: DigitalTwinsUpdateRelationshipOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-updateRelationship", options); - try { - return this.client.digitalTwins.updateRelationship( - digitalTwinId, - relationshipId, - jsonPatch, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.updateRelationship", + options, + async (updatedOptions) => { + return this.client.digitalTwins.updateRelationship( + digitalTwinId, + relationshipId, + jsonPatch, + updatedOptions + ); + } + ); } /** @@ -417,22 +370,17 @@ export class DigitalTwinsClient { relationshipId: string, options: DigitalTwinsDeleteRelationshipOptionalParams = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-deleteRelationship", options); - try { - return this.client.digitalTwins.deleteRelationship( - digitalTwinId, - relationshipId, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.deleteRelationship", + options, + async (updatedOptions) => { + return this.client.digitalTwins.deleteRelationship( + digitalTwinId, + relationshipId, + updatedOptions + ); + } + ); } /** @@ -496,29 +444,18 @@ export class DigitalTwinsClient { digitalTwinId: string, options: OperationOptions & PageSettings = {} ): PagedAsyncIterableIterator { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-listRelationships", options); - try { - const iter = this.listRelationshipsAll(digitalTwinId, updatedOptions); + const iter = this.listRelationshipsAll(digitalTwinId, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings: PageSettings = {}) => - this.listRelationshipsPage(digitalTwinId, updatedOptions, settings), - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings: PageSettings = {}) => + this.listRelationshipsPage(digitalTwinId, options, settings), + }; } /** @@ -583,32 +520,18 @@ export class DigitalTwinsClient { IncomingRelationship, DigitalTwinsListIncomingRelationshipsResponse > { - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-listIncomingRelationships", - options - ); - try { - const iter = this.listIncomingRelationshipsAll(digitalTwinId, updatedOptions); + const iter = this.listIncomingRelationshipsAll(digitalTwinId, options); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings: PageSettings = {}) => - this.listIncomingRelationshipsPage(digitalTwinId, updatedOptions, settings), - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings: PageSettings = {}) => + this.listIncomingRelationshipsPage(digitalTwinId, options, settings), + }; } /** @@ -633,26 +556,19 @@ export class DigitalTwinsClient { if (!messageId) { messageId = generateUuid(); } - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-publishTelemetry", - digitalTwinsSendTelemetryOptionalParams + + return tracingClient.withSpan( + "DigitalTwinsClient.publishTelemetry", + digitalTwinsSendTelemetryOptionalParams, + async (updatedOptions) => { + return this.client.digitalTwins.sendTelemetry( + digitalTwinId, + messageId, + payload, + updatedOptions + ); + } ); - try { - return this.client.digitalTwins.sendTelemetry( - digitalTwinId, - messageId, - payload, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } } /** @@ -678,27 +594,20 @@ export class DigitalTwinsClient { if (!messageId) { messageId = generateUuid(); } - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-publishComponentTelemetry", - digitalTwinsSendComponentTelemetryOptionalParams + + return tracingClient.withSpan( + "DigitalTwinsClient.publishComponentTelemetry", + digitalTwinsSendComponentTelemetryOptionalParams, + async (updatedOptions) => { + return this.client.digitalTwins.sendComponentTelemetry( + digitalTwinId, + componentName, + payload, + messageId, + updatedOptions + ); + } ); - try { - return this.client.digitalTwins.sendComponentTelemetry( - digitalTwinId, - componentName, - payload, - messageId, - updatedOptions - ); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } } /** @@ -716,21 +625,14 @@ export class DigitalTwinsClient { ): Promise { const digitalTwinModelsGetByIdOptionalParams: DigitalTwinModelsGetByIdOptionalParams = options; digitalTwinModelsGetByIdOptionalParams.includeModelDefinition = includeModelDefinition; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getModel", - digitalTwinModelsGetByIdOptionalParams + + return tracingClient.withSpan( + "DigitalTwinsClient.getModel", + digitalTwinModelsGetByIdOptionalParams, + async (updatedOptions) => { + return this.client.digitalTwinModels.getById(modelId, updatedOptions); + } ); - try { - return this.client.digitalTwinModels.getById(modelId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } } /** @@ -800,32 +702,19 @@ export class DigitalTwinsClient { dependenciesFor: dependeciesFor, includeModelDefinition: includeModelDefinition, }; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-listModels", - digitalTwinModelsListOptionalParams - ); - try { - const iter = this.getModelsAll(updatedOptions); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings: PageSettings = {}) => - this.getModelsPage(digitalTwinModelsListOptionalParams, settings), - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + const iter = this.getModelsAll(digitalTwinModelsListOptionalParams); + + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings: PageSettings = {}) => + this.getModelsPage(digitalTwinModelsListOptionalParams, settings), + }; } /** @@ -841,21 +730,14 @@ export class DigitalTwinsClient { ): Promise { const digitalTwinModelsAddOptionalParams: DigitalTwinModelsAddOptionalParams = options; digitalTwinModelsAddOptionalParams.models = dtdlModels; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-createModels", - digitalTwinModelsAddOptionalParams + + return tracingClient.withSpan( + "DigitalTwinsClient.createModels", + digitalTwinModelsAddOptionalParams, + async (updatedOptions) => { + return this.client.digitalTwinModels.add(updatedOptions); + } ); - try { - return this.client.digitalTwinModels.add(updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } } /** @@ -873,18 +755,13 @@ export class DigitalTwinsClient { public decommissionModel(modelId: string, options: OperationOptions = {}): Promise { const jsonPatch = [{ op: "replace", path: "/decommissioned", value: true }]; - const { span, updatedOptions } = createSpan("DigitalTwinsClient-decommissionModel", options); - try { - return this.client.digitalTwinModels.update(modelId, jsonPatch, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.decommissionModel", + options, + async (updatedOptions) => { + return this.client.digitalTwinModels.update(modelId, jsonPatch, updatedOptions); + } + ); } /** @@ -900,18 +777,13 @@ export class DigitalTwinsClient { * @returns The http response. */ public deleteModel(modelId: string, options: OperationOptions = {}): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-deleteModel", options); - try { - return this.client.digitalTwinModels.delete(modelId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.deleteModel", + options, + async (updatedOptions) => { + return this.client.digitalTwinModels.delete(modelId, updatedOptions); + } + ); } /** @@ -925,18 +797,13 @@ export class DigitalTwinsClient { eventRouteId: string, options: OperationOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-getEventRoute", options); - try { - return this.client.eventRoutes.getById(eventRouteId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.getEventRoute", + options, + async (updatedOptions) => { + return this.client.eventRoutes.getById(eventRouteId, updatedOptions); + } + ); } /** @@ -1001,32 +868,18 @@ export class DigitalTwinsClient { maxItemsPerPage: resultsPerPage, }; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-listEventRoutes", - eventRoutesListOptionalParams - ); - try { - const iter = this.getEventRoutesAll(updatedOptions); + const iter = this.getEventRoutesAll(eventRoutesListOptionalParams); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings: PageSettings = {}) => - this.getEventRoutesPage(eventRoutesListOptionalParams, settings), - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings: PageSettings = {}) => + this.getEventRoutesPage(eventRoutesListOptionalParams, settings), + }; } /** @@ -1050,21 +903,14 @@ export class DigitalTwinsClient { filter: filter, }; eventRoutesAddOptionalParams.eventRoute = eventRoute; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-upsertEventRoute", - eventRoutesAddOptionalParams + + return tracingClient.withSpan( + "DigitalTwinsClient.upsertEventRoute", + eventRoutesAddOptionalParams, + async (updatedOptions) => { + return this.client.eventRoutes.add(eventRouteId, updatedOptions); + } ); - try { - return this.client.eventRoutes.add(eventRouteId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } } /** @@ -1078,18 +924,13 @@ export class DigitalTwinsClient { eventRouteId: string, options: OperationOptions = {} ): Promise { - const { span, updatedOptions } = createSpan("DigitalTwinsClient-deleteEventRoute", options); - try { - return this.client.eventRoutes.delete(eventRouteId, updatedOptions); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return tracingClient.withSpan( + "DigitalTwinsClient.deleteEventRoute", + options, + async (updatedOptions) => { + return this.client.eventRoutes.delete(eventRouteId, updatedOptions); + } + ); } /** @@ -1163,31 +1004,17 @@ export class DigitalTwinsClient { maxItemsPerPage: resultsPerPage, }; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-queryTwins", - queryQueryTwinsOptionalParams - ); - try { - const iter = this.queryTwinsAll(query, updatedOptions); + const iter = this.queryTwinsAll(query, queryQueryTwinsOptionalParams); - return { - next() { - return iter.next(); - }, - [Symbol.asyncIterator]() { - return this; - }, - byPage: (settings: PageSettings = {}) => - this.queryTwinsPage(query, queryQueryTwinsOptionalParams, settings), - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings: PageSettings = {}) => + this.queryTwinsPage(query, queryQueryTwinsOptionalParams, settings), + }; } } diff --git a/sdk/digitaltwins/digital-twins-core/src/tracing.ts b/sdk/digitaltwins/digital-twins-core/src/tracing.ts index b0d3f900a103..a69f5f773ade 100644 --- a/sdk/digitaltwins/digital-twins-core/src/tracing.ts +++ b/sdk/digitaltwins/digital-twins-core/src/tracing.ts @@ -1,13 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { createSpanFunction } from "@azure/core-tracing"; +import { createTracingClient } from "@azure/core-tracing"; +import { SDK_VERSION } from "./constants"; /** - * Creates a span using the global tracer. + * Creates a tracing client to manage tracing spans. * @internal */ -export const createSpan = createSpanFunction({ - packagePrefix: "DigitalTwinsClient", +export const tracingClient = createTracingClient({ namespace: "Microsoft.DigitalTwins", + packageName: "@azure/digital-twins-core", + packageVersion: SDK_VERSION, }); diff --git a/sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts b/sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts index 2f1fc56af639..4ded4b1914aa 100644 --- a/sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts +++ b/sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts @@ -12,28 +12,12 @@ import { HttpHeaders, } from "@azure/core-http"; import { - DigitalTwinsUpdateOptionalParams, - DigitalTwinsDeleteOptionalParams, - DigitalTwinsUpdateComponentOptionalParams, - DigitalTwinsAddRelationshipOptionalParams, - DigitalTwinsUpdateRelationshipOptionalParams, - DigitalTwinsDeleteRelationshipOptionalParams, DigitalTwinModelsGetByIdOptionalParams, DigitalTwinModelsAddOptionalParams, EventRoute, EventRoutesAddOptionalParams, - EventRoutesDeleteOptionalParams, - EventRoutesGetByIdOptionalParams, - DigitalTwinModelsDeleteOptionalParams, - DigitalTwinModelsUpdateOptionalParams, - DigitalTwinsGetRelationshipByIdOptionalParams, - DigitalTwinsGetComponentOptionalParams, - DigitalTwinsAddOptionalParams, - DigitalTwinsGetByIdOptionalParams, } from "../../src/generated/models"; import { DigitalTwinsClient } from "../../src/index"; -import { createSpan } from "../../src/tracing"; -import { getSpanContext } from "@azure/core-tracing"; describe("DigitalTwinsClient", () => { let operationOptions: OperationOptions; @@ -113,30 +97,16 @@ describe("DigitalTwinsClient", () => { it("getDigitalTwin calls the getById method with twinId on the generated client if there is no option defined", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "getById"); - const digitalTwinsGetByIdOptionalParams: DigitalTwinsGetByIdOptionalParams = {}; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getDigitalTwin", - digitalTwinsGetByIdOptionalParams - ); testClient.getDigitalTwin(testTwinId); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testTwinId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId)); }); it("getDigitalTwin calls the getById method with twinId and converted options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "getById"); - const digitalTwinsGetByIdOptionalParams: DigitalTwinsGetByIdOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getDigitalTwin", - digitalTwinsGetByIdOptionalParams - ); testClient.getDigitalTwin(testTwinId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testTwinId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, sinon.match(operationOptions))); }); it("getDigitalTwin returns a promise of the generated code return value", async () => { @@ -155,18 +125,9 @@ describe("DigitalTwinsClient", () => { it("upsertDigitalTwin calls the add method with twinId and twinJson on the generated client if there is no option defined", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "add"); - const digitalTwinsAddOptionalParams: DigitalTwinsAddOptionalParams = {}; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-upsertDigitalTwin", - digitalTwinsAddOptionalParams - ); testClient.upsertDigitalTwin(testTwinId, JSON.stringify(testJsonString)); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testJsonString, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testJsonString)); }); it("upsertDigitalTwin returns a promise of the generated code return value", async () => { @@ -186,19 +147,10 @@ describe("DigitalTwinsClient", () => { }); it("updateDigitalTwin calls the update method with twinId, jsonPatch and converted options on the generated client", function () { - const digitalTwinsUpdateOptionalParams: DigitalTwinsUpdateOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-updateDigitalTwin", - digitalTwinsUpdateOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwins, "update"); testClient.updateDigitalTwin(testTwinId, testJsonPatch, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testJsonPatch, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testJsonPatch, sinon.match(operationOptions))); }); it("updateDigitalTwin returns a promise of the generated code return value", async () => { @@ -216,17 +168,10 @@ describe("DigitalTwinsClient", () => { }); it("deleteDigitalTwin calls the deleteMethod method with twinId and converted options on the generated client", function () { - const digitalTwinsDeleteOptionalParams: DigitalTwinsDeleteOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-deleteDigitalTwin", - digitalTwinsDeleteOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwins, "delete"); testClient.deleteDigitalTwin(testTwinId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testTwinId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, sinon.match(operationOptions))); }); it("deleteDigitalTwin returns a promise of the generated code return value", async () => { @@ -247,19 +192,9 @@ describe("DigitalTwinsClient", () => { it("getComponent calls the getComponent method with twinId, componentPath and converted options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "getComponent"); - const digitalTwinsGetComponentOptionalParams: DigitalTwinsGetComponentOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getComponent", - digitalTwinsGetComponentOptionalParams - ); testClient.getComponent(testTwinId, testComponentPath, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testComponentPath, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testComponentPath, sinon.match(operationOptions))); }); it("getComponent returns a promise of the generated code return value", async () => { @@ -277,25 +212,12 @@ describe("DigitalTwinsClient", () => { }); it("updateComponent calls the updateComponent method with twinId, componentPath, jsonPatch and converted options on the generated client", function () { - const digitalTwinsUpdateComponentOptionalParams: DigitalTwinsUpdateComponentOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-updateComponent", - digitalTwinsUpdateComponentOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwins, "updateComponent"); testClient.updateComponent(testTwinId, testComponentPath, testJsonPatch, operationOptions); assert.isTrue(stub.calledOnce); assert.isTrue( - stub.calledWith( - testTwinId, - testComponentPath, - testJsonPatch, - operationOptionsSinonMatcher(updatedOptions) - ) + stub.calledWith(testTwinId, testComponentPath, testJsonPatch, sinon.match(operationOptions)) ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); }); it("updateComponent returns a promise of the generated code return value", async () => { @@ -316,36 +238,16 @@ describe("DigitalTwinsClient", () => { it("getRelationship calls the getRelationshipById method with twinId and relationshipId on the generated client if there is no option defined", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "getRelationshipById"); - const digitalTwinsGetRelationshipByIdOptionalParams: DigitalTwinsGetRelationshipByIdOptionalParams = - {}; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getRelationship", - digitalTwinsGetRelationshipByIdOptionalParams - ); testClient.getRelationship(testTwinId, testRelationshipId); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testRelationshipId, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testRelationshipId)); }); it("getRelationship calls the getRelationshipById method with twinId, relationshipId and options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "getRelationshipById"); - const digitalTwinsGetRelationshipByIdOptionalParams: DigitalTwinsGetRelationshipByIdOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getRelationship", - digitalTwinsGetRelationshipByIdOptionalParams - ); testClient.getRelationship(testTwinId, testRelationshipId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testRelationshipId, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testRelationshipId)); }); it("getRelationship returns a promise of the generated code return value", async () => { @@ -364,24 +266,11 @@ describe("DigitalTwinsClient", () => { it("upsertRelationship calls the addRelationship method with twinId, relationshipId, relationshipJson and converted options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwins, "addRelationship"); - const digitalTwinsAddRelationshipOptionalParams: DigitalTwinsAddRelationshipOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-upsertRelationship", - digitalTwinsAddRelationshipOptionalParams - ); testClient.upsertRelationship(testTwinId, testRelationshipId, testJsonString, operationOptions); assert.isTrue(stub.calledOnce); assert.isTrue( - stub.calledWith( - testTwinId, - testRelationshipId, - testJsonString, - operationOptionsSinonMatcher(updatedOptions) - ) + stub.calledWith(testTwinId, testRelationshipId, testJsonString, sinon.match(operationOptions)) ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); }); it("upsertRelationship returns a promise of the generated code return value", async () => { @@ -405,25 +294,12 @@ describe("DigitalTwinsClient", () => { }); it("updateRelationship calls the updateRelationship method with twinId, jsonPatch and converted options on the generated client", function () { - const digitalTwinsUpdateRelationshipOptionalParams: DigitalTwinsUpdateRelationshipOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-updateRelationship", - digitalTwinsUpdateRelationshipOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwins, "updateRelationship"); testClient.updateRelationship(testTwinId, testRelationshipId, testJsonPatch, operationOptions); assert.isTrue(stub.calledOnce); assert.isTrue( - stub.calledWith( - testTwinId, - testRelationshipId, - testJsonPatch, - operationOptionsSinonMatcher(updatedOptions) - ) + stub.calledWith(testTwinId, testRelationshipId, testJsonPatch, sinon.match(operationOptions)) ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); }); it("updateRelationship returns a promise of the generated code return value", async () => { @@ -447,20 +323,10 @@ describe("DigitalTwinsClient", () => { }); it("deleteRelationship calls the deleteRelationship method with twinId, relationshipId and converted options on the generated client", function () { - const digitalTwinsDeleteRelationshipOptionalParams: DigitalTwinsDeleteRelationshipOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-deleteRelationship", - digitalTwinsDeleteRelationshipOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwins, "deleteRelationship"); testClient.deleteRelationship(testTwinId, testRelationshipId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testTwinId, testRelationshipId, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testTwinId, testRelationshipId, sinon.match(operationOptions))); }); it("deleteRelationship returns a promise of the generated code return value", async () => { @@ -523,10 +389,6 @@ describe("DigitalTwinsClient", () => { const digitalTwinModelsGetByIdOptionalParams: DigitalTwinModelsGetByIdOptionalParams = operationOptions; digitalTwinModelsGetByIdOptionalParams.includeModelDefinition = includeModelDefinition; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getModel", - digitalTwinModelsGetByIdOptionalParams - ); const stub = sinon.stub(testClient["client"].digitalTwinModels, "getById"); testClient.getModel( @@ -535,9 +397,9 @@ describe("DigitalTwinsClient", () => { digitalTwinModelsGetByIdOptionalParams ); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testModelId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue( + stub.calledWith(testModelId, sinon.match({ ...operationOptions, includeModelDefinition })) + ); }); it("getModel rejects the promise if the generated code rejects it", async () => { @@ -551,15 +413,9 @@ describe("DigitalTwinsClient", () => { const stub = sinon.stub(testClient["client"].digitalTwinModels, "add"); const digitalTwinModelsAddOptionalParams: DigitalTwinModelsAddOptionalParams = operationOptions; digitalTwinModelsAddOptionalParams.models = testModels; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-createModels", - digitalTwinModelsAddOptionalParams - ); testClient.createModels(testModels, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(sinon.match({ ...operationOptions, models: testModels }))); }); it("createModels rejects the promise if the generated code rejects it", async () => { @@ -571,19 +427,9 @@ describe("DigitalTwinsClient", () => { it("decomissionModel calls the update method with modelId, patchJson and options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwinModels, "update"); - const digitalTwinModelsUpdateOptionalParams: DigitalTwinModelsUpdateOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-decomissionModel", - digitalTwinModelsUpdateOptionalParams - ); testClient.decomissionModel(testModelId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue( - stub.calledWith(testModelId, decommissionPatch, operationOptionsSinonMatcher(updatedOptions)) - ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testModelId, decommissionPatch, sinon.match(operationOptions))); }); it("decomissionModel returns a promise of the generated code return value", async () => { @@ -604,17 +450,9 @@ describe("DigitalTwinsClient", () => { it("deleteModel calls the deleteMethod method with modelId and options on the generated client", function () { const stub = sinon.stub(testClient["client"].digitalTwinModels, "delete"); - const digitalTwinModelsDeleteOptionalParams: DigitalTwinModelsDeleteOptionalParams = - operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-deleteModel", - digitalTwinModelsDeleteOptionalParams - ); - testClient.deleteModel(testModelId, updatedOptions); + testClient.deleteModel(testModelId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testModelId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testModelId, sinon.match(operationOptions))); }); it("deleteModel returns a promise of the generated code return value", async () => { @@ -642,17 +480,10 @@ describe("DigitalTwinsClient", () => { it("getEventRoute calls the getById method with twinId and converted options on the generated client", function () { const stub = sinon.stub(testClient["client"].eventRoutes, "getById"); - const eventRoutesGetByIdOptionalParams: EventRoutesGetByIdOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-getEventRoute", - eventRoutesGetByIdOptionalParams - ); - testClient.getEventRoute(testEventRouteId, updatedOptions); + testClient.getEventRoute(testEventRouteId, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testEventRouteId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue(stub.calledWith(testEventRouteId, sinon.match(operationOptions))); }); it("getEventRoute rejects the promise if the generated code rejects it", async () => { @@ -671,22 +502,18 @@ describe("DigitalTwinsClient", () => { it("upsertEventRoute calls the add method with eventRouteId and converted options on the generated client", function () { const eventRoutesAddOptionalParams: EventRoutesAddOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-upsertEventRoute", - eventRoutesAddOptionalParams - ); const eventRoute: EventRoute = { endpointName: testEndpointName, filter: testFilter, }; - updatedOptions.eventRoute = eventRoute; + eventRoutesAddOptionalParams.eventRoute = eventRoute; const stub = sinon.stub(testClient["client"].eventRoutes, "add"); testClient.upsertEventRoute(testEventRouteId, testEndpointName, testFilter, operationOptions); assert.isTrue(stub.calledOnce); - assert.isTrue(stub.calledWith(testEventRouteId, operationOptionsSinonMatcher(updatedOptions))); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); + assert.isTrue( + stub.calledWith(testEventRouteId, sinon.match({ ...operationOptions, eventRoute })) + ); }); it("upsertEventRoute returns a promise of the generated code return value", async () => { @@ -711,20 +538,13 @@ describe("DigitalTwinsClient", () => { it("deleteEventRoute calls the deleteMethod method with eventRouteId and options on the generated client", function () { const stub = sinon.stub(testClient["client"].eventRoutes, "delete"); - const eventRoutesDeleteOptionalParams: EventRoutesDeleteOptionalParams = operationOptions; - const { span, updatedOptions } = createSpan( - "DigitalTwinsClient-deleteEventRoute", - eventRoutesDeleteOptionalParams - ); testClient.deleteEventRoute(testEventRouteId, operationOptions); assert.isTrue(stub.calledOnce, "deleteStub should be called once"); assert.isTrue( - stub.calledWith(testEventRouteId, operationOptionsSinonMatcher(updatedOptions)), + stub.calledWith(testEventRouteId, sinon.match(operationOptions)), "deleteStub should be called with proper route ID and updatedOptions" ); - assert.isNotNull(updatedOptions); - assert.isNotNull(span); }); it("deleteEventRoute returns a promise of the generated code return value", async () => { @@ -743,38 +563,3 @@ describe("DigitalTwinsClient", () => { }); }); }); - -/** - * The tests in this suite check that the created options match what createSpan() would create - * when properly parenting and propagating options. - * - * This is slightly trickier with later versions of OpenTelemetry where the created `context` - * instances are not guaranteed to be comparable even if they are logically the same. So this - * matcher does the comparisons needed and still maintain sinon.calledWith() compatibility. - */ -function operationOptionsSinonMatcher( - _expectedOptions: T -): ReturnType { - return sinon.match((actualOptions: T) => { - const expectedContext = _expectedOptions!.tracingOptions!.tracingContext!; - - assert.deepEqual( - getSpanContext(expectedContext), - getSpanContext(actualOptions.tracingOptions!.tracingContext!) - ); - - // check all the other properties that aren't interestingly unique - const expectedOptions = { - ..._expectedOptions, - tracingOptions: { - ..._expectedOptions.tracingOptions, - // we verified this above. Adding it in here just to make deep equal comparison - // simpler. - tracingContext: actualOptions.tracingOptions!.tracingContext, - }, - }; - - assert.deepEqual(expectedOptions, actualOptions); - return true; - }); -} diff --git a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json index c217363c8c5a..a3e8c7397b6b 100644 --- a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", @@ -10,7 +10,7 @@ "aeg-sas-key": "api_key", "Connection": "keep-alive", "Content-Length": "241", - "Content-Type": "application/cloudevents-batch\u002Bjson; charset=UTF-8", + "Content-Type": "application/cloudevents-batch\u002Bjson; charset=utf-8", "Referer": "http://localhost:9876/", "sec-ch-ua": "", "sec-ch-ua-mobile": "?0", @@ -18,28 +18,28 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "399e8d33-90c4-416e-b32d-c57dafa8f074", - "x-ms-useragent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 OS/Linuxx86_64" + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/101.0.4950.0 Safari/537.36", + "x-ms-client-request-id": "8bad06a1-fa1b-4d99-ad82-1acaeddbab9d", + "x-ms-useragent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 OS/Linuxx86_64" }, - "RequestBody": "[{\u0022id\u0022:\u0022cloudSingleEventId100204\u0022,\u0022source\u0022:\u0022/earth/unitedstates/washington/kirkland/finnhill\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022type\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022time\u0022:\u00222022-02-09T01:46:42.000Z\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022}]", + "RequestBody": "[{\u0022id\u0022:\u0022cloudSingleEventId100199\u0022,\u0022source\u0022:\u0022/earth/unitedstates/washington/kirkland/finnhill\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022type\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022time\u0022:\u00222022-05-11T00:24:51.000Z\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "697", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:46:42 GMT", + "Date": "Wed, 11 May 2022 00:24:52 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "41b60db8-3254-454d-ab8d-6cd60f1e5f34" + "x-ms-request-id": "6ac5e28e-d324-411a-ab0c-7d2df747ab79" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002741b60db8-3254-454d-ab8d-6cd60f1e5f34:2/9/2022 1:46:42 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u00276ac5e28e-d324-411a-ab0c-7d2df747ab79:5/11/2022 12:24:52 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002741b60db8-3254-454d-ab8d-6cd60f1e5f34:2/9/2022 1:46:42 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u00276ac5e28e-d324-411a-ab0c-7d2df747ab79:5/11/2022 12:24:52 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } @@ -47,7 +47,7 @@ } ], "Variables": { - "cloudSingleEventDate": "Wed Feb 09 2022 01:46:42 GMT\u002B0000 (Coordinated Universal Time)", - "cloudSingleEventId": "cloudSingleEventId100204" + "cloudSingleEventDate": "Tue May 10 2022 17:24:51 GMT-0700 (Pacific Daylight Time)", + "cloudSingleEventId": "cloudSingleEventId100199" } } diff --git a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json index 7aed86a29348..50623fffaa57 100644 --- a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", @@ -18,28 +18,28 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3cca87e0-2c33-45ff-b5ce-5c162806720b", - "x-ms-useragent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 OS/Linuxx86_64" + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/101.0.4950.0 Safari/537.36", + "x-ms-client-request-id": "7f7c3231-06ec-4e62-97ab-6b78391237f7", + "x-ms-useragent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 OS/Linuxx86_64" }, "RequestBody": "[{\u0022ver\u0022:\u00221.0\u0022,\u0022typ\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022sub\u0022:\u0022Single\u0022,\u0022payload\u0022:{\u0022hello\u0022:\u0022world\u0022}}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "699", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:46:42 GMT", + "Date": "Wed, 11 May 2022 00:24:52 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "82f5e7f8-277f-498e-b7b1-01757f9ec0fb" + "x-ms-request-id": "e5082949-7c88-4b4a-91cf-dffceaa5cfb1" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002782f5e7f8-277f-498e-b7b1-01757f9ec0fb:2/9/2022 1:46:43 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027e5082949-7c88-4b4a-91cf-dffceaa5cfb1:5/11/2022 12:24:53 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002782f5e7f8-277f-498e-b7b1-01757f9ec0fb:2/9/2022 1:46:43 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027e5082949-7c88-4b4a-91cf-dffceaa5cfb1:5/11/2022 12:24:53 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } diff --git a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json index a925e792e83b..c0eb41983241 100644 --- a/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/browsers/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "*/*", @@ -18,28 +18,28 @@ "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e74d6550-fbb0-4923-aab1-5e5c8c2b7b25", - "x-ms-useragent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 OS/Linuxx86_64" + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/101.0.4950.0 Safari/537.36", + "x-ms-client-request-id": "f93fb6c3-783f-479e-b173-baf422341c9b", + "x-ms-useragent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 OS/Linuxx86_64" }, - "RequestBody": "[{\u0022id\u0022:\u0022singleEventId100395\u0022,\u0022subject\u0022:\u0022Single 1\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022eventType\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022eventTime\u0022:\u00222022-02-09T01:46:41.000Z\u0022,\u0022dataVersion\u0022:\u00221.0\u0022}]", + "RequestBody": "[{\u0022id\u0022:\u0022singleEventId100224\u0022,\u0022subject\u0022:\u0022Single 1\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022eventType\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022eventTime\u0022:\u00222022-05-11T00:24:51.000Z\u0022,\u0022dataVersion\u0022:\u00221.0\u0022}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "699", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:46:41 GMT", + "Date": "Wed, 11 May 2022 00:24:51 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "17d7f0e2-9c34-4a69-8ee3-8bfefab6a59f" + "x-ms-request-id": "ea738ce5-4938-422b-ac61-4d618e75b27f" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002717d7f0e2-9c34-4a69-8ee3-8bfefab6a59f:2/9/2022 1:46:42 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027ea738ce5-4938-422b-ac61-4d618e75b27f:5/11/2022 12:24:52 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u002717d7f0e2-9c34-4a69-8ee3-8bfefab6a59f:2/9/2022 1:46:42 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027ea738ce5-4938-422b-ac61-4d618e75b27f:5/11/2022 12:24:52 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } @@ -47,7 +47,7 @@ } ], "Variables": { - "singleEventDate": "Wed Feb 09 2022 01:46:41 GMT\u002B0000 (Coordinated Universal Time)", - "singleEventId": "singleEventId100395" + "singleEventDate": "Tue May 10 2022 17:24:51 GMT-0700 (Pacific Daylight Time)", + "singleEventId": "singleEventId100224" } } diff --git a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json index 1b1084b53a52..de877b0b0a09 100644 --- a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_cloudevent_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept-Encoding": "gzip,deflate", @@ -9,27 +9,27 @@ "Connection": "keep-alive", "Content-Length": "241", "Content-Type": "application/cloudevents-batch\u002Bjson; charset=utf-8", - "User-Agent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 Node/v14.17.6 OS/(x64-Linux-5.4.0-1067-azure)", - "x-ms-client-request-id": "b73e99f0-6380-43fc-b343-128169d36f96" + "User-Agent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8977d74b-7e17-4f96-aa19-4c8ba9196c56" }, - "RequestBody": "[{\u0022id\u0022:\u0022cloudSingleEventId100858\u0022,\u0022source\u0022:\u0022/earth/unitedstates/washington/kirkland/finnhill\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022type\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022time\u0022:\u00222022-02-09T01:44:24.000Z\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022}]", + "RequestBody": "[{\u0022id\u0022:\u0022cloudSingleEventId100167\u0022,\u0022source\u0022:\u0022/earth/unitedstates/washington/kirkland/finnhill\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022type\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022time\u0022:\u00222022-05-11T00:24:44.000Z\u0022,\u0022specversion\u0022:\u00221.0\u0022,\u0022datacontenttype\u0022:\u0022application/json\u0022}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "697", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:44:23 GMT", + "Date": "Wed, 11 May 2022 00:24:45 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "f856799f-5ea5-4d9c-b2b0-a83c8ed7e469" + "x-ms-request-id": "f2393a8e-cada-4a40-b42e-4b8376e63823" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027f856799f-5ea5-4d9c-b2b0-a83c8ed7e469:2/9/2022 1:44:24 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027f2393a8e-cada-4a40-b42e-4b8376e63823:5/11/2022 12:24:46 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-ce.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027f856799f-5ea5-4d9c-b2b0-a83c8ed7e469:2/9/2022 1:44:24 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027f2393a8e-cada-4a40-b42e-4b8376e63823:5/11/2022 12:24:46 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } @@ -37,7 +37,7 @@ } ], "Variables": { - "cloudSingleEventDate": "Wed Feb 09 2022 01:44:24 GMT\u002B0000 (Coordinated Universal Time)", - "cloudSingleEventId": "cloudSingleEventId100858" + "cloudSingleEventDate": "Tue May 10 2022 17:24:44 GMT-0700 (Pacific Daylight Time)", + "cloudSingleEventId": "cloudSingleEventId100167" } } diff --git a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json index f8dc24fb5811..d71a46511dff 100644 --- a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_custom_event_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept-Encoding": "gzip,deflate", @@ -9,27 +9,27 @@ "Connection": "keep-alive", "Content-Length": "87", "Content-Type": "application/json", - "User-Agent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 Node/v14.17.6 OS/(x64-Linux-5.4.0-1067-azure)", - "x-ms-client-request-id": "9f7b16a2-168a-4f28-a851-373a26424c14" + "User-Agent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "07191704-2b79-4abd-9862-1fa80319cad1" }, "RequestBody": "[{\u0022ver\u0022:\u00221.0\u0022,\u0022typ\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022sub\u0022:\u0022Single\u0022,\u0022payload\u0022:{\u0022hello\u0022:\u0022world\u0022}}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "699", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:44:24 GMT", + "Date": "Wed, 11 May 2022 00:24:46 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "487835f7-14ea-4ffa-9254-737b1fc71015" + "x-ms-request-id": "5071a216-8329-42e5-b85c-331cb7662a55" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027487835f7-14ea-4ffa-9254-737b1fc71015:2/9/2022 1:44:24 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u00275071a216-8329-42e5-b85c-331cb7662a55:5/11/2022 12:24:46 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027487835f7-14ea-4ffa-9254-737b1fc71015:2/9/2022 1:44:24 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u00275071a216-8329-42e5-b85c-331cb7662a55:5/11/2022 12:24:46 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } diff --git a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json index eca8af268e6b..c58786c090b8 100644 --- a/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json +++ b/sdk/eventgrid/eventgrid/recordings/node/eventgridpublisherclient_send_error_cases_eventgrid_schema/recording_does_not_append_apievents.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01", + "RequestUri": "https://endpoint/?api-version=2018-01-01", "RequestMethod": "POST", "RequestHeaders": { "Accept-Encoding": "gzip,deflate", @@ -9,27 +9,27 @@ "Connection": "keep-alive", "Content-Length": "170", "Content-Type": "application/json", - "User-Agent": "azsdk-js-eventgrid/4.7.1 core-rest-pipeline/1.5.1 Node/v14.17.6 OS/(x64-Linux-5.4.0-1067-azure)", - "x-ms-client-request-id": "cc711ab8-f80b-4f1a-ab9a-00aa44607747" + "User-Agent": "azsdk-js-eventgrid/4.10.0-beta.2 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4dd1abfa-94b0-4cb1-a582-fea0aab11bec" }, - "RequestBody": "[{\u0022id\u0022:\u0022singleEventId100742\u0022,\u0022subject\u0022:\u0022Single 1\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022eventType\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022eventTime\u0022:\u00222022-02-09T01:44:23.000Z\u0022,\u0022dataVersion\u0022:\u00221.0\u0022}]", + "RequestBody": "[{\u0022id\u0022:\u0022singleEventId100213\u0022,\u0022subject\u0022:\u0022Single 1\u0022,\u0022data\u0022:{\u0022hello\u0022:\u0022world\u0022},\u0022eventType\u0022:\u0022Azure.Sdk.TestEvent1\u0022,\u0022eventTime\u0022:\u00222022-05-11T00:24:43.000Z\u0022,\u0022dataVersion\u0022:\u00221.0\u0022}]", "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "699", + "Content-Length": "635", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 09 Feb 2022 01:44:23 GMT", + "Date": "Wed, 11 May 2022 00:24:44 GMT", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "a313d3c2-240f-47f7-9503-1c12aedf0f49" + "x-ms-request-id": "e9bcc9d6-f649-42bc-92fa-3c7e426304d7" }, "ResponseBody": { "error": { "code": "NotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027a313d3c2-240f-47f7-9503-1c12aedf0f49:2/9/2022 1:44:23 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027e9bcc9d6-f649-42bc-92fa-3c7e426304d7:5/11/2022 12:24:44 AM (UTC)\u0027 to our forums for assistance or raise a support ticket.", "details": [ { "code": "ResourceNotFound", - "message": "No HTTP resource was found that matches the request URI \u0027https://sanallur-cus.eastus2-1.eventgrid.azure.net/?api-version=2018-01-01\u0027. Report \u0027a313d3c2-240f-47f7-9503-1c12aedf0f49:2/9/2022 1:44:23 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." + "message": "No HTTP resource was found that matches the request URI \u0027https://endpoint/?api-version=2018-01-01\u0027. Report \u0027e9bcc9d6-f649-42bc-92fa-3c7e426304d7:5/11/2022 12:24:44 AM (UTC)\u0027 to our forums for assistance or raise a support ticket." } ] } @@ -37,7 +37,7 @@ } ], "Variables": { - "singleEventDate": "Wed Feb 09 2022 01:44:23 GMT\u002B0000 (Coordinated Universal Time)", - "singleEventId": "singleEventId100742" + "singleEventDate": "Tue May 10 2022 17:24:43 GMT-0700 (Pacific Daylight Time)", + "singleEventId": "singleEventId100213" } } diff --git a/sdk/eventgrid/eventgrid/src/util.ts b/sdk/eventgrid/eventgrid/src/util.ts index f720bacb4cc1..5563c6ea8d2d 100644 --- a/sdk/eventgrid/eventgrid/src/util.ts +++ b/sdk/eventgrid/eventgrid/src/util.ts @@ -21,10 +21,10 @@ export function dateToServiceTimeString(d: Date): string { const day = d.getUTCDate(); const year = d.getUTCFullYear(); - const hour = d.getUTCHours() === 0 ? 12 : d.getUTCHours() % 12; // getUTCHours returns 0-23, and we want this in 12 hour format. + const hour = d.getUTCHours() === 0 || d.getUTCHours() === 12 ? 12 : d.getUTCHours() % 12; // getUTCHours returns 0-23, and we want this in 12 hour format. const minute = d.getUTCMinutes().toString().padStart(2, "0"); const second = d.getUTCSeconds().toString().padStart(2, "0"); - const am = d.getUTCHours() >= 13 ? "PM" : "AM"; + const am = d.getUTCHours() >= 12 ? "PM" : "AM"; return `${month}/${day}/${year} ${hour}:${minute}:${second} ${am}`; } diff --git a/sdk/eventgrid/eventgrid/test/internal/util.spec.ts b/sdk/eventgrid/eventgrid/test/internal/util.spec.ts index 8c1b12a03ea7..29b8f4a1762a 100644 --- a/sdk/eventgrid/eventgrid/test/internal/util.spec.ts +++ b/sdk/eventgrid/eventgrid/test/internal/util.spec.ts @@ -17,5 +17,10 @@ describe("util", function () { const slightlyAfterMidnight = new Date(Date.UTC(2020, 0, 2, 0, 10, 21)); assert.equal(dateToServiceTimeString(slightlyAfterMidnight), "1/2/2020 12:10:21 AM"); }); + + it("converts am/pm correctly", () => { + const slightlyAfterNoon = new Date(Date.UTC(2020, 0, 2, 12, 10, 21)); + assert.equal(dateToServiceTimeString(slightlyAfterNoon), "1/2/2020 12:10:21 PM"); + }); }); }); diff --git a/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts b/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts index 920055cb2d44..607312bd1d8a 100644 --- a/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts +++ b/sdk/eventgrid/eventgrid/test/public/utils/recordedClient.ts @@ -12,6 +12,7 @@ import { import { EventGridPublisherClient, InputSchema } from "../../../src"; import { AzureKeyCredential } from "@azure/core-auth"; import { AdditionalPolicyConfig } from "@azure/core-client"; +import { FindReplaceSanitizer } from "@azure-tools/test-recorder/types/src/utils/utils"; export interface RecordedClient { client: EventGridPublisherClient; @@ -27,6 +28,16 @@ const envSetupForPlayback: { [k: string]: string } = { EVENT_GRID_CUSTOM_SCHEMA_ENDPOINT: "https://endpoint/api/events", }; +/** + * In some tests the endpoints appear without the /api/events suffix + * so make sure to sanitize them in this case as well (it doesn't get + * covered automatically by envSetupForPlayback). + */ +const suffixlessEndpointSanitizer = (endpointEnv: string): FindReplaceSanitizer => ({ + target: removeApiEventsSuffix(assertEnvironmentVariable(endpointEnv)), + value: "https://endpoint", +}); + export const recorderOptions: RecorderStartOptions = { envSetupForPlayback, }; @@ -43,6 +54,14 @@ export async function createRecordedClient( ): Promise> { const recorder = new Recorder(currentTest); await recorder.start(recorderOptions); + await recorder.addSanitizers({ + generalSanitizers: [ + suffixlessEndpointSanitizer("EVENT_GRID_EVENT_GRID_SCHEMA_ENDPOINT"), + suffixlessEndpointSanitizer("EVENT_GRID_CLOUD_EVENT_SCHEMA_ENDPOINT"), + suffixlessEndpointSanitizer("EVENT_GRID_CUSTOM_SCHEMA_ENDPOINT"), + ], + }); + return { client: new EventGridPublisherClient( options.removeApiEventsSuffixBool diff --git a/sdk/eventgrid/perf-tests/eventgrid/package.json b/sdk/eventgrid/perf-tests/eventgrid/package.json index ddbe3e7e655e..4dbfaaeb287d 100644 --- a/sdk/eventgrid/perf-tests/eventgrid/package.json +++ b/sdk/eventgrid/perf-tests/eventgrid/package.json @@ -23,7 +23,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/eventgrid/perf-tests/eventgrid/test/index.spec.ts b/sdk/eventgrid/perf-tests/eventgrid/test/index.spec.ts index a1fc9457ea5a..a141b7ae9381 100644 --- a/sdk/eventgrid/perf-tests/eventgrid/test/index.spec.ts +++ b/sdk/eventgrid/perf-tests/eventgrid/test/index.spec.ts @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { SendCloudEventsTest } from "./sendCloudEvents.spec"; import dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([SendCloudEventsTest])); +const perfProgram = createPerfProgram(SendCloudEventsTest); perfProgram.run(); diff --git a/sdk/eventhub/event-hubs/CHANGELOG.md b/sdk/eventhub/event-hubs/CHANGELOG.md index 67da4bf5dfa0..f97f41605e3e 100644 --- a/sdk/eventhub/event-hubs/CHANGELOG.md +++ b/sdk/eventhub/event-hubs/CHANGELOG.md @@ -1,6 +1,16 @@ # Release History -## 5.8.0 (Unreleased) +## 5.8.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 5.8.0 (2022-05-10) ### Breaking Changes diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 67444e73d388..f3c43bfb465b 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.8.0", + "version": "5.8.1", "description": "Azure Event Hubs SDK for JS.", "author": "Microsoft Corporation", "license": "MIT", @@ -50,7 +50,7 @@ "build:samples": "echo Obsolete.", "build:test:browser": "tsc -p . && rollup -c rollup.test.config.js 2>&1", "build:test:node": "tsc -p . && dev-tool run bundle", - "build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1 && npm run generate-certs", + "build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1 && npm run generate-certs && copyfiles -f ./test/internal/node/partitionKeyHashMap.json ./dist-esm/test/internal/node", "build:types": "downlevel-dts types/latest types/3.1", "build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local && npm run build:types", "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", @@ -70,7 +70,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 skipped", - "unit-test:node": "copyfiles -f ./test/internal/partitionKeyHashMap.json ./dist-esm/test/internal && cross-env NODE_EXTRA_CA_CERTS=\"./certs/my-private-root-ca.crt.pem\" TEST_TARGET=mock DISABLE_MULTI_VERSION_TESTING=true 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\"", + "unit-test:node": "cross-env NODE_EXTRA_CA_CERTS=\"./certs/my-private-root-ca.crt.pem\" TEST_TARGET=mock DISABLE_MULTI_VERSION_TESTING=true 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\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "//metadata": { @@ -172,7 +172,7 @@ "moment": "^2.24.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "rollup": "^2.0.0", "rollup-plugin-shim": "^1.0.0", diff --git a/sdk/eventhub/event-hubs/review/event-hubs.api.md b/sdk/eventhub/event-hubs/review/event-hubs.api.md index 38e7d166394f..0000676d8690 100644 --- a/sdk/eventhub/event-hubs/review/event-hubs.api.md +++ b/sdk/eventhub/event-hubs/review/event-hubs.api.md @@ -122,8 +122,8 @@ export interface EventHubBufferedProducerClientOptions extends EventHubClientOpt enableIdempotentRetries?: boolean; maxEventBufferLengthPerPartition?: number; maxWaitTimeInMs?: number; - onSendEventsErrorHandler: (ctx: OnSendEventsErrorContext) => Promise; - onSendEventsSuccessHandler?: (ctx: OnSendEventsSuccessContext) => Promise; + onSendEventsErrorHandler: (ctx: OnSendEventsErrorContext) => void; + onSendEventsSuccessHandler?: (ctx: OnSendEventsSuccessContext) => void; } // @public diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/README.md b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md index d00374d59a59..77a5381ca737 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md @@ -12,15 +12,16 @@ urlFragment: event-hubs-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. | -| [iothubConnectionStringWebsockets.js][iothubconnectionstringwebsockets] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint using WebSockets. | -| [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. | +| **File Name** | **Description** | +| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [sendBufferedEvents.js][sendbufferedevents] | Demonstrates how to send events to an Event Hub using the `EventHubBufferedProducerClient`. This sample is different from the one in `sendEvent.ts` in that the client manages batching of events and sending after a given amount of time or after a given amount of events are in a batch instead of you managing the same explicitly. | +| [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. | +| [iothubConnectionStringWebsockets.js][iothubconnectionstringwebsockets] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint using WebSockets. | +| [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 @@ -49,19 +50,20 @@ npm install 3. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node sendEvents.js +node sendBufferedEvents.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 +npx cross-env EVENTHUB_CONNECTION_STRING="" EVENTHUB_NAME="" node sendBufferedEvents.js ``` ## Next Steps Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. +[sendbufferedevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/sendBufferedEvents.js [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 diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js index 5fd640de83fe..88ecefcdd289 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js @@ -19,8 +19,7 @@ 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(); +require("dotenv").config(); /** * Type guard for AmqpError. @@ -56,9 +55,8 @@ function generateSasToken(resourceUri, signingKey, policyName, expiresInMins) { * `"Endpoint=sb://;EntityPath=;SharedAccessKeyName=;SharedAccessKey="` */ async function convertIotHubToEventHubsConnectionString(connectionString) { - const { HostName, SharedAccessKeyName, SharedAccessKey } = parseConnectionString( - connectionString - ); + const { HostName, SharedAccessKeyName, SharedAccessKey } = + parseConnectionString(connectionString); // Verify that the required info is in the connection string. if (!HostName || !SharedAccessKey || !SharedAccessKeyName) { @@ -88,13 +86,13 @@ async function convertIotHubToEventHubsConnectionString(connectionString) { username: `${SharedAccessKeyName}@sas.root.${iotHubName}`, port: 5671, reconnect: false, - password: token + 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` } + source: { address: `amqps://${HostName}/messages/events/$management` }, }); return new Promise((resolve, reject) => { @@ -140,7 +138,7 @@ async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}" : ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); @@ -156,3 +154,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionStringWebsockets.js b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionStringWebsockets.js index 062b99f4c1af..007c4396c6c1 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionStringWebsockets.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionStringWebsockets.js @@ -15,13 +15,12 @@ const crypto = require("crypto"); const { Buffer } = require("buffer"); const { Connection, ReceiverEvents, parseConnectionString } = require("rhea-promise"); -const rheaPromise = require("rhea-promise"); +const rheaPromise = require("rhea-promise").default; const { EventHubConsumerClient, earliestEventPosition } = require("@azure/event-hubs"); const WebSocket = require("ws"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); /** * Type guard for AmqpError. @@ -57,9 +56,8 @@ function generateSasToken(resourceUri, signingKey, policyName, expiresInMins) { * `"Endpoint=sb://;EntityPath=;SharedAccessKeyName=;SharedAccessKey="` */ async function convertIotHubToEventHubsConnectionString(connectionString) { - const { HostName, SharedAccessKeyName, SharedAccessKey } = parseConnectionString( - connectionString - ); + const { HostName, SharedAccessKeyName, SharedAccessKey } = + parseConnectionString(connectionString); // Verify that the required info is in the connection string. if (!HostName || !SharedAccessKey || !SharedAccessKeyName) { @@ -93,14 +91,14 @@ async function convertIotHubToEventHubsConnectionString(connectionString) { webSocketOptions: { webSocket: WebSocket, protocol: ["AMQPWSB10"], - url: `wss://${HostName}:${443}/$servicebus/websocket` - } + url: `wss://${HostName}:${443}/$servicebus/websocket`, + }, }); await connection.open(); // Create the receiver that will trigger a redirect error. const receiver = await connection.createReceiver({ - source: { address: `amqps://${HostName}/messages/events/$management` } + source: { address: `amqps://${HostName}/messages/events/$management` }, }); return new Promise((resolve, reject) => { @@ -146,7 +144,7 @@ async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}" : ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); @@ -162,3 +160,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/package.json b/sdk/eventhub/event-hubs/samples/v5/javascript/package.json index ed948ece8313..dc8e7cc0fb81 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/package.json @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs", "dependencies": { - "@azure/event-hubs": "next", + "@azure/event-hubs": "latest", "dotenv": "latest", "rhea-promise": "^2.1.0", "ws": "^8.2.0", diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js b/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js index 99b8ace3e512..9568708b0828 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js @@ -8,8 +8,7 @@ const { EventHubConsumerClient, earliestEventPosition } = require("@azure/event-hubs"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; const eventHubName = process.env["EVENTHUB_NAME"] || ""; @@ -38,7 +37,7 @@ async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}": ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); @@ -54,3 +53,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/sendBufferedEvents.js b/sdk/eventhub/event-hubs/samples/v5/javascript/sendBufferedEvents.js new file mode 100644 index 000000000000..e602a3f02ffc --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/sendBufferedEvents.js @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * + @summary Demonstrates how to send events to an Event Hub using the `EventHubBufferedProducerClient`. + * This sample is different from the one in `sendEvent.ts` in that the client manages batching of events and sending + * after a given amount of time or after a given amount of events are in a batch instead of you managing the same explicitly. + */ + +const { EventHubBufferedProducerClient } = require("@azure/event-hubs"); + +// Load the .env file if it exists +require("dotenv").config(); + +const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +async function handleError(ctx) { + console.log(`The following error occurred:`); + console.log(JSON.stringify(ctx.error, undefined, 2)); + console.log( + `The following events were not sent as a result to the partition with ID ${ctx.partitionId}:` + ); + for (const event of ctx.events) { + console.log(JSON.stringify(event, undefined, 2)); + console.log("\n"); + } +} + +async function main() { + console.log(`Running sendBufferedEvents sample`); + + /** + * Create a buffered client that batches the enqueued events and sends it either + * after 750ms or after batching 1000 events, whichever occurs first. + */ + const client = new EventHubBufferedProducerClient(connectionString, eventHubName, { + /** An error handler must be provided */ + onSendEventsErrorHandler: handleError, + + /** wait for up to 750 milliseconds before sending a batch */ + maxWaitTimeInMs: 750, + + /** buffer up to 1000 events per partition before sending */ + maxEventBufferLengthPerPartition: 1000, + }); + + function createData(count) { + return [...Array(count).keys()]; + } + + console.log("Enqueuing events..."); + + for (const item of createData(2000)) { + await client.enqueueEvent({ body: item }); + } + + /** + * Flushing ensures buffered events that were not sent yet will be sent before + * closing the connection. Flushing can also be invoked directly using + * client.flush(). + */ + await client.close({ flush: true }); + console.log(`Exiting sendBufferedEvents sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); + process.exit(1); +}); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js b/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js index e269d23f23ce..1c783f113636 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js @@ -8,8 +8,7 @@ const { EventHubProducerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); // Define connection string and related Event Hubs entity name here const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; @@ -107,3 +106,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js b/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js index 97a0f0a74362..0f7a6b348d7f 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js @@ -8,8 +8,7 @@ const { EventHubConsumerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); // Define IoT Hub Event Hubs-compatible connection string here. // To find the correct connection string to use, visit: @@ -31,3 +30,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js b/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js index c753dcd475b6..8a9a891fb30b 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js @@ -22,8 +22,7 @@ const { EventHubConsumerClient } = require("@azure/event-hubs"); const { DefaultAzureCredential } = require("@azure/identity"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); // Define Event Hubs Endpoint and related entity name here here const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net @@ -54,3 +53,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js b/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js index 32a24af1290e..573ff6c27fa2 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js @@ -17,8 +17,7 @@ const { HttpsProxyAgent } = require("https-proxy-agent"); const { EventHubConsumerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); // Define connection string and related Event Hubs entity name here const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; @@ -38,8 +37,8 @@ async function main() { const client = new EventHubConsumerClient(consumerGroup, connectionString, eventHubName, { webSocketOptions: { webSocket: WebSocket, - webSocketConstructorOptions: { agent: proxyAgent } - } + webSocketConstructorOptions: { agent: proxyAgent }, + }, }); /* Refer to other samples, and place your code here to send/receive events @@ -52,3 +51,5 @@ async function main() { main().catch((error) => { console.error("Error running sample:", error); }); + +module.exports = { main }; diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/README.md b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md index e0896d052078..680d29da0752 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md @@ -12,15 +12,16 @@ urlFragment: event-hubs-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. | -| [iothubConnectionStringWebsockets.ts][iothubconnectionstringwebsockets] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint using WebSockets. | -| [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. | +| **File Name** | **Description** | +| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [sendBufferedEvents.ts][sendbufferedevents] | Demonstrates how to send events to an Event Hub using the `EventHubBufferedProducerClient`. This sample is different from the one in `sendEvent.ts` in that the client manages batching of events and sending after a given amount of time or after a given amount of events are in a batch instead of you managing the same explicitly. | +| [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. | +| [iothubConnectionStringWebsockets.ts][iothubconnectionstringwebsockets] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint using WebSockets. | +| [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 @@ -61,19 +62,20 @@ npm run build 4. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node dist/sendEvents.js +node dist/sendBufferedEvents.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 +npx cross-env EVENTHUB_CONNECTION_STRING="" EVENTHUB_NAME="" node dist/sendBufferedEvents.js ``` ## Next Steps Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. +[sendbufferedevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendBufferedEvents.ts [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 diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/package.json b/sdk/eventhub/event-hubs/samples/v5/typescript/package.json index 4815e012cc79..02d38d2a0866 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs", "dependencies": { - "@azure/event-hubs": "next", + "@azure/event-hubs": "latest", "dotenv": "latest", "rhea-promise": "^2.1.0", "ws": "^8.2.0", @@ -38,6 +38,7 @@ }, "devDependencies": { "@types/ws": "^7.2.4", + "@types/node": "^12.0.0", "typescript": "~4.4.0", "rimraf": "latest" } diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts index c444d2caecac..bc1198f84b19 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts @@ -95,13 +95,13 @@ async function convertIotHubToEventHubsConnectionString(connectionString: string username: `${SharedAccessKeyName}@sas.root.${iotHubName}`, port: 5671, reconnect: false, - password: token + 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` } + source: { address: `amqps://${HostName}/messages/events/$management` }, }); return new Promise((resolve, reject) => { @@ -147,7 +147,7 @@ export async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}" : ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionStringWebsockets.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionStringWebsockets.ts index 2af2dd8ac011..c1eaf90ca225 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionStringWebsockets.ts +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionStringWebsockets.ts @@ -100,14 +100,14 @@ async function convertIotHubToEventHubsConnectionString(connectionString: string webSocketOptions: { webSocket: WebSocket, protocol: ["AMQPWSB10"], - url: `wss://${HostName}:${443}/$servicebus/websocket` - } + url: `wss://${HostName}:${443}/$servicebus/websocket`, + }, }); await connection.open(); // Create the receiver that will trigger a redirect error. const receiver = await connection.createReceiver({ - source: { address: `amqps://${HostName}/messages/events/$management` } + source: { address: `amqps://${HostName}/messages/events/$management` }, }); return new Promise((resolve, reject) => { @@ -153,7 +153,7 @@ export async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}" : ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts index 3347d5dbc9d7..5ec3db2d6e95 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts @@ -38,7 +38,7 @@ export async function main() { }, processError: async (err, context) => { console.log(`Error on partition "${context.partitionId}": ${err}`); - } + }, }, { startPosition: earliestEventPosition } ); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendBufferedEvents.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendBufferedEvents.ts new file mode 100644 index 000000000000..0f854b933f77 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendBufferedEvents.ts @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * + @summary Demonstrates how to send events to an Event Hub using the `EventHubBufferedProducerClient`. + * This sample is different from the one in `sendEvent.ts` in that the client manages batching of events and sending + * after a given amount of time or after a given amount of events are in a batch instead of you managing the same explicitly. + */ + +import { EventHubBufferedProducerClient, OnSendEventsErrorContext } 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"] || ""; + +async function handleError(ctx: OnSendEventsErrorContext): Promise { + console.log(`The following error occurred:`); + console.log(JSON.stringify(ctx.error, undefined, 2)); + console.log( + `The following events were not sent as a result to the partition with ID ${ctx.partitionId}:` + ); + for (const event of ctx.events) { + console.log(JSON.stringify(event, undefined, 2)); + console.log("\n"); + } +} + +export async function main(): Promise { + console.log(`Running sendBufferedEvents sample`); + + /** + * Create a buffered client that batches the enqueued events and sends it either + * after 750ms or after batching 1000 events, whichever occurs first. + */ + const client = new EventHubBufferedProducerClient(connectionString, eventHubName, { + /** An error handler must be provided */ + onSendEventsErrorHandler: handleError, + + /** wait for up to 750 milliseconds before sending a batch */ + maxWaitTimeInMs: 750, + + /** buffer up to 1000 events per partition before sending */ + maxEventBufferLengthPerPartition: 1000, + }); + + function createData(count: number): number[] { + return [...Array(count).keys()]; + } + + console.log("Enqueuing events..."); + + for (const item of createData(2000)) { + await client.enqueueEvent({ body: item }); + } + + /** + * Flushing ensures buffered events that were not sent yet will be sent before + * closing the connection. Flushing can also be invoked directly using + * client.flush(). + */ + await client.close({ flush: true }); + console.log(`Exiting sendBufferedEvents sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); + process.exit(1); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts index 1e69950146f9..0a4c8b231b57 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts @@ -38,8 +38,8 @@ export async function main(): Promise { const client = new EventHubConsumerClient(consumerGroup, connectionString, eventHubName, { webSocketOptions: { webSocket: WebSocket, - webSocketConstructorOptions: { agent: proxyAgent } - } + webSocketConstructorOptions: { agent: proxyAgent }, + }, }); /* Refer to other samples, and place your code here to send/receive events diff --git a/sdk/eventhub/event-hubs/src/batchingPartitionChannel.ts b/sdk/eventhub/event-hubs/src/batchingPartitionChannel.ts index 1a2f7fb38982..7d581ebe1922 100644 --- a/sdk/eventhub/event-hubs/src/batchingPartitionChannel.ts +++ b/sdk/eventhub/event-hubs/src/batchingPartitionChannel.ts @@ -274,18 +274,20 @@ export class BatchingPartitionChannel { private _reportSuccess() { this._bufferCount = this._bufferCount - this._batchedEvents.length; this._updateFlushState(); - this._onSendEventsSuccessHandler?.({ - events: this._batchedEvents, - partitionId: this._partitionId, - }).catch((e) => { + try { + this._onSendEventsSuccessHandler?.({ + events: this._batchedEvents, + partitionId: this._partitionId, + }); + } catch (e: unknown) { logger.error( - `The following error occured in the onSendEventsSuccessHandler: ${JSON.stringify( + `The following error occurred in the onSendEventsSuccessHandler: ${JSON.stringify( e, undefined, " " )}` ); - }); + } } /** @@ -295,19 +297,21 @@ export class BatchingPartitionChannel { private _reportFailure(err: any, event?: EventData | AmqpAnnotatedMessage) { this._bufferCount = this._bufferCount - (event ? 1 : this._batchedEvents.length); this._updateFlushState(); - this._onSendEventsErrorHandler({ - error: err, - events: event ? [event] : this._batchedEvents, - partitionId: this._partitionId, - }).catch((e) => { + try { + this._onSendEventsErrorHandler({ + error: err, + events: event ? [event] : this._batchedEvents, + partitionId: this._partitionId, + }); + } catch (e: unknown) { logger.error( - `The following error occured in the onSendEventsErrorHandler: ${JSON.stringify( + `The following error occurred in the onSendEventsErrorHandler: ${JSON.stringify( e, undefined, " " )}` ); - }); + } } /** diff --git a/sdk/eventhub/event-hubs/src/eventData.ts b/sdk/eventhub/event-hubs/src/eventData.ts index d77b3f52366a..be1c0bd6ae9b 100644 --- a/sdk/eventhub/event-hubs/src/eventData.ts +++ b/sdk/eventhub/event-hubs/src/eventData.ts @@ -14,7 +14,6 @@ import { idempotentProducerAmqpPropertyNames, PENDING_PUBLISH_SEQ_NUM_SYMBOL, } from "./util/constants"; -import { EventDataBatch, EventDataBatchImpl, isEventDataBatch } from "./eventDataBatch"; /** * Describes the delivery annotations. @@ -538,40 +537,3 @@ export function populateIdempotentMessageAnnotations( types.wrap_int(publishSequenceNumber); } } - -/** - * Commits the pending publish sequence number events. - * EventDataBatch exposes this as `startingPublishSequenceNumber`, - * EventData not in a batch exposes this as `publishedSequenceNumber`. - * @internal - */ -export function commitIdempotentSequenceNumbers( - events: Omit[] | EventDataBatch -): void { - if (isEventDataBatch(events)) { - (events as EventDataBatchImpl)._commitPublish(); - } else { - // For each event, set the `publishedSequenceNumber` equal to the sequence number - // we set when we attempted to send the events to the service. - for (const event of events) { - event._publishedSequenceNumber = event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; - delete event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; - } - } -} - -/** - * Rolls back any pending publish sequence number in the events. - * @internal - */ -export function rollbackIdempotentSequenceNumbers( - events: Omit[] | EventDataBatch -): void { - if (isEventDataBatch(events)) { - /* No action required. */ - } else { - for (const event of events) { - delete event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; - } - } -} diff --git a/sdk/eventhub/event-hubs/src/eventHubBufferedProducerClient.ts b/sdk/eventhub/event-hubs/src/eventHubBufferedProducerClient.ts index a113248bef2d..7afdfd411147 100644 --- a/sdk/eventhub/event-hubs/src/eventHubBufferedProducerClient.ts +++ b/sdk/eventhub/event-hubs/src/eventHubBufferedProducerClient.ts @@ -1,7 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { EventData, EventHubProducerClient, OperationOptions } from "./index"; +import { EventData } from "./eventData"; +import { EventHubProducerClient } from "./eventHubProducerClient"; +import { OperationOptions } from "./util/operationOptions"; import { EventHubClientOptions, GetEventHubPropertiesOptions, @@ -71,11 +73,11 @@ export interface EventHubBufferedProducerClientOptions extends EventHubClientOpt /** * The handler to call once a batch has successfully published. */ - onSendEventsSuccessHandler?: (ctx: OnSendEventsSuccessContext) => Promise; + onSendEventsSuccessHandler?: (ctx: OnSendEventsSuccessContext) => void; /** * The handler to call when a batch fails to publish. */ - onSendEventsErrorHandler: (ctx: OnSendEventsErrorContext) => Promise; + onSendEventsErrorHandler: (ctx: OnSendEventsErrorContext) => void; /** * Indicates whether or not the EventHubProducerClient should enable idempotent publishing to Event Hub partitions. * If enabled, the producer will only be able to publish directly to partitions; diff --git a/sdk/eventhub/event-hubs/src/eventHubSender.ts b/sdk/eventhub/event-hubs/src/eventHubSender.ts index c4625ee9f48b..095981e592a5 100644 --- a/sdk/eventhub/event-hubs/src/eventHubSender.ts +++ b/sdk/eventhub/event-hubs/src/eventHubSender.ts @@ -22,11 +22,9 @@ import { translate, } from "@azure/core-amqp"; import { - commitIdempotentSequenceNumbers, EventData, EventDataInternal, populateIdempotentMessageAnnotations, - rollbackIdempotentSequenceNumbers, toRheaMessage, } from "./eventData"; import { EventDataBatch, EventDataBatchImpl, isEventDataBatch } from "./eventDataBatch"; @@ -842,3 +840,38 @@ export function transformEventsForSend( return message.encode(batchMessage); } } + +/** + * Commits the pending publish sequence number events. + * EventDataBatch exposes this as `startingPublishSequenceNumber`, + * EventData not in a batch exposes this as `publishedSequenceNumber`. + */ +function commitIdempotentSequenceNumbers( + events: Omit[] | EventDataBatch +): void { + if (isEventDataBatch(events)) { + (events as EventDataBatchImpl)._commitPublish(); + } else { + // For each event, set the `publishedSequenceNumber` equal to the sequence number + // we set when we attempted to send the events to the service. + for (const event of events) { + event._publishedSequenceNumber = event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; + delete event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; + } + } +} + +/** + * Rolls back any pending publish sequence number in the events. + */ +function rollbackIdempotentSequenceNumbers( + events: Omit[] | EventDataBatch +): void { + if (isEventDataBatch(events)) { + /* No action required. */ + } else { + for (const event of events) { + delete event[PENDING_PUBLISH_SEQ_NUM_SYMBOL]; + } + } +} diff --git a/sdk/eventhub/event-hubs/src/util/constants.ts b/sdk/eventhub/event-hubs/src/util/constants.ts index c4d9449a0c9e..855720f7d812 100644 --- a/sdk/eventhub/event-hubs/src/util/constants.ts +++ b/sdk/eventhub/event-hubs/src/util/constants.ts @@ -6,7 +6,7 @@ */ export const packageJsonInfo = { name: "@azure/event-hubs", - version: "5.8.0", + version: "5.8.1", }; /** diff --git a/sdk/eventhub/event-hubs/test/internal/eventProcessor.spec.ts b/sdk/eventhub/event-hubs/test/internal/eventProcessor.spec.ts index a79748706f93..2158df318bc1 100644 --- a/sdk/eventhub/event-hubs/test/internal/eventProcessor.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/eventProcessor.spec.ts @@ -37,6 +37,7 @@ import { delay } from "@azure/core-amqp"; import { isLatestPosition } from "../../src/eventPosition"; import { loggerForTest } from "../public/utils/logHelpers"; import { testWithServiceTypes } from "../public/utils/testWithServiceTypes"; +import { v4 } from "uuid"; const should = chai.should(); chai.use(chaiAsPromised); @@ -699,6 +700,12 @@ testWithServiceTypes((serviceVersion) => { // ensure we have at least 2 partitions partitionIds.length.should.gte(2); + // work around initial state issue by filling partitions with at least one message + for (let i = 1; i < 100; i++) { + const filer = { body: "b", messageId: v4() }; + await producerClient.sendBatch([filer]); + } + const { subscriptionEventHandler, startPosition } = await SubscriptionHandlerForTests.startingFromHere(producerClient); @@ -713,8 +720,6 @@ testWithServiceTypes((serviceVersion) => { } ); - processor.start(); - processor.start(); processor.start(); const expectedMessages = await sendOneMessagePerPartition(partitionIds, producerClient); diff --git a/sdk/eventhub/event-hubs/test/internal/partitionKeyHashMap.json b/sdk/eventhub/event-hubs/test/internal/node/partitionKeyHashMap.json similarity index 100% rename from sdk/eventhub/event-hubs/test/internal/partitionKeyHashMap.json rename to sdk/eventhub/event-hubs/test/internal/node/partitionKeyHashMap.json diff --git a/sdk/eventhub/event-hubs/test/internal/partitionKeyHashMap.spec.ts b/sdk/eventhub/event-hubs/test/internal/node/partitionKeyHashMap.spec.ts similarity index 89% rename from sdk/eventhub/event-hubs/test/internal/partitionKeyHashMap.spec.ts rename to sdk/eventhub/event-hubs/test/internal/node/partitionKeyHashMap.spec.ts index 3c05ef9bf894..0d8e71581cd2 100644 --- a/sdk/eventhub/event-hubs/test/internal/partitionKeyHashMap.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/node/partitionKeyHashMap.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { assert } from "chai"; -import { hashPartitionKey } from "../../src/impl/partitionKeyToIdMapper"; +import { hashPartitionKey } from "../../../src/impl/partitionKeyToIdMapper"; /** * These unit tests have been created from outputs received from the C# implementation diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/src/blobCheckpointStore.ts b/sdk/eventhub/eventhubs-checkpointstore-blob/src/blobCheckpointStore.ts index cd6885105a40..75b05205cac1 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/src/blobCheckpointStore.ts +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/src/blobCheckpointStore.ts @@ -67,7 +67,7 @@ export class BlobCheckpointStore implements CheckpointStore { const blobPath = blob.name.split("/"); const blobName = blobPath[blobPath.length - 1]; - const ownershipMetadata = blob.metadata as OwnershipMetadata; + const ownershipMetadata = (blob.metadata as OwnershipMetadata) ?? {}; if (ownershipMetadata.ownerid == null) { throw new Error(`Missing ownerid in metadata for blob ${blob.name}`); @@ -196,7 +196,7 @@ export class BlobCheckpointStore implements CheckpointStore { const blobPath = blob.name.split("/"); const blobName = blobPath[blobPath.length - 1]; - const checkpointMetadata = blob.metadata as CheckpointMetadata; + const checkpointMetadata = (blob.metadata as CheckpointMetadata) ?? {}; const offset = parseIntOrThrow(blob.name, "offset", checkpointMetadata.offset); const sequenceNumber = parseIntOrThrow( diff --git a/sdk/eventhub/perf-tests/event-hubs-track-1/package.json b/sdk/eventhub/perf-tests/event-hubs-track-1/package.json index 9cefd1ad9c0f..54c9fed5906c 100644 --- a/sdk/eventhub/perf-tests/event-hubs-track-1/package.json +++ b/sdk/eventhub/perf-tests/event-hubs-track-1/package.json @@ -37,7 +37,7 @@ "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", - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "setup": "node ../../../../common/tools/perf-tests-track-1-setup.js", "unit-test:browser": "echo skipped", "unit-test:node": "echo skipped", diff --git a/sdk/eventhub/perf-tests/event-hubs-track-1/test/index.spec.ts b/sdk/eventhub/perf-tests/event-hubs-track-1/test/index.spec.ts index febad3a8522d..4df19716a4b4 100644 --- a/sdk/eventhub/perf-tests/event-hubs-track-1/test/index.spec.ts +++ b/sdk/eventhub/perf-tests/event-hubs-track-1/test/index.spec.ts @@ -1,11 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { SendTest } from "./send.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([SendTest])); +const perfProgram = createPerfProgram(SendTest); perfProgram.run(); diff --git a/sdk/eventhub/perf-tests/event-hubs/package.json b/sdk/eventhub/perf-tests/event-hubs/package.json index 13366b3aaf44..4040d931f152 100644 --- a/sdk/eventhub/perf-tests/event-hubs/package.json +++ b/sdk/eventhub/perf-tests/event-hubs/package.json @@ -27,7 +27,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/eventhub/perf-tests/event-hubs/test/index.spec.ts b/sdk/eventhub/perf-tests/event-hubs/test/index.spec.ts index 5f705dd9ca2a..e9d805ff7c62 100644 --- a/sdk/eventhub/perf-tests/event-hubs/test/index.spec.ts +++ b/sdk/eventhub/perf-tests/event-hubs/test/index.spec.ts @@ -1,12 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { SendTest } from "./send.spec"; import { SubscribeTest } from "./subscribe.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([SendTest, SubscribeTest])); +const perfProgram = createPerfProgram(SendTest, SubscribeTest); perfProgram.run(); diff --git a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json index 044eefaa7ffa..fe46d6d3436a 100644 --- a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json @@ -24,7 +24,7 @@ "typescript": "~4.2.0" }, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/formrecognizer/perf-tests/ai-form-recognizer/test/index.spec.ts b/sdk/formrecognizer/perf-tests/ai-form-recognizer/test/index.spec.ts index b2f7f9056060..75476632b846 100644 --- a/sdk/formrecognizer/perf-tests/ai-form-recognizer/test/index.spec.ts +++ b/sdk/formrecognizer/perf-tests/ai-form-recognizer/test/index.spec.ts @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { CustomModelRecognitionTest } from "./custom.spec"; import dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([CustomModelRecognitionTest])); +const perfProgram = createPerfProgram(CustomModelRecognitionTest); perfProgram.run(); diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index 9f4b294a3f17..a0d4cbc0e93f 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -82,7 +82,7 @@ "inherits": "^2.0.3", "mocha": "^7.1.1", "mocha-junit-reporter": "^2.0.0", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "typescript": "~4.6.0", "util": "^0.12.1", diff --git a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.json b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.json index 55a446bd0186..ca657426f1b1 100644 --- a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.json +++ b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.json @@ -177,7 +177,7 @@ "X-AnchorMailbox": "UPN: azure_username", "x-ms-client-request-id": "e136a6b8-1cb1-42c0-a3bf-cfa0e5e9df09" }, - "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", + "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access\u0026response_type=token%20id_token\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", diff --git a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.json b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.json index f239c8f9720f..27f1c9a6b45e 100644 --- a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.json +++ b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.json @@ -177,7 +177,7 @@ "X-AnchorMailbox": "UPN: azure_username", "x-ms-client-request-id": "6cae8e8e-3fd6-45f3-a0f4-ad2c6f3c8ad4" }, - "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", + "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access\u0026response_type=token%20id_token\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index 4eed0b340e01..ead487b4a609 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -82,7 +82,7 @@ "mocha": "^7.1.1", "mocha-junit-reporter": "^2.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "typescript": "~4.6.0", diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index 1ccca4a1f064..f6a82cefc37f 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -90,10 +90,12 @@ If interactive authentication cannot be supported in the session, then the `-Use Developers using Visual Studio Code can use the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) to authenticate via the editor. Apps using `DefaultAzureCredential` or `VisualStudioCodeCredential` can then use this account to authenticate calls in their app when running locally. -To authenticate in Visual Studio Code, ensure **version 0.9.11 or earlier** of the Azure Account extension is installed. To track progress toward supporting newer extension versions, see [this GitHub issue](https://github.com/Azure/azure-sdk-for-net/issues/27263). Once installed, open the **Command Palette** and run the **Azure: Sign In** command. +To authenticate in Visual Studio Code, ensure the Azure Account extension is installed. Once installed, open the **Command Palette** and run the **Azure: Sign In** command. Additionally, use the [`@azure/identity-vscode`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode) plugin package. This package provides the dependencies of `VisualStudioCodeCredential` and enables it. See [Plugins](##plugins). +It's a [known issue](https://github.com/Azure/azure-sdk-for-js/issues/20500) that `VisualStudioCodeCredential` doesn't work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) versions newer than **0.9.11**. A long-term fix to this problem is in progress. In the meantime, consider [authenticating via the Azure CLI](#authenticating-via-the-azure-cli). + ### Authenticate the client in browsers To authenticate Azure SDKs within web browsers, we currently offer the `InteractiveBrowserCredential`, which can be set to use redirection or popups to complete the authentication flow. It is necessary to [create an Azure App Registration](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) in the portal for your web application first. diff --git a/sdk/identity/identity/TROUBLESHOOTING.md b/sdk/identity/identity/TROUBLESHOOTING.md index a477ae7e6ff8..1ade26cf91dc 100644 --- a/sdk/identity/identity/TROUBLESHOOTING.md +++ b/sdk/identity/identity/TROUBLESHOOTING.md @@ -268,6 +268,7 @@ curl 'http://169.254.169.254/metadata/identity/oauth2/token?resource=https://man | Error Message |Description| Mitigation | |---|---|---| |ManagedIdentityCredential authentication unavailable.|The environment variables configured by the App Services host weren't present.|
  • Ensure the managed identity has been properly configured on the App Service. Instructions for configuring the managed identity can be found [here](https://docs.microsoft.com/azure/app-service/overview-managed-identity?tabs=portal%2Cjavascript).
  • Verify the App Service environment is properly configured and the managed identity endpoint is available. See [below](#verify-the-app-service-managed-identity-endpoint-is-available) for instructions.
| + #### Verify the App Service managed identity endpoint is available If you have access to SSH into the App Service, you can verify managed identity is available in the environment. First, ensure the environment variables `MSI_ENDPOINT` and `MSI_SECRET` have been set in the environment. Then you can verify the managed identity endpoint is available using curl. @@ -280,8 +281,8 @@ curl 'http://169.254.169.254/metadata/identity/oauth2/token?resource=https://man ## Troubleshoot Visual Studio Code authentication issues -> It's a [known issue](https://github.com/Azure/azure-sdk-for-js/issues/20500) that `VisualStudioCodeCredential` doesn't work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) versions newer than **0.9.11**. If you're using Azure Account extension version 0.10.0 or later, downgrading to **version 0.9.11** will resolve this issue. A long-term fix to this problem is in progress. - +> It's a [known issue](https://github.com/Azure/azure-sdk-for-js/issues/20500) that `VisualStudioCodeCredential` doesn't work with [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) versions newer than **0.9.11**. A long-term fix to this problem is in progress. In the meantime, consider [authenticating via the Azure CLI](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#authenticating-via-the-azure-cli). + ### CredentialUnavailableError | Error Message |Description| Mitigation | diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index d83946ecb8d9..1db32401614b 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -109,7 +109,7 @@ "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "@azure/abort-controller": "^1.0.0", - "@azure/msal-common": "^4.5.1", + "@azure/msal-common": "^6.3.0", "@azure/msal-node": "^1.3.0", "@azure/msal-browser": "^2.16.0", "events": "^3.0.0", @@ -149,7 +149,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "typescript": "~4.6.0", "util": "^0.12.1", diff --git a/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_authenticates.json b/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_authenticates.json index 28544d2a82b4..b0dde880447b 100644 --- a/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_authenticates.json +++ b/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_authenticates.json @@ -186,7 +186,7 @@ "X-AnchorMailbox": "UPN: azure_username", "x-ms-client-request-id": "e221ecf5-cad9-4108-8e32-567a6de2eb6e" }, - "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", + "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026response_type=token%20id_token\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", diff --git a/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_supports_tracing.json b/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_supports_tracing.json index 5c64ea485034..cf64a33f8c1d 100644 --- a/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_supports_tracing.json +++ b/sdk/identity/identity/recordings/node/usernamepasswordcredential/recording_supports_tracing.json @@ -177,7 +177,7 @@ "X-AnchorMailbox": "UPN: azure_username", "x-ms-client-request-id": "54f8981e-d6b1-4edf-b523-f8960148e2a2" }, - "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", + "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026response_type=token%20id_token\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", diff --git a/sdk/identity/identity/recordings/node/usernamepasswordcredential_internal/recording_authenticates_with_tenantid_on_gettoken.json b/sdk/identity/identity/recordings/node/usernamepasswordcredential_internal/recording_authenticates_with_tenantid_on_gettoken.json index ae2b0a2e81a1..4e28eb660bd4 100644 --- a/sdk/identity/identity/recordings/node/usernamepasswordcredential_internal/recording_authenticates_with_tenantid_on_gettoken.json +++ b/sdk/identity/identity/recordings/node/usernamepasswordcredential_internal/recording_authenticates_with_tenantid_on_gettoken.json @@ -186,7 +186,7 @@ "X-AnchorMailbox": "UPN: azure_username", "x-ms-client-request-id": "aaedb864-3c08-4be9-ae9d-7022cc3f50aa" }, - "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", + "RequestBody": "client_id=azure_client_id\u0026username=azure_username\u0026password=azure_password\u0026scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access\u0026response_type=token%20id_token\u0026grant_type=password\u0026client_info=1\u0026x-client-SKU=msal.js.node\u0026x-client-VER=identity-client-version\u0026x-client-OS=x-client-OS\u0026x-client-CPU=x-client-CPU\u0026x-ms-lib-capability=retry-after, h429\u0026x-client-current-telemetry=5|371,0,,,|,\u0026x-client-last-telemetry=5|0|||0,0\u0026client-request-id=client-request-id\u0026claims=%7B%22access_token%22%3A%7B%22xms_cc%22%3A%7B%22values%22%3A%5B%22cp1%22%5D%7D%7D%7D", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", diff --git a/sdk/identity/perf-tests/identity/package.json b/sdk/identity/perf-tests/identity/package.json index bb1e593b1c2b..a7842b7e2cf1 100644 --- a/sdk/identity/perf-tests/identity/package.json +++ b/sdk/identity/perf-tests/identity/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/identity/perf-tests/identity/test/index.spec.ts b/sdk/identity/perf-tests/identity/test/index.spec.ts index 29b1c7f5ab37..479807b121a2 100644 --- a/sdk/identity/perf-tests/identity/test/index.spec.ts +++ b/sdk/identity/perf-tests/identity/test/index.spec.ts @@ -1,10 +1,8 @@ import { ClientSecretCredentialPersistenceTest } from "./ClientSecretCredential/persistence.spec"; -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import * as dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([ClientSecretCredentialPersistenceTest])); +const perfProgram = createPerfProgram(ClientSecretCredentialPersistenceTest); perfProgram.run(); diff --git a/sdk/iot/iot-modelsrepository/CHANGELOG.md b/sdk/iot/iot-modelsrepository/CHANGELOG.md index 8d68bef05353..243d9063e922 100644 --- a/sdk/iot/iot-modelsrepository/CHANGELOG.md +++ b/sdk/iot/iot-modelsrepository/CHANGELOG.md @@ -10,10 +10,13 @@ ### Fixed +### Other Changes + +- Updated our `@azure/core-tracing` dependency to the latest version (1.0.0). ## 1.0.0-beta.2 (2021-05-28) -With [#15455](https://github.com/Azure/azure-sdk-for-js/pull/15455), this is a hotfix for a bug released in the first beta where getModels fails on remote. +With [#15455](https://github.com/Azure/azure-sdk-for-js/pull/15455), this is a hotfix for a bug released in the first beta where getModels fails on remote. ## 1.0.0-beta.1 (2021-05-27) diff --git a/sdk/iot/iot-modelsrepository/package.json b/sdk/iot/iot-modelsrepository/package.json index f86eac8e4ede..3b8ba8729741 100644 --- a/sdk/iot/iot-modelsrepository/package.json +++ b/sdk/iot/iot-modelsrepository/package.json @@ -65,7 +65,7 @@ "@azure/core-client": "^1.0.0", "@azure/core-util": "^1.0.0-beta.1", "@azure/core-rest-pipeline": "^1.1.0", - "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-tracing": "^1.0.0", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index e730cb664c83..1dddf0394212 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -145,7 +145,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 9def89ca2b55..484f3b54ca1b 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -143,7 +143,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index bf629b926a2e..60a636fb8a3a 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -140,7 +140,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/keyvault/perf-tests/keyvault-certificates/package.json b/sdk/keyvault/perf-tests/keyvault-certificates/package.json index 798d760e824f..16090a380143 100644 --- a/sdk/keyvault/perf-tests/keyvault-certificates/package.json +++ b/sdk/keyvault/perf-tests/keyvault-certificates/package.json @@ -26,7 +26,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/keyvault/perf-tests/keyvault-certificates/test/index.spec.ts b/sdk/keyvault/perf-tests/keyvault-certificates/test/index.spec.ts index ccc411f964c7..e3a4244b3005 100644 --- a/sdk/keyvault/perf-tests/keyvault-certificates/test/index.spec.ts +++ b/sdk/keyvault/perf-tests/keyvault-certificates/test/index.spec.ts @@ -1,8 +1,6 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { GetCertificateTest } from "./getCertificate.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([GetCertificateTest])); +const perfProgram = createPerfProgram(GetCertificateTest); perfProgram.run(); diff --git a/sdk/keyvault/perf-tests/keyvault-keys/package.json b/sdk/keyvault/perf-tests/keyvault-keys/package.json index 6e61d88f6975..afe635dc578f 100644 --- a/sdk/keyvault/perf-tests/keyvault-keys/package.json +++ b/sdk/keyvault/perf-tests/keyvault-keys/package.json @@ -26,7 +26,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/keyvault/perf-tests/keyvault-keys/test/index.spec.ts b/sdk/keyvault/perf-tests/keyvault-keys/test/index.spec.ts index bae65b2ed9ba..2f86cb206050 100644 --- a/sdk/keyvault/perf-tests/keyvault-keys/test/index.spec.ts +++ b/sdk/keyvault/perf-tests/keyvault-keys/test/index.spec.ts @@ -1,13 +1,9 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { GetKeyTest } from "./keys/get.spec"; import { DecryptTest } from "./cryptography/decrypt.spec"; import { SignTest } from "./cryptography/sign.spec"; import { UnwrapKeyTest } from "./cryptography/unwrapKey.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([GetKeyTest, DecryptTest, SignTest, UnwrapKeyTest]) -); +const perfProgram = createPerfProgram(GetKeyTest, DecryptTest, SignTest, UnwrapKeyTest); perfProgram.run(); diff --git a/sdk/keyvault/perf-tests/keyvault-secrets/package.json b/sdk/keyvault/perf-tests/keyvault-secrets/package.json index 5f805aebed8c..942ceb988cd9 100644 --- a/sdk/keyvault/perf-tests/keyvault-secrets/package.json +++ b/sdk/keyvault/perf-tests/keyvault-secrets/package.json @@ -26,7 +26,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/keyvault/perf-tests/keyvault-secrets/test/index.spec.ts b/sdk/keyvault/perf-tests/keyvault-secrets/test/index.spec.ts index 88a9e4ab9fb9..a906632767ad 100644 --- a/sdk/keyvault/perf-tests/keyvault-secrets/test/index.spec.ts +++ b/sdk/keyvault/perf-tests/keyvault-secrets/test/index.spec.ts @@ -1,9 +1,7 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { GetSecretTest } from "./getSecret.spec"; import { ListSecretsTest } from "./listSecrets.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([GetSecretTest, ListSecretsTest])); +const perfProgram = createPerfProgram(GetSecretTest, ListSecretsTest); perfProgram.run(); diff --git a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json index 05dc4226815a..01028cb68efc 100644 --- a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json @@ -23,7 +23,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/test/index.spec.ts b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/test/index.spec.ts index 847463a61fb6..69bebb62cdd2 100644 --- a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/test/index.spec.ts +++ b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/test/index.spec.ts @@ -1,13 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { AnomaliesListTest } from "./listAnomalies.spec"; import { IncidentsListTest } from "./listIncidents.spec"; import { RootCauseTest } from "./rootCauses.spec"; -console.log("=== Starting the perf test ==="); -const perfProgram = new PerfProgram( - selectPerfTest([AnomaliesListTest, IncidentsListTest, RootCauseTest]) -); +const perfProgram = createPerfProgram(AnomaliesListTest, IncidentsListTest, RootCauseTest); perfProgram.run(); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/tests.yml b/sdk/monitor/monitor-opentelemetry-exporter/tests.yml index a94d18d16d84..c0c421af4930 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/tests.yml +++ b/sdk/monitor/monitor-opentelemetry-exporter/tests.yml @@ -3,7 +3,6 @@ trigger: none stages: - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: - TimeoutInMinutes: 15 PackageName: "@azure/monitor-opentelemetry-exporter" ServiceDirectory: monitor MatrixFilters: diff --git a/sdk/monitor/perf-tests/monitor-query/package.json b/sdk/monitor/perf-tests/monitor-query/package.json index 7fe8ddb610f5..1c17a6ba6d78 100644 --- a/sdk/monitor/perf-tests/monitor-query/package.json +++ b/sdk/monitor/perf-tests/monitor-query/package.json @@ -24,7 +24,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/monitor/perf-tests/monitor-query/test/index.spec.ts b/sdk/monitor/perf-tests/monitor-query/test/index.spec.ts index 7a091c71897b..ec2cc6c10791 100644 --- a/sdk/monitor/perf-tests/monitor-query/test/index.spec.ts +++ b/sdk/monitor/perf-tests/monitor-query/test/index.spec.ts @@ -1,14 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; import { MetricsQueryTest } from "./metricQuery.spec"; import { LogQueryBatchTest } from "./logQueryBatch.spec"; import { LogQueryTest } from "./logQuery.spec"; +import { createPerfProgram } from "@azure/test-utils-perf"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([MetricsQueryTest, LogQueryBatchTest, LogQueryTest]) -); +const perfProgram = createPerfProgram(MetricsQueryTest, LogQueryBatchTest, LogQueryTest); perfProgram.run(); diff --git a/sdk/operationsmanagement/arm-operations/CHANGELOG.md b/sdk/operationsmanagement/arm-operations/CHANGELOG.md index 52a9f8f28523..9b6711929a70 100644 --- a/sdk/operationsmanagement/arm-operations/CHANGELOG.md +++ b/sdk/operationsmanagement/arm-operations/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.3 (2022-04-27) +## 4.0.0-beta.3 (2022-05-11) The package of @azure/arm-operations is using our next generation design principles since version 4.0.0-beta.3, which contains breaking changes. diff --git a/sdk/operationsmanagement/arm-operations/_meta.json b/sdk/operationsmanagement/arm-operations/_meta.json index e1eae3618177..ca3a629fd206 100644 --- a/sdk/operationsmanagement/arm-operations/_meta.json +++ b/sdk/operationsmanagement/arm-operations/_meta.json @@ -1,8 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification\\operationsmanagement\\resource-manager\\readme.md", + "commit": "4c25202569e348fc15275947be54acd191e70c0c", + "readme": "specification/operationsmanagement/resource-manager/readme.md", "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\operationsmanagement\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" -} +} \ No newline at end of file diff --git a/sdk/operationsmanagement/arm-operations/review/arm-operations.api.md b/sdk/operationsmanagement/arm-operations/review/arm-operations.api.md index 135254a94260..832299e23181 100644 --- a/sdk/operationsmanagement/arm-operations/review/arm-operations.api.md +++ b/sdk/operationsmanagement/arm-operations/review/arm-operations.api.md @@ -48,9 +48,9 @@ export interface ManagementAssociationPropertiesList { // @public export interface ManagementAssociations { - createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams): Promise; - delete(resourceGroupName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams): Promise; - get(resourceGroupName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams): Promise; + createOrUpdate(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams): Promise; + get(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams): Promise; listBySubscription(options?: ManagementAssociationsListBySubscriptionOptionalParams): Promise; } @@ -169,7 +169,7 @@ export type OperationsListResponse = OperationListResult; export class OperationsManagementClient extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, providerName: string, resourceType: string, resourceName: string, options?: OperationsManagementClientOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: OperationsManagementClientOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -179,12 +179,6 @@ export class OperationsManagementClient extends coreClient.ServiceClient { // (undocumented) operations: Operations; // (undocumented) - providerName: string; - // (undocumented) - resourceName: string; - // (undocumented) - resourceType: string; - // (undocumented) solutions: Solutions; // (undocumented) subscriptionId: string; diff --git a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsCreateOrUpdateSample.ts b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsCreateOrUpdateSample.ts index d12ba0da1af6..501a605eeb83 100644 --- a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsCreateOrUpdateSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsCreateOrUpdateSample.ts @@ -22,10 +22,10 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionCreate() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const parameters: ManagementAssociation = { location: "East US", @@ -35,15 +35,12 @@ async function solutionCreate() { } }; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.createOrUpdate( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName, parameters ); diff --git a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsDeleteSample.ts b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsDeleteSample.ts index 7913624a9b5c..42b4a2fb5bc5 100644 --- a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsDeleteSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsDeleteSample.ts @@ -19,21 +19,18 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionDelete() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociationName"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.delete( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsGetSample.ts b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsGetSample.ts index 9717c574ae35..56fd08c9f274 100644 --- a/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsGetSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples-dev/managementAssociationsGetSample.ts @@ -19,21 +19,18 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionGet() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.get( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsCreateOrUpdateSample.js b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsCreateOrUpdateSample.js index 250b72bd49b3..99cc596c110f 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsCreateOrUpdateSample.js +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsCreateOrUpdateSample.js @@ -19,10 +19,10 @@ const { DefaultAzureCredential } = require("@azure/identity"); */ async function solutionCreate() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const parameters = { location: "East US", @@ -32,15 +32,12 @@ async function solutionCreate() { }, }; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.createOrUpdate( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName, parameters ); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsDeleteSample.js b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsDeleteSample.js index f29e30c1e884..d63a55fc6cbb 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsDeleteSample.js +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsDeleteSample.js @@ -19,21 +19,18 @@ const { DefaultAzureCredential } = require("@azure/identity"); */ async function solutionDelete() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociationName"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.delete( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsGetSample.js b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsGetSample.js index cebfd4d7390c..ee2ddd559ee4 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsGetSample.js +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/javascript/managementAssociationsGetSample.js @@ -19,21 +19,18 @@ const { DefaultAzureCredential } = require("@azure/identity"); */ async function solutionGet() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.get( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsCreateOrUpdateSample.ts b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsCreateOrUpdateSample.ts index d12ba0da1af6..501a605eeb83 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsCreateOrUpdateSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsCreateOrUpdateSample.ts @@ -22,10 +22,10 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionCreate() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const parameters: ManagementAssociation = { location: "East US", @@ -35,15 +35,12 @@ async function solutionCreate() { } }; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.createOrUpdate( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName, parameters ); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsDeleteSample.ts b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsDeleteSample.ts index 7913624a9b5c..42b4a2fb5bc5 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsDeleteSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsDeleteSample.ts @@ -19,21 +19,18 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionDelete() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociationName"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.delete( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsGetSample.ts b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsGetSample.ts index 9717c574ae35..56fd08c9f274 100644 --- a/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsGetSample.ts +++ b/sdk/operationsmanagement/arm-operations/samples/v4-beta/typescript/src/managementAssociationsGetSample.ts @@ -19,21 +19,18 @@ import { DefaultAzureCredential } from "@azure/identity"; */ async function solutionGet() { const subscriptionId = "subid"; + const resourceGroupName = "rg1"; const providerName = "providerName"; const resourceType = "resourceType"; const resourceName = "resourceName"; - const resourceGroupName = "rg1"; const managementAssociationName = "managementAssociation1"; const credential = new DefaultAzureCredential(); - const client = new OperationsManagementClient( - credential, - subscriptionId, - providerName, - resourceType, - resourceName - ); + const client = new OperationsManagementClient(credential, subscriptionId); const result = await client.managementAssociations.get( resourceGroupName, + providerName, + resourceType, + resourceName, managementAssociationName ); console.log(result); diff --git a/sdk/operationsmanagement/arm-operations/src/operations/managementAssociations.ts b/sdk/operationsmanagement/arm-operations/src/operations/managementAssociations.ts index d30ec74808b1..636bf58af3a9 100644 --- a/sdk/operationsmanagement/arm-operations/src/operations/managementAssociations.ts +++ b/sdk/operationsmanagement/arm-operations/src/operations/managementAssociations.ts @@ -50,18 +50,32 @@ export class ManagementAssociationsImpl implements ManagementAssociations { /** * Creates or updates the ManagementAssociation. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param parameters The parameters required to create ManagementAssociation extension. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, managementAssociationName, parameters, options }, + { + resourceGroupName, + providerName, + resourceType, + resourceName, + managementAssociationName, + parameters, + options + }, createOrUpdateOperationSpec ); } @@ -69,16 +83,29 @@ export class ManagementAssociationsImpl implements ManagementAssociations { /** * Deletes the ManagementAssociation in the subscription. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param options The options parameters. */ delete( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, managementAssociationName, options }, + { + resourceGroupName, + providerName, + resourceType, + resourceName, + managementAssociationName, + options + }, deleteOperationSpec ); } @@ -86,16 +113,29 @@ export class ManagementAssociationsImpl implements ManagementAssociations { /** * Retrieves the user ManagementAssociation. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param options The options parameters. */ get( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams ): Promise { return this.client.sendOperationRequest( - { resourceGroupName, managementAssociationName, options }, + { + resourceGroupName, + providerName, + resourceType, + resourceName, + managementAssociationName, + options + }, getOperationSpec ); } diff --git a/sdk/operationsmanagement/arm-operations/src/operationsInterfaces/managementAssociations.ts b/sdk/operationsmanagement/arm-operations/src/operationsInterfaces/managementAssociations.ts index 64d60ad49760..43afe7f36818 100644 --- a/sdk/operationsmanagement/arm-operations/src/operationsInterfaces/managementAssociations.ts +++ b/sdk/operationsmanagement/arm-operations/src/operationsInterfaces/managementAssociations.ts @@ -29,12 +29,18 @@ export interface ManagementAssociations { /** * Creates or updates the ManagementAssociation. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param parameters The parameters required to create ManagementAssociation extension. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams @@ -42,22 +48,34 @@ export interface ManagementAssociations { /** * Deletes the ManagementAssociation in the subscription. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param options The options parameters. */ delete( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams ): Promise; /** * Retrieves the user ManagementAssociation. * @param resourceGroupName The name of the resource group to get. The name is case insensitive. + * @param providerName Provider name for the parent resource. + * @param resourceType Resource type for the parent resource + * @param resourceName Parent resource name. * @param managementAssociationName User ManagementAssociation Name. * @param options The options parameters. */ get( resourceGroupName: string, + providerName: string, + resourceType: string, + resourceName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams ): Promise; diff --git a/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts b/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts index 5873079ddebd..e1419a3d2e7b 100644 --- a/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts +++ b/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts @@ -27,26 +27,17 @@ export class OperationsManagementClient extends coreClient.ServiceClient { $host: string; subscriptionId: string; apiVersion: string; - providerName: string; - resourceType: string; - resourceName: string; /** * Initializes a new instance of the OperationsManagementClient class. * @param credentials Subscription credentials which uniquely identify client subscription. * @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. - * @param resourceType Resource type for the parent resource - * @param resourceName Parent resource name. * @param options The parameter options */ constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - providerName: string, - resourceType: string, - resourceName: string, options?: OperationsManagementClientOptionalParams ) { if (credentials === undefined) { @@ -55,15 +46,6 @@ export class OperationsManagementClient extends coreClient.ServiceClient { if (subscriptionId === undefined) { throw new Error("'subscriptionId' cannot be null"); } - if (providerName === undefined) { - throw new Error("'providerName' cannot be null"); - } - if (resourceType === undefined) { - throw new Error("'resourceType' cannot be null"); - } - if (resourceName === undefined) { - throw new Error("'resourceName' cannot be null"); - } // Initializing default values for options if (!options) { @@ -118,9 +100,6 @@ export class OperationsManagementClient extends coreClient.ServiceClient { } // Parameter assignments this.subscriptionId = subscriptionId; - this.providerName = providerName; - this.resourceType = resourceType; - this.resourceName = resourceName; // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md index 3e19b75a2ec8..df3dda23c2ff 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md @@ -1,5 +1,20 @@ # Release History + +## 8.2.0 (2022-05-11) + +**Features** + - Added Interface TieringPolicy + - Added Type Alias TieringMode + - Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter newestRecoveryPointInArchive + - Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInArchive + - Interface AzureIaaSVMProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInVault + - Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter newestRecoveryPointInArchive + - Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInArchive + - Interface AzureVmWorkloadProtectedItemExtendedInfo has a new optional parameter oldestRecoveryPointInVault + - Interface SubProtectionPolicy has a new optional parameter tieringPolicy + - Added Enum KnownTieringMode + ## 8.1.1 (2022-04-29) **Features** diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json index 31c7126f95f9..aeacdd8ca06f 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/_meta.json @@ -1,8 +1,8 @@ { - "commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf", - "readme": "specification\\recoveryservicesbackup\\resource-manager\\readme.md", + "commit": "4c25202569e348fc15275947be54acd191e70c0c", + "readme": "specification/recoveryservicesbackup/resource-manager/readme.md", "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservicesbackup\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" -} +} \ No newline at end of file diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json index e72b23d61255..313d3d23b8c6 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for RecoveryServicesBackupClient.", - "version": "8.1.1", + "version": "8.2.0", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md index fd8808e3e403..44c33bc848b8 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/review/arm-recoveryservicesbackup.api.md @@ -215,7 +215,10 @@ export type AzureIaaSVMProtectedItem = ProtectedItem & { // @public export interface AzureIaaSVMProtectedItemExtendedInfo { + newestRecoveryPointInArchive?: Date; oldestRecoveryPoint?: Date; + oldestRecoveryPointInArchive?: Date; + oldestRecoveryPointInVault?: Date; policyInconsistent?: boolean; recoveryPointCount?: number; } @@ -229,6 +232,9 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & { instantRPDetails?: InstantRPAdditionalDetails; schedulePolicy?: SchedulePolicyUnion; retentionPolicy?: RetentionPolicyUnion; + tieringPolicy?: { + [propertyName: string]: TieringPolicy; + }; instantRpRetentionRangeInDays?: number; timeZone?: string; policyType?: IaasvmPolicyType; @@ -401,7 +407,10 @@ export type AzureVmWorkloadProtectedItem = ProtectedItem & { // @public export interface AzureVmWorkloadProtectedItemExtendedInfo { + newestRecoveryPointInArchive?: Date; oldestRecoveryPoint?: Date; + oldestRecoveryPointInArchive?: Date; + oldestRecoveryPointInVault?: Date; policyState?: string; recoveryModel?: string; recoveryPointCount?: number; @@ -1670,7 +1679,7 @@ export type IaasVMBackupRequest = BackupRequest & { // @public export type IaaSVMContainer = ProtectionContainer & { - containerType: "IaaSVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines"; + containerType: "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines"; virtualMachineId?: string; virtualMachineVersion?: string; resourceGroup?: string; @@ -2685,6 +2694,18 @@ export enum KnownSupportStatus { Supported = "Supported" } +// @public +export enum KnownTieringMode { + // (undocumented) + DoNotTier = "DoNotTier", + // (undocumented) + Invalid = "Invalid", + // (undocumented) + TierAfter = "TierAfter", + // (undocumented) + TierRecommended = "TierRecommended" +} + // @public export enum KnownType { // (undocumented) @@ -3350,7 +3371,7 @@ export type ProtectedItemUnion = ProtectedItem | AzureFileshareProtectedItem | A // @public export interface ProtectionContainer { backupManagementType?: BackupManagementType; - containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaaSVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows"; + containerType: "DPMContainer" | "AzureBackupServerContainer" | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" | "SQLAGWorkLoadContainer" | "AzureSqlContainer" | "StorageContainer" | "VMAppContainer" | "GenericContainer" | "Windows"; friendlyName?: string; healthStatus?: string; protectableObjectType?: string; @@ -4083,6 +4104,9 @@ export interface SubProtectionPolicy { policyType?: PolicyType; retentionPolicy?: RetentionPolicyUnion; schedulePolicy?: SchedulePolicyUnion; + tieringPolicy?: { + [propertyName: string]: TieringPolicy; + }; } // @public @@ -4102,6 +4126,16 @@ export interface TargetRestoreInfo { targetDirectoryForFileRestore?: string; } +// @public +export type TieringMode = string; + +// @public +export interface TieringPolicy { + duration?: number; + durationType?: RetentionDurationType; + tieringMode?: TieringMode; +} + // @public export interface TokenInformation { expiryTimeInUtcTicks?: number; diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts index 28625af42dc6..f843f580fa10 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/index.ts @@ -889,7 +889,7 @@ export interface ProtectionContainer { containerType: | "DPMContainer" | "AzureBackupServerContainer" - | "IaaSVMContainer" + | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureWorkloadContainer" @@ -1122,6 +1122,12 @@ export interface SubProtectionPolicy { schedulePolicy?: SchedulePolicyUnion; /** Retention policy with the details on backup copy retention ranges. */ retentionPolicy?: RetentionPolicyUnion; + /** + * Tiering policy to automatically move RPs to another tier. + * Key is Target Tier, defined in RecoveryPointTierType enum. + * Tiering policy specifies the criteria to move RP to the target tier. + */ + tieringPolicy?: { [propertyName: string]: TieringPolicy }; } /** Base class for backup schedule. */ @@ -1140,10 +1146,40 @@ export interface RetentionPolicy { retentionPolicyType: "LongTermRetentionPolicy" | "SimpleRetentionPolicy"; } +/** + * Tiering Policy for a target tier. + * If the policy is not specified for a given target tier, service retains the existing configured tiering policy for that tier + */ +export interface TieringPolicy { + /** + * Tiering Mode to control automatic tiering of recovery points. Supported values are: + * 1. TierRecommended: Tier all recovery points recommended to be tiered + * 2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below. + * 3. DoNotTier: Do not tier any recovery points + */ + tieringMode?: TieringMode; + /** + * Number of days/weeks/months/years to retain backups in current tier before tiering. + * Used only if TieringMode is set to TierAfter + */ + duration?: number; + /** + * Retention duration type: days/weeks/months/years + * Used only if TieringMode is set to TierAfter + */ + durationType?: RetentionDurationType; +} + /** Additional information on Azure IaaS VM specific backup item. */ export interface AzureIaaSVMProtectedItemExtendedInfo { - /** The oldest backup copy available for this backup item. */ + /** The oldest backup copy available for this backup item across all tiers. */ oldestRecoveryPoint?: Date; + /** The oldest backup copy available for this backup item in vault tier */ + oldestRecoveryPointInVault?: Date; + /** The oldest backup copy available for this backup item in archive tier */ + oldestRecoveryPointInArchive?: Date; + /** The latest backup copy available for this backup item in archive tier */ + newestRecoveryPointInArchive?: Date; /** Number of backup copies available for this backup item. */ recoveryPointCount?: number; /** Specifies if backup policy associated with the backup item is inconsistent. */ @@ -1273,8 +1309,14 @@ export interface AzureStorageJobTaskDetails { /** Additional information on Azure Workload for SQL specific backup item. */ export interface AzureVmWorkloadProtectedItemExtendedInfo { - /** The oldest backup copy available for this backup item. */ + /** The oldest backup copy available for this backup item across all tiers. */ oldestRecoveryPoint?: Date; + /** The oldest backup copy available for this backup item in vault tier */ + oldestRecoveryPointInVault?: Date; + /** The oldest backup copy available for this backup item in archive tier */ + oldestRecoveryPointInArchive?: Date; + /** The latest backup copy available for this backup item in archive tier */ + newestRecoveryPointInArchive?: Date; /** Number of backup copies available for this backup item. */ recoveryPointCount?: number; /** Indicates consistency of policy object and policy applied to this backup item. */ @@ -2678,6 +2720,12 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & { schedulePolicy?: SchedulePolicyUnion; /** Retention policy with the details on backup copy retention ranges. */ retentionPolicy?: RetentionPolicyUnion; + /** + * Tiering policy to automatically move RPs to another tier + * Key is Target Tier, defined in RecoveryPointTierType enum. + * Tiering policy specifies the criteria to move RP to the target tier. + */ + tieringPolicy?: { [propertyName: string]: TieringPolicy }; /** Instant RP retention policy range in days */ instantRpRetentionRangeInDays?: number; /** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */ @@ -2933,7 +2981,7 @@ export type DpmContainer = ProtectionContainer & { export type IaaSVMContainer = ProtectionContainer & { /** Polymorphic discriminator, which specifies the different types this object can be */ containerType: - | "IaaSVMContainer" + | "IaasVMContainer" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines"; /** Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container. */ @@ -4241,6 +4289,48 @@ export enum KnownPolicyType { */ export type PolicyType = string; +/** Known values of {@link TieringMode} that the service accepts. */ +export enum KnownTieringMode { + Invalid = "Invalid", + TierRecommended = "TierRecommended", + TierAfter = "TierAfter", + DoNotTier = "DoNotTier" +} + +/** + * Defines values for TieringMode. \ + * {@link KnownTieringMode} can be used interchangeably with TieringMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Invalid** \ + * **TierRecommended** \ + * **TierAfter** \ + * **DoNotTier** + */ +export type TieringMode = string; + +/** Known values of {@link RetentionDurationType} that the service accepts. */ +export enum KnownRetentionDurationType { + Invalid = "Invalid", + Days = "Days", + Weeks = "Weeks", + Months = "Months", + Years = "Years" +} + +/** + * Defines values for RetentionDurationType. \ + * {@link KnownRetentionDurationType} can be used interchangeably with RetentionDurationType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Invalid** \ + * **Days** \ + * **Weeks** \ + * **Months** \ + * **Years** + */ +export type RetentionDurationType = string; + /** Known values of {@link HealthStatus} that the service accepts. */ export enum KnownHealthStatus { Passed = "Passed", @@ -4447,28 +4537,6 @@ export enum KnownRestorePointQueryType { */ export type RestorePointQueryType = string; -/** Known values of {@link RetentionDurationType} that the service accepts. */ -export enum KnownRetentionDurationType { - Invalid = "Invalid", - Days = "Days", - Weeks = "Weeks", - Months = "Months", - Years = "Years" -} - -/** - * Defines values for RetentionDurationType. \ - * {@link KnownRetentionDurationType} can be used interchangeably with RetentionDurationType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Invalid** \ - * **Days** \ - * **Weeks** \ - * **Months** \ - * **Years** - */ -export type RetentionDurationType = string; - /** Known values of {@link JobStatus} that the service accepts. */ export enum KnownJobStatus { Invalid = "Invalid", diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts index 191d7773b857..eb5dd0999ac7 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/models/mappers.ts @@ -2413,6 +2413,13 @@ export const SubProtectionPolicy: coreClient.CompositeMapper = { name: "Composite", className: "RetentionPolicy" } + }, + tieringPolicy: { + serializedName: "tieringPolicy", + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "TieringPolicy" } } + } } } } @@ -2460,6 +2467,33 @@ export const RetentionPolicy: coreClient.CompositeMapper = { } }; +export const TieringPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TieringPolicy", + modelProperties: { + tieringMode: { + serializedName: "tieringMode", + type: { + name: "String" + } + }, + duration: { + serializedName: "duration", + type: { + name: "Number" + } + }, + durationType: { + serializedName: "durationType", + type: { + name: "String" + } + } + } + } +}; + export const AzureIaaSVMProtectedItemExtendedInfo: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2471,6 +2505,24 @@ export const AzureIaaSVMProtectedItemExtendedInfo: coreClient.CompositeMapper = name: "DateTime" } }, + oldestRecoveryPointInVault: { + serializedName: "oldestRecoveryPointInVault", + type: { + name: "DateTime" + } + }, + oldestRecoveryPointInArchive: { + serializedName: "oldestRecoveryPointInArchive", + type: { + name: "DateTime" + } + }, + newestRecoveryPointInArchive: { + serializedName: "newestRecoveryPointInArchive", + type: { + name: "DateTime" + } + }, recoveryPointCount: { serializedName: "recoveryPointCount", type: { @@ -2833,6 +2885,24 @@ export const AzureVmWorkloadProtectedItemExtendedInfo: coreClient.CompositeMappe name: "DateTime" } }, + oldestRecoveryPointInVault: { + serializedName: "oldestRecoveryPointInVault", + type: { + name: "DateTime" + } + }, + oldestRecoveryPointInArchive: { + serializedName: "oldestRecoveryPointInArchive", + type: { + name: "DateTime" + } + }, + newestRecoveryPointInArchive: { + serializedName: "newestRecoveryPointInArchive", + type: { + name: "DateTime" + } + }, recoveryPointCount: { serializedName: "recoveryPointCount", type: { @@ -6845,6 +6915,13 @@ export const AzureIaaSVMProtectionPolicy: coreClient.CompositeMapper = { className: "RetentionPolicy" } }, + tieringPolicy: { + serializedName: "tieringPolicy", + type: { + name: "Dictionary", + value: { type: { name: "Composite", className: "TieringPolicy" } } + } + }, instantRpRetentionRangeInDays: { serializedName: "instantRpRetentionRangeInDays", type: { @@ -7625,7 +7702,7 @@ export const DpmContainer: coreClient.CompositeMapper = { }; export const IaaSVMContainer: coreClient.CompositeMapper = { - serializedName: "IaaSVMContainer", + serializedName: "IaasVMContainer", type: { name: "Composite", className: "IaaSVMContainer", @@ -9141,7 +9218,7 @@ export let discriminators = { "ProtectableContainer.StorageContainer": AzureStorageProtectableContainer, "ProtectableContainer.VMAppContainer": AzureVMAppContainerProtectableContainer, "ProtectionContainer.DPMContainer": DpmContainer, - "ProtectionContainer.IaaSVMContainer": IaaSVMContainer, + "ProtectionContainer.IaasVMContainer": IaaSVMContainer, "ProtectionContainer.AzureWorkloadContainer": AzureWorkloadContainer, "ProtectionContainer.AzureSqlContainer": AzureSqlContainer, "ProtectionContainer.StorageContainer": AzureStorageContainer, diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/recoveryServicesBackupClient.ts b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/recoveryServicesBackupClient.ts index 2db6f7ec4cf3..82cf5ab2bf16 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/recoveryServicesBackupClient.ts +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/recoveryServicesBackupClient.ts @@ -157,7 +157,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.1.1`; + const packageDetails = `azsdk-js-arm-recoveryservicesbackup/8.2.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/relay/arm-relay/CHANGELOG.md b/sdk/relay/arm-relay/CHANGELOG.md index 6e61469fbb97..b37d42ad23b9 100644 --- a/sdk/relay/arm-relay/CHANGELOG.md +++ b/sdk/relay/arm-relay/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 3.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 3.0.1 (2022-04-29) **Features** diff --git a/sdk/relay/arm-relay/package.json b/sdk/relay/arm-relay/package.json index 4dbeb804e99a..6f674208f501 100644 --- a/sdk/relay/arm-relay/package.json +++ b/sdk/relay/arm-relay/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for RelayAPI.", - "version": "3.0.1", + "version": "3.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/relay/arm-relay/src/relayAPI.ts b/sdk/relay/arm-relay/src/relayAPI.ts index 72c79f1b53d4..5d829fbf55af 100644 --- a/sdk/relay/arm-relay/src/relayAPI.ts +++ b/sdk/relay/arm-relay/src/relayAPI.ts @@ -56,7 +56,7 @@ export class RelayAPI extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-relay/3.0.1`; + const packageDetails = `azsdk-js-arm-relay/3.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/resourcegraph/arm-resourcegraph/CHANGELOG.md b/sdk/resourcegraph/arm-resourcegraph/CHANGELOG.md index 09e0d664eecd..9dc293952bcd 100644 --- a/sdk/resourcegraph/arm-resourcegraph/CHANGELOG.md +++ b/sdk/resourcegraph/arm-resourcegraph/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History - + +## 5.0.0-beta.3 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 5.0.0-beta.2 (2022-04-28) The package of @azure/arm-resourcegraph is using our next generation design principles since version 5.0.0-beta.2, which contains breaking changes. diff --git a/sdk/resourcegraph/arm-resourcegraph/package.json b/sdk/resourcegraph/arm-resourcegraph/package.json index 54702b7773ee..63bb3e1217b2 100644 --- a/sdk/resourcegraph/arm-resourcegraph/package.json +++ b/sdk/resourcegraph/arm-resourcegraph/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ResourceGraphClient.", - "version": "5.0.0-beta.2", + "version": "5.0.0-beta.3", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts index 66d86fed47e9..fa3699cd65f4 100644 --- a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts +++ b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts @@ -49,7 +49,7 @@ export class ResourceGraphClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-resourcegraph/5.0.0-beta.2`; + const packageDetails = `azsdk-js-arm-resourcegraph/5.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md b/sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md index bb3aac068e29..eefd1d8fca8a 100644 --- a/sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md +++ b/sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 3.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 3.0.1 (2022-04-29) **Features** diff --git a/sdk/resourcehealth/arm-resourcehealth/package.json b/sdk/resourcehealth/arm-resourcehealth/package.json index f04b6210e3d4..8b358447d8aa 100644 --- a/sdk/resourcehealth/arm-resourcehealth/package.json +++ b/sdk/resourcehealth/arm-resourcehealth/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MicrosoftResourceHealth.", - "version": "3.0.1", + "version": "3.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts index 0995fd67703d..1aa26eaf2cfc 100644 --- a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts +++ b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts @@ -58,7 +58,7 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-resourcehealth/3.0.1`; + const packageDetails = `azsdk-js-arm-resourcehealth/3.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/resourcemover/arm-resourcemover/CHANGELOG.md b/sdk/resourcemover/arm-resourcemover/CHANGELOG.md index 018022faa1c1..ab9a8583f17d 100644 --- a/sdk/resourcemover/arm-resourcemover/CHANGELOG.md +++ b/sdk/resourcemover/arm-resourcemover/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.0.1 (2022-04-29) **Features** diff --git a/sdk/resourcemover/arm-resourcemover/package.json b/sdk/resourcemover/arm-resourcemover/package.json index 05b15e4ebef8..8869cb7d226f 100644 --- a/sdk/resourcemover/arm-resourcemover/package.json +++ b/sdk/resourcemover/arm-resourcemover/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ResourceMoverServiceAPI.", - "version": "2.0.1", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts index 81e03452b27f..423b20b637a6 100644 --- a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts +++ b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts @@ -55,7 +55,7 @@ export class ResourceMoverServiceAPI extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-resourcemover/2.0.1`; + const packageDetails = `azsdk-js-arm-resourcemover/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/schemaregistry/perf-tests/schema-registry-avro/package.json b/sdk/schemaregistry/perf-tests/schema-registry-avro/package.json index 1e2635d5c84a..4a9636f6f432 100644 --- a/sdk/schemaregistry/perf-tests/schema-registry-avro/package.json +++ b/sdk/schemaregistry/perf-tests/schema-registry-avro/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/schemaregistry/perf-tests/schema-registry-avro/test/index.spec.ts b/sdk/schemaregistry/perf-tests/schema-registry-avro/test/index.spec.ts index 54c6f761d496..d8e68f82e2b1 100644 --- a/sdk/schemaregistry/perf-tests/schema-registry-avro/test/index.spec.ts +++ b/sdk/schemaregistry/perf-tests/schema-registry-avro/test/index.spec.ts @@ -1,15 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { SerializeTest } from "./serialize.spec"; import { DeserializeTest } from "./deserialize.spec"; import dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([SerializeTest, DeserializeTest])); +const perfProgram = createPerfProgram(SerializeTest, DeserializeTest); perfProgram.run(); diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index 6238b5ebe9a8..11c6ac530e78 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -80,7 +80,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/event-hubs": "^5.8.0-beta.3", + "@azure/event-hubs": "^5.8.0", "@azure/identity": "^2.0.1", "@azure/test-utils": "^1.0.0", "@azure-tools/test-recorder": "^1.0.0", diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md new file mode 100644 index 000000000000..b6da644ac33e --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md @@ -0,0 +1,59 @@ +# Azure Schema Registry client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for Azure Schema Registry in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [schemaRegistryAvroSample.js][schemaregistryavrosample] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry. | +| [withEventHubsBufferedProducerClient.js][witheventhubsbufferedproducerclient] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Buffered Producer Client. | +| [withEventHubsConsumerClient.js][witheventhubsconsumerclient] | Demonstrates the use of AvroSerializer to deserialize messages with avro-serialized payload received from the Event Hub Consumer Client. | +| [withEventHubsProducerClient.js][witheventhubsproducerclient] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Producer Client. | + +## Prerequisites + +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: + +- [Azure Schema Registry resource][createinstance_azureschemaregistryresource] + +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 schemaRegistryAvroSample.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 SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGISTRY_GROUP="" node schemaRegistryAvroSample.js +``` + +## Next Steps + +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/main/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js +[witheventhubsbufferedproducerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsBufferedProducerClient.js +[witheventhubsconsumerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsConsumerClient.js +[witheventhubsproducerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsProducerClient.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/main/sdk/schemaregistry/schema-registry-avro/README.md diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json new file mode 100644 index 000000000000..023de3274920 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/schema-registry-avro-js", + "private": true, + "version": "1.0.0", + "description": "Azure Schema Registry 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/schemaregistry/schema-registry-avro" + }, + "keywords": [ + "azure", + "cloud", + "typescript" + ], + "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/schemaregistry/schema-registry-avro", + "dependencies": { + "@azure/schema-registry-avro": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1", + "@azure/schema-registry": "^1.0.1", + "@azure/event-hubs": "^5.8.0" + } +} diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/sample.env b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/sample.env new file mode 100644 index 000000000000..15f5a8fc6249 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/sample.env @@ -0,0 +1,20 @@ +SCHEMA_REGISTRY_ENDPOINT= +SCHEMA_REGISTRY_GROUP= + +# Used to authenticate using Azure AD as a service principal for role-based authentication +# in the tokenAuth sample. +# +# See the documentation for `EnvironmentCredential` at the following link: +# https://docs.microsoft.com/javascript/api/@azure/identity/environmentcredential +AZURE_TENANT_ID= +AZURE_CLIENT_ID= +AZURE_CLIENT_SECRET= + +# Used in samples that use Event Hubs. Retrieve these values from an Event Hub in the Azure portal. +EVENTHUB_CONNECTION_STRING= +EVENTHUB_NAME= +CONSUMER_GROUP_NAME= + +# Used in samples that use Event Grid. Retrieve these values from an Event Grid topic in the Azure portal +EVENT_GRID_TOPIC_ENDPOINT= +EVENT_GRID_TOPIC_API_KEY= \ No newline at end of file diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js new file mode 100644 index 000000000000..14bd7988475d --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry. + */ + +const { DefaultAzureCredential } = require("@azure/identity"); +const { SchemaRegistryClient } = require("@azure/schema-registry"); +const { AvroSerializer } = require("@azure/schema-registry-avro"); + +// Load the .env file if it exists +require("dotenv").config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +async function main() { + // Create a new client + const client = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await client.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(client, { groupName }); + + // serialize an object that matches the schema and put it in a message + const value = { firstName: "Jane", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(JSON.stringify(message)); + + // deserialize the message back to an object + const deserializedObject = await serializer.deserialize(message); + console.log("Deserialized object:"); + console.log(JSON.stringify(deserializedObject)); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); + +module.exports = { main }; diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsBufferedProducerClient.js b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsBufferedProducerClient.js new file mode 100644 index 000000000000..a39410158fc9 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsBufferedProducerClient.js @@ -0,0 +1,106 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Buffered Producer Client. + */ + +const { DefaultAzureCredential } = require("@azure/identity"); +const { SchemaRegistryClient } = require("@azure/schema-registry"); +const { AvroSerializer } = require("@azure/schema-registry-avro"); +const { EventHubBufferedProducerClient, createEventDataAdapter } = require("@azure/event-hubs"); + +// Load the .env file if it exists +require("dotenv").config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +async function handleError() { + console.log("An error occured when sending a message"); +} + +async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubsBufferedProducerClient = new EventHubBufferedProducerClient( + eventHubsConnectionString, + eventHubName, + { + onSendEventsErrorHandler: handleError, + } + ); + + // serialize an object that matches the schema + const value = { firstName: "Jane", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(message); + + await eventHubsBufferedProducerClient.enqueueEvent(message); + console.log(`Message was added to the queue and is about to be sent`); + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await eventHubsBufferedProducerClient.close({ flush: true }); + console.log(`Exiting sample`); + }, 30 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); + +module.exports = { main }; diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsConsumerClient.js b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsConsumerClient.js new file mode 100644 index 000000000000..be7b40a37112 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsConsumerClient.js @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to deserialize messages with avro-serialized payload received from the Event Hub Consumer Client. + */ + +const { DefaultAzureCredential } = require("@azure/identity"); +const { SchemaRegistryClient } = require("@azure/schema-registry"); +const { AvroSerializer } = require("@azure/schema-registry-avro"); +const { + EventHubConsumerClient, + earliestEventPosition, + createEventDataAdapter, +} = require("@azure/event-hubs"); + +// Load the .env file if it exists +require("dotenv").config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// The name of the Event Hub consumer group from which you want to process events +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubConsumerClient = new EventHubConsumerClient( + consumerGroup, + eventHubsConnectionString, + eventHubName + ); + + const subscription = eventHubConsumerClient.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: '${JSON.stringify(event)}' from partition: '${ + context.partitionId + }' and consumer group: '${context.consumerGroup}'` + ); + if (event.contentType !== undefined && event.body) { + const contentTypeParts = event.contentType.split("+"); + if (contentTypeParts[0] === "avro/binary") { + const deserializedEvent = await serializer.deserialize(event); + console.log(`Deserialized message: '${JSON.stringify(deserializedEvent)}'`); + } + } + } + }, + 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 eventHubConsumerClient.close(); + console.log(`Exiting sample`); + }, 30 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); + +module.exports = { main }; diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsProducerClient.js b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsProducerClient.js new file mode 100644 index 000000000000..ae9ba0b28e6f --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/withEventHubsProducerClient.js @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Producer Client. + */ + +const { DefaultAzureCredential } = require("@azure/identity"); +const { SchemaRegistryClient } = require("@azure/schema-registry"); +const { AvroSerializer } = require("@azure/schema-registry-avro"); +const { EventHubProducerClient, createEventDataAdapter } = require("@azure/event-hubs"); + +// Load the .env file if it exists +require("dotenv").config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubsProducerClient = new EventHubProducerClient( + eventHubsConnectionString, + eventHubName + ); + + // serialize an object that matches the schema + const value = { firstName: "Joe", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(message); + + const eventsToSend = [message]; + + // 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 eventHubsProducerClient.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(eventsToSend[i]); + + if (isAdded) { + console.log(`Added a message with index ${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 eventHubsProducerClient.sendBatch(batch); + numEventsSent += batch.count; + + // and create a new one to house the next set of messages + batch = await eventHubsProducerClient.createBatch(batchOptions); + } + + // send any remaining messages, if any. + if (batch.count > 0) { + console.log(`Sending remaining ${batch.count} messages as a single batch.`); + await eventHubsProducerClient.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})`); + } + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await eventHubsProducerClient.close(); + console.log(`Exiting sample`); + }, 3 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); + +module.exports = { main }; diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md new file mode 100644 index 000000000000..f77fa38afc7c --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md @@ -0,0 +1,72 @@ +# Azure Schema Registry client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for Azure Schema Registry in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [schemaRegistryAvroSample.ts][schemaregistryavrosample] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry. | +| [withEventHubsBufferedProducerClient.ts][witheventhubsbufferedproducerclient] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Buffered Producer Client. | +| [withEventHubsConsumerClient.ts][witheventhubsconsumerclient] | Demonstrates the use of AvroSerializer to deserialize messages with avro-serialized payload received from the Event Hub Consumer Client. | +| [withEventHubsProducerClient.ts][witheventhubsproducerclient] | Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Producer Client. | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: + +- [Azure Schema Registry resource][createinstance_azureschemaregistryresource] + +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/schemaRegistryAvroSample.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 SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGISTRY_GROUP="" node dist/schemaRegistryAvroSample.js +``` + +## Next Steps + +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/main/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts +[witheventhubsbufferedproducerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsBufferedProducerClient.ts +[witheventhubsconsumerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsConsumerClient.ts +[witheventhubsproducerclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsProducerClient.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/main/sdk/schemaregistry/schema-registry-avro/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json new file mode 100644 index 000000000000..7ec4ff01d199 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/schema-registry-avro-ts", + "private": true, + "version": "1.0.0", + "description": "Azure Schema Registry 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/schemaregistry/schema-registry-avro" + }, + "keywords": [ + "azure", + "cloud", + "typescript" + ], + "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/schemaregistry/schema-registry-avro", + "dependencies": { + "@azure/schema-registry-avro": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1", + "@azure/schema-registry": "^1.0.1", + "@azure/event-hubs": "^5.8.0" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/sample.env b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/sample.env new file mode 100644 index 000000000000..15f5a8fc6249 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/sample.env @@ -0,0 +1,20 @@ +SCHEMA_REGISTRY_ENDPOINT= +SCHEMA_REGISTRY_GROUP= + +# Used to authenticate using Azure AD as a service principal for role-based authentication +# in the tokenAuth sample. +# +# See the documentation for `EnvironmentCredential` at the following link: +# https://docs.microsoft.com/javascript/api/@azure/identity/environmentcredential +AZURE_TENANT_ID= +AZURE_CLIENT_ID= +AZURE_CLIENT_SECRET= + +# Used in samples that use Event Hubs. Retrieve these values from an Event Hub in the Azure portal. +EVENTHUB_CONNECTION_STRING= +EVENTHUB_NAME= +CONSUMER_GROUP_NAME= + +# Used in samples that use Event Grid. Retrieve these values from an Event Grid topic in the Azure portal +EVENT_GRID_TOPIC_ENDPOINT= +EVENT_GRID_TOPIC_API_KEY= \ No newline at end of file diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts new file mode 100644 index 000000000000..93e31b40e3b6 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry. + */ + +import { DefaultAzureCredential } from "@azure/identity"; +import { SchemaRegistryClient, SchemaDescription } from "@azure/schema-registry"; +import { AvroSerializer } from "@azure/schema-registry-avro"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +// Matching TypeScript interface for schema +interface User { + firstName: string; + lastName: string; +} + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription: SchemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +export async function main() { + // Create a new client + const client = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await client.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(client, { groupName }); + + // serialize an object that matches the schema and put it in a message + const value: User = { firstName: "Jane", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(JSON.stringify(message)); + + // deserialize the message back to an object + const deserializedObject = await serializer.deserialize(message); + console.log("Deserialized object:"); + console.log(JSON.stringify(deserializedObject as User)); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsBufferedProducerClient.ts b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsBufferedProducerClient.ts new file mode 100644 index 000000000000..38fe83ec43f1 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsBufferedProducerClient.ts @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Buffered Producer Client. + */ + +import { DefaultAzureCredential } from "@azure/identity"; +import { SchemaRegistryClient, SchemaDescription } from "@azure/schema-registry"; +import { AvroSerializer } from "@azure/schema-registry-avro"; +import { EventHubBufferedProducerClient, createEventDataAdapter } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +// Matching TypeScript interface for schema +interface User { + firstName: string; + lastName: string; +} + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription: SchemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +async function handleError(): Promise { + console.log("An error occured when sending a message"); +} + +export async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubsBufferedProducerClient = new EventHubBufferedProducerClient( + eventHubsConnectionString, + eventHubName, + { + onSendEventsErrorHandler: handleError, + } + ); + + // serialize an object that matches the schema + const value: User = { firstName: "Jane", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(message); + + await eventHubsBufferedProducerClient.enqueueEvent(message); + console.log(`Message was added to the queue and is about to be sent`); + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await eventHubsBufferedProducerClient.close({ flush: true }); + console.log(`Exiting sample`); + }, 30 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsConsumerClient.ts b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsConsumerClient.ts new file mode 100644 index 000000000000..9107d6b057ea --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsConsumerClient.ts @@ -0,0 +1,130 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to deserialize messages with avro-serialized payload received from the Event Hub Consumer Client. + */ + +import { DefaultAzureCredential } from "@azure/identity"; +import { SchemaRegistryClient, SchemaDescription } from "@azure/schema-registry"; +import { AvroSerializer } from "@azure/schema-registry-avro"; +import { + EventHubConsumerClient, + earliestEventPosition, + createEventDataAdapter, +} from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// The name of the Event Hub consumer group from which you want to process events +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription: SchemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +export async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubConsumerClient = new EventHubConsumerClient( + consumerGroup, + eventHubsConnectionString, + eventHubName + ); + + const subscription = eventHubConsumerClient.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: '${JSON.stringify(event)}' from partition: '${ + context.partitionId + }' and consumer group: '${context.consumerGroup}'` + ); + if (event.contentType !== undefined && event.body) { + const contentTypeParts = event.contentType.split("+"); + if (contentTypeParts[0] === "avro/binary") { + const deserializedEvent = await serializer.deserialize(event); + console.log(`Deserialized message: '${JSON.stringify(deserializedEvent)}'`); + } + } + } + }, + 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 eventHubConsumerClient.close(); + console.log(`Exiting sample`); + }, 30 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsProducerClient.ts b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsProducerClient.ts new file mode 100644 index 000000000000..1946df69dbee --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/withEventHubsProducerClient.ts @@ -0,0 +1,175 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * @summary Demonstrates the use of AvroSerializer to create messages with avro-serialized payload using schema from Schema Registry and send them to an Event Hub using the EventHub Producer Client. + */ + +import { DefaultAzureCredential } from "@azure/identity"; +import { SchemaRegistryClient, SchemaDescription } from "@azure/schema-registry"; +import { AvroSerializer } from "@azure/schema-registry-avro"; +import { EventHubProducerClient, createEventDataAdapter } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// The fully qualified namespace for schema registry +const schemaRegistryFullyQualifiedNamespace = + process.env["SCHEMA_REGISTRY_ENDPOINT"] || ""; + +// The schema group to use for schema registeration or lookup +const groupName = process.env["SCHEMA_REGISTRY_GROUP"] || "AzureSdkSampleGroup"; + +// The connection string for Event Hubs +const eventHubsConnectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; + +// The name of Event Hub the client will connect to +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +// Sample Avro Schema for user with first and last names +const schemaObject = { + type: "record", + name: "User", + namespace: "com.azure.schemaregistry.samples", + fields: [ + { + name: "firstName", + type: "string", + }, + { + name: "lastName", + type: "string", + }, + ], +}; + +// Matching TypeScript interface for schema +interface User { + firstName: string; + lastName: string; +} + +const schema = JSON.stringify(schemaObject); + +// Description of the schema for registration +const schemaDescription: SchemaDescription = { + name: `${schemaObject.namespace}.${schemaObject.name}`, + groupName, + format: "Avro", + definition: schema, +}; + +export async function main() { + // Create a new client + const schemaRegistryClient = new SchemaRegistryClient( + schemaRegistryFullyQualifiedNamespace, + new DefaultAzureCredential() + ); + + // Register the schema. This would generally have been done somewhere else. + // You can also skip this step and let `serialize` automatically register + // schemas using autoRegisterSchemas=true, but that is NOT recommended in production. + await schemaRegistryClient.registerSchema(schemaDescription); + + // Create a new serializer backed by the client + const serializer = new AvroSerializer(schemaRegistryClient, { + groupName, + messageAdapter: createEventDataAdapter(), + }); + + const eventHubsProducerClient = new EventHubProducerClient( + eventHubsConnectionString, + eventHubName + ); + + // serialize an object that matches the schema + const value: User = { firstName: "Joe", lastName: "Doe" }; + const message = await serializer.serialize(value, schema); + console.log("Created message:"); + console.log(message); + + const eventsToSend = [message]; + + // 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 eventHubsProducerClient.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(eventsToSend[i]); + + if (isAdded) { + console.log(`Added a message with index ${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 eventHubsProducerClient.sendBatch(batch); + numEventsSent += batch.count; + + // and create a new one to house the next set of messages + batch = await eventHubsProducerClient.createBatch(batchOptions); + } + + // send any remaining messages, if any. + if (batch.count > 0) { + console.log(`Sending remaining ${batch.count} messages as a single batch.`); + await eventHubsProducerClient.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})`); + } + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await eventHubsProducerClient.close(); + console.log(`Exiting sample`); + }, 3 * 1000); +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/tsconfig.json b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/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/schemaregistry/schema-registry/CHANGELOG.md b/sdk/schemaregistry/schema-registry/CHANGELOG.md index 99adb1955167..e96e8f6babc8 100644 --- a/sdk/schemaregistry/schema-registry/CHANGELOG.md +++ b/sdk/schemaregistry/schema-registry/CHANGELOG.md @@ -1,15 +1,11 @@ # Release History -## 1.1.0 (Unreleased) +## 1.1.0 (2022-05-10) ### Features Added - Added support for distributed tracing using OpenTelemetry - please refer to the [@azure/opentelemetry-instrumentation-azure-sdk](https://www.npmjs.com/package/@azure/opentelemetry-instrumentation-azure-sdk) package for instructions. -### Breaking Changes - -### Bugs Fixed - ### Other Changes - `SchemaProperties` now includes `name` and `groupName` for the schema name and its group respectively. diff --git a/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js b/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js index 30a4fb1ed265..02096572d3c9 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js +++ b/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js @@ -9,8 +9,7 @@ const { DefaultAzureCredential } = require("@azure/identity"); const { SchemaRegistryClient } = require("@azure/schema-registry"); // Load the .env file if it exists -const dotenv = require("dotenv"); -dotenv.config(); +require("dotenv").config(); // Set these environment variables or edit the following values const fullyQualifiedNamespace = @@ -25,13 +24,13 @@ const schemaObject = { fields: [ { name: "firstName", - type: "string" + type: "string", }, { name: "lastName", - type: "string" - } - ] + type: "string", + }, + ], }; // Description of the schema for registration @@ -39,7 +38,7 @@ const schemaDescription = { name: `${schemaObject.namespace}-${schemaObject.name}`, groupName: group, format: "Avro", - definition: JSON.stringify(schemaObject) + definition: JSON.stringify(schemaObject), }; async function main() { @@ -67,3 +66,5 @@ async function main() { main().catch((err) => { console.error("The sample encountered an error:", err); }); + +module.exports = { main }; diff --git a/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json b/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json index f9992312ba4a..614856ec2ffc 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json +++ b/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json @@ -32,6 +32,7 @@ "@azure/identity": "^2.0.1" }, "devDependencies": { + "@types/node": "^12.0.0", "typescript": "~4.4.0", "rimraf": "latest" } diff --git a/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts b/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts index 48ae152474d9..2aa9c4a85223 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts +++ b/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts @@ -25,13 +25,13 @@ const schemaObject = { fields: [ { name: "firstName", - type: "string" + type: "string", }, { name: "lastName", - type: "string" - } - ] + type: "string", + }, + ], }; // Description of the schema for registration @@ -39,7 +39,7 @@ const schemaDescription: SchemaDescription = { name: `${schemaObject.namespace}-${schemaObject.name}`, groupName: group, format: "Avro", - definition: JSON.stringify(schemaObject) + definition: JSON.stringify(schemaObject), }; export async function main() { diff --git a/sdk/search/arm-search/CHANGELOG.md b/sdk/search/arm-search/CHANGELOG.md index 9f38bf6eeba9..a2099850b3e3 100644 --- a/sdk/search/arm-search/CHANGELOG.md +++ b/sdk/search/arm-search/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 3.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 3.0.1 (2022-04-29) **Features** diff --git a/sdk/search/arm-search/package.json b/sdk/search/arm-search/package.json index 9e1f436dfa3d..754c7eaed09e 100644 --- a/sdk/search/arm-search/package.json +++ b/sdk/search/arm-search/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SearchManagementClient.", - "version": "3.0.1", + "version": "3.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/search/arm-search/src/searchManagementClient.ts b/sdk/search/arm-search/src/searchManagementClient.ts index f601497932b8..eac7bb6b5b6f 100644 --- a/sdk/search/arm-search/src/searchManagementClient.ts +++ b/sdk/search/arm-search/src/searchManagementClient.ts @@ -62,7 +62,7 @@ export class SearchManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-search/3.0.1`; + const packageDetails = `azsdk-js-arm-search/3.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/search/perf-tests/search-documents/package.json b/sdk/search/perf-tests/search-documents/package.json index 7d6f903832b5..1f3770258b48 100644 --- a/sdk/search/perf-tests/search-documents/package.json +++ b/sdk/search/perf-tests/search-documents/package.json @@ -24,7 +24,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/search/perf-tests/search-documents/test/index.spec.ts b/sdk/search/perf-tests/search-documents/test/index.spec.ts index 7717250a1b16..ab3bbe8c4a62 100644 --- a/sdk/search/perf-tests/search-documents/test/index.spec.ts +++ b/sdk/search/perf-tests/search-documents/test/index.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { AutoCompleteTest } from "./autoCompleteTest.spec"; import { IndexDocumentsTest } from "./indexDocumentsTest.spec"; import { SearchDocumentsTest } from "./searchDocumentsTest.spec"; @@ -10,10 +10,11 @@ import { SuggestTest } from "./suggestTest.spec"; import dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([AutoCompleteTest, IndexDocumentsTest, SearchDocumentsTest, SuggestTest]) +const perfProgram = createPerfProgram( + AutoCompleteTest, + IndexDocumentsTest, + SearchDocumentsTest, + SuggestTest ); perfProgram.run(); diff --git a/sdk/search/search-documents/src/TROUBLESHOOTING.md b/sdk/search/search-documents/src/TROUBLESHOOTING.md new file mode 100644 index 000000000000..679b79eaba26 --- /dev/null +++ b/sdk/search/search-documents/src/TROUBLESHOOTING.md @@ -0,0 +1,53 @@ +# Troubleshooting Azure Cognitive Search SDK Issues + +The `azure-search-documents` package provides APIs for operations on the +[Azure Cognitive Search](https://docs.microsoft.com/azure/search/search-what-is-azure-search) cloud service. + +## Table of Contents + +- [Identifying and Troubleshooting Issues by Response Code](#troubleshooting-issues-by-response-code) + - [HTTP 207 Errors](#207-multi-status) + - [HTTP 404 Errors](#404-not-found) + - [HTTP 429 Errors](#429-too-many-requests) +- [Unexpected search query results](#unexpected-search-query-results) + +## Troubleshooting Issues By Response Code + +See [this page](https://docs.microsoft.com/rest/api/searchservice/http-status-codes) for the common response status codes sent by the Azure Cognitive Search service. + +### 207 Multi-Status + +This response status indicates a partial success for an indexing operation. Some documents were successfully processed, but at least one failed. Details of the failed documents are present in the individual `IndexingResult` objects within the `IndexDocumentsResult`. If you want the [`indexDocuments`](https://docs.microsoft.com/javascript/api/@azure/search-documents/searchclient?view=azure-node-latest#@azure-search-documents-searchclient-indexdocuments) method call to throw an exception on any failure, set [`IndexDocumentsOptions.throwOnAnyError`](https://docs.microsoft.com/javascript/api/@azure/search-documents/indexdocumentsoptions?view=azure-node-latest#@azure-search-documents-indexdocumentsoptions-throwonanyfailure) +to `true`. Each failure is then recorded in a separate `IndexingResult` and a single `IndexBatchException` is thrown by the method. + +### 403 Forbidden + +Returned when you pass an invalid api-key. Search service uses two types of keys to control access: admin (read-write) and query (read-only). The **admin key** grants full rights to all operations, including the ability to manage the service, create and delete indexes, indexers, and data sources. The **query key** grants read-only access to indexes and documents. + +Ensure that the key used for an API call provides sufficient privileges for the operation. See [here](https://docs.microsoft.com/azure/search/search-security-api-keys) +for details about managing API keys. + +If you are using the `azure-identity` package to authenticate requests to Azure Cognitive Search, please see our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/TROUBLESHOOTING.md). + +### 404 Not Found + +Returned when a resource does not exist on the server. If you are managing or querying an index, check the syntax and verify the index name is specified correctly. + +### 429 too many requests + +If this error occurs while you are trying to create an index, it means you already have the maximum number of indexes allowed for your pricing tier. A count of the indexes stored in Azure Cognitive Search is visible in the search service dashboard on the [Azure portal](https://portal.azure.com/). To view the indexes by name, click the Index tile. + +Alternatively, you can also get a list of the indexes by name using the [listIndexNames() method](https://docs.microsoft.com/javascript/api/@azure/search-documents/searchindexclient?view=azure-node-latest#@azure-search-documents-searchindexclient-listindexesnames). + +If this error occurs during document upload, it indicates that you've exceeded your quota on the number of documents per index. You must either create a new index or upgrade for higher capacity limits. + +## Unexpected Search Query Results + +A common class of issues when using the Search SDK is that the result set of a search query is different from what is expected. + +For such cases, you should start by running the search query in the portal to rule out any service-side issues with the search query or any parameter(s). Review the [OData syntax](https://docs.microsoft.com/azure/search/query-odata-filter-orderby-syntax), if any, used in the query. + +Once the result looks good in the portal, use that as the template to populate the objects and parameters in the search request APIs. You should also verify that the correct set of documents have been indexed and are being searched on the service side. One tip would be to start with a 'broad' query (one that returns a superset of desired results, possibly by giving a large value for or entirely removing, some [query parameters](https://docs.microsoft.com/rest/api/searchservice/search-documents#query-parameters)) +and then progressively refining the query till it expresses the desired intent. + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fsearch%2Fazure-search-documents%2FTROUBLESHOOTING.png) diff --git a/sdk/search/search-documents/src/serviceModels.ts b/sdk/search/search-documents/src/serviceModels.ts index 812c46d3133e..088273f46362 100644 --- a/sdk/search/search-documents/src/serviceModels.ts +++ b/sdk/search/search-documents/src/serviceModels.ts @@ -305,7 +305,7 @@ export interface ResetSkillsOptions extends OperationOptions { */ export interface CreateOrUpdateSkillsetOptions extends OperationOptions { /** - * If set to true, Resource will be deleted only if the etag matches. + * If set to true, Resource will be updated only if the etag matches. */ onlyIfUnchanged?: boolean; /** @@ -323,7 +323,7 @@ export interface CreateOrUpdateSkillsetOptions extends OperationOptions { */ export interface CreateOrUpdateSynonymMapOptions extends OperationOptions { /** - * If set to true, Resource will be deleted only if the etag matches. + * If set to true, Resource will be updated only if the etag matches. */ onlyIfUnchanged?: boolean; } @@ -333,7 +333,7 @@ export interface CreateOrUpdateSynonymMapOptions extends OperationOptions { */ export interface CreateorUpdateIndexerOptions extends OperationOptions { /** - * If set to true, Resource will be deleted only if the etag matches. + * If set to true, Resource will be updated only if the etag matches. */ onlyIfUnchanged?: boolean; /** Ignores cache reset requirements. */ @@ -347,7 +347,7 @@ export interface CreateorUpdateIndexerOptions extends OperationOptions { */ export interface CreateorUpdateDataSourceConnectionOptions extends OperationOptions { /** - * If set to true, Resource will be deleted only if the etag matches. + * If set to true, Resource will be updated only if the etag matches. */ onlyIfUnchanged?: boolean; /** diff --git a/sdk/serialconsole/arm-serialconsole/CHANGELOG.md b/sdk/serialconsole/arm-serialconsole/CHANGELOG.md index cdf4ba67edd9..331ac8fe69e0 100644 --- a/sdk/serialconsole/arm-serialconsole/CHANGELOG.md +++ b/sdk/serialconsole/arm-serialconsole/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.0.1 (2022-05-01) **Features** diff --git a/sdk/serialconsole/arm-serialconsole/package.json b/sdk/serialconsole/arm-serialconsole/package.json index d5625dd9cf3a..2e33245e8891 100644 --- a/sdk/serialconsole/arm-serialconsole/package.json +++ b/sdk/serialconsole/arm-serialconsole/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MicrosoftSerialConsoleClient.", - "version": "2.0.1", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts index 6808793aed9e..ee86110a67a5 100644 --- a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts +++ b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts @@ -58,7 +58,7 @@ export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-serialconsole/2.0.1`; + const packageDetails = `azsdk-js-arm-serialconsole/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/servicebus/arm-servicebus/CHANGELOG.md b/sdk/servicebus/arm-servicebus/CHANGELOG.md index b3400675f6f4..2ded2c86e810 100644 --- a/sdk/servicebus/arm-servicebus/CHANGELOG.md +++ b/sdk/servicebus/arm-servicebus/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History - + +## 6.0.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 6.0.0 (2022-05-01) **Features** diff --git a/sdk/servicebus/arm-servicebus/package.json b/sdk/servicebus/arm-servicebus/package.json index 174009516da7..778312fc539a 100644 --- a/sdk/servicebus/arm-servicebus/package.json +++ b/sdk/servicebus/arm-servicebus/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ServiceBusManagementClient.", - "version": "6.0.0", + "version": "6.0.1", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts index e354ed96a12e..ccc1de365f09 100644 --- a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts +++ b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts @@ -68,7 +68,7 @@ export class ServiceBusManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-servicebus/6.0.0`; + const packageDetails = `azsdk-js-arm-servicebus/6.0.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/servicebus/perf-tests/service-bus-track-1/package.json b/sdk/servicebus/perf-tests/service-bus-track-1/package.json index ee1087e7fea2..42dc93405812 100644 --- a/sdk/servicebus/perf-tests/service-bus-track-1/package.json +++ b/sdk/servicebus/perf-tests/service-bus-track-1/package.json @@ -36,7 +36,7 @@ "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", - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "setup": "node ../../../../common/tools/perf-tests-track-1-setup.js", "unit-test:browser": "echo skipped", "unit-test:node": "echo skipped", diff --git a/sdk/servicebus/perf-tests/service-bus-track-1/test/index.spec.ts b/sdk/servicebus/perf-tests/service-bus-track-1/test/index.spec.ts index 478a9b68fae2..cbc69696c427 100644 --- a/sdk/servicebus/perf-tests/service-bus-track-1/test/index.spec.ts +++ b/sdk/servicebus/perf-tests/service-bus-track-1/test/index.spec.ts @@ -1,12 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { BatchReceiveTest } from "./receiveBatch.spec"; import { BatchSendTest } from "./sendBatch.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([BatchSendTest, BatchReceiveTest])); +const perfProgram = createPerfProgram(BatchSendTest, BatchReceiveTest); perfProgram.run(); diff --git a/sdk/servicebus/perf-tests/service-bus/package.json b/sdk/servicebus/perf-tests/service-bus/package.json index 19bd913c7a94..b99e8e40b2d2 100644 --- a/sdk/servicebus/perf-tests/service-bus/package.json +++ b/sdk/servicebus/perf-tests/service-bus/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/servicebus/perf-tests/service-bus/test/index.spec.ts b/sdk/servicebus/perf-tests/service-bus/test/index.spec.ts index 3087632f821b..afd272f8413c 100644 --- a/sdk/servicebus/perf-tests/service-bus/test/index.spec.ts +++ b/sdk/servicebus/perf-tests/service-bus/test/index.spec.ts @@ -1,15 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { BatchReceiveTest } from "./receiveBatch.spec"; import { BatchSendTest } from "./sendBatch.spec"; import { SubscribeTest } from "./subscribe.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([BatchSendTest, BatchReceiveTest, SubscribeTest]) -); +const perfProgram = createPerfProgram(BatchSendTest, BatchReceiveTest, SubscribeTest); perfProgram.run(); diff --git a/sdk/servicebus/service-bus/CHANGELOG.md b/sdk/servicebus/service-bus/CHANGELOG.md index eee3aad8c0b7..41382173e905 100644 --- a/sdk/servicebus/service-bus/CHANGELOG.md +++ b/sdk/servicebus/service-bus/CHANGELOG.md @@ -1,5 +1,23 @@ # Release History +## 7.6.0-beta.3 (Unreleased) + +### Features Added + +- Add an option `omitMessageBody` in `PeekMessagesOptions` allowing omitting message body when peeking messages using `receiver.peekMessages()` + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 7.6.0-beta.2 (2022-05-10) + +### Features Added + +- Adds the `customEndpointAddress` field to `ServiceBusClientOptions`. This allows for specifying a custom endpoint to use when communicating with the Service Bus service, which is useful when your network does not allow communicating to the standard endpoint. Resolves [#21574](https://github.com/Azure/azure-sdk-for-js/issues/21574). + ## 7.6.0-beta.1 (2022-04-05) ### Bugs Fixed diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index d05f6f0eaa04..0065a0aa5b7d 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.6.0-beta.1", + "version": "7.6.0-beta.3", "license": "MIT", "description": "Azure Service Bus SDK for JavaScript", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/", @@ -65,7 +65,7 @@ "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", - "perf-test:node": "cross-env TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" ts-node test/perf/track-2/index.spec.ts", + "perf-test:node": "tsc -p . --module \"commonjs\" && node dist-esm/test/perf/track-2/index.spec.js", "test:browser": "npm run clean && npm run build:test:browser && npm run integration-test:browser", "test:node": "npm run clean && npm run build:test:node && npm run integration-test:node", "test": "npm run test:node && npm run test:browser", @@ -149,7 +149,7 @@ "downlevel-dts": "^0.8.0", "eslint": "^8.0.0", "esm": "^3.2.18", - "glob": "^7.1.2", + "glob": "^8.0.0", "https-proxy-agent": "^5.0.0", "karma": "^6.2.0", "karma-chrome-launcher": "^3.0.0", @@ -168,7 +168,7 @@ "nyc": "^15.0.0", "prettier": "^2.5.1", "promise": "^8.0.3", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "rollup": "^2.0.0", "ts-node": "^10.0.0", diff --git a/sdk/servicebus/service-bus/review/service-bus.api.md b/sdk/servicebus/service-bus/review/service-bus.api.md index 9dfb3cb92275..2bfb0dec835f 100644 --- a/sdk/servicebus/service-bus/review/service-bus.api.md +++ b/sdk/servicebus/service-bus/review/service-bus.api.md @@ -207,6 +207,8 @@ export function parseServiceBusConnectionString(connectionString: string): Servi // @public export interface PeekMessagesOptions extends OperationOptionsBase { fromSequenceNumber?: Long_2; + // @beta + omitMessageBody?: boolean; } // @public @@ -337,6 +339,7 @@ export class ServiceBusClient { // @public export interface ServiceBusClientOptions { + customEndpointAddress?: string; retryOptions?: RetryOptions; userAgentOptions?: UserAgentPolicyOptions; webSocketOptions?: WebSocketOptions; diff --git a/sdk/servicebus/service-bus/src/constructorHelpers.ts b/sdk/servicebus/service-bus/src/constructorHelpers.ts index 8b75dcc46830..00808fb1c7ee 100644 --- a/sdk/servicebus/service-bus/src/constructorHelpers.ts +++ b/sdk/servicebus/service-bus/src/constructorHelpers.ts @@ -40,6 +40,15 @@ import { * retry attempts remaining. Minimum value: 60000 milliseconds. */ export interface ServiceBusClientOptions { + /** + * A custom endpoint to use when connecting to the Service Bus service. + * This can be useful when your network does not allow connecting to the + * standard Azure Service Bus endpoint address, but does allow connecting + * through an intermediary. + * + * Example: "https://my.custom.endpoint:100/" + */ + customEndpointAddress?: string; /** * Retry policy options that determine the mode, number of retries, retry interval etc. */ @@ -54,6 +63,40 @@ export interface ServiceBusClientOptions { userAgentOptions?: UserAgentPolicyOptions; } +// TODO: extract parseEndpoint and setCustomEndpointAddress into core-amqp +// ConnectionConfig so that it can be shared between Event Hubs and Service Bus +/** + * Parses the host, hostname, and port from an endpoint. + * @param endpoint - And endpoint to parse. + * @internal + */ +export function parseEndpoint(endpoint: string): { host: string; hostname: string; port?: string } { + const hostMatch = endpoint.match(/.*:\/\/([^/]*)/); + if (!hostMatch) { + throw new TypeError(`Invalid endpoint missing host: ${endpoint}`); + } + + const [, host] = hostMatch; + const [hostname, port] = host.split(":"); + + return { host, hostname, port }; +} +/** + * Updates the provided ConnectionConfig to use the custom endpoint address. + * @param config - An existing connection configuration to be updated. + * @param customEndpointAddress - The custom endpoint address to use. + */ +function setCustomEndpointAddress(config: ConnectionConfig, customEndpointAddress: string): void { + // The amqpHostname should match the host prior to using the custom endpoint. + config.amqpHostname = config.host; + const { hostname, port } = parseEndpoint(customEndpointAddress); + // Since we specify the port separately, set host to the customEndpointAddress hostname. + config.host = hostname; + if (port) { + config.port = parseInt(port, 10); + } +} + /** * @internal * @@ -69,6 +112,10 @@ export function createConnectionContext( config.webSocketEndpointPath = "$servicebus/websocket"; config.webSocketConstructorOptions = options?.webSocketOptions?.webSocketConstructorOptions; + if (options?.customEndpointAddress) { + setCustomEndpointAddress(config, options.customEndpointAddress); + } + return ConnectionContext.create(config, credential, options); } diff --git a/sdk/servicebus/service-bus/src/core/managementClient.ts b/sdk/servicebus/service-bus/src/core/managementClient.ts index 0cacc684ce08..c7ecdae2aaff 100644 --- a/sdk/servicebus/service-bus/src/core/managementClient.ts +++ b/sdk/servicebus/service-bus/src/core/managementClient.ts @@ -393,9 +393,11 @@ export class ManagementClient extends LinkEntity { * also fetch even Deferred messages (but not Deadlettered message). * * @param messageCount - The number of messages to retrieve. Default value `1`. + * @param omitMessageBody - Whether to omit message body when peeking. Default value `false`. */ async peek( messageCount: number, + omitMessageBody?: boolean, options?: OperationOptionsBase & SendManagementRequestOptions ): Promise { throwErrorIfConnectionClosed(this._context); @@ -403,6 +405,7 @@ export class ManagementClient extends LinkEntity { this._lastPeekedSequenceNumber.add(1), messageCount, undefined, + omitMessageBody, options ); } @@ -418,10 +421,12 @@ export class ManagementClient extends LinkEntity { * * @param sessionId - The sessionId from which messages need to be peeked. * @param messageCount - The number of messages to retrieve. Default value `1`. + * @param omitMessageBody - Whether to omit message body when peeking Default value `false`. */ async peekMessagesBySession( sessionId: string, messageCount: number, + omitMessageBody?: boolean, options?: OperationOptionsBase & SendManagementRequestOptions ): Promise { throwErrorIfConnectionClosed(this._context); @@ -429,6 +434,7 @@ export class ManagementClient extends LinkEntity { this._lastPeekedSequenceNumber.add(1), messageCount, sessionId, + omitMessageBody, options ); } @@ -439,11 +445,13 @@ export class ManagementClient extends LinkEntity { * @param fromSequenceNumber - The sequence number from where to read the message. * @param messageCount - The number of messages to retrieve. Default value `1`. * @param sessionId - The sessionId from which messages need to be peeked. + * @param omitMessageBody - Whether to omit message body when peeking. Default value `false`. */ async peekBySequenceNumber( fromSequenceNumber: Long, maxMessageCount: number, sessionId?: string, + omitMessageBody?: boolean, options?: OperationOptionsBase & SendManagementRequestOptions ): Promise { throwErrorIfConnectionClosed(this._context); @@ -480,6 +488,10 @@ export class ManagementClient extends LinkEntity { if (isDefined(sessionId)) { messageBody[Constants.sessionIdMapKey] = sessionId; } + if (isDefined(omitMessageBody)) { + const omitMessageBodyKey = "omit-message-body"; // TODO: Service Bus specific. Put it somewhere + messageBody[omitMessageBodyKey] = types.wrap_boolean(omitMessageBody); + } const request: RheaMessage = { body: messageBody, reply_to: this.replyTo, diff --git a/sdk/servicebus/service-bus/src/models.ts b/sdk/servicebus/service-bus/src/models.ts index 448afb17f10a..b84b7f35afa8 100644 --- a/sdk/servicebus/service-bus/src/models.ts +++ b/sdk/servicebus/service-bus/src/models.ts @@ -267,4 +267,9 @@ export interface PeekMessagesOptions extends OperationOptionsBase { * The sequence number to start peeking messages from (inclusive). */ fromSequenceNumber?: Long; + /** + * @beta + * (Experimental for diagnostic purpose) Specifies whether to omit the body when peeking messages. Default value `false`. + */ + omitMessageBody?: boolean; } diff --git a/sdk/servicebus/service-bus/src/receivers/receiver.ts b/sdk/servicebus/service-bus/src/receivers/receiver.ts index 091ff8b37b64..22c46ec9cfb7 100644 --- a/sdk/servicebus/service-bus/src/receivers/receiver.ts +++ b/sdk/servicebus/service-bus/src/receivers/receiver.ts @@ -459,12 +459,13 @@ export class ServiceBusReceiverImpl implements ServiceBusReceiver { options.fromSequenceNumber, maxMessageCount, undefined, + options.omitMessageBody, managementRequestOptions ); } else { return this._context .getManagementClient(this.entityPath) - .peek(maxMessageCount, managementRequestOptions); + .peek(maxMessageCount, options.omitMessageBody, managementRequestOptions); } }; diff --git a/sdk/servicebus/service-bus/src/receivers/sessionReceiver.ts b/sdk/servicebus/service-bus/src/receivers/sessionReceiver.ts index f11596b24a7e..a3e13b2304d3 100644 --- a/sdk/servicebus/service-bus/src/receivers/sessionReceiver.ts +++ b/sdk/servicebus/service-bus/src/receivers/sessionReceiver.ts @@ -310,12 +310,18 @@ export class ServiceBusSessionReceiverImpl implements ServiceBusSessionReceiver options.fromSequenceNumber, maxMessageCount, this.sessionId, + options.omitMessageBody, managementRequestOptions ); } else { return this._context .getManagementClient(this.entityPath) - .peekMessagesBySession(this.sessionId, maxMessageCount, managementRequestOptions); + .peekMessagesBySession( + this.sessionId, + maxMessageCount, + options.omitMessageBody, + managementRequestOptions + ); } }; diff --git a/sdk/servicebus/service-bus/src/util/constants.ts b/sdk/servicebus/service-bus/src/util/constants.ts index e1291512ded4..7be8fc295bc2 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.6.0-beta.1", + version: "7.6.0-beta.3", }; /** diff --git a/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts b/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts index 1a0845f9ff4e..1421e0fb4d8e 100644 --- a/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts @@ -97,6 +97,83 @@ describe("ServiceBusClient live tests", () => { await receiver.close(); await sbClientWithRelaxedEndPoint.close(); }); + + it.skip( + noSessionTestClientType + ":can omit message body when peeking", + async function (): Promise { + // Create a test client to get the entity types + const sbClient = createServiceBusClientForTests(); + const entities = await sbClient.test.createTestEntities(noSessionTestClientType); + await sbClient.close(); + + // Create a sb client, sender, receiver with relaxed endpoint + const sbClientWithRelaxedEndPoint = new ServiceBusClient( + getEnvVars().SERVICEBUS_CONNECTION_STRING.replace("sb://", "CheeseBurger://") + ); + const sender = sbClientWithRelaxedEndPoint.createSender(entities.queue || entities.topic!); + const receiver = entities.queue + ? sbClientWithRelaxedEndPoint.createReceiver(entities.queue) + : sbClientWithRelaxedEndPoint.createReceiver(entities.topic!, entities.subscription!); + try { + // Send and receive messages + const testMessages = entities.usesSessions + ? TestMessage.getSessionSample() + : TestMessage.getSample(); + await sender.sendMessages(testMessages); + + let peekedMsgs = await receiver.peekMessages(2, { + omitMessageBody: true, + fromSequenceNumber: Long.ZERO, + }); + should.equal(peekedMsgs.length, 1, "expecting one peeked message 1"); + should.not.exist(peekedMsgs[0].body); + should.exist( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations, + "expecting deliveryAnnotations" + ); + const omittedSize = Number( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations!["omitted-message-body-size"] + ); + should.equal(omittedSize > 0, true); + + peekedMsgs = await receiver.peekMessages(2, { + omitMessageBody: false, + fromSequenceNumber: Long.ZERO, + }); + should.equal(peekedMsgs.length, 1, "expecting one peeked message 2"); + should.exist(peekedMsgs[0].body); + should.exist( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations, + "expecting deliveryAnnotations" + ); + should.not.exist( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations!["omitted-message-body-size"], + "Not expecting omitted-message-body-size" + ); + + peekedMsgs = await receiver.peekMessages(2, { fromSequenceNumber: Long.ZERO }); + should.equal(peekedMsgs.length, 1, "expecting one peeked message 3"); + should.exist(peekedMsgs[0].body); + should.exist( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations, + "expecting deliveryAnnotations" + ); + should.not.exist( + peekedMsgs[0]._rawAmqpMessage.deliveryAnnotations!["omitted-message-body-size"], + "Not expecting omitted-message-body-size" + ); + + await receiver.receiveMessages(2); + await testPeekMsgsLength(receiver, 0); + } finally { + // Clean up + await sbClient.test.after(); + await sender.close(); + await receiver.close(); + await sbClientWithRelaxedEndPoint.close(); + } + } + ); }); describe("Errors with non existing Namespace", function (): void { diff --git a/sdk/servicebus/service-bus/test/internal/unit/client.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/client.spec.ts new file mode 100644 index 000000000000..f226a3f37f89 --- /dev/null +++ b/sdk/servicebus/service-bus/test/internal/unit/client.spec.ts @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { ServiceBusClient, TokenCredential } from "../../../src"; + +describe("ServiceBusClient unit tests", function (): void { + describe("ServiceBusClient constructor", function (): void { + it("respects customEndpointAddress when using connection string", () => { + const client = new ServiceBusClient( + "Endpoint=sb://test.servicebus.windows.net;SharedAccessKeyName=b;SharedAccessKey=c;EntityPath=my-event-hub-name", + { customEndpointAddress: "sb://foo.private.bar:111" } + ); + client.should.be.an.instanceof(ServiceBusClient); + client["_connectionContext"].config.host.should.equal("foo.private.bar"); + client["_connectionContext"].config.amqpHostname!.should.equal("test.servicebus.windows.net"); + client["_connectionContext"].config.port!.should.equal(111); + }); + + it("respects customEndpointAddress when using credentials", () => { + const dummyCredential: TokenCredential = { + getToken: async () => { + return { + token: "boo", + expiresOnTimestamp: 12324, + }; + }, + }; + const client = new ServiceBusClient("test.servicebus.windows.net", dummyCredential, { + customEndpointAddress: "sb://foo.private.bar:111", + }); + client.should.be.an.instanceof(ServiceBusClient); + client["_connectionContext"].config.host.should.equal("foo.private.bar"); + client["_connectionContext"].config.amqpHostname!.should.equal("test.servicebus.windows.net"); + client["_connectionContext"].config.port!.should.equal(111); + }); + }); +}); diff --git a/sdk/servicefabric/arm-servicefabric/CHANGELOG.md b/sdk/servicefabric/arm-servicefabric/CHANGELOG.md index 6ee06d6ebbf9..c5833518ca18 100644 --- a/sdk/servicefabric/arm-servicefabric/CHANGELOG.md +++ b/sdk/servicefabric/arm-servicefabric/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.0.1 (2022-05-01) **Features** diff --git a/sdk/servicefabric/arm-servicefabric/package.json b/sdk/servicefabric/arm-servicefabric/package.json index 2d2fab688d6b..f8f57161d163 100644 --- a/sdk/servicefabric/arm-servicefabric/package.json +++ b/sdk/servicefabric/arm-servicefabric/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ServiceFabricManagementClient.", - "version": "2.0.1", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts index a4ab120395b0..db6bf0daf194 100644 --- a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts +++ b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts @@ -61,7 +61,7 @@ export class ServiceFabricManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-servicefabric/2.0.1`; + const packageDetails = `azsdk-js-arm-servicefabric/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/CHANGELOG.md b/sdk/servicefabricmesh/arm-servicefabricmesh/CHANGELOG.md index f4d1952be900..3d742dba1afe 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/CHANGELOG.md +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History - + +## 3.0.0-beta.3 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 3.0.0-beta.2 (2022-05-01) The package of @azure/arm-servicefabricmesh is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes. diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json index 78973857cea9..b469bcc65345 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ServiceFabricMeshManagementClient.", - "version": "3.0.0-beta.2", + "version": "3.0.0-beta.3", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts index b3fb38de6fbf..a1dc980276a0 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts @@ -67,7 +67,7 @@ export class ServiceFabricMeshManagementClient extends coreClient.ServiceClient credential: credentials }; - const packageDetails = `azsdk-js-arm-servicefabricmesh/3.0.0-beta.2`; + const packageDetails = `azsdk-js-arm-servicefabricmesh/3.0.0-beta.3`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/servicelinker/arm-servicelinker/CHANGELOG.md b/sdk/servicelinker/arm-servicelinker/CHANGELOG.md new file mode 100644 index 000000000000..eaaabc6f424e --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/CHANGELOG.md @@ -0,0 +1,5 @@ +# Release History + +## 1.0.0 (2022-04-27) + +The package of @azure/arm-servicelinker is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/servicelinker/arm-servicelinker/LICENSE b/sdk/servicelinker/arm-servicelinker/LICENSE new file mode 100644 index 000000000000..5d1d36e0af80 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2022 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. \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/README.md b/sdk/servicelinker/arm-servicelinker/README.md new file mode 100644 index 000000000000..4033c2a67a69 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/README.md @@ -0,0 +1,108 @@ +# Azure ServiceLinkerManagement client library for JavaScript + +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ServiceLinkerManagement client. + +Microsoft.ServiceLinker provider + +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicelinker/arm-servicelinker) | +[Package (NPM)](https://www.npmjs.com/package/@azure/arm-servicelinker) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker) | +[Samples](https://github.com/Azure-Samples/azure-samples-js-management) + +## 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][azure_sub]. + +### Install the `@azure/arm-servicelinker` package + +Install the Azure ServiceLinkerManagement client library for JavaScript with `npm`: + +```bash +npm install @azure/arm-servicelinker +``` + +### Create and authenticate a `ServiceLinkerManagementClient` + +To create a client object to access the Azure ServiceLinkerManagement API, you will need the `endpoint` of your Azure ServiceLinkerManagement resource and a `credential`. The Azure ServiceLinkerManagement client can use Azure Active Directory credentials to authenticate. +You can find the endpoint for your Azure ServiceLinkerManagement resource in the [Azure Portal][azure_portal]. + +You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token). + +To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package: + +```bash +npm install @azure/identity +``` + +You will also need to **register a new AAD application and grant access to Azure ServiceLinkerManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions). +Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. + +For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal). + +```javascript +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + +const client = new ServiceLinkerManagementClient(new DefaultAzureCredential()); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new ServiceLinkerManagementClient(credential); +``` + + +### JavaScript Bundle +To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). + +## Key concepts + +### ServiceLinkerManagementClient + +`ServiceLinkerManagementClient` is the primary interface for developers using the Azure ServiceLinkerManagement client library. Explore the methods on this client object to understand the different features of the Azure ServiceLinkerManagement service that you can access. + +## 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 +const { setLogLevel } = require("@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/main/sdk/core/logger). + +## Next steps + +Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) 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/main/CONTRIBUTING.md) to learn more about how to build and test the code. + +## Related projects + +- [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%2Fservicelinker%2Farm-servicelinker%2FREADME.png) + +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_sub]: https://azure.microsoft.com/free/ +[azure_sub]: https://azure.microsoft.com/free/ +[azure_portal]: https://portal.azure.com +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/servicelinker/arm-servicelinker/_meta.json b/sdk/servicelinker/arm-servicelinker/_meta.json new file mode 100644 index 000000000000..5985ff176e8d --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/_meta.json @@ -0,0 +1,8 @@ +{ + "commit": "af53c06807f579062e88531c0b292ac5414af0dd", + "readme": "specification/servicelinker/resource-manager/readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicelinker\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", + "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", + "release_tool": "@azure-tools/js-sdk-release-tools@2.2.6", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} \ No newline at end of file diff --git a/sdk/core/core-crypto/api-extractor.json b/sdk/servicelinker/arm-servicelinker/api-extractor.json similarity index 82% rename from sdk/core/core-crypto/api-extractor.json rename to sdk/servicelinker/arm-servicelinker/api-extractor.json index 9625253284e5..224957c0cfb8 100644 --- a/sdk/core/core-crypto/api-extractor.json +++ b/sdk/servicelinker/arm-servicelinker/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "types/latest/src/index.d.ts", + "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", "docModel": { "enabled": true }, @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/latest/core-crypto.d.ts" + "publicTrimmedFilePath": "./types/arm-servicelinker.d.ts" }, "messages": { "tsdocMessageReporting": { @@ -28,4 +28,4 @@ } } } -} +} \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/package.json b/sdk/servicelinker/arm-servicelinker/package.json new file mode 100644 index 000000000000..c79e0f6774a1 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/package.json @@ -0,0 +1,118 @@ +{ + "name": "@azure/arm-servicelinker", + "sdk-type": "mgmt", + "author": "Microsoft Corporation", + "description": "A generated SDK for ServiceLinkerManagementClient.", + "version": "1.0.0", + "engines": { + "node": ">=12.0.0" + }, + "dependencies": { + "@azure/core-lro": "^2.2.0", + "@azure/abort-controller": "^1.0.0", + "@azure/core-paging": "^1.2.0", + "@azure/core-client": "^1.5.0", + "@azure/core-auth": "^1.3.0", + "@azure/core-rest-pipeline": "^1.8.0", + "tslib": "^2.2.0" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "license": "MIT", + "main": "./dist/index.js", + "module": "./dist-esm/src/index.js", + "types": "./types/arm-servicelinker.d.ts", + "devDependencies": { + "@microsoft/api-extractor": "^7.18.11", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", + "mkdirp": "^1.0.4", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", + "typescript": "~4.2.0", + "uglify-js": "^3.4.9", + "rimraf": "^3.0.0", + "@azure/identity": "^2.0.1", + "@azure-tools/test-recorder": "^1.0.0", + "mocha": "^7.1.1", + "cross-env": "^7.0.2" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicelinker/arm-servicelinker", + "repository": { + "type": "git", + "url": "https://github.com/Azure/azure-sdk-for-js.git" + }, + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "files": [ + "dist/**/*.js", + "dist/**/*.js.map", + "dist/**/*.d.ts", + "dist/**/*.d.ts.map", + "dist-esm/**/*.js", + "dist-esm/**/*.js.map", + "dist-esm/**/*.d.ts", + "dist-esm/**/*.d.ts.map", + "src/**/*.ts", + "README.md", + "LICENSE", + "rollup.config.js", + "tsconfig.json", + "review/*", + "CHANGELOG.md", + "types/*" + ], + "scripts": { + "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api", + "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", + "prepack": "npm run build", + "pack": "npm pack 2>&1", + "extract-api": "api-extractor run --local", + "lint": "echo skipped", + "audit": "echo skipped", + "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log", + "build:node": "echo skipped", + "build:browser": "echo skipped", + "build:test": "echo skipped", + "build:samples": "echo skipped.", + "check-format": "echo skipped", + "execute:samples": "echo skipped", + "format": "echo skipped", + "test": "npm run integration-test", + "test:node": "echo skipped", + "test:browser": "echo skipped", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node", + "unit-test:browser": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js", + "integration-test:browser": "echo skipped", + "docs": "echo skipped" + }, + "sideEffects": false, + "//metadata": { + "constantPaths": [ + { + "path": "src/serviceLinkerManagementClient.ts", + "prefix": "packageDetails" + } + ] + }, + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview" + } +} \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/recordings/node/my_test/recording_sample_test.js b/sdk/servicelinker/arm-servicelinker/recordings/node/my_test/recording_sample_test.js new file mode 100644 index 000000000000..0f6ecb857acf --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/recordings/node/my_test/recording_sample_test.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "7a6be38bb8cb644d64b4094802301751"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/servicelinker/arm-servicelinker/review/arm-servicelinker.api.md b/sdk/servicelinker/arm-servicelinker/review/arm-servicelinker.api.md new file mode 100644 index 000000000000..657fa177fc68 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/review/arm-servicelinker.api.md @@ -0,0 +1,515 @@ +## API Report File for "@azure/arm-servicelinker" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import * as coreAuth from '@azure/core-auth'; +import * as coreClient from '@azure/core-client'; +import { PagedAsyncIterableIterator } from '@azure/core-paging'; +import { PollerLike } from '@azure/core-lro'; +import { PollOperationState } from '@azure/core-lro'; + +// @public +export type ActionType = string; + +// @public +export interface AuthInfoBase { + authType: "secret" | "userAssignedIdentity" | "systemAssignedIdentity" | "servicePrincipalSecret" | "servicePrincipalCertificate"; +} + +// @public (undocumented) +export type AuthInfoBaseUnion = AuthInfoBase | SecretAuthInfo | UserAssignedIdentityAuthInfo | SystemAssignedIdentityAuthInfo | ServicePrincipalSecretAuthInfo | ServicePrincipalCertificateAuthInfo; + +// @public +export type AuthType = string; + +// @public +export type AzureKeyVaultProperties = AzureResourcePropertiesBase & { + type: "KeyVault"; + connectAsKubernetesCsiDriver?: boolean; +}; + +// @public +export type AzureResource = TargetServiceBase & { + type: "AzureResource"; + id?: string; + resourceProperties?: AzureResourcePropertiesBaseUnion; +}; + +// @public +export interface AzureResourcePropertiesBase { + type: "KeyVault"; +} + +// @public (undocumented) +export type AzureResourcePropertiesBaseUnion = AzureResourcePropertiesBase | AzureKeyVaultProperties; + +// @public +export type AzureResourceType = string; + +// @public +export type ClientType = string; + +// @public +export type ConfluentBootstrapServer = TargetServiceBase & { + type: "ConfluentBootstrapServer"; + endpoint?: string; +}; + +// @public +export type ConfluentSchemaRegistry = TargetServiceBase & { + type: "ConfluentSchemaRegistry"; + endpoint?: string; +}; + +// @public +export type CreatedByType = string; + +// @public +export interface ErrorAdditionalInfo { + readonly info?: Record; + readonly type?: string; +} + +// @public +export interface ErrorDetail { + readonly additionalInfo?: ErrorAdditionalInfo[]; + readonly code?: string; + readonly details?: ErrorDetail[]; + readonly message?: string; + readonly target?: string; +} + +// @public +export interface ErrorResponse { + error?: ErrorDetail; +} + +// @public +export type KeyVaultSecretReferenceSecretInfo = SecretInfoBase & { + secretType: "keyVaultSecretReference"; + name?: string; + version?: string; +}; + +// @public +export type KeyVaultSecretUriSecretInfo = SecretInfoBase & { + secretType: "keyVaultSecretUri"; + value?: string; +}; + +// @public +export enum KnownActionType { + // (undocumented) + Internal = "Internal" +} + +// @public +export enum KnownAuthType { + // (undocumented) + Secret = "secret", + // (undocumented) + ServicePrincipalCertificate = "servicePrincipalCertificate", + // (undocumented) + ServicePrincipalSecret = "servicePrincipalSecret", + // (undocumented) + SystemAssignedIdentity = "systemAssignedIdentity", + // (undocumented) + UserAssignedIdentity = "userAssignedIdentity" +} + +// @public +export enum KnownAzureResourceType { + // (undocumented) + KeyVault = "KeyVault" +} + +// @public +export enum KnownClientType { + // (undocumented) + Django = "django", + // (undocumented) + Dotnet = "dotnet", + // (undocumented) + Go = "go", + // (undocumented) + Java = "java", + // (undocumented) + Nodejs = "nodejs", + // (undocumented) + None = "none", + // (undocumented) + Php = "php", + // (undocumented) + Python = "python", + // (undocumented) + Ruby = "ruby", + // (undocumented) + SpringBoot = "springBoot" +} + +// @public +export enum KnownCreatedByType { + // (undocumented) + Application = "Application", + // (undocumented) + Key = "Key", + // (undocumented) + ManagedIdentity = "ManagedIdentity", + // (undocumented) + User = "User" +} + +// @public +export enum KnownOrigin { + // (undocumented) + System = "system", + // (undocumented) + User = "user", + // (undocumented) + UserSystem = "user,system" +} + +// @public +export enum KnownSecretType { + // (undocumented) + KeyVaultSecretReference = "keyVaultSecretReference", + // (undocumented) + KeyVaultSecretUri = "keyVaultSecretUri", + // (undocumented) + RawValue = "rawValue" +} + +// @public +export enum KnownTargetServiceType { + // (undocumented) + AzureResource = "AzureResource", + // (undocumented) + ConfluentBootstrapServer = "ConfluentBootstrapServer", + // (undocumented) + ConfluentSchemaRegistry = "ConfluentSchemaRegistry" +} + +// @public +export enum KnownValidationResultStatus { + // (undocumented) + Failed = "failed", + // (undocumented) + Success = "success", + // (undocumented) + Warning = "warning" +} + +// @public +export enum KnownVNetSolutionType { + // (undocumented) + PrivateLink = "privateLink", + // (undocumented) + ServiceEndpoint = "serviceEndpoint" +} + +// @public +export interface Linker { + beginCreateOrUpdate(resourceUri: string, linkerName: string, parameters: LinkerResource, options?: LinkerCreateOrUpdateOptionalParams): Promise, LinkerCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceUri: string, linkerName: string, parameters: LinkerResource, options?: LinkerCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceUri: string, linkerName: string, options?: LinkerDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceUri: string, linkerName: string, options?: LinkerDeleteOptionalParams): Promise; + beginUpdate(resourceUri: string, linkerName: string, parameters: LinkerPatch, options?: LinkerUpdateOptionalParams): Promise, LinkerUpdateResponse>>; + beginUpdateAndWait(resourceUri: string, linkerName: string, parameters: LinkerPatch, options?: LinkerUpdateOptionalParams): Promise; + beginValidate(resourceUri: string, linkerName: string, options?: LinkerValidateOptionalParams): Promise, LinkerValidateResponse>>; + beginValidateAndWait(resourceUri: string, linkerName: string, options?: LinkerValidateOptionalParams): Promise; + get(resourceUri: string, linkerName: string, options?: LinkerGetOptionalParams): Promise; + list(resourceUri: string, options?: LinkerListOptionalParams): PagedAsyncIterableIterator; + listConfigurations(resourceUri: string, linkerName: string, options?: LinkerListConfigurationsOptionalParams): Promise; +} + +// @public +export interface LinkerCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type LinkerCreateOrUpdateResponse = LinkerResource; + +// @public +export interface LinkerDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface LinkerGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkerGetResponse = LinkerResource; + +// @public +export interface LinkerList { + nextLink?: string; + value?: LinkerResource[]; +} + +// @public +export interface LinkerListConfigurationsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkerListConfigurationsResponse = SourceConfigurationResult; + +// @public +export interface LinkerListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkerListNextResponse = LinkerList; + +// @public +export interface LinkerListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type LinkerListResponse = LinkerList; + +// @public +export interface LinkerPatch { + authInfo?: AuthInfoBaseUnion; + clientType?: ClientType; + readonly provisioningState?: string; + scope?: string; + secretStore?: SecretStore; + targetService?: TargetServiceBaseUnion; + vNetSolution?: VNetSolution; +} + +// @public +export type LinkerResource = ProxyResource & { + readonly systemData?: SystemData; + targetService?: TargetServiceBaseUnion; + authInfo?: AuthInfoBaseUnion; + clientType?: ClientType; + readonly provisioningState?: string; + vNetSolution?: VNetSolution; + secretStore?: SecretStore; + scope?: string; +}; + +// @public +export interface LinkerUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type LinkerUpdateResponse = LinkerResource; + +// @public +export interface LinkerValidateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type LinkerValidateResponse = ValidateResult; + +// @public +export interface Operation { + readonly actionType?: ActionType; + display?: OperationDisplay; + readonly isDataAction?: boolean; + readonly name?: string; + readonly origin?: Origin; +} + +// @public +export interface OperationDisplay { + readonly description?: string; + readonly operation?: string; + readonly provider?: string; + readonly resource?: string; +} + +// @public +export interface OperationListResult { + readonly nextLink?: string; + readonly value?: Operation[]; +} + +// @public +export interface Operations { + list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OperationsListNextResponse = OperationListResult; + +// @public +export interface OperationsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type OperationsListResponse = OperationListResult; + +// @public +export type Origin = string; + +// @public +export type ProxyResource = Resource & {}; + +// @public +export interface Resource { + readonly id?: string; + readonly name?: string; + readonly type?: string; +} + +// @public +export type SecretAuthInfo = AuthInfoBase & { + authType: "secret"; + name?: string; + secretInfo?: SecretInfoBaseUnion; +}; + +// @public +export interface SecretInfoBase { + secretType: "rawValue" | "keyVaultSecretReference" | "keyVaultSecretUri"; +} + +// @public (undocumented) +export type SecretInfoBaseUnion = SecretInfoBase | ValueSecretInfo | KeyVaultSecretReferenceSecretInfo | KeyVaultSecretUriSecretInfo; + +// @public +export interface SecretStore { + keyVaultId?: string; +} + +// @public +export type SecretType = string; + +// @public (undocumented) +export class ServiceLinkerManagementClient extends coreClient.ServiceClient { + // (undocumented) + $host: string; + constructor(credentials: coreAuth.TokenCredential, options?: ServiceLinkerManagementClientOptionalParams); + // (undocumented) + apiVersion: string; + // (undocumented) + linker: Linker; + // (undocumented) + operations: Operations; +} + +// @public +export interface ServiceLinkerManagementClientOptionalParams extends coreClient.ServiceClientOptions { + $host?: string; + apiVersion?: string; + endpoint?: string; +} + +// @public +export type ServicePrincipalCertificateAuthInfo = AuthInfoBase & { + authType: "servicePrincipalCertificate"; + clientId: string; + principalId: string; + certificate: string; +}; + +// @public +export type ServicePrincipalSecretAuthInfo = AuthInfoBase & { + authType: "servicePrincipalSecret"; + clientId: string; + principalId: string; + secret: string; +}; + +// @public +export interface SourceConfiguration { + name?: string; + value?: string; +} + +// @public +export interface SourceConfigurationResult { + configurations?: SourceConfiguration[]; +} + +// @public +export type SystemAssignedIdentityAuthInfo = AuthInfoBase & { + authType: "systemAssignedIdentity"; +}; + +// @public +export interface SystemData { + createdAt?: Date; + createdBy?: string; + createdByType?: CreatedByType; + lastModifiedAt?: Date; + lastModifiedBy?: string; + lastModifiedByType?: CreatedByType; +} + +// @public +export interface TargetServiceBase { + type: "AzureResource" | "ConfluentBootstrapServer" | "ConfluentSchemaRegistry"; +} + +// @public (undocumented) +export type TargetServiceBaseUnion = TargetServiceBase | AzureResource | ConfluentBootstrapServer | ConfluentSchemaRegistry; + +// @public +export type TargetServiceType = string; + +// @public +export type UserAssignedIdentityAuthInfo = AuthInfoBase & { + authType: "userAssignedIdentity"; + clientId?: string; + subscriptionId?: string; +}; + +// @public +export interface ValidateResult { + authType?: AuthType; + isConnectionAvailable?: boolean; + linkerName?: string; + reportEndTimeUtc?: Date; + reportStartTimeUtc?: Date; + sourceId?: string; + targetId?: string; + validationDetail?: ValidationResultItem[]; +} + +// @public +export interface ValidationResultItem { + description?: string; + errorCode?: string; + errorMessage?: string; + name?: string; + result?: ValidationResultStatus; +} + +// @public +export type ValidationResultStatus = string; + +// @public +export type ValueSecretInfo = SecretInfoBase & { + secretType: "rawValue"; + value?: string; +}; + +// @public +export interface VNetSolution { + type?: VNetSolutionType; +} + +// @public +export type VNetSolutionType = string; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/sdk/servicelinker/arm-servicelinker/rollup.config.js b/sdk/servicelinker/arm-servicelinker/rollup.config.js new file mode 100644 index 000000000000..3f89d7309da5 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/rollup.config.js @@ -0,0 +1,122 @@ +/* + * 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 nodeResolve from "@rollup/plugin-node-resolve"; +import cjs from "@rollup/plugin-commonjs"; +import sourcemaps from "rollup-plugin-sourcemaps"; +import multiEntry from "@rollup/plugin-multi-entry"; +import json from "@rollup/plugin-json"; + +import nodeBuiltins from "builtin-modules"; + +// #region Warning Handler + +/** + * A function that can determine whether a rollup warning should be ignored. If + * the function returns `true`, then the warning will not be displayed. + */ + +function ignoreNiseSinonEval(warning) { + return ( + warning.code === "EVAL" && + warning.id && + (warning.id.includes("node_modules/nise") || + warning.id.includes("node_modules/sinon")) === true + ); +} + +function ignoreChaiCircularDependency(warning) { + return ( + warning.code === "CIRCULAR_DEPENDENCY" && + warning.importer && warning.importer.includes("node_modules/chai") === true + ); +} + +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; + +/** + * Construct a warning handler for the shared rollup configuration + * that ignores certain warnings that are not relevant to testing. + */ +function makeOnWarnForTesting() { + return (warning, warn) => { + // If every inhibitor returns false (i.e. no inhibitors), then show the warning + if (warningInhibitors.every((inhib) => !inhib(warning))) { + warn(warning); + } + }; +} + +// #endregion + +function makeBrowserTestConfig() { + const config = { + input: { + include: ["dist-esm/test/**/*.spec.js"], + exclude: ["dist-esm/test/**/node/**"] + }, + output: { + file: `dist-test/index.browser.js`, + format: "umd", + sourcemap: true + }, + preserveSymlinks: false, + plugins: [ + multiEntry({ exports: false }), + nodeResolve({ + mainFields: ["module", "browser"] + }), + cjs(), + json(), + sourcemaps() + //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) + ], + onwarn: makeOnWarnForTesting(), + // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0, + // rollup started respecting the "sideEffects" field in package.json. Since + // our package.json sets "sideEffects=false", this also applies to test + // code, which causes all tests to be removed by tree-shaking. + treeshake: false + }; + + return config; +} + +const defaultConfigurationOptions = { + disableBrowserBundle: false +}; + +export function makeConfig(pkg, options) { + options = { + ...defaultConfigurationOptions, + ...(options || {}) + }; + + const baseConfig = { + // Use the package's module field if it has one + input: pkg["module"] || "dist-esm/src/index.js", + external: [ + ...nodeBuiltins, + ...Object.keys(pkg.dependencies), + ...Object.keys(pkg.devDependencies) + ], + output: { file: "dist/index.js", format: "cjs", sourcemap: true }, + preserveSymlinks: false, + plugins: [sourcemaps(), nodeResolve()] + }; + + const config = [baseConfig]; + + if (!options.disableBrowserBundle) { + config.push(makeBrowserTestConfig()); + } + + return config; +} + +export default makeConfig(require("./package.json")); diff --git a/sdk/servicelinker/arm-servicelinker/sample.env b/sdk/servicelinker/arm-servicelinker/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerCreateOrUpdateSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerCreateOrUpdateSample.ts new file mode 100644 index 000000000000..3f31a9ddb015 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerCreateOrUpdateSample.ts @@ -0,0 +1,122 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + LinkerResource, + ServiceLinkerManagementClient +} from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json + */ +async function putLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { secretType: "rawValue", value: "secret" } + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLink().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithSecretStore.json + */ +async function putLinkWithSecretStore() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { authType: "secret" }, + secretStore: { + keyVaultId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithSecretStore().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithServiceEndpoint.json + */ +async function putLinkWithServiceEndpoint() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { + secretType: "keyVaultSecretUri", + value: + "https://vault-name.vault.azure.net/secrets/secret-name/00000000000000000000000000000000" + } + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + vNetSolution: { type: "serviceEndpoint" } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithServiceEndpoint().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerDeleteSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerDeleteSample.ts new file mode 100644 index 000000000000..6f42a36923e6 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a link. + * + * @summary Delete a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json + */ +async function deleteLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginDeleteAndWait( + resourceUri, + linkerName + ); + console.log(result); +} + +deleteLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerGetSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerGetSample.ts new file mode 100644 index 000000000000..a5301cebad12 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns Linker resource for a given name. + * + * @summary Returns Linker resource for a given name. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json + */ +async function link() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.get(resourceUri, linkerName); + console.log(result); +} + +link().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListConfigurationsSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListConfigurationsSample.ts new file mode 100644 index 000000000000..4c2ac7cf3948 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListConfigurationsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to list source configurations for a linker. + * + * @summary list source configurations for a linker. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json + */ +async function getConfiguration() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.listConfigurations( + resourceUri, + linkerName + ); + console.log(result); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListSample.ts new file mode 100644 index 000000000000..b70d120875d1 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of Linkers which connects to the resource. + * + * @summary Returns list of Linkers which connects to the resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json + */ +async function linkList() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.linker.list(resourceUri)) { + resArray.push(item); + } + console.log(resArray); +} + +linkList().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerUpdateSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerUpdateSample.ts new file mode 100644 index 000000000000..d78af09086be --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + LinkerPatch, + ServiceLinkerManagementClient +} from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Operation to update an existing link. + * + * @summary Operation to update an existing link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json + */ +async function patchLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerPatch = { + authInfo: { + authType: "servicePrincipalSecret", + clientId: "name", + principalId: "id", + secret: "secret" + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +patchLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/linkerValidateSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerValidateSample.ts new file mode 100644 index 000000000000..9eea13ac096d --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/linkerValidateSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validate a link. + * + * @summary Validate a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json + */ +async function validateLinkSuccess() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginValidateAndWait( + resourceUri, + linkerName + ); + console.log(result); +} + +validateLinkSuccess().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples-dev/operationsListSample.ts b/sdk/servicelinker/arm-servicelinker/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..3dda8f17d525 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples-dev/operationsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the available ServiceLinker REST API operations. + * + * @summary Lists the available ServiceLinker REST API operations. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/OperationsList.json + */ +async function getConfiguration() { + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/README.md b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/README.md new file mode 100644 index 000000000000..a110ba8aabed --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/README.md @@ -0,0 +1,64 @@ +# client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [linkerCreateOrUpdateSample.js][linkercreateorupdatesample] | Create or update linker resource. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json | +| [linkerDeleteSample.js][linkerdeletesample] | Delete a link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json | +| [linkerGetSample.js][linkergetsample] | Returns Linker resource for a given name. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json | +| [linkerListConfigurationsSample.js][linkerlistconfigurationssample] | list source configurations for a linker. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json | +| [linkerListSample.js][linkerlistsample] | Returns list of Linkers which connects to the resource. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json | +| [linkerUpdateSample.js][linkerupdatesample] | Operation to update an existing link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json | +| [linkerValidateSample.js][linkervalidatesample] | Validate a link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json | +| [operationsListSample.js][operationslistsample] | Lists the available ServiceLinker REST API operations. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/OperationsList.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 linkerCreateOrUpdateSample.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 node linkerCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[linkercreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerCreateOrUpdateSample.js +[linkerdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerDeleteSample.js +[linkergetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerGetSample.js +[linkerlistconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListConfigurationsSample.js +[linkerlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListSample.js +[linkerupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerUpdateSample.js +[linkervalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerValidateSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/operationsListSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicelinker/arm-servicelinker/README.md diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerCreateOrUpdateSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerCreateOrUpdateSample.js new file mode 100644 index 000000000000..44e1ad29a1d1 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerCreateOrUpdateSample.js @@ -0,0 +1,116 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json + */ +async function putLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { secretType: "rawValue", value: "secret" }, + }, + targetService: { + type: "AzureResource", + id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLink().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithSecretStore.json + */ +async function putLinkWithSecretStore() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters = { + authInfo: { authType: "secret" }, + secretStore: { + keyVaultId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv", + }, + targetService: { + type: "AzureResource", + id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithSecretStore().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithServiceEndpoint.json + */ +async function putLinkWithServiceEndpoint() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { + secretType: "keyVaultSecretUri", + value: + "https://vault-name.vault.azure.net/secrets/secret-name/00000000000000000000000000000000", + }, + }, + targetService: { + type: "AzureResource", + id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db", + }, + vNetSolution: { type: "serviceEndpoint" }, + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithServiceEndpoint().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerDeleteSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerDeleteSample.js new file mode 100644 index 000000000000..dfef5d2103af --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete a link. + * + * @summary Delete a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json + */ +async function deleteLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginDeleteAndWait(resourceUri, linkerName); + console.log(result); +} + +deleteLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerGetSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerGetSample.js new file mode 100644 index 000000000000..c848762552f3 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns Linker resource for a given name. + * + * @summary Returns Linker resource for a given name. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json + */ +async function link() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.get(resourceUri, linkerName); + console.log(result); +} + +link().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListConfigurationsSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListConfigurationsSample.js new file mode 100644 index 000000000000..9db050a866ac --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListConfigurationsSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to list source configurations for a linker. + * + * @summary list source configurations for a linker. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json + */ +async function getConfiguration() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.listConfigurations(resourceUri, linkerName); + console.log(result); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListSample.js new file mode 100644 index 000000000000..db5d7cb7c6d2 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of Linkers which connects to the resource. + * + * @summary Returns list of Linkers which connects to the resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json + */ +async function linkList() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.linker.list(resourceUri)) { + resArray.push(item); + } + console.log(resArray); +} + +linkList().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerUpdateSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerUpdateSample.js new file mode 100644 index 000000000000..9118579c4d14 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerUpdateSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Operation to update an existing link. + * + * @summary Operation to update an existing link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json + */ +async function patchLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters = { + authInfo: { + authType: "servicePrincipalSecret", + clientId: "name", + principalId: "id", + secret: "secret", + }, + targetService: { + type: "AzureResource", + id: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginUpdateAndWait(resourceUri, linkerName, parameters); + console.log(result); +} + +patchLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerValidateSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerValidateSample.js new file mode 100644 index 000000000000..1670f53556d5 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/linkerValidateSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Validate a link. + * + * @summary Validate a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json + */ +async function validateLinkSuccess() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginValidateAndWait(resourceUri, linkerName); + console.log(result); +} + +validateLinkSuccess().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/operationsListSample.js b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/operationsListSample.js new file mode 100644 index 000000000000..d7085457de1e --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/operationsListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the available ServiceLinker REST API operations. + * + * @summary Lists the available ServiceLinker REST API operations. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/OperationsList.json + */ +async function getConfiguration() { + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/package.json b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/package.json new file mode 100644 index 000000000000..166ff34a68e2 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-servicelinker-js", + "private": true, + "version": "1.0.0", + "description": " 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/servicelinker/arm-servicelinker" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/servicelinker/arm-servicelinker", + "dependencies": { + "@azure/arm-servicelinker": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/sample.env b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/README.md b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/README.md new file mode 100644 index 000000000000..605e53f2c026 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/README.md @@ -0,0 +1,77 @@ +# client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [linkerCreateOrUpdateSample.ts][linkercreateorupdatesample] | Create or update linker resource. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json | +| [linkerDeleteSample.ts][linkerdeletesample] | Delete a link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json | +| [linkerGetSample.ts][linkergetsample] | Returns Linker resource for a given name. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json | +| [linkerListConfigurationsSample.ts][linkerlistconfigurationssample] | list source configurations for a linker. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json | +| [linkerListSample.ts][linkerlistsample] | Returns list of Linkers which connects to the resource. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json | +| [linkerUpdateSample.ts][linkerupdatesample] | Operation to update an existing link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json | +| [linkerValidateSample.ts][linkervalidatesample] | Validate a link. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json | +| [operationsListSample.ts][operationslistsample] | Lists the available ServiceLinker REST API operations. x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/OperationsList.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/linkerCreateOrUpdateSample.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 node dist/linkerCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[linkercreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerCreateOrUpdateSample.ts +[linkerdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerDeleteSample.ts +[linkergetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerGetSample.ts +[linkerlistconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListConfigurationsSample.ts +[linkerlistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListSample.ts +[linkerupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerUpdateSample.ts +[linkervalidatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerValidateSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/operationsListSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicelinker/arm-servicelinker/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/package.json b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/package.json new file mode 100644 index 000000000000..f8bf7b0f5001 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-servicelinker-ts", + "private": true, + "version": "1.0.0", + "description": " 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/servicelinker/arm-servicelinker" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/servicelinker/arm-servicelinker", + "dependencies": { + "@azure/arm-servicelinker": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/sample.env b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerCreateOrUpdateSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerCreateOrUpdateSample.ts new file mode 100644 index 000000000000..3f31a9ddb015 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerCreateOrUpdateSample.ts @@ -0,0 +1,122 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + LinkerResource, + ServiceLinkerManagementClient +} from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json + */ +async function putLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { secretType: "rawValue", value: "secret" } + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLink().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithSecretStore.json + */ +async function putLinkWithSecretStore() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { authType: "secret" }, + secretStore: { + keyVaultId: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithSecretStore().catch(console.error); + +/** + * This sample demonstrates how to Create or update linker resource. + * + * @summary Create or update linker resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithServiceEndpoint.json + */ +async function putLinkWithServiceEndpoint() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerResource = { + authInfo: { + name: "name", + authType: "secret", + secretInfo: { + secretType: "keyVaultSecretUri", + value: + "https://vault-name.vault.azure.net/secrets/secret-name/00000000000000000000000000000000" + } + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DBforPostgreSQL/servers/test-pg/databases/test-db" + }, + vNetSolution: { type: "serviceEndpoint" } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginCreateOrUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +putLinkWithServiceEndpoint().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerDeleteSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerDeleteSample.ts new file mode 100644 index 000000000000..6f42a36923e6 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a link. + * + * @summary Delete a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json + */ +async function deleteLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginDeleteAndWait( + resourceUri, + linkerName + ); + console.log(result); +} + +deleteLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerGetSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerGetSample.ts new file mode 100644 index 000000000000..a5301cebad12 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns Linker resource for a given name. + * + * @summary Returns Linker resource for a given name. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json + */ +async function link() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.get(resourceUri, linkerName); + console.log(result); +} + +link().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListConfigurationsSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListConfigurationsSample.ts new file mode 100644 index 000000000000..4c2ac7cf3948 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListConfigurationsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to list source configurations for a linker. + * + * @summary list source configurations for a linker. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json + */ +async function getConfiguration() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.listConfigurations( + resourceUri, + linkerName + ); + console.log(result); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListSample.ts new file mode 100644 index 000000000000..b70d120875d1 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of Linkers which connects to the resource. + * + * @summary Returns list of Linkers which connects to the resource. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json + */ +async function linkList() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.linker.list(resourceUri)) { + resArray.push(item); + } + console.log(resArray); +} + +linkList().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerUpdateSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerUpdateSample.ts new file mode 100644 index 000000000000..d78af09086be --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + LinkerPatch, + ServiceLinkerManagementClient +} from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Operation to update an existing link. + * + * @summary Operation to update an existing link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json + */ +async function patchLink() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const parameters: LinkerPatch = { + authInfo: { + authType: "servicePrincipalSecret", + clientId: "name", + principalId: "id", + secret: "secret" + }, + targetService: { + type: "AzureResource", + id: + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" + } + }; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginUpdateAndWait( + resourceUri, + linkerName, + parameters + ); + console.log(result); +} + +patchLink().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerValidateSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerValidateSample.ts new file mode 100644 index 000000000000..9eea13ac096d --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/linkerValidateSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Validate a link. + * + * @summary Validate a link. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json + */ +async function validateLinkSuccess() { + const resourceUri = + "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app"; + const linkerName = "linkName"; + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const result = await client.linker.beginValidateAndWait( + resourceUri, + linkerName + ); + console.log(result); +} + +validateLinkSuccess().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/operationsListSample.ts b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..3dda8f17d525 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/src/operationsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the available ServiceLinker REST API operations. + * + * @summary Lists the available ServiceLinker REST API operations. + * x-ms-original-file: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/OperationsList.json + */ +async function getConfiguration() { + const credential = new DefaultAzureCredential(); + const client = new ServiceLinkerManagementClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getConfiguration().catch(console.error); diff --git a/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/tsconfig.json b/sdk/servicelinker/arm-servicelinker/samples/v1/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/samples/v1/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/servicelinker/arm-servicelinker/src/index.ts b/sdk/servicelinker/arm-servicelinker/src/index.ts new file mode 100644 index 000000000000..dc4428f0992f --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/index.ts @@ -0,0 +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 { ServiceLinkerManagementClient } from "./serviceLinkerManagementClient"; +export * from "./operationsInterfaces"; diff --git a/sdk/servicelinker/arm-servicelinker/src/lroImpl.ts b/sdk/servicelinker/arm-servicelinker/src/lroImpl.ts new file mode 100644 index 000000000000..518d5f053b4e --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/lroImpl.ts @@ -0,0 +1,34 @@ +/* + * 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 { LongRunningOperation, LroResponse } from "@azure/core-lro"; + +export class LroImpl implements LongRunningOperation { + constructor( + private sendOperationFn: (args: any, spec: any) => Promise>, + private args: Record, + private spec: { + readonly requestBody?: unknown; + readonly path?: string; + readonly httpMethod: string; + } & Record, + public requestPath: string = spec.path!, + public requestMethod: string = spec.httpMethod + ) {} + public async sendInitialRequest(): Promise> { + return this.sendOperationFn(this.args, this.spec); + } + public async sendPollRequest(path: string): Promise> { + const { requestBody, ...restSpec } = this.spec; + return this.sendOperationFn(this.args, { + ...restSpec, + path, + httpMethod: "GET" + }); + } +} diff --git a/sdk/servicelinker/arm-servicelinker/src/models/index.ts b/sdk/servicelinker/arm-servicelinker/src/models/index.ts new file mode 100644 index 000000000000..e0e8b440ba47 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/models/index.ts @@ -0,0 +1,724 @@ +/* + * 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"; + +export type TargetServiceBaseUnion = + | TargetServiceBase + | AzureResource + | ConfluentBootstrapServer + | ConfluentSchemaRegistry; +export type AuthInfoBaseUnion = + | AuthInfoBase + | SecretAuthInfo + | UserAssignedIdentityAuthInfo + | SystemAssignedIdentityAuthInfo + | ServicePrincipalSecretAuthInfo + | ServicePrincipalCertificateAuthInfo; +export type AzureResourcePropertiesBaseUnion = + | AzureResourcePropertiesBase + | AzureKeyVaultProperties; +export type SecretInfoBaseUnion = + | SecretInfoBase + | ValueSecretInfo + | KeyVaultSecretReferenceSecretInfo + | KeyVaultSecretUriSecretInfo; + +/** The list of Linker. */ +export interface LinkerList { + /** The link used to get the next page of Linker list. */ + nextLink?: string; + /** The list of Linkers. */ + value?: LinkerResource[]; +} + +/** The target service properties */ +export interface TargetServiceBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: + | "AzureResource" + | "ConfluentBootstrapServer" + | "ConfluentSchemaRegistry"; +} + +/** The authentication info */ +export interface AuthInfoBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: + | "secret" + | "userAssignedIdentity" + | "systemAssignedIdentity" + | "servicePrincipalSecret" + | "servicePrincipalCertificate"; +} + +/** The VNet solution for linker */ +export interface VNetSolution { + /** Type of VNet solution. */ + type?: VNetSolutionType; +} + +/** An option to store secret value in secure place */ +export interface SecretStore { + /** The key vault id to store secret */ + keyVaultId?: 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. */ + 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. */ + 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 */ +export interface Resource { + /** + * 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; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * 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?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** 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?: Record; +} + +/** A linker to be updated. */ +export interface LinkerPatch { + /** The target service properties */ + targetService?: TargetServiceBaseUnion; + /** The authentication type. */ + authInfo?: AuthInfoBaseUnion; + /** The application client type */ + clientType?: ClientType; + /** + * The provisioning state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** The VNet solution. */ + vNetSolution?: VNetSolution; + /** An option to store secret value in secure place */ + secretStore?: SecretStore; + /** connection scope in source service. */ + scope?: string; +} + +/** The validation result for a linker. */ +export interface ValidateResult { + /** The linker name. */ + linkerName?: string; + /** A boolean value indicating whether the connection is available or not */ + isConnectionAvailable?: boolean; + /** The start time of the validation report. */ + reportStartTimeUtc?: Date; + /** The end time of the validation report. */ + reportEndTimeUtc?: Date; + /** The resource id of the linker source application. */ + sourceId?: string; + /** The resource Id of target service. */ + targetId?: string; + /** The authentication type. */ + authType?: AuthType; + /** The detail of validation result */ + validationDetail?: ValidationResultItem[]; +} + +/** The validation item for a linker. */ +export interface ValidationResultItem { + /** The validation item name. */ + name?: string; + /** The display name of validation item */ + description?: string; + /** The result of validation */ + result?: ValidationResultStatus; + /** The error message of validation result */ + errorMessage?: string; + /** The error code of validation result */ + errorCode?: string; +} + +/** Configurations for source resource, include appSettings, connectionString and serviceBindings */ +export interface SourceConfigurationResult { + /** The configuration properties for source resource. */ + configurations?: SourceConfiguration[]; +} + +/** A configuration item for source resource */ +export interface SourceConfiguration { + /** The name of setting. */ + name?: string; + /** The value of setting */ + value?: string; +} + +/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ +export interface OperationListResult { + /** + * List of operations supported by the resource provider + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: Operation[]; + /** + * URL to get the next set of operation list results (if there are any). + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Details of a REST API operation, returned from the Resource Provider Operations API */ +export interface Operation { + /** + * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly isDataAction?: boolean; + /** Localized display information for this particular operation. */ + display?: OperationDisplay; + /** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly origin?: Origin; + /** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly actionType?: ActionType; +} + +/** Localized display information for this particular operation. */ +export interface OperationDisplay { + /** + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provider?: string; + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resource?: string; + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operation?: string; + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly description?: string; +} + +/** The azure resource properties */ +export interface AzureResourcePropertiesBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "KeyVault"; +} + +/** The secret info */ +export interface SecretInfoBase { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretType: "rawValue" | "keyVaultSecretReference" | "keyVaultSecretUri"; +} + +/** The azure resource info when target service type is AzureResource */ +export type AzureResource = TargetServiceBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "AzureResource"; + /** The Id of azure resource. */ + id?: string; + /** The azure resource connection related properties. */ + resourceProperties?: AzureResourcePropertiesBaseUnion; +}; + +/** The service properties when target service type is ConfluentBootstrapServer */ +export type ConfluentBootstrapServer = TargetServiceBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ConfluentBootstrapServer"; + /** The endpoint of service. */ + endpoint?: string; +}; + +/** The service properties when target service type is ConfluentSchemaRegistry */ +export type ConfluentSchemaRegistry = TargetServiceBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "ConfluentSchemaRegistry"; + /** The endpoint of service. */ + endpoint?: string; +}; + +/** The authentication info when authType is secret */ +export type SecretAuthInfo = AuthInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "secret"; + /** Username or account name for secret auth. */ + name?: string; + /** Password or key vault secret for secret auth. */ + secretInfo?: SecretInfoBaseUnion; +}; + +/** The authentication info when authType is userAssignedIdentity */ +export type UserAssignedIdentityAuthInfo = AuthInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "userAssignedIdentity"; + /** Client Id for userAssignedIdentity. */ + clientId?: string; + /** Subscription id for userAssignedIdentity. */ + subscriptionId?: string; +}; + +/** The authentication info when authType is systemAssignedIdentity */ +export type SystemAssignedIdentityAuthInfo = AuthInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "systemAssignedIdentity"; +}; + +/** The authentication info when authType is servicePrincipal secret */ +export type ServicePrincipalSecretAuthInfo = AuthInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "servicePrincipalSecret"; + /** ServicePrincipal application clientId for servicePrincipal auth. */ + clientId: string; + /** Principal Id for servicePrincipal auth. */ + principalId: string; + /** Secret for servicePrincipal auth. */ + secret: string; +}; + +/** The authentication info when authType is servicePrincipal certificate */ +export type ServicePrincipalCertificateAuthInfo = AuthInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + authType: "servicePrincipalCertificate"; + /** Application clientId for servicePrincipal auth. */ + clientId: string; + /** Principal Id for servicePrincipal auth. */ + principalId: string; + /** ServicePrincipal certificate for servicePrincipal auth. */ + certificate: string; +}; + +/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ +export type ProxyResource = Resource & {}; + +/** The resource properties when type is Azure Key Vault */ +export type AzureKeyVaultProperties = AzureResourcePropertiesBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "KeyVault"; + /** True if connect via Kubernetes CSI Driver. */ + connectAsKubernetesCsiDriver?: boolean; +}; + +/** The secret info when type is rawValue. It's for scenarios that user input the secret. */ +export type ValueSecretInfo = SecretInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretType: "rawValue"; + /** The actual value of the secret. */ + value?: string; +}; + +/** The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId. */ +export type KeyVaultSecretReferenceSecretInfo = SecretInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretType: "keyVaultSecretReference"; + /** Name of the Key Vault secret. */ + name?: string; + /** Version of the Key Vault secret. */ + version?: string; +}; + +/** The secret info when type is keyVaultSecretUri. It's for scenario that user provides a secret stored in user's keyvault and source is Web App, Spring Cloud or Container App. */ +export type KeyVaultSecretUriSecretInfo = SecretInfoBase & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + secretType: "keyVaultSecretUri"; + /** URI to the keyvault secret */ + value?: string; +}; + +/** Linker of source and target resource */ +export type LinkerResource = ProxyResource & { + /** + * The system data. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; + /** The target service properties */ + targetService?: TargetServiceBaseUnion; + /** The authentication type. */ + authInfo?: AuthInfoBaseUnion; + /** The application client type */ + clientType?: ClientType; + /** + * The provisioning state. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: string; + /** The VNet solution. */ + vNetSolution?: VNetSolution; + /** An option to store secret value in secure place */ + secretStore?: SecretStore; + /** connection scope in source service. */ + scope?: string; +}; + +/** Known values of {@link TargetServiceType} that the service accepts. */ +export enum KnownTargetServiceType { + AzureResource = "AzureResource", + ConfluentBootstrapServer = "ConfluentBootstrapServer", + ConfluentSchemaRegistry = "ConfluentSchemaRegistry" +} + +/** + * Defines values for TargetServiceType. \ + * {@link KnownTargetServiceType} can be used interchangeably with TargetServiceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureResource** \ + * **ConfluentBootstrapServer** \ + * **ConfluentSchemaRegistry** + */ +export type TargetServiceType = string; + +/** Known values of {@link AuthType} that the service accepts. */ +export enum KnownAuthType { + SystemAssignedIdentity = "systemAssignedIdentity", + UserAssignedIdentity = "userAssignedIdentity", + ServicePrincipalSecret = "servicePrincipalSecret", + ServicePrincipalCertificate = "servicePrincipalCertificate", + Secret = "secret" +} + +/** + * Defines values for AuthType. \ + * {@link KnownAuthType} can be used interchangeably with AuthType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **systemAssignedIdentity** \ + * **userAssignedIdentity** \ + * **servicePrincipalSecret** \ + * **servicePrincipalCertificate** \ + * **secret** + */ +export type AuthType = string; + +/** Known values of {@link ClientType} that the service accepts. */ +export enum KnownClientType { + None = "none", + Dotnet = "dotnet", + Java = "java", + Python = "python", + Go = "go", + Php = "php", + Ruby = "ruby", + Django = "django", + Nodejs = "nodejs", + SpringBoot = "springBoot" +} + +/** + * Defines values for ClientType. \ + * {@link KnownClientType} can be used interchangeably with ClientType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **none** \ + * **dotnet** \ + * **java** \ + * **python** \ + * **go** \ + * **php** \ + * **ruby** \ + * **django** \ + * **nodejs** \ + * **springBoot** + */ +export type ClientType = string; + +/** Known values of {@link VNetSolutionType} that the service accepts. */ +export enum KnownVNetSolutionType { + ServiceEndpoint = "serviceEndpoint", + PrivateLink = "privateLink" +} + +/** + * Defines values for VNetSolutionType. \ + * {@link KnownVNetSolutionType} can be used interchangeably with VNetSolutionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **serviceEndpoint** \ + * **privateLink** + */ +export type VNetSolutionType = string; + +/** Known values of {@link CreatedByType} that the service accepts. */ +export enum KnownCreatedByType { + User = "User", + Application = "Application", + ManagedIdentity = "ManagedIdentity", + Key = "Key" +} + +/** + * Defines values for CreatedByType. \ + * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **User** \ + * **Application** \ + * **ManagedIdentity** \ + * **Key** + */ +export type CreatedByType = string; + +/** Known values of {@link ValidationResultStatus} that the service accepts. */ +export enum KnownValidationResultStatus { + Success = "success", + Failed = "failed", + Warning = "warning" +} + +/** + * Defines values for ValidationResultStatus. \ + * {@link KnownValidationResultStatus} can be used interchangeably with ValidationResultStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **success** \ + * **failed** \ + * **warning** + */ +export type ValidationResultStatus = string; + +/** Known values of {@link Origin} that the service accepts. */ +export enum KnownOrigin { + User = "user", + System = "system", + UserSystem = "user,system" +} + +/** + * Defines values for Origin. \ + * {@link KnownOrigin} can be used interchangeably with Origin, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **user** \ + * **system** \ + * **user,system** + */ +export type Origin = string; + +/** Known values of {@link ActionType} that the service accepts. */ +export enum KnownActionType { + Internal = "Internal" +} + +/** + * Defines values for ActionType. \ + * {@link KnownActionType} can be used interchangeably with ActionType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Internal** + */ +export type ActionType = string; + +/** Known values of {@link AzureResourceType} that the service accepts. */ +export enum KnownAzureResourceType { + KeyVault = "KeyVault" +} + +/** + * Defines values for AzureResourceType. \ + * {@link KnownAzureResourceType} can be used interchangeably with AzureResourceType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **KeyVault** + */ +export type AzureResourceType = string; + +/** Known values of {@link SecretType} that the service accepts. */ +export enum KnownSecretType { + RawValue = "rawValue", + KeyVaultSecretUri = "keyVaultSecretUri", + KeyVaultSecretReference = "keyVaultSecretReference" +} + +/** + * Defines values for SecretType. \ + * {@link KnownSecretType} can be used interchangeably with SecretType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **rawValue** \ + * **keyVaultSecretUri** \ + * **keyVaultSecretReference** + */ +export type SecretType = string; + +/** Optional parameters. */ +export interface LinkerListOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type LinkerListResponse = LinkerList; + +/** Optional parameters. */ +export interface LinkerGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type LinkerGetResponse = LinkerResource; + +/** Optional parameters. */ +export interface LinkerCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the createOrUpdate operation. */ +export type LinkerCreateOrUpdateResponse = LinkerResource; + +/** Optional parameters. */ +export interface LinkerDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface LinkerUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type LinkerUpdateResponse = LinkerResource; + +/** Optional parameters. */ +export interface LinkerValidateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the validate operation. */ +export type LinkerValidateResponse = ValidateResult; + +/** Optional parameters. */ +export interface LinkerListConfigurationsOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listConfigurations operation. */ +export type LinkerListConfigurationsResponse = SourceConfigurationResult; + +/** Optional parameters. */ +export interface LinkerListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type LinkerListNextResponse = LinkerList; + +/** Optional parameters. */ +export interface OperationsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type OperationsListResponse = OperationListResult; + +/** Optional parameters. */ +export interface OperationsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type OperationsListNextResponse = OperationListResult; + +/** Optional parameters. */ +export interface ServiceLinkerManagementClientOptionalParams + extends coreClient.ServiceClientOptions { + /** server parameter */ + $host?: string; + /** Api Version */ + apiVersion?: string; + /** Overrides client endpoint. */ + endpoint?: string; +} diff --git a/sdk/servicelinker/arm-servicelinker/src/models/mappers.ts b/sdk/servicelinker/arm-servicelinker/src/models/mappers.ts new file mode 100644 index 000000000000..e7c8a77b86fb --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/models/mappers.ts @@ -0,0 +1,1003 @@ +/* + * 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"; + +export const LinkerList: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkerList", + modelProperties: { + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkerResource" + } + } + } + } + } + } +}; + +export const TargetServiceBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TargetServiceBase", + uberParent: "TargetServiceBase", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const AuthInfoBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AuthInfoBase", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: { + serializedName: "authType", + clientName: "authType" + }, + modelProperties: { + authType: { + serializedName: "authType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const VNetSolution: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VNetSolution", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SecretStore: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretStore", + modelProperties: { + keyVaultId: { + serializedName: "keyVaultId", + type: { + name: "String" + } + } + } + } +}; + +export const SystemData: coreClient.CompositeMapper = { + 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: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ErrorResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetail" + } + } + } + } +}; + +export const ErrorDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorDetail", + modelProperties: { + code: { + serializedName: "code", + readOnly: true, + type: { + name: "String" + } + }, + message: { + serializedName: "message", + readOnly: true, + type: { + name: "String" + } + }, + target: { + serializedName: "target", + readOnly: true, + type: { + name: "String" + } + }, + details: { + serializedName: "details", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail" + } + } + } + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } + } + } + } + } + } +}; + +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + info: { + serializedName: "info", + readOnly: true, + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } + } + } +}; + +export const LinkerPatch: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkerPatch", + modelProperties: { + targetService: { + serializedName: "properties.targetService", + type: { + name: "Composite", + className: "TargetServiceBase" + } + }, + authInfo: { + serializedName: "properties.authInfo", + type: { + name: "Composite", + className: "AuthInfoBase" + } + }, + clientType: { + serializedName: "properties.clientType", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + vNetSolution: { + serializedName: "properties.vNetSolution", + type: { + name: "Composite", + className: "VNetSolution" + } + }, + secretStore: { + serializedName: "properties.secretStore", + type: { + name: "Composite", + className: "SecretStore" + } + }, + scope: { + serializedName: "properties.scope", + type: { + name: "String" + } + } + } + } +}; + +export const ValidateResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidateResult", + modelProperties: { + linkerName: { + serializedName: "linkerName", + type: { + name: "String" + } + }, + isConnectionAvailable: { + serializedName: "isConnectionAvailable", + type: { + name: "Boolean" + } + }, + reportStartTimeUtc: { + serializedName: "reportStartTimeUtc", + type: { + name: "DateTime" + } + }, + reportEndTimeUtc: { + serializedName: "reportEndTimeUtc", + type: { + name: "DateTime" + } + }, + sourceId: { + serializedName: "sourceId", + type: { + name: "String" + } + }, + targetId: { + serializedName: "targetId", + type: { + name: "String" + } + }, + authType: { + serializedName: "authType", + type: { + name: "String" + } + }, + validationDetail: { + serializedName: "validationDetail", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ValidationResultItem" + } + } + } + } + } + } +}; + +export const ValidationResultItem: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ValidationResultItem", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + result: { + serializedName: "result", + type: { + name: "String" + } + }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + }, + errorCode: { + serializedName: "errorCode", + type: { + name: "String" + } + } + } + } +}; + +export const SourceConfigurationResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SourceConfigurationResult", + modelProperties: { + configurations: { + serializedName: "configurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SourceConfiguration" + } + } + } + } + } + } +}; + +export const SourceConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SourceConfiguration", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const OperationListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const Operation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + isDataAction: { + serializedName: "isDataAction", + readOnly: true, + type: { + name: "Boolean" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + }, + origin: { + serializedName: "origin", + readOnly: true, + type: { + name: "String" + } + }, + actionType: { + serializedName: "actionType", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const OperationDisplay: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + readOnly: true, + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + readOnly: true, + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + readOnly: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const AzureResourcePropertiesBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureResourcePropertiesBase", + uberParent: "AzureResourcePropertiesBase", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const SecretInfoBase: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SecretInfoBase", + uberParent: "SecretInfoBase", + polymorphicDiscriminator: { + serializedName: "secretType", + clientName: "secretType" + }, + modelProperties: { + secretType: { + serializedName: "secretType", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const AzureResource: coreClient.CompositeMapper = { + serializedName: "AzureResource", + type: { + name: "Composite", + className: "AzureResource", + uberParent: "TargetServiceBase", + polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator, + modelProperties: { + ...TargetServiceBase.type.modelProperties, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + resourceProperties: { + serializedName: "resourceProperties", + type: { + name: "Composite", + className: "AzureResourcePropertiesBase" + } + } + } + } +}; + +export const ConfluentBootstrapServer: coreClient.CompositeMapper = { + serializedName: "ConfluentBootstrapServer", + type: { + name: "Composite", + className: "ConfluentBootstrapServer", + uberParent: "TargetServiceBase", + polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator, + modelProperties: { + ...TargetServiceBase.type.modelProperties, + endpoint: { + serializedName: "endpoint", + type: { + name: "String" + } + } + } + } +}; + +export const ConfluentSchemaRegistry: coreClient.CompositeMapper = { + serializedName: "ConfluentSchemaRegistry", + type: { + name: "Composite", + className: "ConfluentSchemaRegistry", + uberParent: "TargetServiceBase", + polymorphicDiscriminator: TargetServiceBase.type.polymorphicDiscriminator, + modelProperties: { + ...TargetServiceBase.type.modelProperties, + endpoint: { + serializedName: "endpoint", + type: { + name: "String" + } + } + } + } +}; + +export const SecretAuthInfo: coreClient.CompositeMapper = { + serializedName: "secret", + type: { + name: "Composite", + className: "SecretAuthInfo", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...AuthInfoBase.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + secretInfo: { + serializedName: "secretInfo", + type: { + name: "Composite", + className: "SecretInfoBase" + } + } + } + } +}; + +export const UserAssignedIdentityAuthInfo: coreClient.CompositeMapper = { + serializedName: "userAssignedIdentity", + type: { + name: "Composite", + className: "UserAssignedIdentityAuthInfo", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...AuthInfoBase.type.modelProperties, + clientId: { + serializedName: "clientId", + type: { + name: "String" + } + }, + subscriptionId: { + serializedName: "subscriptionId", + type: { + name: "String" + } + } + } + } +}; + +export const SystemAssignedIdentityAuthInfo: coreClient.CompositeMapper = { + serializedName: "systemAssignedIdentity", + type: { + name: "Composite", + className: "SystemAssignedIdentityAuthInfo", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...AuthInfoBase.type.modelProperties + } + } +}; + +export const ServicePrincipalSecretAuthInfo: coreClient.CompositeMapper = { + serializedName: "servicePrincipalSecret", + type: { + name: "Composite", + className: "ServicePrincipalSecretAuthInfo", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...AuthInfoBase.type.modelProperties, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "String" + } + }, + principalId: { + serializedName: "principalId", + required: true, + type: { + name: "String" + } + }, + secret: { + serializedName: "secret", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ServicePrincipalCertificateAuthInfo: coreClient.CompositeMapper = { + serializedName: "servicePrincipalCertificate", + type: { + name: "Composite", + className: "ServicePrincipalCertificateAuthInfo", + uberParent: "AuthInfoBase", + polymorphicDiscriminator: AuthInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...AuthInfoBase.type.modelProperties, + clientId: { + serializedName: "clientId", + required: true, + type: { + name: "String" + } + }, + principalId: { + serializedName: "principalId", + required: true, + type: { + name: "String" + } + }, + certificate: { + serializedName: "certificate", + required: true, + type: { + name: "String" + } + } + } + } +}; + +export const ProxyResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const AzureKeyVaultProperties: coreClient.CompositeMapper = { + serializedName: "KeyVault", + type: { + name: "Composite", + className: "AzureKeyVaultProperties", + uberParent: "AzureResourcePropertiesBase", + polymorphicDiscriminator: + AzureResourcePropertiesBase.type.polymorphicDiscriminator, + modelProperties: { + ...AzureResourcePropertiesBase.type.modelProperties, + connectAsKubernetesCsiDriver: { + serializedName: "connectAsKubernetesCsiDriver", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ValueSecretInfo: coreClient.CompositeMapper = { + serializedName: "rawValue", + type: { + name: "Composite", + className: "ValueSecretInfo", + uberParent: "SecretInfoBase", + polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...SecretInfoBase.type.modelProperties, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultSecretReferenceSecretInfo: coreClient.CompositeMapper = { + serializedName: "keyVaultSecretReference", + type: { + name: "Composite", + className: "KeyVaultSecretReferenceSecretInfo", + uberParent: "SecretInfoBase", + polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...SecretInfoBase.type.modelProperties, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + type: { + name: "String" + } + } + } + } +}; + +export const KeyVaultSecretUriSecretInfo: coreClient.CompositeMapper = { + serializedName: "keyVaultSecretUri", + type: { + name: "Composite", + className: "KeyVaultSecretUriSecretInfo", + uberParent: "SecretInfoBase", + polymorphicDiscriminator: SecretInfoBase.type.polymorphicDiscriminator, + modelProperties: { + ...SecretInfoBase.type.modelProperties, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const LinkerResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LinkerResource", + modelProperties: { + ...ProxyResource.type.modelProperties, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, + targetService: { + serializedName: "properties.targetService", + type: { + name: "Composite", + className: "TargetServiceBase" + } + }, + authInfo: { + serializedName: "properties.authInfo", + type: { + name: "Composite", + className: "AuthInfoBase" + } + }, + clientType: { + serializedName: "properties.clientType", + type: { + name: "String" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + vNetSolution: { + serializedName: "properties.vNetSolution", + type: { + name: "Composite", + className: "VNetSolution" + } + }, + secretStore: { + serializedName: "properties.secretStore", + type: { + name: "Composite", + className: "SecretStore" + } + }, + scope: { + serializedName: "properties.scope", + type: { + name: "String" + } + } + } + } +}; + +export let discriminators = { + TargetServiceBase: TargetServiceBase, + AuthInfoBase: AuthInfoBase, + AzureResourcePropertiesBase: AzureResourcePropertiesBase, + SecretInfoBase: SecretInfoBase, + "TargetServiceBase.AzureResource": AzureResource, + "TargetServiceBase.ConfluentBootstrapServer": ConfluentBootstrapServer, + "TargetServiceBase.ConfluentSchemaRegistry": ConfluentSchemaRegistry, + "AuthInfoBase.secret": SecretAuthInfo, + "AuthInfoBase.userAssignedIdentity": UserAssignedIdentityAuthInfo, + "AuthInfoBase.systemAssignedIdentity": SystemAssignedIdentityAuthInfo, + "AuthInfoBase.servicePrincipalSecret": ServicePrincipalSecretAuthInfo, + "AuthInfoBase.servicePrincipalCertificate": ServicePrincipalCertificateAuthInfo, + "AzureResourcePropertiesBase.KeyVault": AzureKeyVaultProperties, + "SecretInfoBase.rawValue": ValueSecretInfo, + "SecretInfoBase.keyVaultSecretReference": KeyVaultSecretReferenceSecretInfo, + "SecretInfoBase.keyVaultSecretUri": KeyVaultSecretUriSecretInfo +}; diff --git a/sdk/servicelinker/arm-servicelinker/src/models/parameters.ts b/sdk/servicelinker/arm-servicelinker/src/models/parameters.ts new file mode 100644 index 000000000000..ab0e3f41bd86 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/models/parameters.ts @@ -0,0 +1,110 @@ +/* + * 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 { + OperationParameter, + OperationURLParameter, + OperationQueryParameter +} from "@azure/core-client"; +import { + LinkerResource as LinkerResourceMapper, + LinkerPatch as LinkerPatchMapper +} from "../models/mappers"; + +export const accept: OperationParameter = { + parameterPath: "accept", + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Accept", + type: { + name: "String" + } + } +}; + +export const $host: OperationURLParameter = { + parameterPath: "$host", + mapper: { + serializedName: "$host", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + +export const resourceUri: OperationURLParameter = { + parameterPath: "resourceUri", + mapper: { + serializedName: "resourceUri", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; + +export const apiVersion: OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "2022-05-01", + isConstant: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; + +export const linkerName: OperationURLParameter = { + parameterPath: "linkerName", + mapper: { + serializedName: "linkerName", + required: true, + type: { + name: "String" + } + } +}; + +export const contentType: OperationParameter = { + parameterPath: ["options", "contentType"], + mapper: { + defaultValue: "application/json", + isConstant: true, + serializedName: "Content-Type", + type: { + name: "String" + } + } +}; + +export const parameters: OperationParameter = { + parameterPath: "parameters", + mapper: LinkerResourceMapper +}; + +export const parameters1: OperationParameter = { + parameterPath: "parameters", + mapper: LinkerPatchMapper +}; + +export const nextLink: OperationURLParameter = { + parameterPath: "nextLink", + mapper: { + serializedName: "nextLink", + required: true, + type: { + name: "String" + } + }, + skipEncoding: true +}; diff --git a/sdk/servicelinker/arm-servicelinker/src/operations/index.ts b/sdk/servicelinker/arm-servicelinker/src/operations/index.ts new file mode 100644 index 000000000000..8ef3ff9c3dd7 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/operations/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 "./linker"; +export * from "./operations"; diff --git a/sdk/servicelinker/arm-servicelinker/src/operations/linker.ts b/sdk/servicelinker/arm-servicelinker/src/operations/linker.ts new file mode 100644 index 000000000000..91ff8f990e05 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/operations/linker.ts @@ -0,0 +1,713 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Linker } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ServiceLinkerManagementClient } from "../serviceLinkerManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + LinkerResource, + LinkerListNextOptionalParams, + LinkerListOptionalParams, + LinkerListResponse, + LinkerGetOptionalParams, + LinkerGetResponse, + LinkerCreateOrUpdateOptionalParams, + LinkerCreateOrUpdateResponse, + LinkerDeleteOptionalParams, + LinkerPatch, + LinkerUpdateOptionalParams, + LinkerUpdateResponse, + LinkerValidateOptionalParams, + LinkerValidateResponse, + LinkerListConfigurationsOptionalParams, + LinkerListConfigurationsResponse, + LinkerListNextResponse +} from "../models"; + +/// +/** Class containing Linker operations. */ +export class LinkerImpl implements Linker { + private readonly client: ServiceLinkerManagementClient; + + /** + * Initialize a new instance of the class Linker class. + * @param client Reference to the service client + */ + constructor(client: ServiceLinkerManagementClient) { + this.client = client; + } + + /** + * Returns list of Linkers which connects to the resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param options The options parameters. + */ + public list( + resourceUri: string, + options?: LinkerListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceUri, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(resourceUri, options); + } + }; + } + + private async *listPagingPage( + resourceUri: string, + options?: LinkerListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(resourceUri, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(resourceUri, continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceUri: string, + options?: LinkerListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(resourceUri, options)) { + yield* page; + } + } + + /** + * Returns list of Linkers which connects to the resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param options The options parameters. + */ + private _list( + resourceUri: string, + options?: LinkerListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, options }, + listOperationSpec + ); + } + + /** + * Returns Linker resource for a given name. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + linkerName: string, + options?: LinkerGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, linkerName, options }, + getOperationSpec + ); + } + + /** + * Create or update linker resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceUri: string, + linkerName: string, + parameters: LinkerResource, + options?: LinkerCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LinkerCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceUri, linkerName, parameters, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or update linker resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceUri: string, + linkerName: string, + parameters: LinkerResource, + options?: LinkerCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceUri, + linkerName, + parameters, + options + ); + return poller.pollUntilDone(); + } + + /** + * Delete a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + async beginDelete( + resourceUri: string, + linkerName: string, + options?: LinkerDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceUri, linkerName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Delete a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceUri: string, + linkerName: string, + options?: LinkerDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete(resourceUri, linkerName, options); + return poller.pollUntilDone(); + } + + /** + * Operation to update an existing link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + async beginUpdate( + resourceUri: string, + linkerName: string, + parameters: LinkerPatch, + options?: LinkerUpdateOptionalParams + ): Promise< + PollerLike, LinkerUpdateResponse> + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceUri, linkerName, parameters, options }, + updateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Operation to update an existing link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceUri: string, + linkerName: string, + parameters: LinkerPatch, + options?: LinkerUpdateOptionalParams + ): Promise { + const poller = await this.beginUpdate( + resourceUri, + linkerName, + parameters, + options + ); + return poller.pollUntilDone(); + } + + /** + * Validate a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + async beginValidate( + resourceUri: string, + linkerName: string, + options?: LinkerValidateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LinkerValidateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceUri, linkerName, options }, + validateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Validate a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + async beginValidateAndWait( + resourceUri: string, + linkerName: string, + options?: LinkerValidateOptionalParams + ): Promise { + const poller = await this.beginValidate(resourceUri, linkerName, options); + return poller.pollUntilDone(); + } + + /** + * list source configurations for a linker. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + listConfigurations( + resourceUri: string, + linkerName: string, + options?: LinkerListConfigurationsOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, linkerName, options }, + listConfigurationsOperationSpec + ); + } + + /** + * ListNext + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceUri: string, + nextLink: string, + options?: LinkerListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceUri, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LinkerList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.resourceUri], + headerParameters: [Parameters.accept], + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LinkerResource + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.LinkerResource + }, + 201: { + bodyMapper: Mappers.LinkerResource + }, + 202: { + bodyMapper: Mappers.LinkerResource + }, + 204: { + bodyMapper: Mappers.LinkerResource + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.LinkerResource + }, + 201: { + bodyMapper: Mappers.LinkerResource + }, + 202: { + bodyMapper: Mappers.LinkerResource + }, + 204: { + bodyMapper: Mappers.LinkerResource + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const validateOperationSpec: coreClient.OperationSpec = { + path: + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ValidateResult + }, + 201: { + bodyMapper: Mappers.ValidateResult + }, + 202: { + bodyMapper: Mappers.ValidateResult + }, + 204: { + bodyMapper: Mappers.ValidateResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listConfigurationsOperationSpec: coreClient.OperationSpec = { + path: + "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/listConfigurations", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.SourceConfigurationResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.linkerName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.LinkerList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.resourceUri, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/servicelinker/arm-servicelinker/src/operations/operations.ts b/sdk/servicelinker/arm-servicelinker/src/operations/operations.ts new file mode 100644 index 000000000000..70f930018ca1 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/operations/operations.ts @@ -0,0 +1,137 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Operations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ServiceLinkerManagementClient } from "../serviceLinkerManagementClient"; +import { + Operation, + OperationsListNextOptionalParams, + OperationsListOptionalParams, + OperationsListResponse, + OperationsListNextResponse +} from "../models"; + +/// +/** Class containing Operations operations. */ +export class OperationsImpl implements Operations { + private readonly client: ServiceLinkerManagementClient; + + /** + * Initialize a new instance of the class Operations class. + * @param client Reference to the service client + */ + constructor(client: ServiceLinkerManagementClient) { + this.client = client; + } + + /** + * Lists the available ServiceLinker REST API operations. + * @param options The options parameters. + */ + public list( + options?: OperationsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(options); + } + }; + } + + private async *listPagingPage( + options?: OperationsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext(continuationToken, options); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + options?: OperationsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage(options)) { + yield* page; + } + } + + /** + * Lists the available ServiceLinker REST API operations. + * @param options The options parameters. + */ + private _list( + options?: OperationsListOptionalParams + ): Promise { + return this.client.sendOperationRequest({ options }, listOperationSpec); + } + + /** + * ListNext + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + nextLink: string, + options?: OperationsListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listOperationSpec: coreClient.OperationSpec = { + path: "/providers/Microsoft.ServiceLinker/operations", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.OperationListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.nextLink], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/index.ts b/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/index.ts new file mode 100644 index 000000000000..8ef3ff9c3dd7 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/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 "./linker"; +export * from "./operations"; diff --git a/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/linker.ts b/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/linker.ts new file mode 100644 index 000000000000..2cb2e83ee1aa --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/linker.ts @@ -0,0 +1,181 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + LinkerResource, + LinkerListOptionalParams, + LinkerGetOptionalParams, + LinkerGetResponse, + LinkerCreateOrUpdateOptionalParams, + LinkerCreateOrUpdateResponse, + LinkerDeleteOptionalParams, + LinkerPatch, + LinkerUpdateOptionalParams, + LinkerUpdateResponse, + LinkerValidateOptionalParams, + LinkerValidateResponse, + LinkerListConfigurationsOptionalParams, + LinkerListConfigurationsResponse +} from "../models"; + +/// +/** Interface representing a Linker. */ +export interface Linker { + /** + * Returns list of Linkers which connects to the resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param options The options parameters. + */ + list( + resourceUri: string, + options?: LinkerListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Returns Linker resource for a given name. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + get( + resourceUri: string, + linkerName: string, + options?: LinkerGetOptionalParams + ): Promise; + /** + * Create or update linker resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceUri: string, + linkerName: string, + parameters: LinkerResource, + options?: LinkerCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LinkerCreateOrUpdateResponse + > + >; + /** + * Create or update linker resource. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceUri: string, + linkerName: string, + parameters: LinkerResource, + options?: LinkerCreateOrUpdateOptionalParams + ): Promise; + /** + * Delete a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + beginDelete( + resourceUri: string, + linkerName: string, + options?: LinkerDeleteOptionalParams + ): Promise, void>>; + /** + * Delete a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceUri: string, + linkerName: string, + options?: LinkerDeleteOptionalParams + ): Promise; + /** + * Operation to update an existing link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + beginUpdate( + resourceUri: string, + linkerName: string, + parameters: LinkerPatch, + options?: LinkerUpdateOptionalParams + ): Promise< + PollerLike, LinkerUpdateResponse> + >; + /** + * Operation to update an existing link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param parameters Linker details. + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceUri: string, + linkerName: string, + parameters: LinkerPatch, + options?: LinkerUpdateOptionalParams + ): Promise; + /** + * Validate a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + beginValidate( + resourceUri: string, + linkerName: string, + options?: LinkerValidateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + LinkerValidateResponse + > + >; + /** + * Validate a link. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + beginValidateAndWait( + resourceUri: string, + linkerName: string, + options?: LinkerValidateOptionalParams + ): Promise; + /** + * list source configurations for a linker. + * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be + * connected. + * @param linkerName The name Linker resource. + * @param options The options parameters. + */ + listConfigurations( + resourceUri: string, + linkerName: string, + options?: LinkerListConfigurationsOptionalParams + ): Promise; +} diff --git a/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/operations.ts b/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/operations.ts new file mode 100644 index 000000000000..768cd0e6e86a --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/operationsInterfaces/operations.ts @@ -0,0 +1,22 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { Operation, OperationsListOptionalParams } from "../models"; + +/// +/** Interface representing a Operations. */ +export interface Operations { + /** + * Lists the available ServiceLinker REST API operations. + * @param options The options parameters. + */ + list( + options?: OperationsListOptionalParams + ): PagedAsyncIterableIterator; +} diff --git a/sdk/servicelinker/arm-servicelinker/src/serviceLinkerManagementClient.ts b/sdk/servicelinker/arm-servicelinker/src/serviceLinkerManagementClient.ts new file mode 100644 index 000000000000..aa950da20d7a --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/src/serviceLinkerManagementClient.ts @@ -0,0 +1,94 @@ +/* + * 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 * as coreRestPipeline from "@azure/core-rest-pipeline"; +import * as coreAuth from "@azure/core-auth"; +import { LinkerImpl, OperationsImpl } from "./operations"; +import { Linker, Operations } from "./operationsInterfaces"; +import { ServiceLinkerManagementClientOptionalParams } from "./models"; + +export class ServiceLinkerManagementClient extends coreClient.ServiceClient { + $host: string; + apiVersion: string; + + /** + * Initializes a new instance of the ServiceLinkerManagementClient class. + * @param credentials Subscription credentials which uniquely identify client subscription. + * @param options The parameter options + */ + constructor( + credentials: coreAuth.TokenCredential, + options?: ServiceLinkerManagementClientOptionalParams + ) { + if (credentials === undefined) { + throw new Error("'credentials' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: ServiceLinkerManagementClientOptionalParams = { + requestContentType: "application/json; charset=utf-8", + credential: credentials + }; + + const packageDetails = `azsdk-js-arm-servicelinker/1.0.0`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + if (!options.credentialScopes) { + options.credentialScopes = ["https://management.azure.com/.default"]; + } + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" + }; + super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } + + // Assigning values to Constant parameters + this.$host = options.$host || "https://management.azure.com"; + this.apiVersion = options.apiVersion || "2022-05-01"; + this.linker = new LinkerImpl(this); + this.operations = new OperationsImpl(this); + } + + linker: Linker; + operations: Operations; +} diff --git a/sdk/servicelinker/arm-servicelinker/test/sampleTest.ts b/sdk/servicelinker/arm-servicelinker/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * 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 { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/servicelinker/arm-servicelinker/tsconfig.json b/sdk/servicelinker/arm-servicelinker/tsconfig.json new file mode 100644 index 000000000000..5c861ab691f6 --- /dev/null +++ b/sdk/servicelinker/arm-servicelinker/tsconfig.json @@ -0,0 +1,33 @@ +{ + "compilerOptions": { + "module": "es6", + "moduleResolution": "node", + "strict": true, + "target": "es6", + "sourceMap": true, + "declarationMap": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "lib": [ + "es6", + "dom" + ], + "declaration": true, + "outDir": "./dist-esm", + "importHelpers": true, + "paths": { + "@azure/arm-servicelinker": [ + "./src/index" + ] + } + }, + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/servicelinker/ci.mgmt.yml b/sdk/servicelinker/ci.mgmt.yml new file mode 100644 index 000000000000..ca4a2463877b --- /dev/null +++ b/sdk/servicelinker/ci.mgmt.yml @@ -0,0 +1,38 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. + +trigger: + branches: + include: + - main + - feature/* + - release/* + - hotfix/* + exclude: + - feature/v4 + paths: + include: + - sdk/servicelinker/arm-servicelinker + - sdk/servicelinker/ci.mgmt.yml + +pr: + branches: + include: + - main + - feature/* + - release/* + - hotfix/* + exclude: + - feature/v4 + paths: + include: + - sdk/servicelinker/arm-servicelinker + - sdk/servicelinker/ci.mgmt.yml + +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: servicelinker + Artifacts: + - name: azure-arm-servicelinker + safeName: azurearmservicelinker + \ No newline at end of file diff --git a/sdk/sql/arm-sql/CHANGELOG.md b/sdk/sql/arm-sql/CHANGELOG.md index 71c7823ae1b1..b9cbe67eed19 100644 --- a/sdk/sql/arm-sql/CHANGELOG.md +++ b/sdk/sql/arm-sql/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 9.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 9.0.1 (2022-05-01) **Features** diff --git a/sdk/sql/arm-sql/package.json b/sdk/sql/arm-sql/package.json index 2b41144ef07d..145daa97c29a 100644 --- a/sdk/sql/arm-sql/package.json +++ b/sdk/sql/arm-sql/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SqlManagementClient.", - "version": "9.0.1", + "version": "9.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/sql/arm-sql/src/sqlManagementClient.ts b/sdk/sql/arm-sql/src/sqlManagementClient.ts index b7ca4a8ce8cb..d433494016b4 100644 --- a/sdk/sql/arm-sql/src/sqlManagementClient.ts +++ b/sdk/sql/arm-sql/src/sqlManagementClient.ts @@ -284,7 +284,7 @@ export class SqlManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-sql/9.0.1`; + const packageDetails = `azsdk-js-arm-sql/9.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/CHANGELOG.md b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/CHANGELOG.md index 0e63e5597696..1c339f339223 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/CHANGELOG.md +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History - + +## 5.0.0-beta.5 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 5.0.0-beta.4 (2022-05-01) The package of @azure/arm-sqlvirtualmachine is using our next generation design principles since version 5.0.0-beta.4, which contains breaking changes. diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json index 46aa1c4ceb44..3b020ff01b9d 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SqlVirtualMachineManagementClient.", - "version": "5.0.0-beta.4", + "version": "5.0.0-beta.5", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts index a53d90c488af..e0f43567fede 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts @@ -55,7 +55,7 @@ export class SqlVirtualMachineManagementClient extends coreClient.ServiceClient credential: credentials }; - const packageDetails = `azsdk-js-arm-sqlvirtualmachine/5.0.0-beta.4`; + const packageDetails = `azsdk-js-arm-sqlvirtualmachine/5.0.0-beta.5`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` 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 74d20e2647b3..3b214c6531c8 100644 --- a/sdk/storage/perf-tests/storage-blob-track-1/package.json +++ b/sdk/storage/perf-tests/storage-blob-track-1/package.json @@ -34,7 +34,7 @@ "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 storage-blob-perf-test-lintReport.html || exit 0", "pack": "npm pack 2>&1", - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "setup": "node ../../../../common/tools/perf-tests-track-1-setup.js", "unit-test:browser": "echo skipped", "unit-test:node": "echo skipped", diff --git a/sdk/storage/perf-tests/storage-blob-track-1/test/index.spec.ts b/sdk/storage/perf-tests/storage-blob-track-1/test/index.spec.ts index d0a61954727f..f1ac4d53bfc9 100644 --- a/sdk/storage/perf-tests/storage-blob-track-1/test/index.spec.ts +++ b/sdk/storage/perf-tests/storage-blob-track-1/test/index.spec.ts @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { StorageBlobDownloadTest } from "./download.spec"; import { StorageBlobUploadTest } from "./upload.spec"; import { StorageBlobListTest } from "./listBlobs.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([StorageBlobDownloadTest, StorageBlobUploadTest, StorageBlobListTest]) +const perfProgram = createPerfProgram( + StorageBlobDownloadTest, + StorageBlobUploadTest, + StorageBlobListTest ); perfProgram.run(); diff --git a/sdk/storage/perf-tests/storage-blob/package.json b/sdk/storage/perf-tests/storage-blob/package.json index e60c949a7594..6f050e10c43c 100644 --- a/sdk/storage/perf-tests/storage-blob/package.json +++ b/sdk/storage/perf-tests/storage-blob/package.json @@ -29,7 +29,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/storage/perf-tests/storage-blob/test/index.spec.ts b/sdk/storage/perf-tests/storage-blob/test/index.spec.ts index e4a5acc46d88..8042e4f742ba 100644 --- a/sdk/storage/perf-tests/storage-blob/test/index.spec.ts +++ b/sdk/storage/perf-tests/storage-blob/test/index.spec.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { StorageBlobDownloadTest } from "./download.spec"; import { StorageBlobUploadTest } from "./upload.spec"; import { StorageBlobUploadFileTest } from "./uploadFromFile.spec"; @@ -11,19 +11,15 @@ import { CoreHTTPDownloadWithSASTest } from "./core-http.spec"; import { NodeFetchDownloadWithSASTest } from "./node-fetch.spec"; import { CoreHTTPSDownloadWithSASTest } from "./core-rest-pipeline.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([ - StorageBlobDownloadTest, - StorageBlobUploadTest, - StorageBlobUploadFileTest, - StorageBlobListTest, - StorageBlobDownloadWithSASTest, - CoreHTTPDownloadWithSASTest, - CoreHTTPSDownloadWithSASTest, - NodeFetchDownloadWithSASTest, - ]) +const perfProgram = createPerfProgram( + StorageBlobDownloadTest, + StorageBlobUploadTest, + StorageBlobUploadFileTest, + StorageBlobListTest, + StorageBlobDownloadWithSASTest, + CoreHTTPDownloadWithSASTest, + CoreHTTPSDownloadWithSASTest, + NodeFetchDownloadWithSASTest ); perfProgram.run(); diff --git a/sdk/storage/perf-tests/storage-file-datalake/package.json b/sdk/storage/perf-tests/storage-file-datalake/package.json index c5ed9363c6e6..a35a72de6851 100644 --- a/sdk/storage/perf-tests/storage-file-datalake/package.json +++ b/sdk/storage/perf-tests/storage-file-datalake/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/storage/perf-tests/storage-file-datalake/test/index.spec.ts b/sdk/storage/perf-tests/storage-file-datalake/test/index.spec.ts index e8458b97b069..c48b31c9d877 100644 --- a/sdk/storage/perf-tests/storage-file-datalake/test/index.spec.ts +++ b/sdk/storage/perf-tests/storage-file-datalake/test/index.spec.ts @@ -1,21 +1,17 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { StorageDFSAppendTest } from "./append.spec"; import { StorageDFSReadTest } from "./read.spec"; import { StorageDFSUploadTest } from "./upload.spec"; import { StorageDFSUploadFromFileTest } from "./uploadFromFile.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([ - StorageDFSAppendTest, - StorageDFSReadTest, - StorageDFSUploadTest, - StorageDFSUploadFromFileTest, - ]) +const perfProgram = createPerfProgram( + StorageDFSAppendTest, + StorageDFSReadTest, + StorageDFSUploadTest, + StorageDFSUploadFromFileTest ); perfProgram.run(); 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 2f02bb32a108..71741cb89b82 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 @@ -21,7 +21,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/storage/perf-tests/storage-file-share-track-1/test/index.spec.ts b/sdk/storage/perf-tests/storage-file-share-track-1/test/index.spec.ts index 547bc446dd55..d620151148cc 100644 --- a/sdk/storage/perf-tests/storage-file-share-track-1/test/index.spec.ts +++ b/sdk/storage/perf-tests/storage-file-share-track-1/test/index.spec.ts @@ -1,13 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { StorageFileShareDownloadTest } from "./download.spec"; import { StorageFileShareUploadTest } from "./upload.spec"; -console.log("=== Starting the perf test ==="); -const perfProgram = new PerfProgram( - selectPerfTest([StorageFileShareDownloadTest, StorageFileShareUploadTest]) -); +const perfProgram = createPerfProgram(StorageFileShareDownloadTest, StorageFileShareUploadTest); perfProgram.run(); diff --git a/sdk/storage/perf-tests/storage-file-share/package.json b/sdk/storage/perf-tests/storage-file-share/package.json index b5b251a02f81..be22f97aa7d8 100644 --- a/sdk/storage/perf-tests/storage-file-share/package.json +++ b/sdk/storage/perf-tests/storage-file-share/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/storage/perf-tests/storage-file-share/test/index.spec.ts b/sdk/storage/perf-tests/storage-file-share/test/index.spec.ts index 25a2aa0753ed..dffdfbb32e19 100644 --- a/sdk/storage/perf-tests/storage-file-share/test/index.spec.ts +++ b/sdk/storage/perf-tests/storage-file-share/test/index.spec.ts @@ -1,21 +1,17 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { StorageFileShareDownloadTest } from "./download.spec"; import { StorageFileShareDownloadToFileTest } from "./downloadToFile.spec"; import { StorageFileShareUploadTest } from "./upload.spec"; import { StorageFileShareUploadFromFileTest } from "./uploadFromFile.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([ - StorageFileShareDownloadTest, - StorageFileShareDownloadToFileTest, - StorageFileShareUploadTest, - StorageFileShareUploadFromFileTest, - ]) +const perfProgram = createPerfProgram( + StorageFileShareDownloadTest, + StorageFileShareDownloadToFileTest, + StorageFileShareUploadTest, + StorageFileShareUploadFromFileTest ); perfProgram.run(); diff --git a/sdk/storage/storage-blob-changefeed/CHANGELOG.md b/sdk/storage/storage-blob-changefeed/CHANGELOG.md index e3d7e9dfe21c..6f07e4082dde 100644 --- a/sdk/storage/storage-blob-changefeed/CHANGELOG.md +++ b/sdk/storage/storage-blob-changefeed/CHANGELOG.md @@ -1,15 +1,25 @@ # Release History +## 12.0.0-preview.4 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 12.0.0-preview.3 (2022-04-19) ### Features Added -Added support for event schema V3, V4, and V5. +## 12.0.0-preview.1 (2020.07) + +- This is the first release supporting Azure Storage Blob Change Feed. ## 12.0.0-preview.2 (2020-09-08) - This release contains bug fixes to improve quality. -## 12.0.0-preview.1 (2020.07) - -- This is the first release supporting Azure Storage Blob Change Feed. diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index 4133329023ac..af80ce05d98f 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-blob-changefeed", "sdk-type": "client", - "version": "12.0.0-preview.3", + "version": "12.0.0-preview.4", "description": "Microsoft Azure Storage SDK for JavaScript - Blob Change Feed", "main": "./dist/index.js", "module": "./dist-esm/storage-blob-changefeed/src/index.js", @@ -136,7 +136,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-blob-changefeed/src/utils/constants.ts b/sdk/storage/storage-blob-changefeed/src/utils/constants.ts index 99ee758c5390..9fae1529067a 100644 --- a/sdk/storage/storage-blob-changefeed/src/utils/constants.ts +++ b/sdk/storage/storage-blob-changefeed/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.0.0-preview.3"; +export const SDK_VERSION: string = "12.0.0-preview.4"; export const CHANGE_FEED_CONTAINER_NAME: string = "$blobchangefeed"; export const CHANGE_FEED_META_SEGMENT_PATH: string = "meta/segments.json"; diff --git a/sdk/storage/storage-blob/CHANGELOG.md b/sdk/storage/storage-blob/CHANGELOG.md index 7487340681e4..ba39452a6722 100644 --- a/sdk/storage/storage-blob/CHANGELOG.md +++ b/sdk/storage/storage-blob/CHANGELOG.md @@ -1,5 +1,26 @@ # Release History +## 12.10.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 12.10.0 (2022-05-12) + +### Features Added + +- Includes all features released in 12.10.0-beta.1. + +### Bugs Fixed + +- Refined user-agent value to avoid failure when os information is not available on some platforms. +- Fix an issue of not returning raw blob properties in ContainerClient.listBlobsFlat() and ContainerClient.listBlobsByHierarchy(). + ## 12.10.0-beta.1 (2022-04-19) ### Features Added diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 2044b3fa1a78..4f7e88cb7590 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.10.0-beta.1", + "version": "12.10.1", "description": "Microsoft Azure Storage SDK for JavaScript - Blob", "main": "./dist/index.js", "module": "./dist-esm/storage-blob/src/index.js", @@ -177,7 +177,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.json b/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.json new file mode 100644 index 000000000000..b37ea17c75bd --- /dev/null +++ b/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.json @@ -0,0 +1,188 @@ +{ + "recordings": [ + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352", + "query": { + "restype": "container" + }, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:11 GMT", + "etag": "\"0x8DA2813C00DC6F9\"", + "last-modified": "Wed, 27 Apr 2022 06:04:11 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "bad258d0-4623-478c-b1c1-3c3d2fa2e6bb", + "x-ms-request-id": "bfdd0985-a01e-0008-2bfc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob0165103945148000167", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:11 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "62a59196-31cc-4d62-876a-a431dae9d587", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd09ef-a01e-0008-04fc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob1165103945169106857", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:11 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ad87ab5b-69cd-406d-8db8-143b835a2039", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd0aa8-a01e-0008-29fc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob2165103945189605522", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:11 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "54689b2e-61f7-4d44-8eed-f71115bf175f", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd0b31-a01e-0008-27fc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "GET", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352", + "query": { + "comp": "list", + "restype": "container", + "include": "uncommittedblobs", + "delimiter": "/" + }, + "requestBody": null, + "status": 200, + "response": "/blockblob01651039451480001670BlockBlobHottrueunlockedavailablefalseblockblob11651039451691068570BlockBlobHottrueunlockedavailablefalseblockblob21651039451896055220BlockBlobHottrueunlockedavailablefalse", + "responseHeaders": { + "content-type": "application/xml", + "date": "Wed, 27 Apr 2022 06:04:12 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "ae1136d3-2c2a-4b08-aab3-dd50f5d31836", + "x-ms-request-id": "bfdd0bc2-a01e-0008-26fc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob0165103945148000167", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:12 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "32708871-219f-4f10-9fc5-ccbd8526a9c7", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd0c4d-a01e-0008-22fc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob1165103945169106857", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:12 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6f6b4531-a774-45df-94e4-53f03df6dfb1", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd0ccf-a01e-0008-1afc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352/blockblob2165103945189605522", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:12 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "0a31a9b4-eb48-443c-b319-2d7c71b27382", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd0d9d-a01e-0008-49fc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103945127303352", + "query": { + "restype": "container" + }, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:13 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "1c70acd1-7ef3-491e-9987-4659ebf411fa", + "x-ms-request-id": "bfdd0e39-a01e-0008-51fc-599638000000", + "x-ms-version": "2021-06-08" + } + } + ], + "uniqueTestInfo": { + "uniqueName": { + "container": "container165103945127303352", + "blockblob0": "blockblob0165103945148000167", + "blockblob1": "blockblob1165103945169106857", + "blockblob2": "blockblob2165103945189605522" + }, + "newDate": {} + }, + "hash": "978ddc84d7743d42dfd50c0bcedb2ba3" +} \ No newline at end of file diff --git a/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.json b/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.json new file mode 100644 index 000000000000..50c36f19a637 --- /dev/null +++ b/sdk/storage/storage-blob/recordings/browsers/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.json @@ -0,0 +1,187 @@ +{ + "recordings": [ + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416", + "query": { + "restype": "container" + }, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:09 GMT", + "etag": "\"0x8DA2813BEE21D4B\"", + "last-modified": "Wed, 27 Apr 2022 06:04:09 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "e94ec7f3-5531-4975-89aa-9a4a40034679", + "x-ms-request-id": "bfdd03f0-a01e-0008-4dfc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F0165103944952005154", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:09 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9ace2a73-94f9-4b3b-8ebb-c765808b7cd8", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd0453-a01e-0008-1dfc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F1165103944976106409", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:09 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "dca1145b-9f75-487c-9f14-c8da96f8e9ba", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd0510-a01e-0008-40fc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F2165103944997502460", + "query": { + "comp": "block", + "blockid": "MQ==" + }, + "requestBody": "Hello", + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:10 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8baa378e-c472-4322-8b4f-373f220e4537", + "x-ms-content-crc64": "7YooR2vuA24=", + "x-ms-request-id": "bfdd05ac-a01e-0008-47fc-599638000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "GET", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416", + "query": { + "comp": "list", + "restype": "container", + "include": "uncommittedblobs" + }, + "requestBody": null, + "status": 200, + "response": "blockblob/01651039449520051540BlockBlobHottrueunlockedavailablefalseblockblob/11651039449761064090BlockBlobHottrueunlockedavailablefalseblockblob/21651039449975024600BlockBlobHottrueunlockedavailablefalse", + "responseHeaders": { + "content-type": "application/xml", + "date": "Wed, 27 Apr 2022 06:04:10 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "4daa741c-2969-4c03-a632-639559326f79", + "x-ms-request-id": "bfdd0651-a01e-0008-5bfc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F0165103944952005154", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:10 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "78b0b3ee-00af-4d0e-8734-92fd9acaa4c1", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd06f2-a01e-0008-65fc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F1165103944976106409", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:10 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9d8c4857-71c5-41c5-a9e7-e329a350a0d2", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd07af-a01e-0008-0bfc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416/blockblob%2F2165103944997502460", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:10 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ca321333-d30d-47fa-86d7-0b19ed16c0c4", + "x-ms-delete-type-permanent": "false", + "x-ms-request-id": "bfdd0843-a01e-0008-13fc-599638000000", + "x-ms-version": "2021-06-08" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.blob.core.windows.net/container165103944890400416", + "query": { + "restype": "container" + }, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Wed, 27 Apr 2022 06:04:11 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9bc1d805-b0bd-4df4-8ab2-cdb686788720", + "x-ms-request-id": "bfdd08d2-a01e-0008-12fc-599638000000", + "x-ms-version": "2021-06-08" + } + } + ], + "uniqueTestInfo": { + "uniqueName": { + "container": "container165103944890400416", + "blockblob/0": "blockblob/0165103944952005154", + "blockblob/1": "blockblob/1165103944976106409", + "blockblob/2": "blockblob/2165103944997502460" + }, + "newDate": {} + }, + "hash": "f0f7f6b136ec13f3e4d13efee8b68fa5" +} \ No newline at end of file diff --git a/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.js b/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.js new file mode 100644 index 000000000000..ddf88ac788a7 --- /dev/null +++ b/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsbyhierarchy_to_list_uncommitted_blobs.js @@ -0,0 +1,188 @@ +let nock = require('nock'); + +module.exports.hash = "cef9eb0c4a960ce7d9173d1f266bf6d6"; + +module.exports.testInfo = {"uniqueName":{"container":"container165103876621000889","blockblob0":"blockblob0165103876648704792","blockblob1":"blockblob1165103876676805384","blockblob2":"blockblob2165103876705303123"},"newDate":{}} + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876621000889') + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Wed, 27 Apr 2022 05:52:46 GMT', + 'ETag', + '"0x8DA281227B5234C"', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2ceab-d01e-006a-66fb-5902ea000000', + 'x-ms-client-request-id', + '9d92f20a-bd9a-4f4b-b922-7d36a8f5fda2', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:45 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876621000889/blockblob0165103876648704792', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cf16-d01e-006a-41fb-5902ea000000', + 'x-ms-client-request-id', + 'c4852f90-2f0e-415c-a62c-0ddfd7db5224', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:46 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876621000889/blockblob1165103876676805384', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cfa9-d01e-006a-44fb-5902ea000000', + 'x-ms-client-request-id', + '4414001d-4e82-4b59-ae15-0363fc6fdf5f', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:46 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876621000889/blockblob2165103876705303123', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d027-d01e-006a-30fb-5902ea000000', + 'x-ms-client-request-id', + 'c5f6180b-e93a-4fdd-8a21-81a5d88382bb', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:46 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .get('/container165103876621000889') + .query(true) + .reply(200, "/blockblob01651038766487047920BlockBlobHottrueunlockedavailablefalseblockblob11651038766768053840BlockBlobHottrueunlockedavailablefalseblockblob21651038767053031230BlockBlobHottrueunlockedavailablefalse", [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/xml', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d093-d01e-006a-10fb-5902ea000000', + 'x-ms-client-request-id', + '3837363c-dd6e-4b4f-9961-eb908f683891', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:46 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876621000889/blockblob0165103876648704792') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d118-d01e-006a-0afb-5902ea000000', + 'x-ms-client-request-id', + '5fff4682-1099-4870-aa9f-cb9e867e1004', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:47 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876621000889/blockblob1165103876676805384') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d18f-d01e-006a-78fb-5902ea000000', + 'x-ms-client-request-id', + 'b8cf7548-f33c-467a-828f-4013655cb3f7', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:47 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876621000889/blockblob2165103876705303123') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d234-d01e-006a-06fb-5902ea000000', + 'x-ms-client-request-id', + '93fe637e-58d4-4efe-94b2-102ecad5f3a3', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:48 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876621000889') + .query(true) + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2d343-d01e-006a-72fb-5902ea000000', + 'x-ms-client-request-id', + '3c409a82-d027-457d-b87f-adee11d03c14', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:48 GMT' +]); diff --git a/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.js b/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.js new file mode 100644 index 000000000000..824b5ccdfa9a --- /dev/null +++ b/sdk/storage/storage-blob/recordings/node/containerclient/recording_listblobsflat_to_list_uncommitted_blobs.js @@ -0,0 +1,188 @@ +let nock = require('nock'); + +module.exports.hash = "bd55f9cc77d519a3e3c2fc810b4a330b"; + +module.exports.testInfo = {"uniqueName":{"container":"container165103876256802377","blockblob/0":"blockblob/0165103876393906476","blockblob/1":"blockblob/1165103876422301699","blockblob/2":"blockblob/2165103876450106623"},"newDate":{}} + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876256802377') + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Wed, 27 Apr 2022 05:52:44 GMT', + 'ETag', + '"0x8DA2812262DFA00"', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2c98d-d01e-006a-56fb-5902ea000000', + 'x-ms-client-request-id', + '33c522c5-510c-45d9-a434-3078fb189548', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:43 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876256802377/blockblob%2F0165103876393906476', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2ca83-d01e-006a-36fb-5902ea000000', + 'x-ms-client-request-id', + 'd91c3b97-7498-4a2d-b904-b7310f0c4ae8', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:43 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876256802377/blockblob%2F1165103876422301699', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cb2f-d01e-006a-5bfb-5902ea000000', + 'x-ms-client-request-id', + 'ef618368-d052-4a05-9bf9-480cefb85ff4', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:43 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .put('/container165103876256802377/blockblob%2F2165103876450106623', "Hello") + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cbb8-d01e-006a-4efb-5902ea000000', + 'x-ms-client-request-id', + '7448c9e7-d9c9-4f29-83ca-ce683e5eec3f', + 'x-ms-version', + '2021-06-08', + 'x-ms-content-crc64', + '7YooR2vuA24=', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Wed, 27 Apr 2022 05:52:44 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .get('/container165103876256802377') + .query(true) + .reply(200, "blockblob/01651038763939064760BlockBlobHottrueunlockedavailablefalseblockblob/11651038764223016990BlockBlobHottrueunlockedavailablefalseblockblob/21651038764501066230BlockBlobHottrueunlockedavailablefalse", [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/xml', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cc56-d01e-006a-4ffb-5902ea000000', + 'x-ms-client-request-id', + 'f2862285-55b0-4daa-9138-c9b3be1a7215', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:44 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876256802377/blockblob%2F0165103876393906476') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2ccbc-d01e-006a-29fb-5902ea000000', + 'x-ms-client-request-id', + '420c9573-4623-4c9d-90f4-861110de9476', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:44 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876256802377/blockblob%2F1165103876422301699') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cd2a-d01e-006a-0dfb-5902ea000000', + 'x-ms-client-request-id', + '4e42dc70-4a56-4adc-b634-98772a05fd94', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:44 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876256802377/blockblob%2F2165103876450106623') + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2cdba-d01e-006a-0ffb-5902ea000000', + 'x-ms-client-request-id', + '0ede6cca-d190-46e7-ae09-3e33b5b89473', + 'x-ms-version', + '2021-06-08', + 'x-ms-delete-type-permanent', + 'false', + 'Date', + 'Wed, 27 Apr 2022 05:52:45 GMT' +]); + +nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/container165103876256802377') + .query(true) + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + 'bdb2ce3f-d01e-006a-7ffb-5902ea000000', + 'x-ms-client-request-id', + '05869850-6094-494a-a621-2a36a39534c0', + 'x-ms-version', + '2021-06-08', + 'Date', + 'Wed, 27 Apr 2022 05:52:45 GMT' +]); diff --git a/sdk/storage/storage-blob/samples-dev/advancedRequestOptions.ts b/sdk/storage/storage-blob/samples-dev/advancedRequestOptions.ts index 82ce5115fc1f..cc85e8cc45f5 100644 --- a/sdk/storage/storage-blob/samples-dev/advancedRequestOptions.ts +++ b/sdk/storage/storage-blob/samples-dev/advancedRequestOptions.ts @@ -50,7 +50,7 @@ async function main() { await containerClient.create(); } catch (err: any) { console.log( - `Creating a container failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `Creating a container failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -69,7 +69,7 @@ async function main() { console.log("Successfully uploaded file:", blockBlobClient.name); } catch (err: any) { console.log( - `uploadFile failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadFile failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -83,7 +83,7 @@ async function main() { console.log("uploadStream succeeds"); } catch (err: any) { console.log( - `uploadStream failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadStream failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -112,7 +112,7 @@ async function main() { console.log("downloadToBuffer succeeds"); } catch (err: any) { console.log( - `downloadToBuffer failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `downloadToBuffer failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -125,7 +125,7 @@ async function main() { } catch (err: any) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } diff --git a/sdk/storage/storage-blob/samples-dev/errorsAndResponses.ts b/sdk/storage/storage-blob/samples-dev/errorsAndResponses.ts index 27610c5dcaf1..8d3a7478046d 100644 --- a/sdk/storage/storage-blob/samples-dev/errorsAndResponses.ts +++ b/sdk/storage/storage-blob/samples-dev/errorsAndResponses.ts @@ -39,7 +39,7 @@ async function main() { createContainerResponse = await containerClient.create(); } catch (err: any) { console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); } @@ -55,7 +55,7 @@ async function main() { } catch (err: any) { console.log(`getProperties() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Create a new block blob @@ -86,7 +86,7 @@ async function main() { } catch (err: any) { console.log(`download() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Download blob content @@ -113,7 +113,7 @@ async function main() { } catch (err: any) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } @@ -127,7 +127,7 @@ async function main() { } catch (err: any) { console.log(`Deleting a non-existing container fails as expected`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - \n${err.details.message}\n`); diff --git a/sdk/storage/storage-blob/samples/v12/javascript/advancedRequestOptions.js b/sdk/storage/storage-blob/samples/v12/javascript/advancedRequestOptions.js index ead7260918d0..8dc29d76109b 100644 --- a/sdk/storage/storage-blob/samples/v12/javascript/advancedRequestOptions.js +++ b/sdk/storage/storage-blob/samples/v12/javascript/advancedRequestOptions.js @@ -48,7 +48,7 @@ async function main() { await containerClient.create(); } catch (err) { console.log( - `Creating a container failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `Creating a container failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -67,7 +67,7 @@ async function main() { console.log("Successfully uploaded file:", blockBlobClient.name); } catch (err) { console.log( - `uploadFile failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadFile failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -81,7 +81,7 @@ async function main() { console.log("uploadStream succeeds"); } catch (err) { console.log( - `uploadStream failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadStream failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -110,7 +110,7 @@ async function main() { console.log("downloadToBuffer succeeds"); } catch (err) { console.log( - `downloadToBuffer failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `downloadToBuffer failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -123,7 +123,7 @@ async function main() { } catch (err) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } diff --git a/sdk/storage/storage-blob/samples/v12/javascript/errorsAndResponses.js b/sdk/storage/storage-blob/samples/v12/javascript/errorsAndResponses.js index 1d3e4dc2fdeb..6eaf635b4842 100644 --- a/sdk/storage/storage-blob/samples/v12/javascript/errorsAndResponses.js +++ b/sdk/storage/storage-blob/samples/v12/javascript/errorsAndResponses.js @@ -37,7 +37,7 @@ async function main() { createContainerResponse = await containerClient.create(); } catch (err) { console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); } @@ -53,7 +53,7 @@ async function main() { } catch (err) { console.log(`getProperties() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Create a new block blob @@ -84,7 +84,7 @@ async function main() { } catch (err) { console.log(`download() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Download blob content @@ -111,7 +111,7 @@ async function main() { } catch (err) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } @@ -125,7 +125,7 @@ async function main() { } catch (err) { console.log(`Deleting a non-existing container fails as expected`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - \n${err.details.message}\n`); diff --git a/sdk/storage/storage-blob/samples/v12/typescript/src/advancedRequestOptions.ts b/sdk/storage/storage-blob/samples/v12/typescript/src/advancedRequestOptions.ts index 83dc486298db..b4bf98968e1e 100644 --- a/sdk/storage/storage-blob/samples/v12/typescript/src/advancedRequestOptions.ts +++ b/sdk/storage/storage-blob/samples/v12/typescript/src/advancedRequestOptions.ts @@ -33,8 +33,8 @@ async function main() { userAgentOptions: { userAgentPrefix: "AdvancedSample V1.0.0" }, // Customized telemetry string keepAliveOptions: { // Keep alive is enabled by default, disable keep alive by setting false - enable: false - } + enable: false, + }, }); const blobServiceClient = new BlobServiceClient( @@ -49,7 +49,7 @@ async function main() { await containerClient.create(); } catch (err: any) { console.log( - `Creating a container failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `Creating a container failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -63,12 +63,12 @@ async function main() { await blockBlobClient.uploadFile(localFilePath, { blockSize: 4 * 1024 * 1024, // 4MB block size concurrency: 20, // 20 concurrency - onProgress: (ev) => console.log(ev) + onProgress: (ev) => console.log(ev), }); console.log("Successfully uploaded file:", blockBlobClient.name); } catch (err: any) { console.log( - `uploadFile failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadFile failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -77,12 +77,12 @@ async function main() { try { await blockBlobClient.uploadStream(fs.createReadStream(localFilePath), 4 * 1024 * 1024, 20, { abortSignal: AbortController.timeout(30 * 60 * 1000), // Abort uploading with timeout in 30mins - onProgress: (ev) => console.log(ev) + onProgress: (ev) => console.log(ev), }); console.log("uploadStream succeeds"); } catch (err: any) { console.log( - `uploadStream failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `uploadStream failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -106,12 +106,12 @@ async function main() { abortSignal: AbortController.timeout(30 * 60 * 1000), // Abort uploading with timeout in 30mins blockSize: 4 * 1024 * 1024, // 4MB block size concurrency: 20, // 20 concurrency - onProgress: (ev) => console.log(ev) + onProgress: (ev) => console.log(ev), }); console.log("downloadToBuffer succeeds"); } catch (err: any) { console.log( - `downloadToBuffer failed, requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `downloadToBuffer failed, requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); } @@ -124,7 +124,7 @@ async function main() { } catch (err: any) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } diff --git a/sdk/storage/storage-blob/samples/v12/typescript/src/errorsAndResponses.ts b/sdk/storage/storage-blob/samples/v12/typescript/src/errorsAndResponses.ts index 484b5c5676f0..172c34d9d1a3 100644 --- a/sdk/storage/storage-blob/samples/v12/typescript/src/errorsAndResponses.ts +++ b/sdk/storage/storage-blob/samples/v12/typescript/src/errorsAndResponses.ts @@ -38,7 +38,7 @@ async function main() { createContainerResponse = await containerClient.create(); } catch (err: any) { console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); } @@ -54,7 +54,7 @@ async function main() { } catch (err: any) { console.log(`getProperties() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Create a new block blob @@ -85,7 +85,7 @@ async function main() { } catch (err: any) { console.log(`download() failed as expected,`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}\n` ); // Download blob content @@ -112,7 +112,7 @@ async function main() { } catch (err: any) { // BlobArchived Conflict (409) This operation is not permitted on an archived blob. console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - ${err.details.message}\n`); } @@ -126,7 +126,7 @@ async function main() { } catch (err: any) { console.log(`Deleting a non-existing container fails as expected`); console.log( - `requestId - ${err.details.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` + `requestId - ${err.request.requestId}, statusCode - ${err.statusCode}, errorCode - ${err.details.errorCode}` ); console.log(`error message - \n${err.details.message}\n`); diff --git a/sdk/storage/storage-blob/src/TelemetryPolicyFactory.ts b/sdk/storage/storage-blob/src/TelemetryPolicyFactory.ts index 506066cc00c3..c09938c51d38 100644 --- a/sdk/storage/storage-blob/src/TelemetryPolicyFactory.ts +++ b/sdk/storage/storage-blob/src/TelemetryPolicyFactory.ts @@ -44,7 +44,10 @@ export class TelemetryPolicyFactory implements RequestPolicyFactory { } // e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299) - const runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + let runtimeInfo = `(NODE-VERSION ${process.version})`; + if (os) { + runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + } if (userAgentInfo.indexOf(runtimeInfo) === -1) { userAgentInfo.push(runtimeInfo); } diff --git a/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts b/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts index 769838379832..d25b66b17571 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.10.0-beta.1"; +const packageVersion = "12.10.1"; 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 3ef4168442de..a16412ff417f 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.10.0-beta.1"; +export const SDK_VERSION: string = "12.10.1"; export const SERVICE_VERSION: string = "2021-06-08"; export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB diff --git a/sdk/storage/storage-blob/src/utils/utils.common.ts b/sdk/storage/storage-blob/src/utils/utils.common.ts index 80b9c5f33e54..0cb10ab7d56b 100644 --- a/sdk/storage/storage-blob/src/utils/utils.common.ts +++ b/sdk/storage/storage-blob/src/utils/utils.common.ts @@ -30,6 +30,7 @@ import { BlobTag, PageRange, ClearRange, + BlobPropertiesInternal, } from "../generated/src/models"; import { DevelopmentConnectionString, HeaderConstants, URLConstants } from "./constants"; import { @@ -867,95 +868,270 @@ function ParseBlobName(blobNameInXML: any): BlobName { } } -function ParseBlobItem(blobInXML: any): BlobItemInternal { - const blobPropertiesInXML = blobInXML["Properties"]; - const blobProperties = { - createdOn: new Date(blobPropertiesInXML["Creation-Time"] as string), - lastModified: new Date(blobPropertiesInXML["Last-Modified"] as string), - etag: blobPropertiesInXML["Etag"] as string, - contentLength: - blobPropertiesInXML["Content-Length"] === undefined - ? undefined - : parseFloat(blobPropertiesInXML["Content-Length"] as string), - contentType: blobPropertiesInXML["Content-Type"] as string, - contentEncoding: blobPropertiesInXML["Content-Encoding"] as string, - contentLanguage: blobPropertiesInXML["Content-Language"] as string, - contentMD5: decodeBase64String(blobPropertiesInXML["Content-MD5"] as string), - contentDisposition: blobPropertiesInXML["Content-Disposition"] as string, - cacheControl: blobPropertiesInXML["Cache-Control"] as string, - blobSequenceNumber: - blobPropertiesInXML["x-ms-blob-sequence-number"] === undefined - ? undefined - : parseFloat(blobPropertiesInXML["x-ms-blob-sequence-number"] as string), - blobType: blobPropertiesInXML["BlobType"] as BlobType, - leaseStatus: blobPropertiesInXML["LeaseStatus"] as LeaseStatusType, - leaseState: blobPropertiesInXML["LeaseState"] as LeaseStateType, - leaseDuration: blobPropertiesInXML["LeaseDuration"] as LeaseDurationType, - copyId: blobPropertiesInXML["CopyId"] as string, - copyStatus: blobPropertiesInXML["CopyStatus"] as CopyStatusType, - copySource: blobPropertiesInXML["CopySource"] as string, - copyProgress: blobPropertiesInXML["CopyProgress"] as string, - copyCompletedOn: - blobPropertiesInXML["CopyCompletionTime"] === undefined - ? undefined - : new Date(blobPropertiesInXML["CopyCompletionTime"] as string), - copyStatusDescription: blobPropertiesInXML["CopyStatusDescription"] as string, - serverEncrypted: ParseBoolean(blobPropertiesInXML["ServerEncrypted"]), - incrementalCopy: ParseBoolean(blobPropertiesInXML["IncrementalCopy"]), - destinationSnapshot: blobPropertiesInXML["DestinationSnapshot"] as string, - deletedOn: - blobPropertiesInXML["DeletedTime"] === undefined - ? undefined - : new Date(blobPropertiesInXML["DeletedTime"] as string), - remainingRetentionDays: - blobPropertiesInXML["RemainingRetentionDays"] === undefined - ? undefined - : parseFloat(blobPropertiesInXML["RemainingRetentionDays"] as string), - accessTier: blobPropertiesInXML["AccessTier"] as AccessTier, - accessTierInferred: ParseBoolean(blobPropertiesInXML["AccessTierInferred"]), - archiveStatus: blobPropertiesInXML["ArchiveStatus"] as ArchiveStatus, - customerProvidedKeySha256: blobPropertiesInXML["CustomerProvidedKeySha256"] as string, - encryptionScope: blobPropertiesInXML["EncryptionScope"] as string, - accessTierChangedOn: - blobPropertiesInXML["AccessTierChangeTime"] === undefined - ? undefined - : new Date(blobPropertiesInXML["AccessTierChangeTime"] as string), - tagCount: - blobPropertiesInXML["TagCount"] === undefined - ? undefined - : parseFloat(blobPropertiesInXML["TagCount"] as string), - expiresOn: - blobPropertiesInXML["Expiry-Time"] === undefined - ? undefined - : new Date(blobPropertiesInXML["Expiry-Time"] as string), - isSealed: ParseBoolean(blobPropertiesInXML["Sealed"]), - rehydratePriority: blobPropertiesInXML["RehydratePriority"] as RehydratePriority, - lastAccessedOn: - blobPropertiesInXML["LastAccessTime"] === undefined - ? undefined - : new Date(blobPropertiesInXML["LastAccessTime"] as string), - immutabilityPolicyExpiresOn: - blobPropertiesInXML["ImmutabilityPolicyUntilDate"] === undefined - ? undefined - : new Date(blobPropertiesInXML["ImmutabilityPolicyUntilDate"] as string), - immutabilityPolicyMode: blobPropertiesInXML[ +function ParseBlobProperties(blobPropertiesInXML: any): BlobPropertiesInternal { + const blobProperties = blobPropertiesInXML; + if (blobPropertiesInXML["Creation-Time"]) { + blobProperties.createdOn = new Date(blobPropertiesInXML["Creation-Time"] as string); + delete blobProperties["Creation-Time"]; + } + + if (blobPropertiesInXML["Last-Modified"]) { + blobProperties.lastModified = new Date(blobPropertiesInXML["Last-Modified"] as string); + delete blobProperties["Last-Modified"]; + } + + if (blobPropertiesInXML["Etag"]) { + blobProperties.etag = blobPropertiesInXML["Etag"] as string; + delete blobProperties["Etag"]; + } + + if (blobPropertiesInXML["Content-Length"]) { + blobProperties.contentLength = parseFloat(blobPropertiesInXML["Content-Length"] as string); + delete blobProperties["Content-Length"]; + } + + if (blobPropertiesInXML["Content-Type"]) { + blobProperties.contentType = blobPropertiesInXML["Content-Type"] as string; + delete blobProperties["Content-Type"]; + } + + if (blobPropertiesInXML["Content-Encoding"]) { + blobProperties.contentEncoding = blobPropertiesInXML["Content-Encoding"] as string; + delete blobProperties["Content-Encoding"]; + } + + if (blobPropertiesInXML["Content-Language"]) { + blobProperties.contentLanguage = blobPropertiesInXML["Content-Language"] as string; + delete blobProperties["Content-Language"]; + } + + if (blobPropertiesInXML["Content-MD5"]) { + blobProperties.contentMD5 = decodeBase64String(blobPropertiesInXML["Content-MD5"] as string); + delete blobProperties["Content-MD5"]; + } + + if (blobPropertiesInXML["Content-Disposition"]) { + blobProperties.contentDisposition = blobPropertiesInXML["Content-Disposition"] as string; + delete blobProperties["Content-Disposition"]; + } + + if (blobPropertiesInXML["Cache-Control"]) { + blobProperties.cacheControl = blobPropertiesInXML["Cache-Control"] as string; + delete blobProperties["Cache-Control"]; + } + + if (blobPropertiesInXML["x-ms-blob-sequence-number"]) { + blobProperties.blobSequenceNumber = parseFloat( + blobPropertiesInXML["x-ms-blob-sequence-number"] as string + ); + delete blobProperties["x-ms-blob-sequence-number"]; + } + + if (blobPropertiesInXML["BlobType"]) { + blobProperties.blobType = blobPropertiesInXML["BlobType"] as BlobType; + delete blobProperties["BlobType"]; + } + + if (blobPropertiesInXML["LeaseStatus"]) { + blobProperties.leaseStatus = blobPropertiesInXML["LeaseStatus"] as LeaseStatusType; + delete blobProperties["LeaseStatus"]; + } + + if (blobPropertiesInXML["LeaseState"]) { + blobProperties.leaseState = blobPropertiesInXML["LeaseState"] as LeaseStateType; + delete blobProperties["LeaseState"]; + } + + if (blobPropertiesInXML["LeaseDuration"]) { + blobProperties.leaseDuration = blobPropertiesInXML["LeaseDuration"] as LeaseDurationType; + delete blobProperties["LeaseDuration"]; + } + + if (blobPropertiesInXML["CopyId"]) { + blobProperties.copyId = blobPropertiesInXML["CopyId"] as string; + delete blobProperties["CopyId"]; + } + + if (blobPropertiesInXML["CopyStatus"]) { + blobProperties.copyStatus = blobPropertiesInXML["CopyStatus"] as CopyStatusType; + delete blobProperties["CopyStatus"]; + } + + if (blobPropertiesInXML["CopySource"]) { + blobProperties.copySource = blobPropertiesInXML["CopySource"] as string; + delete blobProperties["CopySource"]; + } + + if (blobPropertiesInXML["CopyProgress"]) { + blobProperties.copyProgress = blobPropertiesInXML["CopyProgress"] as string; + delete blobProperties["CopyProgress"]; + } + + if (blobPropertiesInXML["CopyCompletionTime"]) { + blobProperties.copyCompletedOn = new Date(blobPropertiesInXML["CopyCompletionTime"] as string); + delete blobProperties["CopyCompletionTime"]; + } + + if (blobPropertiesInXML["CopyStatusDescription"]) { + blobProperties.copyStatusDescription = blobPropertiesInXML["CopyStatusDescription"] as string; + delete blobProperties["CopyStatusDescription"]; + } + + if (blobPropertiesInXML["ServerEncrypted"]) { + blobProperties.serverEncrypted = ParseBoolean(blobPropertiesInXML["ServerEncrypted"]); + delete blobProperties["ServerEncrypted"]; + } + + if (blobPropertiesInXML["IncrementalCopy"]) { + blobProperties.incrementalCopy = ParseBoolean(blobPropertiesInXML["IncrementalCopy"]); + delete blobProperties["IncrementalCopy"]; + } + + if (blobPropertiesInXML["DestinationSnapshot"]) { + blobProperties.destinationSnapshot = blobPropertiesInXML["DestinationSnapshot"] as string; + delete blobProperties["DestinationSnapshot"]; + } + + if (blobPropertiesInXML["DeletedTime"]) { + blobProperties.deletedOn = new Date(blobPropertiesInXML["DeletedTime"] as string); + delete blobProperties["DeletedTime"]; + } + + if (blobPropertiesInXML["RemainingRetentionDays"]) { + blobProperties.remainingRetentionDays = parseFloat( + blobPropertiesInXML["RemainingRetentionDays"] as string + ); + delete blobProperties["RemainingRetentionDays"]; + } + + if (blobPropertiesInXML["AccessTier"]) { + blobProperties.accessTier = blobPropertiesInXML["AccessTier"] as AccessTier; + delete blobProperties["AccessTier"]; + } + + if (blobPropertiesInXML["AccessTierInferred"]) { + blobProperties.accessTierInferred = ParseBoolean(blobPropertiesInXML["AccessTierInferred"]); + delete blobProperties["AccessTierInferred"]; + } + + if (blobPropertiesInXML["ArchiveStatus"]) { + blobProperties.archiveStatus = blobPropertiesInXML["ArchiveStatus"] as ArchiveStatus; + delete blobProperties["ArchiveStatus"]; + } + + if (blobPropertiesInXML["CustomerProvidedKeySha256"]) { + blobProperties.customerProvidedKeySha256 = blobPropertiesInXML[ + "CustomerProvidedKeySha256" + ] as string; + delete blobProperties["CustomerProvidedKeySha256"]; + } + + if (blobPropertiesInXML["EncryptionScope"]) { + blobProperties.encryptionScope = blobPropertiesInXML["EncryptionScope"] as string; + delete blobProperties["EncryptionScope"]; + } + + if (blobPropertiesInXML["AccessTierChangeTime"]) { + blobProperties.accessTierChangedOn = new Date( + blobPropertiesInXML["AccessTierChangeTime"] as string + ); + delete blobProperties["AccessTierChangeTime"]; + } + + if (blobPropertiesInXML["TagCount"]) { + blobProperties.tagCount = parseFloat(blobPropertiesInXML["TagCount"] as string); + delete blobProperties["TagCount"]; + } + + if (blobPropertiesInXML["Expiry-Time"]) { + blobProperties.expiresOn = new Date(blobPropertiesInXML["Expiry-Time"] as string); + delete blobProperties["Expiry-Time"]; + } + + if (blobPropertiesInXML["Sealed"]) { + blobProperties.isSealed = ParseBoolean(blobPropertiesInXML["Sealed"]); + delete blobProperties["Sealed"]; + } + + if (blobPropertiesInXML["RehydratePriority"]) { + blobProperties.rehydratePriority = blobPropertiesInXML[ + "RehydratePriority" + ] as RehydratePriority; + delete blobProperties["RehydratePriority"]; + } + + if (blobPropertiesInXML["LastAccessTime"]) { + blobProperties.lastAccessedOn = new Date(blobPropertiesInXML["LastAccessTime"] as string); + delete blobProperties["LastAccessTime"]; + } + + if (blobPropertiesInXML["ImmutabilityPolicyUntilDate"]) { + blobProperties.immutabilityPolicyExpiresOn = new Date( + blobPropertiesInXML["ImmutabilityPolicyUntilDate"] as string + ); + delete blobProperties["ImmutabilityPolicyUntilDate"]; + } + + if (blobPropertiesInXML["ImmutabilityPolicyMode"]) { + blobProperties.immutabilityPolicyMode = blobPropertiesInXML[ "ImmutabilityPolicyMode" - ] as BlobImmutabilityPolicyMode, - legalHold: ParseBoolean(blobPropertiesInXML["LegalHold"]), - }; + ] as BlobImmutabilityPolicyMode; + delete blobProperties["ImmutabilityPolicyMode"]; + } - return { - name: ParseBlobName(blobInXML["Name"]), - deleted: ParseBoolean(blobInXML["Deleted"])!, - snapshot: blobInXML["Snapshot"] as string, - versionId: blobInXML["VersionId"] as string, - isCurrentVersion: ParseBoolean(blobInXML["IsCurrentVersion"]), - properties: blobProperties, - metadata: blobInXML["Metadata"], - blobTags: ParseBlobTags(blobInXML["Tags"]), - objectReplicationMetadata: blobInXML["OrMetadata"], - hasVersionsOnly: ParseBoolean(blobInXML["HasVersionsOnly"]), - }; + if (blobPropertiesInXML["LegalHold"]) { + blobProperties.legalHold = ParseBoolean(blobPropertiesInXML["LegalHold"]); + delete blobProperties["LegalHold"]; + } + + return blobProperties; +} + +function ParseBlobItem(blobInXML: any): BlobItemInternal { + const blobItem = blobInXML; + blobItem.properties = ParseBlobProperties(blobInXML["Properties"]); + delete blobItem["Properties"]; + + blobItem.name = ParseBlobName(blobInXML["Name"]); + delete blobItem["Name"]; + blobItem.deleted = ParseBoolean(blobInXML["Deleted"])!; + delete blobItem["Deleted"]; + + if (blobInXML["Snapshot"]) { + blobItem.snapshot = blobInXML["Snapshot"] as string; + delete blobItem["Snapshot"]; + } + + if (blobInXML["VersionId"]) { + blobItem.versionId = blobInXML["VersionId"] as string; + delete blobItem["VersionId"]; + } + + if (blobInXML["IsCurrentVersion"]) { + blobItem.isCurrentVersion = ParseBoolean(blobInXML["IsCurrentVersion"]); + delete blobItem["IsCurrentVersion"]; + } + + if (blobInXML["Metadata"]) { + blobItem.metadata = blobInXML["Metadata"]; + delete blobItem["Metadata"]; + } + + if (blobInXML["Tags"]) { + blobItem.blobTags = ParseBlobTags(blobInXML["Tags"]); + delete blobItem["Tags"]; + } + + if (blobInXML["OrMetadata"]) { + blobItem.objectReplicationMetadata = blobInXML["OrMetadata"]; + delete blobItem["OrMetadata"]; + } + + if (blobInXML["HasVersionsOnly"]) { + blobItem.hasVersionsOnly = ParseBoolean(blobInXML["HasVersionsOnly"]); + delete blobItem["HasVersionsOnly"]; + } + return blobItem; } function ParseBlobPrefix(blobPrefixInXML: any): BlobPrefix { diff --git a/sdk/storage/storage-blob/swagger/README.md b/sdk/storage/storage-blob/swagger/README.md index 13a22dc4e08f..ab02ee1f4d9e 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.10.0-beta.1 +package-version: 12.10.1 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-blob/test/containerclient.spec.ts b/sdk/storage/storage-blob/test/containerclient.spec.ts index 907b58e804c7..ed0b6986225d 100644 --- a/sdk/storage/storage-blob/test/containerclient.spec.ts +++ b/sdk/storage/storage-blob/test/containerclient.spec.ts @@ -4,6 +4,7 @@ import { assert } from "chai"; import { TestTracer, SpanGraph, setTracer } from "@azure/test-utils"; import { + base64encode, bodyToString, getBSU, getSASConnectionStringFromEnvironment, @@ -139,6 +140,35 @@ describe("ContainerClient", () => { } }); + it("listBlobsFlat to list uncommitted blobs", async () => { + const blobClients = []; + for (let i = 0; i < 3; i++) { + const blobClient = containerClient.getBlobClient(recorder.getUniqueName(`blockblob/${i}`)); + const blockBlobClient = blobClient.getBlockBlobClient(); + await blockBlobClient.stageBlock(base64encode("1"), "Hello", 5); + blobClients.push(blobClient); + } + + const result = ( + await containerClient + .listBlobsFlat({ + includeUncommitedBlobs: true, + }) + .byPage() + .next() + ).value; + assert.ok(result.serviceEndpoint.length > 0); + assert.ok(containerClient.url.indexOf(result.containerName)); + assert.deepStrictEqual(result.continuationToken, ""); + assert.deepStrictEqual(result.segment.blobItems!.length, blobClients.length); + assert.ok(blobClients[0].url.indexOf(result.segment.blobItems![0].name)); + assert.ok(result.segment.blobItems![0].properties.contentMD5 === undefined); + + for (const blob of blobClients) { + await blob.delete(); + } + }); + it("listBlobsFlat with special chars", async () => { const blobName = "dir1/dir2/file\uFFFF.blob"; const blockBlobClient = containerClient.getBlockBlobClient(blobName); @@ -499,6 +529,37 @@ describe("ContainerClient", () => { } }); + it("listBlobsByHierarchy to list uncommitted blobs", async () => { + const blobClients = []; + for (let i = 0; i < 3; i++) { + const blobClient = containerClient.getBlobClient(recorder.getUniqueName(`blockblob${i}`)); + const blockBlobClient = blobClient.getBlockBlobClient(); + await blockBlobClient.stageBlock(base64encode("1"), "Hello", 5); + blobClients.push(blobClient); + } + + const delimiter = "/"; + const result = ( + await containerClient + .listBlobsByHierarchy(delimiter, { + includeUncommitedBlobs: true, + }) + .byPage() + .next() + ).value; + + assert.ok(result.serviceEndpoint.length > 0); + assert.ok(containerClient.url.indexOf(result.containerName)); + assert.deepStrictEqual(result.continuationToken, ""); + assert.deepStrictEqual(result.delimiter, delimiter); + assert.deepStrictEqual(result.segment.blobItems!.length, blobClients.length); + assert.ok(result.segment.blobItems![0].properties.contentMD5 === undefined); + + for (const blob of blobClients) { + await blob.delete(); + } + }); + it("listBlobsByHierarchy with special chars", async () => { const dirNames = ["first_dir\uFFFF/", "second_dir\uFFFF/", "normal_dir/"]; diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md index ceafc3bdc8bf..8596a6cc1ab8 100644 --- a/sdk/storage/storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/storage-file-datalake/CHANGELOG.md @@ -1,5 +1,25 @@ # Release History +## 12.9.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 12.9.0 (2022-05-12) + +### Features Added + +- Includes all features released in 12.9.0-beta.1. + +### Bugs Fixed + +- Refined user-agent value to avoid failure when os information is not available on some platforms. + ## 12.9.0-beta.1 (2022-04-19) ### Features Added diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 592276694040..0365a718bae8 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.9.0-beta.1", + "version": "12.9.1", "description": "Microsoft Azure Storage SDK for JavaScript - DataLake", "sdk-type": "client", "main": "./dist/index.js", @@ -122,7 +122,7 @@ "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.13", "@azure/logger": "^1.0.0", - "@azure/storage-blob": "^12.10.0-beta.1", + "@azure/storage-blob": "^12.10.0", "events": "^3.0.0", "tslib": "^2.2.0" }, @@ -163,7 +163,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-file-datalake/samples/v12/javascript/dataLakeServiceClient.js b/sdk/storage/storage-file-datalake/samples/v12/javascript/dataLakeServiceClient.js index 06af752a3baa..daa5b0ef8db6 100644 --- a/sdk/storage/storage-file-datalake/samples/v12/javascript/dataLakeServiceClient.js +++ b/sdk/storage/storage-file-datalake/samples/v12/javascript/dataLakeServiceClient.js @@ -55,7 +55,7 @@ async function main() { } // Create a file system - const fileSystemName = `newFileSystem${new Date().getTime()}`; + const fileSystemName = `newfilesystem${new Date().getTime()}`; const fileSystemClient = serviceClient.getFileSystemClient(fileSystemName); const fileSystemResponse = await fileSystemClient.create(); diff --git a/sdk/storage/storage-file-datalake/samples/v12/typescript/src/dataLakeServiceClient.ts b/sdk/storage/storage-file-datalake/samples/v12/typescript/src/dataLakeServiceClient.ts index 23d1be5462b8..361a69876436 100644 --- a/sdk/storage/storage-file-datalake/samples/v12/typescript/src/dataLakeServiceClient.ts +++ b/sdk/storage/storage-file-datalake/samples/v12/typescript/src/dataLakeServiceClient.ts @@ -53,7 +53,7 @@ export async function main() { } // Create a file system - const fileSystemName = `newFileSystem${new Date().getTime()}`; + const fileSystemName = `newfilesystem${new Date().getTime()}`; const fileSystemClient = serviceClient.getFileSystemClient(fileSystemName); const fileSystemResponse = await fileSystemClient.create(); diff --git a/sdk/storage/storage-file-datalake/src/TelemetryPolicyFactory.ts b/sdk/storage/storage-file-datalake/src/TelemetryPolicyFactory.ts index f32bcf18e691..eb6829e5c01c 100644 --- a/sdk/storage/storage-file-datalake/src/TelemetryPolicyFactory.ts +++ b/sdk/storage/storage-file-datalake/src/TelemetryPolicyFactory.ts @@ -44,7 +44,10 @@ export class TelemetryPolicyFactory implements RequestPolicyFactory { } // e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299) - const runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + let runtimeInfo = `(NODE-VERSION ${process.version})`; + if (os) { + runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + } if (userAgentInfo.indexOf(runtimeInfo) === -1) { userAgentInfo.push(runtimeInfo); } 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 c6fec672c673..a201ec40991b 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.9.0-beta.1"; +const packageVersion = "12.9.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 851f770788e6..c9e4c47a1494 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.9.0-beta.1"; +export const SDK_VERSION: string = "12.9.1"; export const SERVICE_VERSION: string = "2021-06-08"; 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 12b79b906b42..561fa54d3667 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.9.0-beta.1 +package-version: 12.9.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 3bca21b45823..878f9c053d9f 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -1,5 +1,25 @@ # Release History +## 12.10.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 12.10.0 (2022-05-12) + +### Features Added + +- Includes all features released in 12.10.0-beta.1. + +### Bugs Fixed + +- Refined user-agent value to avoid failure when os information is not available on some platforms. + ## 12.10.0-beta.1 (2022-04-19) ### Features Added diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index 0c02e28af155..8445bd57d5f1 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.10.0-beta.1", + "version": "12.10.1", "description": "Microsoft Azure Storage SDK for JavaScript - File", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -132,7 +132,7 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@azure/storage-blob": "^12.9.0", + "@azure/storage-blob": "^12.10.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/test-utils": "^1.0.0", @@ -167,7 +167,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-file-share/src/TelemetryPolicyFactory.ts b/sdk/storage/storage-file-share/src/TelemetryPolicyFactory.ts index bdeb05fc26c5..b22aaca5986d 100644 --- a/sdk/storage/storage-file-share/src/TelemetryPolicyFactory.ts +++ b/sdk/storage/storage-file-share/src/TelemetryPolicyFactory.ts @@ -44,7 +44,10 @@ export class TelemetryPolicyFactory implements RequestPolicyFactory { } // e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299) - const runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + let runtimeInfo = `(NODE-VERSION ${process.version})`; + if (os) { + runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + } if (userAgentInfo.indexOf(runtimeInfo) === -1) { userAgentInfo.push(runtimeInfo); } 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 09f47649cfa0..015e6c9ad91f 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.10.0-beta.1"; +const packageVersion = "12.10.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 05a5aecec874..9abb442abe5e 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.10.0-beta.1"; +export const SDK_VERSION: string = "12.10.1"; export const SERVICE_VERSION: string = "2021-06-08"; 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 c7ae3d177280..5953dbc9ae0a 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.10.0-beta.1 +package-version: 12.10.1 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-internal-avro/package.json b/sdk/storage/storage-internal-avro/package.json index 0b26965c18e6..3d44df525fb9 100644 --- a/sdk/storage/storage-internal-avro/package.json +++ b/sdk/storage/storage-internal-avro/package.json @@ -99,7 +99,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index 5e7e3c215324..228f4ab0194a 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 12.8.1 (Unreleased) +## 12.9.1 (Unreleased) ### Features Added @@ -8,10 +8,20 @@ ### Bugs Fixed -- Add `react-native` mapping to ESM entry point - ### Other Changes +## 12.9.0 (2022-05-12) + +### Features Added + +- Added support for service version 2021-06-08. + +### Bugs Fixed + +- Add `react-native` mapping to ESM entry point +- Fixed a bug where customized `ProxyOptions` is overwrited by a default one when initializing `QueueServiceClient` or `QueueClient` with connection string. +- Refined user-agent value to avoid failure when os information is not available on some platforms. + ## 12.8.0 (2022-03-11) ### Features Added diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 5d707c48c977..3e2365a0833c 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.8.1", + "version": "12.9.1", "description": "Microsoft Azure Storage SDK for JavaScript - Queue", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -159,7 +159,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-queue/samples-dev/queueClient.ts b/sdk/storage/storage-queue/samples-dev/queueClient.ts index 12be28eb6aae..3950af971b7c 100644 --- a/sdk/storage/storage-queue/samples-dev/queueClient.ts +++ b/sdk/storage/storage-queue/samples-dev/queueClient.ts @@ -62,11 +62,14 @@ export async function main() { `Created queue ${queueClient.name} successfully, service assigned request ID: ${createQueueResponse.requestId}` ); - // Send a message into the queue using the sendMessage method. - const enqueueQueueResponse = await queueClient.sendMessage("Hello World!"); - console.log( - `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` - ); + // Send three messages into the queue using the sendMessage method. + const messages = ["First message", "Second Message", "Third Message"]; + for (let i = 0; i < messages.length; i++) { + const enqueueQueueResponse = await queueClient.sendMessage(messages[i]); + console.log( + `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` + ); + } // Peek a message using peekMessages method. const peekQueueResponse = await queueClient.peekMessages(); @@ -89,6 +92,22 @@ export async function main() { ); } + // You can also receive a batch of messages (up to 32) in one call by specifying options.numberOfMessages. + const batchDequeueResponse = await queueClient.receiveMessages({ numberOfMessages: 2 }); + if (batchDequeueResponse.receivedMessageItems.length == 2) { + for (let i = 0; i < batchDequeueResponse.receivedMessageItems.length; i++) { + const dequeueMessageItem = batchDequeueResponse.receivedMessageItems[i]; + console.log(`Processing & deleting message with content: ${dequeueMessageItem.messageText}`); + const deleteMessageResponse = await queueClient.deleteMessage( + dequeueMessageItem.messageId, + dequeueMessageItem.popReceipt + ); + console.log( + `Deleted message successfully, service assigned request ID: ${deleteMessageResponse.requestId}` + ); + } + } + // Delete the queue. const deleteQueueResponse = await queueClient.delete(); console.log( diff --git a/sdk/storage/storage-queue/samples/v12/javascript/package.json b/sdk/storage/storage-queue/samples/v12/javascript/package.json index dcdff6358644..b6b7d5bc561c 100644 --- a/sdk/storage/storage-queue/samples/v12/javascript/package.json +++ b/sdk/storage/storage-queue/samples/v12/javascript/package.json @@ -28,8 +28,8 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue", "dependencies": { - "@azure/storage-queue": "latest", - "dotenv": "latest", - "@azure/identity": "^2.0.1" + "@azure/identity": "^2.0.1", + "@azure/storage-queue": "^12.8.0", + "dotenv": "latest" } } diff --git a/sdk/storage/storage-queue/samples/v12/javascript/queueClient.js b/sdk/storage/storage-queue/samples/v12/javascript/queueClient.js index 96696c54e6cb..34d0c95df162 100644 --- a/sdk/storage/storage-queue/samples/v12/javascript/queueClient.js +++ b/sdk/storage/storage-queue/samples/v12/javascript/queueClient.js @@ -60,11 +60,14 @@ async function main() { `Created queue ${queueClient.name} successfully, service assigned request ID: ${createQueueResponse.requestId}` ); - // Send a message into the queue using the sendMessage method. - const enqueueQueueResponse = await queueClient.sendMessage("Hello World!"); - console.log( - `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` - ); + // Send three messages into the queue using the sendMessage method. + const messages = ["First message", "Second Message", "Third Message"]; + for (let i = 0; i < messages.length; i++) { + const enqueueQueueResponse = await queueClient.sendMessage(messages[i]); + console.log( + `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` + ); + } // Peek a message using peekMessages method. const peekQueueResponse = await queueClient.peekMessages(); @@ -87,6 +90,22 @@ async function main() { ); } + // You can also receive a batch of messages (up to 32) in one call by specifying options.numberOfMessages. + const batchDequeueResponse = await queueClient.receiveMessages({ numberOfMessages: 2 }); + if (batchDequeueResponse.receivedMessageItems.length == 2) { + for (let i = 0; i < batchDequeueResponse.receivedMessageItems.length; i++) { + const dequeueMessageItem = batchDequeueResponse.receivedMessageItems[i]; + console.log(`Processing & deleting message with content: ${dequeueMessageItem.messageText}`); + const deleteMessageResponse = await queueClient.deleteMessage( + dequeueMessageItem.messageId, + dequeueMessageItem.popReceipt + ); + console.log( + `Deleted message successfully, service assigned request ID: ${deleteMessageResponse.requestId}` + ); + } + } + // Delete the queue. const deleteQueueResponse = await queueClient.delete(); console.log( diff --git a/sdk/storage/storage-queue/samples/v12/typescript/package.json b/sdk/storage/storage-queue/samples/v12/typescript/package.json index 23c176adc042..90c4e6597e71 100644 --- a/sdk/storage/storage-queue/samples/v12/typescript/package.json +++ b/sdk/storage/storage-queue/samples/v12/typescript/package.json @@ -32,9 +32,9 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue", "dependencies": { - "@azure/storage-queue": "latest", - "dotenv": "latest", - "@azure/identity": "^2.0.1" + "@azure/identity": "^2.0.1", + "@azure/storage-queue": "^12.8.0", + "dotenv": "latest" }, "devDependencies": { "@types/node": "^12.0.0", diff --git a/sdk/storage/storage-queue/samples/v12/typescript/src/customPipeline.ts b/sdk/storage/storage-queue/samples/v12/typescript/src/customPipeline.ts index f086e6fb694e..5ed47ea99cb1 100644 --- a/sdk/storage/storage-queue/samples/v12/typescript/src/customPipeline.ts +++ b/sdk/storage/storage-queue/samples/v12/typescript/src/customPipeline.ts @@ -24,15 +24,15 @@ export async function main() { const pipeline = newPipeline(sharedKeyCredential, { // httpClient: MyHTTPClient, // A customized HTTP client implementing IHttpClient interface retryOptions: { - maxTries: 4 + maxTries: 4, }, // Retry options userAgentOptions: { - userAgentPrefix: "BasicSample V10.0.0" + userAgentPrefix: "BasicSample V10.0.0", }, // Customized telemetry string keepAliveOptions: { // Keep alive is enabled by default, disable keep alive by setting false - enable: false - } + enable: false, + }, }); const queueServiceClient = new QueueServiceClient( diff --git a/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts b/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts index 66f704acf8ea..3fd753f91666 100644 --- a/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts +++ b/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts @@ -61,11 +61,14 @@ export async function main() { `Created queue ${queueClient.name} successfully, service assigned request ID: ${createQueueResponse.requestId}` ); - // Send a message into the queue using the sendMessage method. - const enqueueQueueResponse = await queueClient.sendMessage("Hello World!"); - console.log( - `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` - ); + // Send three messages into the queue using the sendMessage method. + const messages = ["First message", "Second Message", "Third Message"]; + for (let i = 0; i < messages.length; i++) { + const enqueueQueueResponse = await queueClient.sendMessage(messages[i]); + console.log( + `Sent message successfully, service assigned message ID: ${enqueueQueueResponse.messageId}, service assigned request ID: ${enqueueQueueResponse.requestId}` + ); + } // Peek a message using peekMessages method. const peekQueueResponse = await queueClient.peekMessages(); @@ -88,6 +91,22 @@ export async function main() { ); } + // You can also receive a batch of messages (up to 32) in one call by specifying options.numberOfMessages. + const batchDequeueResponse = await queueClient.receiveMessages({ numberOfMessages: 2 }); + if (batchDequeueResponse.receivedMessageItems.length == 2) { + for (let i = 0; i < batchDequeueResponse.receivedMessageItems.length; i++) { + const dequeueMessageItem = batchDequeueResponse.receivedMessageItems[i]; + console.log(`Processing & deleting message with content: ${dequeueMessageItem.messageText}`); + const deleteMessageResponse = await queueClient.deleteMessage( + dequeueMessageItem.messageId, + dequeueMessageItem.popReceipt + ); + console.log( + `Deleted message successfully, service assigned request ID: ${deleteMessageResponse.requestId}` + ); + } + } + // Delete the queue. const deleteQueueResponse = await queueClient.delete(); console.log( diff --git a/sdk/storage/storage-queue/src/TelemetryPolicyFactory.ts b/sdk/storage/storage-queue/src/TelemetryPolicyFactory.ts index 01f318c5f097..a0ca5ca54b2a 100644 --- a/sdk/storage/storage-queue/src/TelemetryPolicyFactory.ts +++ b/sdk/storage/storage-queue/src/TelemetryPolicyFactory.ts @@ -44,7 +44,10 @@ export class TelemetryPolicyFactory implements RequestPolicyFactory { } // e.g. (NODE-VERSION 4.9.1; Windows_NT 10.0.16299) - const runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + let runtimeInfo = `(NODE-VERSION ${process.version})`; + if (os) { + runtimeInfo = `(NODE-VERSION ${process.version}; ${os.type()} ${os.release()})`; + } if (userAgentInfo.indexOf(runtimeInfo) === -1) { userAgentInfo.push(runtimeInfo); } diff --git a/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts b/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts index 5cef5fa56190..6eba9c8fb883 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.8.1"; +const packageVersion = "12.9.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 07617bb5b1e9..317f4c8e12d0 100644 --- a/sdk/storage/storage-queue/src/utils/constants.ts +++ b/sdk/storage/storage-queue/src/utils/constants.ts @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.8.1"; -export const SERVICE_VERSION: string = "2021-04-10"; +export const SDK_VERSION: string = "12.9.1"; +export const SERVICE_VERSION: string = "2021-06-08"; /** * The OAuth scope to use with Azure Storage. diff --git a/sdk/storage/storage-queue/swagger/README.md b/sdk/storage/storage-queue/swagger/README.md index 41b26feab119..beeebea1e6b9 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.8.1 +package-version: 12.9.1 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storageimportexport/arm-storageimportexport/CHANGELOG.md b/sdk/storageimportexport/arm-storageimportexport/CHANGELOG.md index 862d691e75d2..61c34f4cea58 100644 --- a/sdk/storageimportexport/arm-storageimportexport/CHANGELOG.md +++ b/sdk/storageimportexport/arm-storageimportexport/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History - + +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.0.1 (2022-05-01) **Features** diff --git a/sdk/storageimportexport/arm-storageimportexport/package.json b/sdk/storageimportexport/arm-storageimportexport/package.json index 532d310f6596..4736896974dc 100644 --- a/sdk/storageimportexport/arm-storageimportexport/package.json +++ b/sdk/storageimportexport/arm-storageimportexport/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for StorageImportExport.", - "version": "2.0.1", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExport.ts b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExport.ts index b7198fe4c97f..0e63e51d39a4 100644 --- a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExport.ts +++ b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExport.ts @@ -56,7 +56,7 @@ export class StorageImportExport extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-storageimportexport/2.0.1`; + const packageDetails = `azsdk-js-arm-storageimportexport/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storagesync/arm-storagesync/CHANGELOG.md b/sdk/storagesync/arm-storagesync/CHANGELOG.md index 647cb130ded1..892e0e5e3b9f 100644 --- a/sdk/storagesync/arm-storagesync/CHANGELOG.md +++ b/sdk/storagesync/arm-storagesync/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 9.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 9.0.1 (2022-05-01) **Features** diff --git a/sdk/storagesync/arm-storagesync/package.json b/sdk/storagesync/arm-storagesync/package.json index 68cb4ee3faca..dbc643b32f34 100644 --- a/sdk/storagesync/arm-storagesync/package.json +++ b/sdk/storagesync/arm-storagesync/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MicrosoftStorageSync.", - "version": "9.0.1", + "version": "9.0.2", "engines": { "node": ">=12.0.0" }, diff --git a/sdk/storagesync/arm-storagesync/src/microsoftStorageSync.ts b/sdk/storagesync/arm-storagesync/src/microsoftStorageSync.ts index b5fe5271dfe9..84c07907587e 100644 --- a/sdk/storagesync/arm-storagesync/src/microsoftStorageSync.ts +++ b/sdk/storagesync/arm-storagesync/src/microsoftStorageSync.ts @@ -73,7 +73,7 @@ export class MicrosoftStorageSync extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-storagesync/9.0.1`; + const packageDetails = `azsdk-js-arm-storagesync/9.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storsimple1200series/arm-storsimple1200series/CHANGELOG.md b/sdk/storsimple1200series/arm-storsimple1200series/CHANGELOG.md index f980a809f843..734e38de5981 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/CHANGELOG.md +++ b/sdk/storsimple1200series/arm-storsimple1200series/CHANGELOG.md @@ -1,4 +1,20 @@ # Release History + +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 2.0.1 (2022-05-05) + +**Features** + + - Bug fix ## 2.0.0 (2022-01-21) diff --git a/sdk/storsimple1200series/arm-storsimple1200series/LICENSE.txt b/sdk/storsimple1200series/arm-storsimple1200series/LICENSE.txt deleted file mode 100644 index a70e8cf66038..000000000000 --- a/sdk/storsimple1200series/arm-storsimple1200series/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 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/storsimple1200series/arm-storsimple1200series/README.md b/sdk/storsimple1200series/arm-storsimple1200series/README.md index 0cf93073547b..38c0ac5341ef 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/README.md +++ b/sdk/storsimple1200series/arm-storsimple1200series/README.md @@ -16,6 +16,8 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorSimpleManagementClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new StorSimpleManagementClient(credential, subscriptionId); ``` diff --git a/sdk/storsimple1200series/arm-storsimple1200series/_meta.json b/sdk/storsimple1200series/arm-storsimple1200series/_meta.json index fc0d60d64f21..59f43db2987f 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/_meta.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/storSimple1200Series/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/storSimple1200Series/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\storsimple1200series\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storsimple1200series\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/storsimple1200series/arm-storsimple1200series/api-extractor.json b/sdk/storsimple1200series/arm-storsimple1200series/api-extractor.json index 9df25f12946a..d8bbc9d92b8d 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/api-extractor.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-storsimple1200series.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/storsimple1200series/arm-storsimple1200series/package.json b/sdk/storsimple1200series/arm-storsimple1200series/package.json index 26beab12d4bb..2fb1f32078c4 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/package.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for StorSimpleManagementClient.", - "version": "2.0.0", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-storsimple1200series.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -101,7 +101,7 @@ "//metadata": { "constantPaths": [ { - "path": "src/StorSimpleManagementClient.ts", + "path": "src/storSimpleManagementClient.ts", "prefix": "packageDetails" } ] diff --git a/sdk/storsimple1200series/arm-storsimple1200series/rollup.config.js b/sdk/storsimple1200series/arm-storsimple1200series/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/rollup.config.js +++ b/sdk/storsimple1200series/arm-storsimple1200series/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..1fd2af5f2a31 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessControlRecord, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const accessControlRecord: AccessControlRecord = { + name: "AcrForSDKTest", + initiatorName: "iqn.2017-06.com.contoso:ForTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + accessControlRecord + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsDeleteSample.ts new file mode 100644 index 000000000000..f9fc240d7286 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsGetSample.ts new file mode 100644 index 000000000000..54d799a54c61 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsListByManagerSample.ts new file mode 100644 index 000000000000..ad5f842d2b37 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/accessControlRecordsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsClearSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsClearSample.ts new file mode 100644 index 000000000000..503031a9c34a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsClearSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ClearAlertRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request: ClearAlertRequest = { + alerts: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hManagerForSDKTest4/devices/is2-hlmdhdgu1et/alerts/a1f3a945-74dc-4387-bf17-a4f226374833" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.clear( + resourceGroupName, + managerName, + request + ); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsListByManagerSample.ts new file mode 100644 index 000000000000..fb7f819d4482 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsListByManagerSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const filter = "status eq 'Active' and severity eq 'Critical'"; + const options: AlertsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.alerts.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsSendTestEmailSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsSendTestEmailSample.ts new file mode 100644 index 000000000000..7d0b2d8b8d4f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/alertsSendTestEmailSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SendTestAlertEmailRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "is2-hlmdhdgu1et"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request: SendTestAlertEmailRequest = { + emailList: ["testemailid@contoso.com"] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + request + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/availableProviderOperationsListSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/availableProviderOperationsListSample.ts new file mode 100644 index 000000000000..daef6f5580b6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/availableProviderOperationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to List of AvailableProviderOperations + * + * @summary List of AvailableProviderOperations + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.availableProviderOperationsOperations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..d1efedb4fb8e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupScheduleGroup, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates the backup schedule Group. + * + * @summary Creates or Updates the backup schedule Group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json + */ +async function backupScheduleGroupsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const scheduleGroup: BackupScheduleGroup = { + name: "BackupSchGroupForSDKTest", + startTime: { hour: 17, minute: 38 } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginCreateOrUpdateAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName, + scheduleGroup + ); + console.log(result); +} + +backupScheduleGroupsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsDeleteSample.ts new file mode 100644 index 000000000000..371ebc08c244 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup schedule group. + * + * @summary Deletes the backup schedule group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json + */ +async function backupScheduleGroupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginDeleteAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsGetSample.ts new file mode 100644 index 000000000000..679fcdc8db1e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified backup schedule group name. + * + * @summary Returns the properties of the specified backup schedule group name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json + */ +async function backupScheduleGroupsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.get( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsListByDeviceSample.ts new file mode 100644 index 000000000000..11981109e69c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupScheduleGroupsListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backup schedule groups in a device. + * + * @summary Retrieves all the backup schedule groups in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json + */ +async function backupScheduleGroupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backupScheduleGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupScheduleGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsCloneSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsCloneSample.ts new file mode 100644 index 000000000000..4ab00a8a56db --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsCloneSample.ts @@ -0,0 +1,59 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloneRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clones the given backup element to a new disk or share with given details. + * + * @summary Clones the given backup element to a new disk or share with given details. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const backupName = "58d33025-e837-41cc-b15f-7c85ced64aab"; + const elementName = "2304968f-91af-4f59-8b79-31e321eee40e"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const cloneRequest: CloneRequest = { + newEndpointName: "ClonedTieredFileShareForSDKTest", + share: { + name: "TieredFileShareForSDKTest", + description: "Restore file Share", + adminUser: "HSDK-4XY4FI2IVGStorSimpleAdmin", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online" + }, + targetAccessPointId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/fileServers/HSDK-4XY4FI2IVG", + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + elementName, + resourceGroupName, + managerName, + cloneRequest + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsDeleteSample.ts new file mode 100644 index 000000000000..6b589bc6f517 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const backupName = "315c3461-96ad-41bf-af0b-3a8be5113203"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByDeviceSample.ts new file mode 100644 index 000000000000..fa583d546111 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByDeviceSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByDeviceOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a device. Can be used to get the backups for failover also. + * + * @summary Retrieves all the backups in a device. Can be used to get the backups for failover also. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "initiatedBy eq 'Manual'"; + const options: BackupsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByManagerSample.ts new file mode 100644 index 000000000000..877f5d641e21 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/backupsListByManagerSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a manager. + * + * @summary Retrieves all the backups in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json + */ +async function backupsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "createdTime ge '2018-08-10T17:30:03Z' and createdTime le '2018-08-14T17:30:03Z' and initiatedBy eq 'Manual'"; + const options: BackupsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..9ac4194aa3f6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsCreateOrUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ChapSettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the chap setting. + * + * @summary Creates or updates the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json + */ +async function chapSettingsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const chapSetting: ChapSettings = { + name: "ChapSettingForSDK", + password: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginCreateOrUpdateAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName, + chapSetting + ); + console.log(result); +} + +chapSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsDeleteSample.ts new file mode 100644 index 000000000000..5dcdf1e3d00a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the chap setting. + * + * @summary Deletes the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json + */ +async function chapSettingsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDKForDelete"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginDeleteAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsGetSample.ts new file mode 100644 index 000000000000..b54ade37fb6c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified chap setting name. + * + * @summary Returns the properties of the specified chap setting name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json + */ +async function chapSettingsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.get( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsListByDeviceSample.ts new file mode 100644 index 000000000000..161c11d84388 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/chapSettingsListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the chap settings in a device. + * + * @summary Retrieves all the chap settings in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json + */ +async function chapSettingsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.chapSettingsOperations.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +chapSettingsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateAlertSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateAlertSettingsSample.ts new file mode 100644 index 000000000000..f08e72f1606b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateAlertSettingsSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertSettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the alert settings + * + * @summary Creates or updates the alert settings + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json + */ +async function devicesCreateOrUpdateAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const alertSettings: AlertSettings = { + name: "default", + additionalRecipientEmailList: ["testuser@abc.com"], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + alertSettings + ); + console.log(result); +} + +devicesCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateSecuritySettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateSecuritySettingsSample.ts new file mode 100644 index 000000000000..f0e5ccf85785 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesCreateOrUpdateSecuritySettingsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SecuritySettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the security settings. + * + * @summary Creates or updates the security settings. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json + */ +async function devicesCreateOrUpdateSecuritySettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const securitySettings: SecuritySettings = { + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + securitySettings + ); + console.log(result); +} + +devicesCreateOrUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeactivateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeactivateSample.ts new file mode 100644 index 000000000000..e42a32047261 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeactivateSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeleteSample.ts new file mode 100644 index 000000000000..d23328e5b406 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDownloadUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDownloadUpdatesSample.ts new file mode 100644 index 000000000000..8ec01a533878 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesDownloadUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Downloads updates on the device. + * + * @summary Downloads updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json + */ +async function devicesDownloadUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDownloadUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDownloadUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesFailoverSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesFailoverSample.ts new file mode 100644 index 000000000000..d18e7763509a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesFailoverSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FailoverRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Fails over the device to another device. + * + * @summary Fails over the device to another device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const failoverRequest: FailoverRequest = { + accesspointIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-0NZI14MDTF/iscsiServers/HSDK-0NZI14MDTF" + ], + keepSourceDevice: true, + skipValidation: true, + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-UGU4PITWNI" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginFailoverAndWait( + deviceName, + resourceGroupName, + managerName, + failoverRequest + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetAlertSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetAlertSettingsSample.ts new file mode 100644 index 000000000000..1b41a6808ce9 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetAlertSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the alert settings of the specified device name. + * + * @summary Returns the alert settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json + */ +async function devicesGetAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getAlertSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetNetworkSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetNetworkSettingsSample.ts new file mode 100644 index 000000000000..078551393cab --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetNetworkSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the network settings of the specified device name. + * + * @summary Returns the network settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json + */ +async function devicesGetNetworkSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetSample.ts new file mode 100644 index 000000000000..4c843de38206 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified device name. + * + * @summary Returns the properties of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.get( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetTimeSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetTimeSettingsSample.ts new file mode 100644 index 000000000000..356dcd8e14ef --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetTimeSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the time settings of the specified device name. + * + * @summary Returns the time settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json + */ +async function devicesGetTimeSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getTimeSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetUpdateSummarySample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetUpdateSummarySample.ts new file mode 100644 index 000000000000..755952ff31ec --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesGetUpdateSummarySample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getUpdateSummary( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesInstallUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesInstallUpdatesSample.ts new file mode 100644 index 000000000000..e1772e0b09c8 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesInstallUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Installs the updates on the device. + * + * @summary Installs the updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListByManagerSample.ts new file mode 100644 index 000000000000..47d4b824f7b7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the devices in a manager. + * + * @summary Retrieves all the devices in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListFailoverTargetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListFailoverTargetSample.ts new file mode 100644 index 000000000000..ca1eae48e858 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListFailoverTargetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the devices which can be used as failover targets for the given device. + * + * @summary Retrieves all the devices which can be used as failover targets for the given device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json + */ +async function devicesListFailoverTarget() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTarget( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTarget().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..f0263d74e5b0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricDefinitionSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at device. + * + * @summary Retrieves metric definition of all metrics aggregated at device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricsSample.ts new file mode 100644 index 000000000000..b910addb273a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesListMetricsSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicesListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the device metrics. + * + * @summary Retrieves the device metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: DevicesListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesPatchSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesPatchSample.ts new file mode 100644 index 000000000000..9c10ee455660 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesPatchSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicePatch, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json + */ +async function devicesPatch() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const devicePatch: DevicePatch = { + deviceDescription: "NewDescription8/14/2018 2:30:34 PM" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginPatchAndWait( + deviceName, + resourceGroupName, + managerName, + devicePatch + ); + console.log(result); +} + +devicesPatch().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesScanForUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesScanForUpdatesSample.ts new file mode 100644 index 000000000000..459a4be485f7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/devicesScanForUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersBackupNowSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersBackupNowSample.ts new file mode 100644 index 000000000000..b5c2424c6b63 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersBackupNowSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the file server now. + * + * @summary Backup the file server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json + */ +async function fileServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginBackupNowAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b6b2dd37c108 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersCreateOrUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileServer, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the file server. + * + * @summary Creates or updates the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json + */ +async function fileServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileServer: FileServer = { + name: "HSDK-4XY4FI2IVG", + description: "Demo FileServer for SDK Test", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/backupScheduleGroups/BackupSchGroupForSDKTest", + domainName: "fareast.corp.microsoft.com", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/sd-fs-HSDK-4XY4FI2IVG" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName, + fileServer + ); + console.log(result); +} + +fileServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersDeleteSample.ts new file mode 100644 index 000000000000..856f36b74993 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the file server. + * + * @summary Deletes the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json + */ +async function fileServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginDeleteAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersGetSample.ts new file mode 100644 index 000000000000..8f6f6956baa9 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified file server name. + * + * @summary Returns the properties of the specified file server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json + */ +async function fileServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.get( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByDeviceSample.ts new file mode 100644 index 000000000000..6eefdefe4593 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file servers in a device. + * + * @summary Retrieves all the file servers in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json + */ +async function fileServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByManagerSample.ts new file mode 100644 index 000000000000..8c7aabd025c7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file servers in a manager. + * + * @summary Retrieves all the file servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json + */ +async function fileServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..590aeeb8e4ac --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricDefinitionSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file server. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json + */ +async function fileServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetricDefinition( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricsSample.ts new file mode 100644 index 000000000000..e03a615c0e8b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileServersListMetricsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileServersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the file server metrics. + * + * @summary Gets the file server metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json + */ +async function fileServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: FileServersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetrics( + deviceName, + fileServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..73012495b6ad --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileShare, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the file share. + * + * @summary Creates or updates the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json + */ +async function fileSharesCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileShare: FileShare = { + name: "Auto-TestFileShare1", + description: "Demo FileShare for SDK Test Tiered", + adminUser: "fareastidcdlslb", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + fileShare + ); + console.log(result); +} + +fileSharesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesDeleteSample.ts new file mode 100644 index 000000000000..e909423a9b2b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesDeleteSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the file share. + * + * @summary Deletes the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json + */ +async function fileSharesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginDeleteAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesGetSample.ts new file mode 100644 index 000000000000..a1da4e96503f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesGetSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified file share name. + * + * @summary Returns the properties of the specified file share name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json + */ +async function fileSharesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.get( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByDeviceSample.ts new file mode 100644 index 000000000000..baa95628d34f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file shares in a device. + * + * @summary Retrieves all the file shares in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json + */ +async function fileSharesListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByFileServerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByFileServerSample.ts new file mode 100644 index 000000000000..69754e6297ff --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListByFileServerSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file shares in a file server. + * + * @summary Retrieves all the file shares in a file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json + */ +async function fileSharesListByFileServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const fileServerName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByFileServer( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByFileServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..1d8e72464979 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricDefinitionSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file share. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json + */ +async function fileSharesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetricDefinition( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricsSample.ts new file mode 100644 index 000000000000..38b8d60c9d0f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/fileSharesListMetricsSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileSharesListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the file share metrics + * + * @summary Gets the file share metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json + */ +async function fileSharesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: FileSharesListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetrics( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksCreateOrUpdateSample.ts new file mode 100644 index 000000000000..57ead0844bc5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiDisk, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the iSCSI disk. + * + * @summary Creates or updates the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json + */ +async function iscsiDisksCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiDisk: IscsiDisk = { + name: "Auto-TestIscsiDisk1", + description: "Demo IscsiDisk for SDK Test Tiered", + accessControlRecords: [], + dataPolicy: "Tiered", + diskStatus: "Online", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000 + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + iscsiDisk + ); + console.log(result); +} + +iscsiDisksCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksDeleteSample.ts new file mode 100644 index 000000000000..da27e6b4642c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksDeleteSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the iSCSI disk. + * + * @summary Deletes the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json + */ +async function iscsiDisksDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const diskName = "ClonedTieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginDeleteAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksGetSample.ts new file mode 100644 index 000000000000..532a171d7552 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksGetSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI disk name. + * + * @summary Returns the properties of the specified iSCSI disk name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json + */ +async function iscsiDisksGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.get( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByDeviceSample.ts new file mode 100644 index 000000000000..b41e8a617f5e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI disks in a device. + * + * @summary Retrieves all the iSCSI disks in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json + */ +async function iscsiDisksListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByIscsiServerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByIscsiServerSample.ts new file mode 100644 index 000000000000..e8025401b84d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListByIscsiServerSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the disks in a iSCSI server. + * + * @summary Retrieves all the disks in a iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json + */ +async function iscsiDisksListByIscsiServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByIscsiServer( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByIscsiServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricDefinitionSample.ts new file mode 100644 index 000000000000..25c85a48beee --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricDefinitionSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * + * @summary Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json + */ +async function iscsiDisksListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetricDefinition( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricsSample.ts new file mode 100644 index 000000000000..38a6b4e79b3b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiDisksListMetricsSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiDisksListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the iSCSI disk metrics + * + * @summary Gets the iSCSI disk metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json + */ +async function iscsiDisksListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: IscsiDisksListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetrics( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersBackupNowSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersBackupNowSample.ts new file mode 100644 index 000000000000..ab2283b15907 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersBackupNowSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the iSCSI server now. + * + * @summary Backup the iSCSI server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json + */ +async function iscsiServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginBackupNowAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6dbe8c9824f4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersCreateOrUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiServer, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the iSCSI server. + * + * @summary Creates or updates the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json + */ +async function iscsiServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiServer: IscsiServer = { + name: "HSDK-WSJQERQW3F", + type: "Microsoft.StorSimple/managers/devices/iscsiServers", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/backupScheduleGroups/Default-HSDK-WSJQERQW3F-BackupScheduleGroup", + chapId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/chapSettings/ChapSettingForSDK", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/iscsiServers/HSDK-WSJQERQW3F", + reverseChapId: "", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/Default-HSDK-WSJQERQW3F-StorageDomain" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + iscsiServer + ); + console.log(result); +} + +iscsiServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersDeleteSample.ts new file mode 100644 index 000000000000..b5262c04fa9d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the iSCSI server. + * + * @summary Deletes the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json + */ +async function iscsiServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginDeleteAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersGetSample.ts new file mode 100644 index 000000000000..dc7bac7b1b92 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI server name. + * + * @summary Returns the properties of the specified iSCSI server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json + */ +async function iscsiServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.get( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByDeviceSample.ts new file mode 100644 index 000000000000..ebb6ce623f22 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI in a device. + * + * @summary Retrieves all the iSCSI in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json + */ +async function iscsiServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByManagerSample.ts new file mode 100644 index 000000000000..56db5ebc1bf6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI servers in a manager. + * + * @summary Retrieves all the iSCSI servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json + */ +async function iscsiServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..ff5c268311d7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricDefinitionSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions for all metrics aggregated at iSCSI server. + * + * @summary Retrieves metric definitions for all metrics aggregated at iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json + */ +async function iscsiServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetricDefinition( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricsSample.ts new file mode 100644 index 000000000000..d74fbd37aae1 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/iscsiServersListMetricsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiServersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the iSCSI server metrics + * + * @summary Gets the iSCSI server metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json + */ +async function iscsiServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: IscsiServersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetrics( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsGetSample.ts new file mode 100644 index 000000000000..0651b4879d70 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified job name. + * + * @summary Returns the properties of the specified job name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const jobName = "06c7ee19-35a2-4248-bf1b-408009b31b63"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.jobs.get( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByDeviceSample.ts new file mode 100644 index 000000000000..ac58175bc7ad --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByDeviceSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByDeviceOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the jobs in a device. + * + * @summary Retrieves all the jobs in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options: JobsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByManagerSample.ts new file mode 100644 index 000000000000..28228443f3d3 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/jobsListByManagerSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the jobs in a manager. + * + * @summary Retrieves all the jobs in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options: JobsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateExtendedInfoSample.ts new file mode 100644 index 000000000000..9e9076d58f82 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateExtendedInfoSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const managerExtendedInfo: ManagerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + managerExtendedInfo + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..bc91d33810c8 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Manager, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const manager: Manager = { + name: "hManagerForSDKTest", + cisIntrinsicSettings: { type: "HelsinkiV1" }, + location: "westus", + sku: { name: "Standard" } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createOrUpdate( + resourceGroupName, + managerName, + manager + ); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteExtendedInfoSample.ts new file mode 100644 index 000000000000..037a596f0afe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteExtendedInfoSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.deleteExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteSample.ts new file mode 100644 index 000000000000..4f1e40da4abe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersDeleteSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionKeySample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionKeySample.ts new file mode 100644 index 000000000000..351d3e018573 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionKeySample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the symmetric encryption key of the manager. + * + * @summary Returns the symmetric encryption key of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json + */ +async function managersGetEncryptionKey() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionKey().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionSettingsSample.ts new file mode 100644 index 000000000000..77b16bc84a49 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetEncryptionSettingsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionSettings( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetExtendedInfoSample.ts new file mode 100644 index 000000000000..d82f10872207 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetExtendedInfoSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetSample.ts new file mode 100644 index 000000000000..c46435a2c44b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListByResourceGroupSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListByResourceGroupSample.ts new file mode 100644 index 000000000000..5b633f0ff679 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..fe13a5aa85a5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricDefinitionSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at manager. + * + * @summary Retrieves metric definition of all metrics aggregated at manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricsSample.ts new file mode 100644 index 000000000000..270a40eb2748 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListMetricsSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the manager metrics + * + * @summary Gets the manager metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-04T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: ManagersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetrics( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListSample.ts new file mode 100644 index 000000000000..0cc23052a2ab --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateExtendedInfoSample.ts new file mode 100644 index 000000000000..5a5d55dc32f0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateExtendedInfoSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const ifMatch = "6531d5d7-3ced-4f78-83b6-804368f2ca0c"; + const managerExtendedInfo: ManagerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + managerExtendedInfo + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateSample.ts new file mode 100644 index 000000000000..9d8ccc53dbd4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUpdateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerPatch, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerPatch = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.update( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUploadRegistrationCertificateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUploadRegistrationCertificateSample.ts new file mode 100644 index 000000000000..513f17037f12 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/managersUploadRegistrationCertificateSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + UploadCertificateRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * + * @summary Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json + */ +async function managersUploadRegistrationCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const certificateName = "windows"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const uploadCertificateRequestrequest: UploadCertificateRequest = { + authType: "AzureActiveDirectory", + certificate: + "MIIC3TCCAcWgAwIBAgIQEr0bAWD6wJtA4LIbZ9NtgzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE4MDkxMDE1MzY0MFoXDTE4MDkxMzE1NDY0MFowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANUsKkz2Z4fECKMyNeLb9v3pr1XF4dVe+MITDtgphjl81ng190Y0IHgCVnh4YjfplUSpMk/1xii0rI5AAPwoz3ze2qRPtnwCiTaoVLkUe6knNRPzrRvVXHB81J0/14MO0lwdByHhdccRcVJZPLt5724t4aQny82v2AayJdDDkBBWNlpcqPy6n3sygP00THMPP0O3sFqy924eHqoDj3qSw79/meaZBJt9S5odPuFoskxjHuI4lM6BmK1Ql7p8Wo9/GhTOIoMz81orKPHRDleLjutwL4mb6NnhI5rfT/MxnHD6m82c4YYqiZC3XiTyJWVCkWkp7PK92OdRp6FA87rdKDMCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAIYlezVU68TuEblkn06vM5dfzSmHKJOQgW61nDlLnyKrmSJtzKZLCAswTE2VyJHwKNdZgW15coJFINjWBLWcLr0/GjNV4u3Z+UL3NhBFQd5xuMtKsIhuoscKtyk0JHQXpBvHNmOUCobfQfOBQfTVC7kmyWdtlGztFUVxD28s6S5gMb1FEWWN68NOOJ3/ZhaTbUEM54yw8Hk8/f0L/Zn/7BYHUyWWA3KStAaYn89C/ZFF+952ark2VaKGIjBRQzgrJEIR8dI4r46I3DoEfzGPESKvQPvVLhOX84RG0PLPOtnRbHBVew1Nh3HE9kgCubkPKK+NPWE9IHZPoRmOTWBe+zU=", + contractVersion: "V2012_12" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.uploadRegistrationCertificate( + certificateName, + resourceGroupName, + managerName, + uploadCertificateRequestrequest + ); + console.log(result); +} + +managersUploadRegistrationCertificate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..791d702ea4d0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageAccountCredential, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage account credential + * + * @summary Creates or updates the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageAccount: StorageAccountCredential = { + name: "DummySacForSDKTest", + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: + "Ev1tm0QBmpGGm4a58GkqLqx8veJEEgQtg5K3Jizpmy7JdSv9dlcRwk59THw6KIdMDlEHcS8mPyneBtOEQsh4wkcFB7qrmQz+KsRAyIhEm6bwPEm3qN8+aDDzNcXn/6vu/sqV0AP7zit9/s7SxXGxjKrz4zKnOy16/DbzRRmUHNO+HO6JUM0cUfHXTX0mEecbsXqBq0A8IEG8z+bJgXX1EhoGkzE6yVsObm4S1AcKrLiwWjqmSLji5Q8gGO+y4KTTmC3p45h5GHHXjJyOccHhySWDAffxnTzUD/sOoh+aD2VkAYrL3DdnkVzhAdfcZfVI4soONx7tYMloZIVsfW1M2Q==" + }, + cloudType: "Azure", + enableSSL: "Enabled", + endPoint: "blob.core.windows.net", + location: "West US", + login: "SacForSDKTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + credentialName, + resourceGroupName, + managerName, + storageAccount + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsDeleteSample.ts new file mode 100644 index 000000000000..46f1ffee0e4e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage account credential + * + * @summary Deletes the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsGetSample.ts new file mode 100644 index 000000000000..5c99a7906642 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified storage account credential name. + * + * @summary Returns the properties of the specified storage account credential name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "SacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.get( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsListByManagerSample.ts new file mode 100644 index 000000000000..e1da695959e2 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageAccountCredentialsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the storage account credentials in a manager. + * + * @summary Retrieves all the storage account credentials in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ffb08323a21c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsCreateOrUpdateSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageDomain, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage domain. + * + * @summary Creates or updates the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json + */ +async function storageDomainsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageDomain: StorageDomain = { + name: "sd-fs-HSDK-4XY4FI2IVG", + encryptionStatus: "Disabled", + storageAccountCredentialIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageAccountCredentials/sacforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginCreateOrUpdateAndWait( + storageDomainName, + resourceGroupName, + managerName, + storageDomain + ); + console.log(result); +} + +storageDomainsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsDeleteSample.ts new file mode 100644 index 000000000000..863b24b55f87 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage domain. + * + * @summary Deletes the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json + */ +async function storageDomainsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginDeleteAndWait( + storageDomainName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageDomainsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsGetSample.ts new file mode 100644 index 000000000000..3cc17a83d163 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified storage domain name. + * + * @summary Returns the properties of the specified storage domain name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json + */ +async function storageDomainsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.get( + storageDomainName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageDomainsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsListByManagerSample.ts new file mode 100644 index 000000000000..e40ca5e7411c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples-dev/storageDomainsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the storage domains in a manager. + * + * @summary Retrieves all the storage domains in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json + */ +async function storageDomainsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageDomains.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageDomainsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/README.md b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/README.md index a7b3bbd16a76..4a1b394ee3d9 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/README.md +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/README.md @@ -2,102 +2,196 @@ These sample programs show how to use the JavaScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [accessControlRecordsCreateOrUpdate.js][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | -| [accessControlRecordsDelete.js][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | -| [accessControlRecordsGet.js][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | -| [accessControlRecordsListByManager.js][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | -| [alertsClear.js][alertsclear] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | -| [alertsListByManager.js][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | -| [alertsSendTestEmail.js][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | -| [backupScheduleGroupsCreateOrUpdate.js][backupschedulegroupscreateorupdate] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | -| [backupScheduleGroupsDelete.js][backupschedulegroupsdelete] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | -| [backupScheduleGroupsGet.js][backupschedulegroupsget] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | -| [backupScheduleGroupsListByDevice.js][backupschedulegroupslistbydevice] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | -| [backupsClone.js][backupsclone] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | -| [backupsDelete.js][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | -| [backupsListByDevice.js][backupslistbydevice] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | -| [backupsListByManager.js][backupslistbymanager] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | -| [chapSettingsCreateOrUpdate.js][chapsettingscreateorupdate] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | -| [chapSettingsDelete.js][chapsettingsdelete] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | -| [chapSettingsGet.js][chapsettingsget] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | -| [chapSettingsListByDevice.js][chapsettingslistbydevice] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | -| [devicesCreateOrUpdateAlertSettings.js][devicescreateorupdatealertsettings] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | -| [devicesCreateOrUpdateSecuritySettings.js][devicescreateorupdatesecuritysettings] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | -| [devicesDeactivate.js][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | -| [devicesDelete.js][devicesdelete] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | -| [devicesDownloadUpdates.js][devicesdownloadupdates] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | -| [devicesFailover.js][devicesfailover] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | -| [devicesGet.js][devicesget] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | -| [devicesGetAlertSettings.js][devicesgetalertsettings] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | -| [devicesGetNetworkSettings.js][devicesgetnetworksettings] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | -| [devicesGetTimeSettings.js][devicesgettimesettings] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | -| [devicesGetUpdateSummary.js][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | -| [devicesInstallUpdates.js][devicesinstallupdates] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | -| [devicesListByManager.js][deviceslistbymanager] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | -| [devicesListFailoverTarget.js][deviceslistfailovertarget] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | -| [devicesListMetricDefinition.js][deviceslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | -| [devicesListMetrics.js][deviceslistmetrics] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | -| [devicesPatch.js][devicespatch] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | -| [devicesScanForUpdates.js][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | -| [fileServersBackupNow.js][fileserversbackupnow] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | -| [fileServersCreateOrUpdate.js][fileserverscreateorupdate] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | -| [fileServersDelete.js][fileserversdelete] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | -| [fileServersGet.js][fileserversget] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | -| [fileServersListByDevice.js][fileserverslistbydevice] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | -| [fileServersListByManager.js][fileserverslistbymanager] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | -| [fileServersListMetricDefinition.js][fileserverslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | -| [fileServersListMetrics.js][fileserverslistmetrics] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | -| [fileSharesCreateOrUpdate.js][filesharescreateorupdate] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | -| [fileSharesDelete.js][filesharesdelete] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | -| [fileSharesGet.js][filesharesget] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | -| [fileSharesListByDevice.js][fileshareslistbydevice] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | -| [fileSharesListByFileServer.js][fileshareslistbyfileserver] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | -| [fileSharesListMetricDefinition.js][fileshareslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | -| [fileSharesListMetrics.js][fileshareslistmetrics] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | -| [iscsiDisksCreateOrUpdate.js][iscsidiskscreateorupdate] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | -| [iscsiDisksDelete.js][iscsidisksdelete] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | -| [iscsiDisksGet.js][iscsidisksget] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | -| [iscsiDisksListByDevice.js][iscsidiskslistbydevice] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | -| [iscsiDisksListByIscsiServer.js][iscsidiskslistbyiscsiserver] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | -| [iscsiDisksListMetricDefinition.js][iscsidiskslistmetricdefinition] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | -| [iscsiDisksListMetrics.js][iscsidiskslistmetrics] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | -| [iscsiServersBackupNow.js][iscsiserversbackupnow] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | -| [iscsiServersCreateOrUpdate.js][iscsiserverscreateorupdate] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | -| [iscsiServersDelete.js][iscsiserversdelete] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | -| [iscsiServersGet.js][iscsiserversget] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | -| [iscsiServersListByDevice.js][iscsiserverslistbydevice] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | -| [iscsiServersListByManager.js][iscsiserverslistbymanager] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | -| [iscsiServersListMetricDefinition.js][iscsiserverslistmetricdefinition] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | -| [iscsiServersListMetrics.js][iscsiserverslistmetrics] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | -| [jobsGet.js][jobsget] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | -| [jobsListByDevice.js][jobslistbydevice] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | -| [jobsListByManager.js][jobslistbymanager] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | -| [managersCreateExtendedInfo.js][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | -| [managersCreateOrUpdate.js][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | -| [managersDelete.js][managersdelete] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | -| [managersDeleteExtendedInfo.js][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | -| [managersGet.js][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | -| [managersGetEncryptionKey.js][managersgetencryptionkey] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | -| [managersGetEncryptionSettings.js][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | -| [managersGetExtendedInfo.js][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | -| [managersList.js][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | -| [managersListByResourceGroup.js][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | -| [managersListMetricDefinition.js][managerslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | -| [managersListMetrics.js][managerslistmetrics] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | -| [managersUpdate.js][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | -| [managersUpdateExtendedInfo.js][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | -| [managersUploadRegistrationCertificate.js][managersuploadregistrationcertificate] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | -| [operationsList.js][operationslist] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | -| [storageAccountCredentialsCreateOrUpdate.js][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | -| [storageAccountCredentialsDelete.js][storageaccountcredentialsdelete] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | -| [storageAccountCredentialsGet.js][storageaccountcredentialsget] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | -| [storageAccountCredentialsListByManager.js][storageaccountcredentialslistbymanager] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | -| [storageDomainsCreateOrUpdate.js][storagedomainscreateorupdate] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | -| [storageDomainsDelete.js][storagedomainsdelete] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | -| [storageDomainsGet.js][storagedomainsget] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | -| [storageDomainsListByManager.js][storagedomainslistbymanager] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessControlRecordsCreateOrUpdate.js][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsCreateOrUpdateSample.js][accesscontrolrecordscreateorupdatesample] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsDelete.js][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsDeleteSample.js][accesscontrolrecordsdeletesample] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsGet.js][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsGetSample.js][accesscontrolrecordsgetsample] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsListByManager.js][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | +| [accessControlRecordsListByManagerSample.js][accesscontrolrecordslistbymanagersample] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | +| [alertsClear.js][alertsclear] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | +| [alertsClearSample.js][alertsclearsample] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | +| [alertsListByManager.js][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | +| [alertsListByManagerSample.js][alertslistbymanagersample] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | +| [alertsSendTestEmail.js][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | +| [alertsSendTestEmailSample.js][alertssendtestemailsample] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | +| [availableProviderOperationsListSample.js][availableprovideroperationslistsample] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | +| [backupScheduleGroupsCreateOrUpdate.js][backupschedulegroupscreateorupdate] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | +| [backupScheduleGroupsCreateOrUpdateSample.js][backupschedulegroupscreateorupdatesample] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | +| [backupScheduleGroupsDelete.js][backupschedulegroupsdelete] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | +| [backupScheduleGroupsDeleteSample.js][backupschedulegroupsdeletesample] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | +| [backupScheduleGroupsGet.js][backupschedulegroupsget] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | +| [backupScheduleGroupsGetSample.js][backupschedulegroupsgetsample] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | +| [backupScheduleGroupsListByDevice.js][backupschedulegroupslistbydevice] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | +| [backupScheduleGroupsListByDeviceSample.js][backupschedulegroupslistbydevicesample] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | +| [backupsClone.js][backupsclone] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | +| [backupsCloneSample.js][backupsclonesample] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | +| [backupsDelete.js][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | +| [backupsDeleteSample.js][backupsdeletesample] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | +| [backupsListByDevice.js][backupslistbydevice] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | +| [backupsListByDeviceSample.js][backupslistbydevicesample] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | +| [backupsListByManager.js][backupslistbymanager] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | +| [backupsListByManagerSample.js][backupslistbymanagersample] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | +| [chapSettingsCreateOrUpdate.js][chapsettingscreateorupdate] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | +| [chapSettingsCreateOrUpdateSample.js][chapsettingscreateorupdatesample] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | +| [chapSettingsDelete.js][chapsettingsdelete] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | +| [chapSettingsDeleteSample.js][chapsettingsdeletesample] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | +| [chapSettingsGet.js][chapsettingsget] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | +| [chapSettingsGetSample.js][chapsettingsgetsample] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | +| [chapSettingsListByDevice.js][chapsettingslistbydevice] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | +| [chapSettingsListByDeviceSample.js][chapsettingslistbydevicesample] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | +| [devicesCreateOrUpdateAlertSettings.js][devicescreateorupdatealertsettings] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | +| [devicesCreateOrUpdateAlertSettingsSample.js][devicescreateorupdatealertsettingssample] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | +| [devicesCreateOrUpdateSecuritySettings.js][devicescreateorupdatesecuritysettings] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | +| [devicesCreateOrUpdateSecuritySettingsSample.js][devicescreateorupdatesecuritysettingssample] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | +| [devicesDeactivate.js][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | +| [devicesDeactivateSample.js][devicesdeactivatesample] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | +| [devicesDelete.js][devicesdelete] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | +| [devicesDeleteSample.js][devicesdeletesample] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | +| [devicesDownloadUpdates.js][devicesdownloadupdates] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | +| [devicesDownloadUpdatesSample.js][devicesdownloadupdatessample] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | +| [devicesFailover.js][devicesfailover] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | +| [devicesFailoverSample.js][devicesfailoversample] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | +| [devicesGet.js][devicesget] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | +| [devicesGetAlertSettings.js][devicesgetalertsettings] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | +| [devicesGetAlertSettingsSample.js][devicesgetalertsettingssample] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | +| [devicesGetNetworkSettings.js][devicesgetnetworksettings] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | +| [devicesGetNetworkSettingsSample.js][devicesgetnetworksettingssample] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | +| [devicesGetSample.js][devicesgetsample] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | +| [devicesGetTimeSettings.js][devicesgettimesettings] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | +| [devicesGetTimeSettingsSample.js][devicesgettimesettingssample] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | +| [devicesGetUpdateSummary.js][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | +| [devicesGetUpdateSummarySample.js][devicesgetupdatesummarysample] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | +| [devicesInstallUpdates.js][devicesinstallupdates] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | +| [devicesInstallUpdatesSample.js][devicesinstallupdatessample] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | +| [devicesListByManager.js][deviceslistbymanager] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | +| [devicesListByManagerSample.js][deviceslistbymanagersample] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | +| [devicesListFailoverTarget.js][deviceslistfailovertarget] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | +| [devicesListFailoverTargetSample.js][deviceslistfailovertargetsample] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | +| [devicesListMetricDefinition.js][deviceslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetricDefinitionSample.js][deviceslistmetricdefinitionsample] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetrics.js][deviceslistmetrics] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | +| [devicesListMetricsSample.js][deviceslistmetricssample] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | +| [devicesPatch.js][devicespatch] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | +| [devicesPatchSample.js][devicespatchsample] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | +| [devicesScanForUpdates.js][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | +| [devicesScanForUpdatesSample.js][devicesscanforupdatessample] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | +| [fileServersBackupNow.js][fileserversbackupnow] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | +| [fileServersBackupNowSample.js][fileserversbackupnowsample] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | +| [fileServersCreateOrUpdate.js][fileserverscreateorupdate] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | +| [fileServersCreateOrUpdateSample.js][fileserverscreateorupdatesample] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | +| [fileServersDelete.js][fileserversdelete] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | +| [fileServersDeleteSample.js][fileserversdeletesample] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | +| [fileServersGet.js][fileserversget] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | +| [fileServersGetSample.js][fileserversgetsample] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | +| [fileServersListByDevice.js][fileserverslistbydevice] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | +| [fileServersListByDeviceSample.js][fileserverslistbydevicesample] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | +| [fileServersListByManager.js][fileserverslistbymanager] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | +| [fileServersListByManagerSample.js][fileserverslistbymanagersample] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | +| [fileServersListMetricDefinition.js][fileserverslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | +| [fileServersListMetricDefinitionSample.js][fileserverslistmetricdefinitionsample] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | +| [fileServersListMetrics.js][fileserverslistmetrics] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | +| [fileServersListMetricsSample.js][fileserverslistmetricssample] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | +| [fileSharesCreateOrUpdate.js][filesharescreateorupdate] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | +| [fileSharesCreateOrUpdateSample.js][filesharescreateorupdatesample] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | +| [fileSharesDelete.js][filesharesdelete] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | +| [fileSharesDeleteSample.js][filesharesdeletesample] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | +| [fileSharesGet.js][filesharesget] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | +| [fileSharesGetSample.js][filesharesgetsample] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | +| [fileSharesListByDevice.js][fileshareslistbydevice] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | +| [fileSharesListByDeviceSample.js][fileshareslistbydevicesample] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | +| [fileSharesListByFileServer.js][fileshareslistbyfileserver] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | +| [fileSharesListByFileServerSample.js][fileshareslistbyfileserversample] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | +| [fileSharesListMetricDefinition.js][fileshareslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | +| [fileSharesListMetricDefinitionSample.js][fileshareslistmetricdefinitionsample] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | +| [fileSharesListMetrics.js][fileshareslistmetrics] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | +| [fileSharesListMetricsSample.js][fileshareslistmetricssample] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | +| [iscsiDisksCreateOrUpdate.js][iscsidiskscreateorupdate] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | +| [iscsiDisksCreateOrUpdateSample.js][iscsidiskscreateorupdatesample] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | +| [iscsiDisksDelete.js][iscsidisksdelete] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | +| [iscsiDisksDeleteSample.js][iscsidisksdeletesample] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | +| [iscsiDisksGet.js][iscsidisksget] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | +| [iscsiDisksGetSample.js][iscsidisksgetsample] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | +| [iscsiDisksListByDevice.js][iscsidiskslistbydevice] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | +| [iscsiDisksListByDeviceSample.js][iscsidiskslistbydevicesample] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | +| [iscsiDisksListByIscsiServer.js][iscsidiskslistbyiscsiserver] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | +| [iscsiDisksListByIscsiServerSample.js][iscsidiskslistbyiscsiserversample] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | +| [iscsiDisksListMetricDefinition.js][iscsidiskslistmetricdefinition] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | +| [iscsiDisksListMetricDefinitionSample.js][iscsidiskslistmetricdefinitionsample] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | +| [iscsiDisksListMetrics.js][iscsidiskslistmetrics] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | +| [iscsiDisksListMetricsSample.js][iscsidiskslistmetricssample] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | +| [iscsiServersBackupNow.js][iscsiserversbackupnow] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | +| [iscsiServersBackupNowSample.js][iscsiserversbackupnowsample] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | +| [iscsiServersCreateOrUpdate.js][iscsiserverscreateorupdate] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | +| [iscsiServersCreateOrUpdateSample.js][iscsiserverscreateorupdatesample] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | +| [iscsiServersDelete.js][iscsiserversdelete] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | +| [iscsiServersDeleteSample.js][iscsiserversdeletesample] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | +| [iscsiServersGet.js][iscsiserversget] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | +| [iscsiServersGetSample.js][iscsiserversgetsample] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | +| [iscsiServersListByDevice.js][iscsiserverslistbydevice] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | +| [iscsiServersListByDeviceSample.js][iscsiserverslistbydevicesample] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | +| [iscsiServersListByManager.js][iscsiserverslistbymanager] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | +| [iscsiServersListByManagerSample.js][iscsiserverslistbymanagersample] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | +| [iscsiServersListMetricDefinition.js][iscsiserverslistmetricdefinition] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | +| [iscsiServersListMetricDefinitionSample.js][iscsiserverslistmetricdefinitionsample] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | +| [iscsiServersListMetrics.js][iscsiserverslistmetrics] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | +| [iscsiServersListMetricsSample.js][iscsiserverslistmetricssample] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | +| [jobsGet.js][jobsget] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | +| [jobsGetSample.js][jobsgetsample] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | +| [jobsListByDevice.js][jobslistbydevice] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | +| [jobsListByDeviceSample.js][jobslistbydevicesample] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | +| [jobsListByManager.js][jobslistbymanager] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | +| [jobsListByManagerSample.js][jobslistbymanagersample] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | +| [managersCreateExtendedInfo.js][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateExtendedInfoSample.js][managerscreateextendedinfosample] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateOrUpdate.js][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | +| [managersCreateOrUpdateSample.js][managerscreateorupdatesample] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | +| [managersDelete.js][managersdelete] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | +| [managersDeleteExtendedInfo.js][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteExtendedInfoSample.js][managersdeleteextendedinfosample] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteSample.js][managersdeletesample] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | +| [managersGet.js][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | +| [managersGetEncryptionKey.js][managersgetencryptionkey] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | +| [managersGetEncryptionKeySample.js][managersgetencryptionkeysample] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | +| [managersGetEncryptionSettings.js][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetEncryptionSettingsSample.js][managersgetencryptionsettingssample] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetExtendedInfo.js][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | +| [managersGetExtendedInfoSample.js][managersgetextendedinfosample] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | +| [managersGetSample.js][managersgetsample] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | +| [managersList.js][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | +| [managersListByResourceGroup.js][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | +| [managersListByResourceGroupSample.js][managerslistbyresourcegroupsample] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | +| [managersListMetricDefinition.js][managerslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | +| [managersListMetricDefinitionSample.js][managerslistmetricdefinitionsample] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | +| [managersListMetrics.js][managerslistmetrics] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | +| [managersListMetricsSample.js][managerslistmetricssample] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | +| [managersListSample.js][managerslistsample] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | +| [managersUpdate.js][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | +| [managersUpdateExtendedInfo.js][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateExtendedInfoSample.js][managersupdateextendedinfosample] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateSample.js][managersupdatesample] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | +| [managersUploadRegistrationCertificate.js][managersuploadregistrationcertificate] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | +| [managersUploadRegistrationCertificateSample.js][managersuploadregistrationcertificatesample] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | +| [operationsList.js][operationslist] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | +| [storageAccountCredentialsCreateOrUpdate.js][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsCreateOrUpdateSample.js][storageaccountcredentialscreateorupdatesample] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsDelete.js][storageaccountcredentialsdelete] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsDeleteSample.js][storageaccountcredentialsdeletesample] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsGet.js][storageaccountcredentialsget] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsGetSample.js][storageaccountcredentialsgetsample] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsListByManager.js][storageaccountcredentialslistbymanager] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | +| [storageAccountCredentialsListByManagerSample.js][storageaccountcredentialslistbymanagersample] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | +| [storageDomainsCreateOrUpdate.js][storagedomainscreateorupdate] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | +| [storageDomainsCreateOrUpdateSample.js][storagedomainscreateorupdatesample] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | +| [storageDomainsDelete.js][storagedomainsdelete] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | +| [storageDomainsDeleteSample.js][storagedomainsdeletesample] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | +| [storageDomainsGet.js][storagedomainsget] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | +| [storageDomainsGetSample.js][storagedomainsgetsample] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | +| [storageDomainsListByManager.js][storagedomainslistbymanager] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | +| [storageDomainsListByManagerSample.js][storagedomainslistbymanagersample] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | ## Prerequisites @@ -138,99 +232,193 @@ npx cross-env node accessControlRecordsCreateOrUpdate.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. [accesscontrolrecordscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsCreateOrUpdate.js +[accesscontrolrecordscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js [accesscontrolrecordsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsDelete.js +[accesscontrolrecordsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsDeleteSample.js [accesscontrolrecordsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsGet.js +[accesscontrolrecordsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsGetSample.js [accesscontrolrecordslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsListByManager.js +[accesscontrolrecordslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsListByManagerSample.js [alertsclear]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsClear.js +[alertsclearsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsClearSample.js [alertslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsListByManager.js +[alertslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsListByManagerSample.js [alertssendtestemail]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsSendTestEmail.js +[alertssendtestemailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsSendTestEmailSample.js +[availableprovideroperationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/availableProviderOperationsListSample.js [backupschedulegroupscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsCreateOrUpdate.js +[backupschedulegroupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsCreateOrUpdateSample.js [backupschedulegroupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsDelete.js +[backupschedulegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsDeleteSample.js [backupschedulegroupsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsGet.js +[backupschedulegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsGetSample.js [backupschedulegroupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsListByDevice.js +[backupschedulegroupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsListByDeviceSample.js [backupsclone]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsClone.js +[backupsclonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsCloneSample.js [backupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsDelete.js +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsDeleteSample.js [backupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByDevice.js +[backupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByDeviceSample.js [backupslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByManager.js +[backupslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByManagerSample.js [chapsettingscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsCreateOrUpdate.js +[chapsettingscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsCreateOrUpdateSample.js [chapsettingsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsDelete.js +[chapsettingsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsDeleteSample.js [chapsettingsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsGet.js +[chapsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsGetSample.js [chapsettingslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsListByDevice.js +[chapsettingslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsListByDeviceSample.js [devicescreateorupdatealertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateAlertSettings.js +[devicescreateorupdatealertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateAlertSettingsSample.js [devicescreateorupdatesecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateSecuritySettings.js +[devicescreateorupdatesecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateSecuritySettingsSample.js [devicesdeactivate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeactivate.js +[devicesdeactivatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeactivateSample.js [devicesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDelete.js +[devicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeleteSample.js [devicesdownloadupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDownloadUpdates.js +[devicesdownloadupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDownloadUpdatesSample.js [devicesfailover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesFailover.js +[devicesfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesFailoverSample.js [devicesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGet.js [devicesgetalertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetAlertSettings.js +[devicesgetalertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetAlertSettingsSample.js [devicesgetnetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetNetworkSettings.js +[devicesgetnetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetNetworkSettingsSample.js +[devicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetSample.js [devicesgettimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetTimeSettings.js +[devicesgettimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetTimeSettingsSample.js [devicesgetupdatesummary]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetUpdateSummary.js +[devicesgetupdatesummarysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetUpdateSummarySample.js [devicesinstallupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesInstallUpdates.js +[devicesinstallupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesInstallUpdatesSample.js [deviceslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListByManager.js +[deviceslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListByManagerSample.js [deviceslistfailovertarget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListFailoverTarget.js +[deviceslistfailovertargetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListFailoverTargetSample.js [deviceslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricDefinition.js +[deviceslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricDefinitionSample.js [deviceslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetrics.js +[deviceslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricsSample.js [devicespatch]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesPatch.js +[devicespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesPatchSample.js [devicesscanforupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesScanForUpdates.js +[devicesscanforupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesScanForUpdatesSample.js [fileserversbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersBackupNow.js +[fileserversbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersBackupNowSample.js [fileserverscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersCreateOrUpdate.js +[fileserverscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersCreateOrUpdateSample.js [fileserversdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersDelete.js +[fileserversdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersDeleteSample.js [fileserversget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersGet.js +[fileserversgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersGetSample.js [fileserverslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByDevice.js +[fileserverslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByDeviceSample.js [fileserverslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByManager.js +[fileserverslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByManagerSample.js [fileserverslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricDefinition.js +[fileserverslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricDefinitionSample.js [fileserverslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetrics.js +[fileserverslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricsSample.js [filesharescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesCreateOrUpdate.js +[filesharescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesCreateOrUpdateSample.js [filesharesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesDelete.js +[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesDeleteSample.js [filesharesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesGet.js +[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesGetSample.js [fileshareslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByDevice.js +[fileshareslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByDeviceSample.js [fileshareslistbyfileserver]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByFileServer.js +[fileshareslistbyfileserversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByFileServerSample.js [fileshareslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricDefinition.js +[fileshareslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricDefinitionSample.js [fileshareslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetrics.js +[fileshareslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricsSample.js [iscsidiskscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksCreateOrUpdate.js +[iscsidiskscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksCreateOrUpdateSample.js [iscsidisksdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksDelete.js +[iscsidisksdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksDeleteSample.js [iscsidisksget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksGet.js +[iscsidisksgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksGetSample.js [iscsidiskslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByDevice.js +[iscsidiskslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByDeviceSample.js [iscsidiskslistbyiscsiserver]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByIscsiServer.js +[iscsidiskslistbyiscsiserversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByIscsiServerSample.js [iscsidiskslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricDefinition.js +[iscsidiskslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricDefinitionSample.js [iscsidiskslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetrics.js +[iscsidiskslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricsSample.js [iscsiserversbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersBackupNow.js +[iscsiserversbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersBackupNowSample.js [iscsiserverscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersCreateOrUpdate.js +[iscsiserverscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersCreateOrUpdateSample.js [iscsiserversdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersDelete.js +[iscsiserversdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersDeleteSample.js [iscsiserversget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersGet.js +[iscsiserversgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersGetSample.js [iscsiserverslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByDevice.js +[iscsiserverslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByDeviceSample.js [iscsiserverslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByManager.js +[iscsiserverslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByManagerSample.js [iscsiserverslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricDefinition.js +[iscsiserverslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricDefinitionSample.js [iscsiserverslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetrics.js +[iscsiserverslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricsSample.js [jobsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsGet.js +[jobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsGetSample.js [jobslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByDevice.js +[jobslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByDeviceSample.js [jobslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByManager.js +[jobslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByManagerSample.js [managerscreateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateExtendedInfo.js +[managerscreateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateExtendedInfoSample.js [managerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateOrUpdate.js +[managerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateOrUpdateSample.js [managersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDelete.js [managersdeleteextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteExtendedInfo.js +[managersdeleteextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteExtendedInfoSample.js +[managersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteSample.js [managersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGet.js [managersgetencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionKey.js +[managersgetencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionKeySample.js [managersgetencryptionsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionSettings.js +[managersgetencryptionsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionSettingsSample.js [managersgetextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetExtendedInfo.js +[managersgetextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetExtendedInfoSample.js +[managersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetSample.js [managerslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersList.js [managerslistbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListByResourceGroup.js +[managerslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListByResourceGroupSample.js [managerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricDefinition.js +[managerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricDefinitionSample.js [managerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetrics.js +[managerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricsSample.js +[managerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListSample.js [managersupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdate.js [managersupdateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateExtendedInfo.js +[managersupdateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateExtendedInfoSample.js +[managersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateSample.js [managersuploadregistrationcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUploadRegistrationCertificate.js +[managersuploadregistrationcertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUploadRegistrationCertificateSample.js [operationslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/operationsList.js [storageaccountcredentialscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdate.js +[storageaccountcredentialscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js [storageaccountcredentialsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsDelete.js +[storageaccountcredentialsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js [storageaccountcredentialsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsGet.js +[storageaccountcredentialsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsGetSample.js [storageaccountcredentialslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsListByManager.js +[storageaccountcredentialslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js [storagedomainscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsCreateOrUpdate.js +[storagedomainscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsCreateOrUpdateSample.js [storagedomainsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsDelete.js +[storagedomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsDeleteSample.js [storagedomainsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsGet.js +[storagedomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsGetSample.js [storagedomainslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsListByManager.js +[storagedomainslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsListByManagerSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storsimple1200series?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storsimple1200series/arm-storsimple1200series/README.md diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js new file mode 100644 index 000000000000..9b7ca702528e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const accessControlRecord = { + name: "AcrForSDKTest", + initiatorName: "iqn.2017-06.com.contoso:ForTest", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + accessControlRecord + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsDeleteSample.js new file mode 100644 index 000000000000..32d91edbfe89 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsGetSample.js new file mode 100644 index 000000000000..1691e869be72 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsListByManagerSample.js new file mode 100644 index 000000000000..746d3a0bf2f8 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/accessControlRecordsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsClearSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsClearSample.js new file mode 100644 index 000000000000..71551ad17346 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsClearSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request = { + alerts: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hManagerForSDKTest4/devices/is2-hlmdhdgu1et/alerts/a1f3a945-74dc-4387-bf17-a4f226374833", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.clear(resourceGroupName, managerName, request); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsListByManagerSample.js new file mode 100644 index 000000000000..83e1c7053049 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsListByManagerSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const filter = "status eq 'Active' and severity eq 'Critical'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.alerts.listByManager(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsSendTestEmailSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsSendTestEmailSample.js new file mode 100644 index 000000000000..54b69349a846 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/alertsSendTestEmailSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "is2-hlmdhdgu1et"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request = { + emailList: ["testemailid@contoso.com"], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + request + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/availableProviderOperationsListSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/availableProviderOperationsListSample.js new file mode 100644 index 000000000000..1c60d79214ed --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/availableProviderOperationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to List of AvailableProviderOperations + * + * @summary List of AvailableProviderOperations + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.availableProviderOperationsOperations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsCreateOrUpdateSample.js new file mode 100644 index 000000000000..7984379340f3 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsCreateOrUpdateSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or Updates the backup schedule Group. + * + * @summary Creates or Updates the backup schedule Group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json + */ +async function backupScheduleGroupsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const scheduleGroup = { + name: "BackupSchGroupForSDKTest", + startTime: { hour: 17, minute: 38 }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginCreateOrUpdateAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName, + scheduleGroup + ); + console.log(result); +} + +backupScheduleGroupsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsDeleteSample.js new file mode 100644 index 000000000000..9bd3b62583c5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the backup schedule group. + * + * @summary Deletes the backup schedule group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json + */ +async function backupScheduleGroupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginDeleteAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsGetSample.js new file mode 100644 index 000000000000..fd124b7cfa39 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified backup schedule group name. + * + * @summary Returns the properties of the specified backup schedule group name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json + */ +async function backupScheduleGroupsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.get( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsListByDeviceSample.js new file mode 100644 index 000000000000..dd57183a34bf --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupScheduleGroupsListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the backup schedule groups in a device. + * + * @summary Retrieves all the backup schedule groups in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json + */ +async function backupScheduleGroupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backupScheduleGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupScheduleGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsCloneSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsCloneSample.js new file mode 100644 index 000000000000..0ce9f31a3d4b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsCloneSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Clones the given backup element to a new disk or share with given details. + * + * @summary Clones the given backup element to a new disk or share with given details. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const backupName = "58d33025-e837-41cc-b15f-7c85ced64aab"; + const elementName = "2304968f-91af-4f59-8b79-31e321eee40e"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const cloneRequest = { + newEndpointName: "ClonedTieredFileShareForSDKTest", + share: { + name: "TieredFileShareForSDKTest", + description: "Restore file Share", + adminUser: "HSDK-4XY4FI2IVGStorSimpleAdmin", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online", + }, + targetAccessPointId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/fileServers/HSDK-4XY4FI2IVG", + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + elementName, + resourceGroupName, + managerName, + cloneRequest + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsDeleteSample.js new file mode 100644 index 000000000000..ca1e9efff5dd --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const backupName = "315c3461-96ad-41bf-af0b-3a8be5113203"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByDeviceSample.js new file mode 100644 index 000000000000..a1887b767a3a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByDeviceSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the backups in a device. Can be used to get the backups for failover also. + * + * @summary Retrieves all the backups in a device. Can be used to get the backups for failover also. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "initiatedBy eq 'Manual'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByManagerSample.js new file mode 100644 index 000000000000..f9c046ee5770 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/backupsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the backups in a manager. + * + * @summary Retrieves all the backups in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json + */ +async function backupsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "createdTime ge '2018-08-10T17:30:03Z' and createdTime le '2018-08-14T17:30:03Z' and initiatedBy eq 'Manual'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByManager(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsCreateOrUpdateSample.js new file mode 100644 index 000000000000..dacf62098fbd --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsCreateOrUpdateSample.js @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the chap setting. + * + * @summary Creates or updates the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json + */ +async function chapSettingsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const chapSetting = { + name: "ChapSettingForSDK", + password: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginCreateOrUpdateAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName, + chapSetting + ); + console.log(result); +} + +chapSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsDeleteSample.js new file mode 100644 index 000000000000..9baa08694a4d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the chap setting. + * + * @summary Deletes the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json + */ +async function chapSettingsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDKForDelete"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginDeleteAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsGetSample.js new file mode 100644 index 000000000000..a5bb9639e107 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified chap setting name. + * + * @summary Returns the properties of the specified chap setting name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json + */ +async function chapSettingsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.get( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsListByDeviceSample.js new file mode 100644 index 000000000000..a97ee6612a68 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/chapSettingsListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the chap settings in a device. + * + * @summary Retrieves all the chap settings in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json + */ +async function chapSettingsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.chapSettingsOperations.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +chapSettingsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateAlertSettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateAlertSettingsSample.js new file mode 100644 index 000000000000..5443428a146d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateAlertSettingsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the alert settings + * + * @summary Creates or updates the alert settings + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json + */ +async function devicesCreateOrUpdateAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const alertSettings = { + name: "default", + additionalRecipientEmailList: ["testuser@abc.com"], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Disabled", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + alertSettings + ); + console.log(result); +} + +devicesCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateSecuritySettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateSecuritySettingsSample.js new file mode 100644 index 000000000000..93cc344c56f1 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesCreateOrUpdateSecuritySettingsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the security settings. + * + * @summary Creates or updates the security settings. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json + */ +async function devicesCreateOrUpdateSecuritySettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const securitySettings = { + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + securitySettings + ); + console.log(result); +} + +devicesCreateOrUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeactivateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeactivateSample.js new file mode 100644 index 000000000000..57f55d8a0255 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeactivateSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeleteSample.js new file mode 100644 index 000000000000..065887d3f17a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDownloadUpdatesSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDownloadUpdatesSample.js new file mode 100644 index 000000000000..291bb52b4fb9 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesDownloadUpdatesSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Downloads updates on the device. + * + * @summary Downloads updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json + */ +async function devicesDownloadUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDownloadUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDownloadUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesFailoverSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesFailoverSample.js new file mode 100644 index 000000000000..1c445334126e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesFailoverSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Fails over the device to another device. + * + * @summary Fails over the device to another device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const failoverRequest = { + accesspointIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-0NZI14MDTF/iscsiServers/HSDK-0NZI14MDTF", + ], + keepSourceDevice: true, + skipValidation: true, + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-UGU4PITWNI", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginFailoverAndWait( + deviceName, + resourceGroupName, + managerName, + failoverRequest + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetAlertSettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetAlertSettingsSample.js new file mode 100644 index 000000000000..727aa61e65b6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetAlertSettingsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the alert settings of the specified device name. + * + * @summary Returns the alert settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json + */ +async function devicesGetAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getAlertSettings(deviceName, resourceGroupName, managerName); + console.log(result); +} + +devicesGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetNetworkSettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetNetworkSettingsSample.js new file mode 100644 index 000000000000..f80ffc7b26bb --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetNetworkSettingsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the network settings of the specified device name. + * + * @summary Returns the network settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json + */ +async function devicesGetNetworkSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetSample.js new file mode 100644 index 000000000000..92af6a272e86 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified device name. + * + * @summary Returns the properties of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.get(deviceName, resourceGroupName, managerName); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetTimeSettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetTimeSettingsSample.js new file mode 100644 index 000000000000..ebe4eaa1ee03 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetTimeSettingsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the time settings of the specified device name. + * + * @summary Returns the time settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json + */ +async function devicesGetTimeSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getTimeSettings(deviceName, resourceGroupName, managerName); + console.log(result); +} + +devicesGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetUpdateSummarySample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetUpdateSummarySample.js new file mode 100644 index 000000000000..75eab7664f43 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesGetUpdateSummarySample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getUpdateSummary(deviceName, resourceGroupName, managerName); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesInstallUpdatesSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesInstallUpdatesSample.js new file mode 100644 index 000000000000..f4dbeac8ad5c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesInstallUpdatesSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Installs the updates on the device. + * + * @summary Installs the updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListByManagerSample.js new file mode 100644 index 000000000000..1fc9d5f659a7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the devices in a manager. + * + * @summary Retrieves all the devices in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListFailoverTargetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListFailoverTargetSample.js new file mode 100644 index 000000000000..19c6f2ca67c1 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListFailoverTargetSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the devices which can be used as failover targets for the given device. + * + * @summary Retrieves all the devices which can be used as failover targets for the given device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json + */ +async function devicesListFailoverTarget() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTarget( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTarget().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricDefinitionSample.js new file mode 100644 index 000000000000..252cf7640199 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricDefinitionSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at device. + * + * @summary Retrieves metric definition of all metrics aggregated at device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricsSample.js new file mode 100644 index 000000000000..ef27d0ff5ccc --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesListMetricsSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves the device metrics. + * + * @summary Retrieves the device metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesPatchSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesPatchSample.js new file mode 100644 index 000000000000..30b930e1f4cf --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesPatchSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json + */ +async function devicesPatch() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const devicePatch = { + deviceDescription: "NewDescription8/14/2018 2:30:34 PM", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginPatchAndWait( + deviceName, + resourceGroupName, + managerName, + devicePatch + ); + console.log(result); +} + +devicesPatch().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesScanForUpdatesSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesScanForUpdatesSample.js new file mode 100644 index 000000000000..349e600828ec --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/devicesScanForUpdatesSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersBackupNowSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersBackupNowSample.js new file mode 100644 index 000000000000..7391bbd39ebf --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersBackupNowSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Backup the file server now. + * + * @summary Backup the file server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json + */ +async function fileServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginBackupNowAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersCreateOrUpdateSample.js new file mode 100644 index 000000000000..98b8a158f532 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersCreateOrUpdateSample.js @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the file server. + * + * @summary Creates or updates the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json + */ +async function fileServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileServer = { + name: "HSDK-4XY4FI2IVG", + description: "Demo FileServer for SDK Test", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/backupScheduleGroups/BackupSchGroupForSDKTest", + domainName: "fareast.corp.microsoft.com", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/sd-fs-HSDK-4XY4FI2IVG", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName, + fileServer + ); + console.log(result); +} + +fileServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersDeleteSample.js new file mode 100644 index 000000000000..431ff511117f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the file server. + * + * @summary Deletes the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json + */ +async function fileServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginDeleteAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersGetSample.js new file mode 100644 index 000000000000..e883995e53a0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified file server name. + * + * @summary Returns the properties of the specified file server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json + */ +async function fileServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.get( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByDeviceSample.js new file mode 100644 index 000000000000..86897bf7e82e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the file servers in a device. + * + * @summary Retrieves all the file servers in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json + */ +async function fileServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByManagerSample.js new file mode 100644 index 000000000000..45dd6c972e48 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the file servers in a manager. + * + * @summary Retrieves all the file servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json + */ +async function fileServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricDefinitionSample.js new file mode 100644 index 000000000000..242f8a36e6d4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricDefinitionSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file server. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json + */ +async function fileServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetricDefinition( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricsSample.js new file mode 100644 index 000000000000..0857b9ea855a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileServersListMetricsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the file server metrics. + * + * @summary Gets the file server metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json + */ +async function fileServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetrics( + deviceName, + fileServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesCreateOrUpdateSample.js new file mode 100644 index 000000000000..af0e40907ab0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesCreateOrUpdateSample.js @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the file share. + * + * @summary Creates or updates the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json + */ +async function fileSharesCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileShare = { + name: "Auto-TestFileShare1", + description: "Demo FileShare for SDK Test Tiered", + adminUser: "fareastidcdlslb", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + fileShare + ); + console.log(result); +} + +fileSharesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesDeleteSample.js new file mode 100644 index 000000000000..3893deb98cbe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesDeleteSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the file share. + * + * @summary Deletes the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json + */ +async function fileSharesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginDeleteAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesGetSample.js new file mode 100644 index 000000000000..73393111a883 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesGetSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified file share name. + * + * @summary Returns the properties of the specified file share name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json + */ +async function fileSharesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.get( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByDeviceSample.js new file mode 100644 index 000000000000..7caf29a06737 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the file shares in a device. + * + * @summary Retrieves all the file shares in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json + */ +async function fileSharesListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByFileServerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByFileServerSample.js new file mode 100644 index 000000000000..6670c46b7ccc --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListByFileServerSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the file shares in a file server. + * + * @summary Retrieves all the file shares in a file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json + */ +async function fileSharesListByFileServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const fileServerName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByFileServer( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByFileServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricDefinitionSample.js new file mode 100644 index 000000000000..69846df57ecd --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricDefinitionSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file share. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json + */ +async function fileSharesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetricDefinition( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricsSample.js new file mode 100644 index 000000000000..3f142df2ceb7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/fileSharesListMetricsSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the file share metrics + * + * @summary Gets the file share metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json + */ +async function fileSharesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetrics( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksCreateOrUpdateSample.js new file mode 100644 index 000000000000..cd8b41068ec6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksCreateOrUpdateSample.js @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the iSCSI disk. + * + * @summary Creates or updates the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json + */ +async function iscsiDisksCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiDisk = { + name: "Auto-TestIscsiDisk1", + description: "Demo IscsiDisk for SDK Test Tiered", + accessControlRecords: [], + dataPolicy: "Tiered", + diskStatus: "Online", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + iscsiDisk + ); + console.log(result); +} + +iscsiDisksCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksDeleteSample.js new file mode 100644 index 000000000000..3df69ebaa7d5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksDeleteSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the iSCSI disk. + * + * @summary Deletes the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json + */ +async function iscsiDisksDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const diskName = "ClonedTieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginDeleteAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksGetSample.js new file mode 100644 index 000000000000..eee81d546d3e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksGetSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI disk name. + * + * @summary Returns the properties of the specified iSCSI disk name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json + */ +async function iscsiDisksGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.get( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByDeviceSample.js new file mode 100644 index 000000000000..ecff68b1f82c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the iSCSI disks in a device. + * + * @summary Retrieves all the iSCSI disks in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json + */ +async function iscsiDisksListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByIscsiServerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByIscsiServerSample.js new file mode 100644 index 000000000000..337e01c28a21 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListByIscsiServerSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the disks in a iSCSI server. + * + * @summary Retrieves all the disks in a iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json + */ +async function iscsiDisksListByIscsiServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByIscsiServer( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByIscsiServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricDefinitionSample.js new file mode 100644 index 000000000000..c6413c3ae64e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricDefinitionSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * + * @summary Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json + */ +async function iscsiDisksListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetricDefinition( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricsSample.js new file mode 100644 index 000000000000..1cb3edd6959c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiDisksListMetricsSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the iSCSI disk metrics + * + * @summary Gets the iSCSI disk metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json + */ +async function iscsiDisksListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetrics( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersBackupNowSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersBackupNowSample.js new file mode 100644 index 000000000000..e64616ed5787 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersBackupNowSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Backup the iSCSI server now. + * + * @summary Backup the iSCSI server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json + */ +async function iscsiServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginBackupNowAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersCreateOrUpdateSample.js new file mode 100644 index 000000000000..4807e2168ba4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersCreateOrUpdateSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the iSCSI server. + * + * @summary Creates or updates the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json + */ +async function iscsiServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiServer = { + name: "HSDK-WSJQERQW3F", + type: "Microsoft.StorSimple/managers/devices/iscsiServers", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/backupScheduleGroups/Default-HSDK-WSJQERQW3F-BackupScheduleGroup", + chapId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/chapSettings/ChapSettingForSDK", + id: "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/iscsiServers/HSDK-WSJQERQW3F", + reverseChapId: "", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/Default-HSDK-WSJQERQW3F-StorageDomain", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + iscsiServer + ); + console.log(result); +} + +iscsiServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersDeleteSample.js new file mode 100644 index 000000000000..3367fafbf13b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the iSCSI server. + * + * @summary Deletes the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json + */ +async function iscsiServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginDeleteAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersGetSample.js new file mode 100644 index 000000000000..f99db0f1e61f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI server name. + * + * @summary Returns the properties of the specified iSCSI server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json + */ +async function iscsiServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.get( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByDeviceSample.js new file mode 100644 index 000000000000..1a542f8e0ebe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the iSCSI in a device. + * + * @summary Retrieves all the iSCSI in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json + */ +async function iscsiServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByManagerSample.js new file mode 100644 index 000000000000..803138cabda5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the iSCSI servers in a manager. + * + * @summary Retrieves all the iSCSI servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json + */ +async function iscsiServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricDefinitionSample.js new file mode 100644 index 000000000000..e0023457f37c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricDefinitionSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definitions for all metrics aggregated at iSCSI server. + * + * @summary Retrieves metric definitions for all metrics aggregated at iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json + */ +async function iscsiServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetricDefinition( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricsSample.js new file mode 100644 index 000000000000..dfaacc7a57ca --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/iscsiServersListMetricsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the iSCSI server metrics + * + * @summary Gets the iSCSI server metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json + */ +async function iscsiServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetrics( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsGetSample.js new file mode 100644 index 000000000000..ac7b4c21bd7a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified job name. + * + * @summary Returns the properties of the specified job name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const jobName = "06c7ee19-35a2-4248-bf1b-408009b31b63"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.jobs.get(deviceName, jobName, resourceGroupName, managerName); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByDeviceSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByDeviceSample.js new file mode 100644 index 000000000000..ef955246652c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByDeviceSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the jobs in a device. + * + * @summary Retrieves all the jobs in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByManagerSample.js new file mode 100644 index 000000000000..ddf274632c15 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/jobsListByManagerSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the jobs in a manager. + * + * @summary Retrieves all the jobs in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByManager(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateExtendedInfoSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateExtendedInfoSample.js new file mode 100644 index 000000000000..0d0afd78db5f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateExtendedInfoSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const managerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + managerExtendedInfo + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateOrUpdateSample.js new file mode 100644 index 000000000000..e88c983effd1 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersCreateOrUpdateSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const manager = { + name: "hManagerForSDKTest", + cisIntrinsicSettings: { type: "HelsinkiV1" }, + location: "westus", + sku: { name: "Standard" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createOrUpdate(resourceGroupName, managerName, manager); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteExtendedInfoSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteExtendedInfoSample.js new file mode 100644 index 000000000000..a72e4be5368b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteExtendedInfoSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.deleteExtendedInfo(resourceGroupName, managerName); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteSample.js new file mode 100644 index 000000000000..b5fc3eca89b3 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionKeySample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionKeySample.js new file mode 100644 index 000000000000..57ad3510e95b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionKeySample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the symmetric encryption key of the manager. + * + * @summary Returns the symmetric encryption key of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json + */ +async function managersGetEncryptionKey() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionKey(resourceGroupName, managerName); + console.log(result); +} + +managersGetEncryptionKey().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionSettingsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionSettingsSample.js new file mode 100644 index 000000000000..44418b0dbf4e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetEncryptionSettingsSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionSettings(resourceGroupName, managerName); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetExtendedInfoSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetExtendedInfoSample.js new file mode 100644 index 000000000000..250464fc3658 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetExtendedInfoSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getExtendedInfo(resourceGroupName, managerName); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetSample.js new file mode 100644 index 000000000000..33e5eea38c5f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListByResourceGroupSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListByResourceGroupSample.js new file mode 100644 index 000000000000..8f1c0f3ec9b2 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricDefinitionSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricDefinitionSample.js new file mode 100644 index 000000000000..5bc999a4aa0d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricDefinitionSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at manager. + * + * @summary Retrieves metric definition of all metrics aggregated at manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricsSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricsSample.js new file mode 100644 index 000000000000..9f1be664b490 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListMetricsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the manager metrics + * + * @summary Gets the manager metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "startTime ge '2018-08-04T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetrics(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListSample.js new file mode 100644 index 000000000000..2bf4bfbd3cec --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateExtendedInfoSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateExtendedInfoSample.js new file mode 100644 index 000000000000..acac34f52a1c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateExtendedInfoSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const ifMatch = "6531d5d7-3ced-4f78-83b6-804368f2ca0c"; + const managerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + managerExtendedInfo + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateSample.js new file mode 100644 index 000000000000..a608fe114fbf --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.update(resourceGroupName, managerName, parameters); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUploadRegistrationCertificateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUploadRegistrationCertificateSample.js new file mode 100644 index 000000000000..cbe4043b1964 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/managersUploadRegistrationCertificateSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * + * @summary Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json + */ +async function managersUploadRegistrationCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const certificateName = "windows"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const uploadCertificateRequestrequest = { + authType: "AzureActiveDirectory", + certificate: + "MIIC3TCCAcWgAwIBAgIQEr0bAWD6wJtA4LIbZ9NtgzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE4MDkxMDE1MzY0MFoXDTE4MDkxMzE1NDY0MFowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANUsKkz2Z4fECKMyNeLb9v3pr1XF4dVe+MITDtgphjl81ng190Y0IHgCVnh4YjfplUSpMk/1xii0rI5AAPwoz3ze2qRPtnwCiTaoVLkUe6knNRPzrRvVXHB81J0/14MO0lwdByHhdccRcVJZPLt5724t4aQny82v2AayJdDDkBBWNlpcqPy6n3sygP00THMPP0O3sFqy924eHqoDj3qSw79/meaZBJt9S5odPuFoskxjHuI4lM6BmK1Ql7p8Wo9/GhTOIoMz81orKPHRDleLjutwL4mb6NnhI5rfT/MxnHD6m82c4YYqiZC3XiTyJWVCkWkp7PK92OdRp6FA87rdKDMCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAIYlezVU68TuEblkn06vM5dfzSmHKJOQgW61nDlLnyKrmSJtzKZLCAswTE2VyJHwKNdZgW15coJFINjWBLWcLr0/GjNV4u3Z+UL3NhBFQd5xuMtKsIhuoscKtyk0JHQXpBvHNmOUCobfQfOBQfTVC7kmyWdtlGztFUVxD28s6S5gMb1FEWWN68NOOJ3/ZhaTbUEM54yw8Hk8/f0L/Zn/7BYHUyWWA3KStAaYn89C/ZFF+952ark2VaKGIjBRQzgrJEIR8dI4r46I3DoEfzGPESKvQPvVLhOX84RG0PLPOtnRbHBVew1Nh3HE9kgCubkPKK+NPWE9IHZPoRmOTWBe+zU=", + contractVersion: "V2012_12", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.uploadRegistrationCertificate( + certificateName, + resourceGroupName, + managerName, + uploadCertificateRequestrequest + ); + console.log(result); +} + +managersUploadRegistrationCertificate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js new file mode 100644 index 000000000000..fb5175f8a403 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the storage account credential + * + * @summary Creates or updates the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageAccount = { + name: "DummySacForSDKTest", + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: + "Ev1tm0QBmpGGm4a58GkqLqx8veJEEgQtg5K3Jizpmy7JdSv9dlcRwk59THw6KIdMDlEHcS8mPyneBtOEQsh4wkcFB7qrmQz+KsRAyIhEm6bwPEm3qN8+aDDzNcXn/6vu/sqV0AP7zit9/s7SxXGxjKrz4zKnOy16/DbzRRmUHNO+HO6JUM0cUfHXTX0mEecbsXqBq0A8IEG8z+bJgXX1EhoGkzE6yVsObm4S1AcKrLiwWjqmSLji5Q8gGO+y4KTTmC3p45h5GHHXjJyOccHhySWDAffxnTzUD/sOoh+aD2VkAYrL3DdnkVzhAdfcZfVI4soONx7tYMloZIVsfW1M2Q==", + }, + cloudType: "Azure", + enableSSL: "Enabled", + endPoint: "blob.core.windows.net", + location: "West US", + login: "SacForSDKTest", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + credentialName, + resourceGroupName, + managerName, + storageAccount + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js new file mode 100644 index 000000000000..929a62e6917c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the storage account credential + * + * @summary Deletes the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsGetSample.js new file mode 100644 index 000000000000..7510efd04fc3 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified storage account credential name. + * + * @summary Returns the properties of the specified storage account credential name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "SacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.get( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js new file mode 100644 index 000000000000..879df4122b1d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the storage account credentials in a manager. + * + * @summary Retrieves all the storage account credentials in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsCreateOrUpdateSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsCreateOrUpdateSample.js new file mode 100644 index 000000000000..564206e87a4b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsCreateOrUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the storage domain. + * + * @summary Creates or updates the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json + */ +async function storageDomainsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageDomain = { + name: "sd-fs-HSDK-4XY4FI2IVG", + encryptionStatus: "Disabled", + storageAccountCredentialIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageAccountCredentials/sacforsdktest", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginCreateOrUpdateAndWait( + storageDomainName, + resourceGroupName, + managerName, + storageDomain + ); + console.log(result); +} + +storageDomainsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsDeleteSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsDeleteSample.js new file mode 100644 index 000000000000..8a1eea41eed7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the storage domain. + * + * @summary Deletes the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json + */ +async function storageDomainsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginDeleteAndWait( + storageDomainName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageDomainsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsGetSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsGetSample.js new file mode 100644 index 000000000000..0c7919b5396c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified storage domain name. + * + * @summary Returns the properties of the specified storage domain name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json + */ +async function storageDomainsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.get(storageDomainName, resourceGroupName, managerName); + console.log(result); +} + +storageDomainsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsListByManagerSample.js b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsListByManagerSample.js new file mode 100644 index 000000000000..f4665b8f69cd --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/javascript/storageDomainsListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the storage domains in a manager. + * + * @summary Retrieves all the storage domains in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json + */ +async function storageDomainsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageDomains.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +storageDomainsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/README.md b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/README.md index b8a9256808a9..5023d9fa1148 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/README.md +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/README.md @@ -2,102 +2,196 @@ These sample programs show how to use the TypeScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [accessControlRecordsCreateOrUpdate.ts][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | -| [accessControlRecordsDelete.ts][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | -| [accessControlRecordsGet.ts][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | -| [accessControlRecordsListByManager.ts][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | -| [alertsClear.ts][alertsclear] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | -| [alertsListByManager.ts][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | -| [alertsSendTestEmail.ts][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | -| [backupScheduleGroupsCreateOrUpdate.ts][backupschedulegroupscreateorupdate] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | -| [backupScheduleGroupsDelete.ts][backupschedulegroupsdelete] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | -| [backupScheduleGroupsGet.ts][backupschedulegroupsget] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | -| [backupScheduleGroupsListByDevice.ts][backupschedulegroupslistbydevice] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | -| [backupsClone.ts][backupsclone] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | -| [backupsDelete.ts][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | -| [backupsListByDevice.ts][backupslistbydevice] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | -| [backupsListByManager.ts][backupslistbymanager] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | -| [chapSettingsCreateOrUpdate.ts][chapsettingscreateorupdate] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | -| [chapSettingsDelete.ts][chapsettingsdelete] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | -| [chapSettingsGet.ts][chapsettingsget] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | -| [chapSettingsListByDevice.ts][chapsettingslistbydevice] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | -| [devicesCreateOrUpdateAlertSettings.ts][devicescreateorupdatealertsettings] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | -| [devicesCreateOrUpdateSecuritySettings.ts][devicescreateorupdatesecuritysettings] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | -| [devicesDeactivate.ts][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | -| [devicesDelete.ts][devicesdelete] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | -| [devicesDownloadUpdates.ts][devicesdownloadupdates] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | -| [devicesFailover.ts][devicesfailover] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | -| [devicesGet.ts][devicesget] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | -| [devicesGetAlertSettings.ts][devicesgetalertsettings] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | -| [devicesGetNetworkSettings.ts][devicesgetnetworksettings] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | -| [devicesGetTimeSettings.ts][devicesgettimesettings] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | -| [devicesGetUpdateSummary.ts][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | -| [devicesInstallUpdates.ts][devicesinstallupdates] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | -| [devicesListByManager.ts][deviceslistbymanager] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | -| [devicesListFailoverTarget.ts][deviceslistfailovertarget] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | -| [devicesListMetricDefinition.ts][deviceslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | -| [devicesListMetrics.ts][deviceslistmetrics] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | -| [devicesPatch.ts][devicespatch] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | -| [devicesScanForUpdates.ts][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | -| [fileServersBackupNow.ts][fileserversbackupnow] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | -| [fileServersCreateOrUpdate.ts][fileserverscreateorupdate] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | -| [fileServersDelete.ts][fileserversdelete] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | -| [fileServersGet.ts][fileserversget] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | -| [fileServersListByDevice.ts][fileserverslistbydevice] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | -| [fileServersListByManager.ts][fileserverslistbymanager] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | -| [fileServersListMetricDefinition.ts][fileserverslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | -| [fileServersListMetrics.ts][fileserverslistmetrics] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | -| [fileSharesCreateOrUpdate.ts][filesharescreateorupdate] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | -| [fileSharesDelete.ts][filesharesdelete] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | -| [fileSharesGet.ts][filesharesget] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | -| [fileSharesListByDevice.ts][fileshareslistbydevice] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | -| [fileSharesListByFileServer.ts][fileshareslistbyfileserver] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | -| [fileSharesListMetricDefinition.ts][fileshareslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | -| [fileSharesListMetrics.ts][fileshareslistmetrics] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | -| [iscsiDisksCreateOrUpdate.ts][iscsidiskscreateorupdate] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | -| [iscsiDisksDelete.ts][iscsidisksdelete] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | -| [iscsiDisksGet.ts][iscsidisksget] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | -| [iscsiDisksListByDevice.ts][iscsidiskslistbydevice] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | -| [iscsiDisksListByIscsiServer.ts][iscsidiskslistbyiscsiserver] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | -| [iscsiDisksListMetricDefinition.ts][iscsidiskslistmetricdefinition] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | -| [iscsiDisksListMetrics.ts][iscsidiskslistmetrics] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | -| [iscsiServersBackupNow.ts][iscsiserversbackupnow] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | -| [iscsiServersCreateOrUpdate.ts][iscsiserverscreateorupdate] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | -| [iscsiServersDelete.ts][iscsiserversdelete] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | -| [iscsiServersGet.ts][iscsiserversget] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | -| [iscsiServersListByDevice.ts][iscsiserverslistbydevice] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | -| [iscsiServersListByManager.ts][iscsiserverslistbymanager] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | -| [iscsiServersListMetricDefinition.ts][iscsiserverslistmetricdefinition] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | -| [iscsiServersListMetrics.ts][iscsiserverslistmetrics] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | -| [jobsGet.ts][jobsget] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | -| [jobsListByDevice.ts][jobslistbydevice] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | -| [jobsListByManager.ts][jobslistbymanager] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | -| [managersCreateExtendedInfo.ts][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | -| [managersCreateOrUpdate.ts][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | -| [managersDelete.ts][managersdelete] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | -| [managersDeleteExtendedInfo.ts][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | -| [managersGet.ts][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | -| [managersGetEncryptionKey.ts][managersgetencryptionkey] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | -| [managersGetEncryptionSettings.ts][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | -| [managersGetExtendedInfo.ts][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | -| [managersList.ts][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | -| [managersListByResourceGroup.ts][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | -| [managersListMetricDefinition.ts][managerslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | -| [managersListMetrics.ts][managerslistmetrics] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | -| [managersUpdate.ts][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | -| [managersUpdateExtendedInfo.ts][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | -| [managersUploadRegistrationCertificate.ts][managersuploadregistrationcertificate] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | -| [operationsList.ts][operationslist] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | -| [storageAccountCredentialsCreateOrUpdate.ts][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | -| [storageAccountCredentialsDelete.ts][storageaccountcredentialsdelete] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | -| [storageAccountCredentialsGet.ts][storageaccountcredentialsget] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | -| [storageAccountCredentialsListByManager.ts][storageaccountcredentialslistbymanager] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | -| [storageDomainsCreateOrUpdate.ts][storagedomainscreateorupdate] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | -| [storageDomainsDelete.ts][storagedomainsdelete] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | -| [storageDomainsGet.ts][storagedomainsget] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | -| [storageDomainsListByManager.ts][storagedomainslistbymanager] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessControlRecordsCreateOrUpdate.ts][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsCreateOrUpdateSample.ts][accesscontrolrecordscreateorupdatesample] | Creates or Updates an access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsDelete.ts][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsDeleteSample.ts][accesscontrolrecordsdeletesample] | Deletes the access control record. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsGet.ts][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsGetSample.ts][accesscontrolrecordsgetsample] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsListByManager.ts][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | +| [accessControlRecordsListByManagerSample.ts][accesscontrolrecordslistbymanagersample] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json | +| [alertsClear.ts][alertsclear] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | +| [alertsClearSample.ts][alertsclearsample] | Clear the alerts. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json | +| [alertsListByManager.ts][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | +| [alertsListByManagerSample.ts][alertslistbymanagersample] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json | +| [alertsSendTestEmail.ts][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | +| [alertsSendTestEmailSample.ts][alertssendtestemailsample] | Sends a test alert email. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json | +| [availableProviderOperationsListSample.ts][availableprovideroperationslistsample] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | +| [backupScheduleGroupsCreateOrUpdate.ts][backupschedulegroupscreateorupdate] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | +| [backupScheduleGroupsCreateOrUpdateSample.ts][backupschedulegroupscreateorupdatesample] | Creates or Updates the backup schedule Group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json | +| [backupScheduleGroupsDelete.ts][backupschedulegroupsdelete] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | +| [backupScheduleGroupsDeleteSample.ts][backupschedulegroupsdeletesample] | Deletes the backup schedule group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json | +| [backupScheduleGroupsGet.ts][backupschedulegroupsget] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | +| [backupScheduleGroupsGetSample.ts][backupschedulegroupsgetsample] | Returns the properties of the specified backup schedule group name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json | +| [backupScheduleGroupsListByDevice.ts][backupschedulegroupslistbydevice] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | +| [backupScheduleGroupsListByDeviceSample.ts][backupschedulegroupslistbydevicesample] | Retrieves all the backup schedule groups in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json | +| [backupsClone.ts][backupsclone] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | +| [backupsCloneSample.ts][backupsclonesample] | Clones the given backup element to a new disk or share with given details. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json | +| [backupsDelete.ts][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | +| [backupsDeleteSample.ts][backupsdeletesample] | Deletes the backup. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json | +| [backupsListByDevice.ts][backupslistbydevice] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | +| [backupsListByDeviceSample.ts][backupslistbydevicesample] | Retrieves all the backups in a device. Can be used to get the backups for failover also. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json | +| [backupsListByManager.ts][backupslistbymanager] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | +| [backupsListByManagerSample.ts][backupslistbymanagersample] | Retrieves all the backups in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json | +| [chapSettingsCreateOrUpdate.ts][chapsettingscreateorupdate] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | +| [chapSettingsCreateOrUpdateSample.ts][chapsettingscreateorupdatesample] | Creates or updates the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json | +| [chapSettingsDelete.ts][chapsettingsdelete] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | +| [chapSettingsDeleteSample.ts][chapsettingsdeletesample] | Deletes the chap setting. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json | +| [chapSettingsGet.ts][chapsettingsget] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | +| [chapSettingsGetSample.ts][chapsettingsgetsample] | Returns the properties of the specified chap setting name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json | +| [chapSettingsListByDevice.ts][chapsettingslistbydevice] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | +| [chapSettingsListByDeviceSample.ts][chapsettingslistbydevicesample] | Retrieves all the chap settings in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json | +| [devicesCreateOrUpdateAlertSettings.ts][devicescreateorupdatealertsettings] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | +| [devicesCreateOrUpdateAlertSettingsSample.ts][devicescreateorupdatealertsettingssample] | Creates or updates the alert settings x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json | +| [devicesCreateOrUpdateSecuritySettings.ts][devicescreateorupdatesecuritysettings] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | +| [devicesCreateOrUpdateSecuritySettingsSample.ts][devicescreateorupdatesecuritysettingssample] | Creates or updates the security settings. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json | +| [devicesDeactivate.ts][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | +| [devicesDeactivateSample.ts][devicesdeactivatesample] | Deactivates the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json | +| [devicesDelete.ts][devicesdelete] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | +| [devicesDeleteSample.ts][devicesdeletesample] | Deletes the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json | +| [devicesDownloadUpdates.ts][devicesdownloadupdates] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | +| [devicesDownloadUpdatesSample.ts][devicesdownloadupdatessample] | Downloads updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json | +| [devicesFailover.ts][devicesfailover] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | +| [devicesFailoverSample.ts][devicesfailoversample] | Fails over the device to another device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json | +| [devicesGet.ts][devicesget] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | +| [devicesGetAlertSettings.ts][devicesgetalertsettings] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | +| [devicesGetAlertSettingsSample.ts][devicesgetalertsettingssample] | Returns the alert settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json | +| [devicesGetNetworkSettings.ts][devicesgetnetworksettings] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | +| [devicesGetNetworkSettingsSample.ts][devicesgetnetworksettingssample] | Returns the network settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json | +| [devicesGetSample.ts][devicesgetsample] | Returns the properties of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json | +| [devicesGetTimeSettings.ts][devicesgettimesettings] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | +| [devicesGetTimeSettingsSample.ts][devicesgettimesettingssample] | Returns the time settings of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json | +| [devicesGetUpdateSummary.ts][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | +| [devicesGetUpdateSummarySample.ts][devicesgetupdatesummarysample] | Returns the update summary of the specified device name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json | +| [devicesInstallUpdates.ts][devicesinstallupdates] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | +| [devicesInstallUpdatesSample.ts][devicesinstallupdatessample] | Installs the updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json | +| [devicesListByManager.ts][deviceslistbymanager] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | +| [devicesListByManagerSample.ts][deviceslistbymanagersample] | Retrieves all the devices in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json | +| [devicesListFailoverTarget.ts][deviceslistfailovertarget] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | +| [devicesListFailoverTargetSample.ts][deviceslistfailovertargetsample] | Retrieves all the devices which can be used as failover targets for the given device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json | +| [devicesListMetricDefinition.ts][deviceslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetricDefinitionSample.ts][deviceslistmetricdefinitionsample] | Retrieves metric definition of all metrics aggregated at device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetrics.ts][deviceslistmetrics] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | +| [devicesListMetricsSample.ts][deviceslistmetricssample] | Retrieves the device metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json | +| [devicesPatch.ts][devicespatch] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | +| [devicesPatchSample.ts][devicespatchsample] | Patches the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json | +| [devicesScanForUpdates.ts][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | +| [devicesScanForUpdatesSample.ts][devicesscanforupdatessample] | Scans for updates on the device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json | +| [fileServersBackupNow.ts][fileserversbackupnow] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | +| [fileServersBackupNowSample.ts][fileserversbackupnowsample] | Backup the file server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json | +| [fileServersCreateOrUpdate.ts][fileserverscreateorupdate] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | +| [fileServersCreateOrUpdateSample.ts][fileserverscreateorupdatesample] | Creates or updates the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json | +| [fileServersDelete.ts][fileserversdelete] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | +| [fileServersDeleteSample.ts][fileserversdeletesample] | Deletes the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json | +| [fileServersGet.ts][fileserversget] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | +| [fileServersGetSample.ts][fileserversgetsample] | Returns the properties of the specified file server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json | +| [fileServersListByDevice.ts][fileserverslistbydevice] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | +| [fileServersListByDeviceSample.ts][fileserverslistbydevicesample] | Retrieves all the file servers in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json | +| [fileServersListByManager.ts][fileserverslistbymanager] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | +| [fileServersListByManagerSample.ts][fileserverslistbymanagersample] | Retrieves all the file servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json | +| [fileServersListMetricDefinition.ts][fileserverslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | +| [fileServersListMetricDefinitionSample.ts][fileserverslistmetricdefinitionsample] | Retrieves metric definitions of all metrics aggregated at the file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json | +| [fileServersListMetrics.ts][fileserverslistmetrics] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | +| [fileServersListMetricsSample.ts][fileserverslistmetricssample] | Gets the file server metrics. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json | +| [fileSharesCreateOrUpdate.ts][filesharescreateorupdate] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | +| [fileSharesCreateOrUpdateSample.ts][filesharescreateorupdatesample] | Creates or updates the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json | +| [fileSharesDelete.ts][filesharesdelete] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | +| [fileSharesDeleteSample.ts][filesharesdeletesample] | Deletes the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json | +| [fileSharesGet.ts][filesharesget] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | +| [fileSharesGetSample.ts][filesharesgetsample] | Returns the properties of the specified file share name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json | +| [fileSharesListByDevice.ts][fileshareslistbydevice] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | +| [fileSharesListByDeviceSample.ts][fileshareslistbydevicesample] | Retrieves all the file shares in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json | +| [fileSharesListByFileServer.ts][fileshareslistbyfileserver] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | +| [fileSharesListByFileServerSample.ts][fileshareslistbyfileserversample] | Retrieves all the file shares in a file server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json | +| [fileSharesListMetricDefinition.ts][fileshareslistmetricdefinition] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | +| [fileSharesListMetricDefinitionSample.ts][fileshareslistmetricdefinitionsample] | Retrieves metric definitions of all metrics aggregated at the file share. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json | +| [fileSharesListMetrics.ts][fileshareslistmetrics] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | +| [fileSharesListMetricsSample.ts][fileshareslistmetricssample] | Gets the file share metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json | +| [iscsiDisksCreateOrUpdate.ts][iscsidiskscreateorupdate] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | +| [iscsiDisksCreateOrUpdateSample.ts][iscsidiskscreateorupdatesample] | Creates or updates the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json | +| [iscsiDisksDelete.ts][iscsidisksdelete] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | +| [iscsiDisksDeleteSample.ts][iscsidisksdeletesample] | Deletes the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json | +| [iscsiDisksGet.ts][iscsidisksget] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | +| [iscsiDisksGetSample.ts][iscsidisksgetsample] | Returns the properties of the specified iSCSI disk name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json | +| [iscsiDisksListByDevice.ts][iscsidiskslistbydevice] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | +| [iscsiDisksListByDeviceSample.ts][iscsidiskslistbydevicesample] | Retrieves all the iSCSI disks in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json | +| [iscsiDisksListByIscsiServer.ts][iscsidiskslistbyiscsiserver] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | +| [iscsiDisksListByIscsiServerSample.ts][iscsidiskslistbyiscsiserversample] | Retrieves all the disks in a iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json | +| [iscsiDisksListMetricDefinition.ts][iscsidiskslistmetricdefinition] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | +| [iscsiDisksListMetricDefinitionSample.ts][iscsidiskslistmetricdefinitionsample] | Retrieves metric definitions for all metric aggregated at the iSCSI disk. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json | +| [iscsiDisksListMetrics.ts][iscsidiskslistmetrics] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | +| [iscsiDisksListMetricsSample.ts][iscsidiskslistmetricssample] | Gets the iSCSI disk metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json | +| [iscsiServersBackupNow.ts][iscsiserversbackupnow] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | +| [iscsiServersBackupNowSample.ts][iscsiserversbackupnowsample] | Backup the iSCSI server now. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json | +| [iscsiServersCreateOrUpdate.ts][iscsiserverscreateorupdate] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | +| [iscsiServersCreateOrUpdateSample.ts][iscsiserverscreateorupdatesample] | Creates or updates the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json | +| [iscsiServersDelete.ts][iscsiserversdelete] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | +| [iscsiServersDeleteSample.ts][iscsiserversdeletesample] | Deletes the iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json | +| [iscsiServersGet.ts][iscsiserversget] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | +| [iscsiServersGetSample.ts][iscsiserversgetsample] | Returns the properties of the specified iSCSI server name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json | +| [iscsiServersListByDevice.ts][iscsiserverslistbydevice] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | +| [iscsiServersListByDeviceSample.ts][iscsiserverslistbydevicesample] | Retrieves all the iSCSI in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json | +| [iscsiServersListByManager.ts][iscsiserverslistbymanager] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | +| [iscsiServersListByManagerSample.ts][iscsiserverslistbymanagersample] | Retrieves all the iSCSI servers in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json | +| [iscsiServersListMetricDefinition.ts][iscsiserverslistmetricdefinition] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | +| [iscsiServersListMetricDefinitionSample.ts][iscsiserverslistmetricdefinitionsample] | Retrieves metric definitions for all metrics aggregated at iSCSI server. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json | +| [iscsiServersListMetrics.ts][iscsiserverslistmetrics] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | +| [iscsiServersListMetricsSample.ts][iscsiserverslistmetricssample] | Gets the iSCSI server metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json | +| [jobsGet.ts][jobsget] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | +| [jobsGetSample.ts][jobsgetsample] | Returns the properties of the specified job name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json | +| [jobsListByDevice.ts][jobslistbydevice] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | +| [jobsListByDeviceSample.ts][jobslistbydevicesample] | Retrieves all the jobs in a device. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json | +| [jobsListByManager.ts][jobslistbymanager] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | +| [jobsListByManagerSample.ts][jobslistbymanagersample] | Retrieves all the jobs in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json | +| [managersCreateExtendedInfo.ts][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateExtendedInfoSample.ts][managerscreateextendedinfosample] | Creates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateOrUpdate.ts][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | +| [managersCreateOrUpdateSample.ts][managerscreateorupdatesample] | Creates or updates the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json | +| [managersDelete.ts][managersdelete] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | +| [managersDeleteExtendedInfo.ts][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteExtendedInfoSample.ts][managersdeleteextendedinfosample] | Deletes the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteSample.ts][managersdeletesample] | Deletes the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json | +| [managersGet.ts][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | +| [managersGetEncryptionKey.ts][managersgetencryptionkey] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | +| [managersGetEncryptionKeySample.ts][managersgetencryptionkeysample] | Returns the symmetric encryption key of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json | +| [managersGetEncryptionSettings.ts][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetEncryptionSettingsSample.ts][managersgetencryptionsettingssample] | Returns the encryption settings of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetExtendedInfo.ts][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | +| [managersGetExtendedInfoSample.ts][managersgetextendedinfosample] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json | +| [managersGetSample.ts][managersgetsample] | Returns the properties of the specified manager name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json | +| [managersList.ts][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | +| [managersListByResourceGroup.ts][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | +| [managersListByResourceGroupSample.ts][managerslistbyresourcegroupsample] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json | +| [managersListMetricDefinition.ts][managerslistmetricdefinition] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | +| [managersListMetricDefinitionSample.ts][managerslistmetricdefinitionsample] | Retrieves metric definition of all metrics aggregated at manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json | +| [managersListMetrics.ts][managerslistmetrics] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | +| [managersListMetricsSample.ts][managerslistmetricssample] | Gets the manager metrics x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json | +| [managersListSample.ts][managerslistsample] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json | +| [managersUpdate.ts][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | +| [managersUpdateExtendedInfo.ts][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateExtendedInfoSample.ts][managersupdateextendedinfosample] | Updates the extended info of the manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateSample.ts][managersupdatesample] | Updates the StorSimple Manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json | +| [managersUploadRegistrationCertificate.ts][managersuploadregistrationcertificate] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | +| [managersUploadRegistrationCertificateSample.ts][managersuploadregistrationcertificatesample] | Upload Vault Cred Certificate. Returns UploadCertificateResponse x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json | +| [operationsList.ts][operationslist] | List of AvailableProviderOperations x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json | +| [storageAccountCredentialsCreateOrUpdate.ts][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsCreateOrUpdateSample.ts][storageaccountcredentialscreateorupdatesample] | Creates or updates the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsDelete.ts][storageaccountcredentialsdelete] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsDeleteSample.ts][storageaccountcredentialsdeletesample] | Deletes the storage account credential x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsGet.ts][storageaccountcredentialsget] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsGetSample.ts][storageaccountcredentialsgetsample] | Returns the properties of the specified storage account credential name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsListByManager.ts][storageaccountcredentialslistbymanager] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | +| [storageAccountCredentialsListByManagerSample.ts][storageaccountcredentialslistbymanagersample] | Retrieves all the storage account credentials in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json | +| [storageDomainsCreateOrUpdate.ts][storagedomainscreateorupdate] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | +| [storageDomainsCreateOrUpdateSample.ts][storagedomainscreateorupdatesample] | Creates or updates the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json | +| [storageDomainsDelete.ts][storagedomainsdelete] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | +| [storageDomainsDeleteSample.ts][storagedomainsdeletesample] | Deletes the storage domain. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json | +| [storageDomainsGet.ts][storagedomainsget] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | +| [storageDomainsGetSample.ts][storagedomainsgetsample] | Returns the properties of the specified storage domain name. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json | +| [storageDomainsListByManager.ts][storagedomainslistbymanager] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | +| [storageDomainsListByManagerSample.ts][storagedomainslistbymanagersample] | Retrieves all the storage domains in a manager. x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json | ## Prerequisites @@ -150,99 +244,193 @@ npx cross-env node dist/accessControlRecordsCreateOrUpdate.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. [accesscontrolrecordscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdate.ts +[accesscontrolrecordscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts [accesscontrolrecordsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsDelete.ts +[accesscontrolrecordsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts [accesscontrolrecordsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsGet.ts +[accesscontrolrecordsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsGetSample.ts [accesscontrolrecordslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsListByManager.ts +[accesscontrolrecordslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts [alertsclear]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsClear.ts +[alertsclearsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsClearSample.ts [alertslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsListByManager.ts +[alertslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsListByManagerSample.ts [alertssendtestemail]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsSendTestEmail.ts +[alertssendtestemailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsSendTestEmailSample.ts +[availableprovideroperationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/availableProviderOperationsListSample.ts [backupschedulegroupscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsCreateOrUpdate.ts +[backupschedulegroupscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsCreateOrUpdateSample.ts [backupschedulegroupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsDelete.ts +[backupschedulegroupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsDeleteSample.ts [backupschedulegroupsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsGet.ts +[backupschedulegroupsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsGetSample.ts [backupschedulegroupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsListByDevice.ts +[backupschedulegroupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsListByDeviceSample.ts [backupsclone]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsClone.ts +[backupsclonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsCloneSample.ts [backupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsDelete.ts +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsDeleteSample.ts [backupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByDevice.ts +[backupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByDeviceSample.ts [backupslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByManager.ts +[backupslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByManagerSample.ts [chapsettingscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsCreateOrUpdate.ts +[chapsettingscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsCreateOrUpdateSample.ts [chapsettingsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsDelete.ts +[chapsettingsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsDeleteSample.ts [chapsettingsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsGet.ts +[chapsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsGetSample.ts [chapsettingslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsListByDevice.ts +[chapsettingslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsListByDeviceSample.ts [devicescreateorupdatealertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateAlertSettings.ts +[devicescreateorupdatealertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateAlertSettingsSample.ts [devicescreateorupdatesecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateSecuritySettings.ts +[devicescreateorupdatesecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateSecuritySettingsSample.ts [devicesdeactivate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeactivate.ts +[devicesdeactivatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeactivateSample.ts [devicesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDelete.ts +[devicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeleteSample.ts [devicesdownloadupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDownloadUpdates.ts +[devicesdownloadupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDownloadUpdatesSample.ts [devicesfailover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesFailover.ts +[devicesfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesFailoverSample.ts [devicesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGet.ts [devicesgetalertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetAlertSettings.ts +[devicesgetalertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetAlertSettingsSample.ts [devicesgetnetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetNetworkSettings.ts +[devicesgetnetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetNetworkSettingsSample.ts +[devicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetSample.ts [devicesgettimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetTimeSettings.ts +[devicesgettimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetTimeSettingsSample.ts [devicesgetupdatesummary]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetUpdateSummary.ts +[devicesgetupdatesummarysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts [devicesinstallupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesInstallUpdates.ts +[devicesinstallupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts [deviceslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListByManager.ts +[deviceslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListByManagerSample.ts [deviceslistfailovertarget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListFailoverTarget.ts +[deviceslistfailovertargetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListFailoverTargetSample.ts [deviceslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricDefinition.ts +[deviceslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts [deviceslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetrics.ts +[deviceslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricsSample.ts [devicespatch]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesPatch.ts +[devicespatchsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesPatchSample.ts [devicesscanforupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesScanForUpdates.ts +[devicesscanforupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts [fileserversbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersBackupNow.ts +[fileserversbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersBackupNowSample.ts [fileserverscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersCreateOrUpdate.ts +[fileserverscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersCreateOrUpdateSample.ts [fileserversdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersDelete.ts +[fileserversdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersDeleteSample.ts [fileserversget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersGet.ts +[fileserversgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersGetSample.ts [fileserverslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByDevice.ts +[fileserverslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByDeviceSample.ts [fileserverslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByManager.ts +[fileserverslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByManagerSample.ts [fileserverslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricDefinition.ts +[fileserverslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricDefinitionSample.ts [fileserverslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetrics.ts +[fileserverslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricsSample.ts [filesharescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesCreateOrUpdate.ts +[filesharescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesCreateOrUpdateSample.ts [filesharesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesDelete.ts +[filesharesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesDeleteSample.ts [filesharesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesGet.ts +[filesharesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesGetSample.ts [fileshareslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByDevice.ts +[fileshareslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByDeviceSample.ts [fileshareslistbyfileserver]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByFileServer.ts +[fileshareslistbyfileserversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByFileServerSample.ts [fileshareslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricDefinition.ts +[fileshareslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricDefinitionSample.ts [fileshareslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetrics.ts +[fileshareslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricsSample.ts [iscsidiskscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksCreateOrUpdate.ts +[iscsidiskscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksCreateOrUpdateSample.ts [iscsidisksdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksDelete.ts +[iscsidisksdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksDeleteSample.ts [iscsidisksget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksGet.ts +[iscsidisksgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksGetSample.ts [iscsidiskslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByDevice.ts +[iscsidiskslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByDeviceSample.ts [iscsidiskslistbyiscsiserver]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByIscsiServer.ts +[iscsidiskslistbyiscsiserversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByIscsiServerSample.ts [iscsidiskslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricDefinition.ts +[iscsidiskslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricDefinitionSample.ts [iscsidiskslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetrics.ts +[iscsidiskslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricsSample.ts [iscsiserversbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersBackupNow.ts +[iscsiserversbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersBackupNowSample.ts [iscsiserverscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersCreateOrUpdate.ts +[iscsiserverscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersCreateOrUpdateSample.ts [iscsiserversdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersDelete.ts +[iscsiserversdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersDeleteSample.ts [iscsiserversget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersGet.ts +[iscsiserversgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersGetSample.ts [iscsiserverslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByDevice.ts +[iscsiserverslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByDeviceSample.ts [iscsiserverslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByManager.ts +[iscsiserverslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByManagerSample.ts [iscsiserverslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricDefinition.ts +[iscsiserverslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricDefinitionSample.ts [iscsiserverslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetrics.ts +[iscsiserverslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricsSample.ts [jobsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsGet.ts +[jobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsGetSample.ts [jobslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByDevice.ts +[jobslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByDeviceSample.ts [jobslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByManager.ts +[jobslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByManagerSample.ts [managerscreateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateExtendedInfo.ts +[managerscreateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts [managerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateOrUpdate.ts +[managerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts [managersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDelete.ts [managersdeleteextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteExtendedInfo.ts +[managersdeleteextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts +[managersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteSample.ts [managersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGet.ts [managersgetencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionKey.ts +[managersgetencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionKeySample.ts [managersgetencryptionsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionSettings.ts +[managersgetencryptionsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts [managersgetextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetExtendedInfo.ts +[managersgetextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts +[managersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetSample.ts [managerslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersList.ts [managerslistbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListByResourceGroup.ts +[managerslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListByResourceGroupSample.ts [managerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricDefinition.ts +[managerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts [managerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetrics.ts +[managerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricsSample.ts +[managerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListSample.ts [managersupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdate.ts [managersupdateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateExtendedInfo.ts +[managersupdateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts +[managersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateSample.ts [managersuploadregistrationcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUploadRegistrationCertificate.ts +[managersuploadregistrationcertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUploadRegistrationCertificateSample.ts [operationslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/operationsList.ts [storageaccountcredentialscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdate.ts +[storageaccountcredentialscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts [storageaccountcredentialsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsDelete.ts +[storageaccountcredentialsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts [storageaccountcredentialsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsGet.ts +[storageaccountcredentialsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts [storageaccountcredentialslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsListByManager.ts +[storageaccountcredentialslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts [storagedomainscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsCreateOrUpdate.ts +[storagedomainscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsCreateOrUpdateSample.ts [storagedomainsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsDelete.ts +[storagedomainsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsDeleteSample.ts [storagedomainsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsGet.ts +[storagedomainsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsGetSample.ts [storagedomainslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsListByManager.ts +[storagedomainslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsListByManagerSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storsimple1200series?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storsimple1200series/arm-storsimple1200series/README.md diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..1fd2af5f2a31 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessControlRecord, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const accessControlRecord: AccessControlRecord = { + name: "AcrForSDKTest", + initiatorName: "iqn.2017-06.com.contoso:ForTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + accessControlRecord + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts new file mode 100644 index 000000000000..f9fc240d7286 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsGetSample.ts new file mode 100644 index 000000000000..54d799a54c61 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const accessControlRecordName = "AcrForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts new file mode 100644 index 000000000000..ad5f842d2b37 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsClearSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsClearSample.ts new file mode 100644 index 000000000000..503031a9c34a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsClearSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ClearAlertRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request: ClearAlertRequest = { + alerts: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hManagerForSDKTest4/devices/is2-hlmdhdgu1et/alerts/a1f3a945-74dc-4387-bf17-a4f226374833" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.clear( + resourceGroupName, + managerName, + request + ); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsListByManagerSample.ts new file mode 100644 index 000000000000..fb7f819d4482 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsListByManagerSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const filter = "status eq 'Active' and severity eq 'Critical'"; + const options: AlertsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.alerts.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsSendTestEmailSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsSendTestEmailSample.ts new file mode 100644 index 000000000000..7d0b2d8b8d4f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/alertsSendTestEmailSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SendTestAlertEmailRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "is2-hlmdhdgu1et"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const request: SendTestAlertEmailRequest = { + emailList: ["testemailid@contoso.com"] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + request + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/availableProviderOperationsListSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/availableProviderOperationsListSample.ts new file mode 100644 index 000000000000..daef6f5580b6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/availableProviderOperationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to List of AvailableProviderOperations + * + * @summary List of AvailableProviderOperations + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.availableProviderOperationsOperations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..d1efedb4fb8e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupScheduleGroup, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates the backup schedule Group. + * + * @summary Creates or Updates the backup schedule Group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json + */ +async function backupScheduleGroupsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const scheduleGroup: BackupScheduleGroup = { + name: "BackupSchGroupForSDKTest", + startTime: { hour: 17, minute: 38 } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginCreateOrUpdateAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName, + scheduleGroup + ); + console.log(result); +} + +backupScheduleGroupsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsDeleteSample.ts new file mode 100644 index 000000000000..371ebc08c244 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup schedule group. + * + * @summary Deletes the backup schedule group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json + */ +async function backupScheduleGroupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.beginDeleteAndWait( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsGetSample.ts new file mode 100644 index 000000000000..679fcdc8db1e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified backup schedule group name. + * + * @summary Returns the properties of the specified backup schedule group name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsGet.json + */ +async function backupScheduleGroupsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const scheduleGroupName = "BackupSchGroupForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backupScheduleGroups.get( + deviceName, + scheduleGroupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupScheduleGroupsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsListByDeviceSample.ts new file mode 100644 index 000000000000..11981109e69c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupScheduleGroupsListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backup schedule groups in a device. + * + * @summary Retrieves all the backup schedule groups in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsListByDevice.json + */ +async function backupScheduleGroupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backupScheduleGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupScheduleGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsCloneSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsCloneSample.ts new file mode 100644 index 000000000000..4ab00a8a56db --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsCloneSample.ts @@ -0,0 +1,59 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloneRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clones the given backup element to a new disk or share with given details. + * + * @summary Clones the given backup element to a new disk or share with given details. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const backupName = "58d33025-e837-41cc-b15f-7c85ced64aab"; + const elementName = "2304968f-91af-4f59-8b79-31e321eee40e"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const cloneRequest: CloneRequest = { + newEndpointName: "ClonedTieredFileShareForSDKTest", + share: { + name: "TieredFileShareForSDKTest", + description: "Restore file Share", + adminUser: "HSDK-4XY4FI2IVGStorSimpleAdmin", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online" + }, + targetAccessPointId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/fileServers/HSDK-4XY4FI2IVG", + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + elementName, + resourceGroupName, + managerName, + cloneRequest + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsDeleteSample.ts new file mode 100644 index 000000000000..6b589bc6f517 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const backupName = "315c3461-96ad-41bf-af0b-3a8be5113203"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByDeviceSample.ts new file mode 100644 index 000000000000..fa583d546111 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByDeviceSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByDeviceOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a device. Can be used to get the backups for failover also. + * + * @summary Retrieves all the backups in a device. Can be used to get the backups for failover also. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "initiatedBy eq 'Manual'"; + const options: BackupsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByManagerSample.ts new file mode 100644 index 000000000000..877f5d641e21 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/backupsListByManagerSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a manager. + * + * @summary Retrieves all the backups in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsListByManager.json + */ +async function backupsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "createdTime ge '2018-08-10T17:30:03Z' and createdTime le '2018-08-14T17:30:03Z' and initiatedBy eq 'Manual'"; + const options: BackupsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..9ac4194aa3f6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsCreateOrUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ChapSettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the chap setting. + * + * @summary Creates or updates the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json + */ +async function chapSettingsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const chapSetting: ChapSettings = { + name: "ChapSettingForSDK", + password: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginCreateOrUpdateAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName, + chapSetting + ); + console.log(result); +} + +chapSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsDeleteSample.ts new file mode 100644 index 000000000000..5dcdf1e3d00a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the chap setting. + * + * @summary Deletes the chap setting. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json + */ +async function chapSettingsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDKForDelete"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.beginDeleteAndWait( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsGetSample.ts new file mode 100644 index 000000000000..b54ade37fb6c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified chap setting name. + * + * @summary Returns the properties of the specified chap setting name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsGet.json + */ +async function chapSettingsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const chapUserName = "ChapSettingForSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.chapSettingsOperations.get( + deviceName, + chapUserName, + resourceGroupName, + managerName + ); + console.log(result); +} + +chapSettingsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsListByDeviceSample.ts new file mode 100644 index 000000000000..161c11d84388 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/chapSettingsListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the chap settings in a device. + * + * @summary Retrieves all the chap settings in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsListByDevice.json + */ +async function chapSettingsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.chapSettingsOperations.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +chapSettingsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateAlertSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateAlertSettingsSample.ts new file mode 100644 index 000000000000..f08e72f1606b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateAlertSettingsSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertSettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the alert settings + * + * @summary Creates or updates the alert settings + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json + */ +async function devicesCreateOrUpdateAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const alertSettings: AlertSettings = { + name: "default", + additionalRecipientEmailList: ["testuser@abc.com"], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + alertSettings + ); + console.log(result); +} + +devicesCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateSecuritySettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateSecuritySettingsSample.ts new file mode 100644 index 000000000000..f0e5ccf85785 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesCreateOrUpdateSecuritySettingsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SecuritySettings, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the security settings. + * + * @summary Creates or updates the security settings. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json + */ +async function devicesCreateOrUpdateSecuritySettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const securitySettings: SecuritySettings = { + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginCreateOrUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + securitySettings + ); + console.log(result); +} + +devicesCreateOrUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeactivateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeactivateSample.ts new file mode 100644 index 000000000000..e42a32047261 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeactivateSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeleteSample.ts new file mode 100644 index 000000000000..d23328e5b406 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "SDK-DELETE"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForDeleteOperation"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDownloadUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDownloadUpdatesSample.ts new file mode 100644 index 000000000000..8ec01a533878 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesDownloadUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Downloads updates on the device. + * + * @summary Downloads updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json + */ +async function devicesDownloadUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginDownloadUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDownloadUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesFailoverSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesFailoverSample.ts new file mode 100644 index 000000000000..d18e7763509a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesFailoverSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FailoverRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Fails over the device to another device. + * + * @summary Fails over the device to another device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const failoverRequest: FailoverRequest = { + accesspointIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-0NZI14MDTF/iscsiServers/HSDK-0NZI14MDTF" + ], + keepSourceDevice: true, + skipValidation: true, + targetDeviceId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-UGU4PITWNI" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginFailoverAndWait( + deviceName, + resourceGroupName, + managerName, + failoverRequest + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetAlertSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetAlertSettingsSample.ts new file mode 100644 index 000000000000..1b41a6808ce9 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetAlertSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the alert settings of the specified device name. + * + * @summary Returns the alert settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetAlertSettings.json + */ +async function devicesGetAlertSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getAlertSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetNetworkSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetNetworkSettingsSample.ts new file mode 100644 index 000000000000..078551393cab --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetNetworkSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the network settings of the specified device name. + * + * @summary Returns the network settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetNetworkSettings.json + */ +async function devicesGetNetworkSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetSample.ts new file mode 100644 index 000000000000..4c843de38206 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified device name. + * + * @summary Returns the properties of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.get( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetTimeSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetTimeSettingsSample.ts new file mode 100644 index 000000000000..356dcd8e14ef --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetTimeSettingsSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the time settings of the specified device name. + * + * @summary Returns the time settings of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetTimeSettings.json + */ +async function devicesGetTimeSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-T4ZA3EAJFR"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getTimeSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts new file mode 100644 index 000000000000..755952ff31ec --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.getUpdateSummary( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts new file mode 100644 index 000000000000..e1772e0b09c8 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Installs the updates on the device. + * + * @summary Installs the updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListByManagerSample.ts new file mode 100644 index 000000000000..47d4b824f7b7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the devices in a manager. + * + * @summary Retrieves all the devices in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListFailoverTargetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListFailoverTargetSample.ts new file mode 100644 index 000000000000..ca1eae48e858 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListFailoverTargetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the devices which can be used as failover targets for the given device. + * + * @summary Retrieves all the devices which can be used as failover targets for the given device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListFailoverTarget.json + */ +async function devicesListFailoverTarget() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTarget( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTarget().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..f0263d74e5b0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at device. + * + * @summary Retrieves metric definition of all metrics aggregated at device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricsSample.ts new file mode 100644 index 000000000000..b910addb273a --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesListMetricsSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicesListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the device metrics. + * + * @summary Retrieves the device metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: DevicesListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesPatchSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesPatchSample.ts new file mode 100644 index 000000000000..9c10ee455660 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesPatchSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicePatch, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json + */ +async function devicesPatch() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const devicePatch: DevicePatch = { + deviceDescription: "NewDescription8/14/2018 2:30:34 PM" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginPatchAndWait( + deviceName, + resourceGroupName, + managerName, + devicePatch + ); + console.log(result); +} + +devicesPatch().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts new file mode 100644 index 000000000000..459a4be485f7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HBVT-02X525X2W0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest4"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersBackupNowSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersBackupNowSample.ts new file mode 100644 index 000000000000..b5c2424c6b63 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersBackupNowSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the file server now. + * + * @summary Backup the file server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json + */ +async function fileServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginBackupNowAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b6b2dd37c108 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersCreateOrUpdateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileServer, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the file server. + * + * @summary Creates or updates the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json + */ +async function fileServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileServer: FileServer = { + name: "HSDK-4XY4FI2IVG", + description: "Demo FileServer for SDK Test", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/hsdk-4xy4fi2ivg/backupScheduleGroups/BackupSchGroupForSDKTest", + domainName: "fareast.corp.microsoft.com", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/sd-fs-HSDK-4XY4FI2IVG" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName, + fileServer + ); + console.log(result); +} + +fileServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersDeleteSample.ts new file mode 100644 index 000000000000..856f36b74993 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the file server. + * + * @summary Deletes the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json + */ +async function fileServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.beginDeleteAndWait( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersGetSample.ts new file mode 100644 index 000000000000..8f6f6956baa9 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified file server name. + * + * @summary Returns the properties of the specified file server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersGet.json + */ +async function fileServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileServers.get( + deviceName, + fileServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByDeviceSample.ts new file mode 100644 index 000000000000..6eefdefe4593 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file servers in a device. + * + * @summary Retrieves all the file servers in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByDevice.json + */ +async function fileServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByManagerSample.ts new file mode 100644 index 000000000000..8c7aabd025c7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file servers in a manager. + * + * @summary Retrieves all the file servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListByManager.json + */ +async function fileServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..590aeeb8e4ac --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricDefinitionSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file server. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetricDefinition.json + */ +async function fileServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetricDefinition( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricsSample.ts new file mode 100644 index 000000000000..e03a615c0e8b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileServersListMetricsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileServersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the file server metrics. + * + * @summary Gets the file server metrics. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersListMetrics.json + */ +async function fileServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: FileServersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileServers.listMetrics( + deviceName, + fileServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..73012495b6ad --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileShare, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the file share. + * + * @summary Creates or updates the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json + */ +async function fileSharesCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const fileShare: FileShare = { + name: "Auto-TestFileShare1", + description: "Demo FileShare for SDK Test Tiered", + adminUser: "fareastidcdlslb", + dataPolicy: "Tiered", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000, + shareStatus: "Online" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginCreateOrUpdateAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + fileShare + ); + console.log(result); +} + +fileSharesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesDeleteSample.ts new file mode 100644 index 000000000000..e909423a9b2b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesDeleteSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the file share. + * + * @summary Deletes the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json + */ +async function fileSharesDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.beginDeleteAndWait( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesGetSample.ts new file mode 100644 index 000000000000..a1da4e96503f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesGetSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified file share name. + * + * @summary Returns the properties of the specified file share name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesGet.json + */ +async function fileSharesGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const fileServerName = "HSDK-4XY4FI2IVG"; + const shareName = "Auto-TestFileShare1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.fileShares.get( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + ); + console.log(result); +} + +fileSharesGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByDeviceSample.ts new file mode 100644 index 000000000000..baa95628d34f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file shares in a device. + * + * @summary Retrieves all the file shares in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByDevice.json + */ +async function fileSharesListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByFileServerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByFileServerSample.ts new file mode 100644 index 000000000000..69754e6297ff --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListByFileServerSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the file shares in a file server. + * + * @summary Retrieves all the file shares in a file server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListByFileServer.json + */ +async function fileSharesListByFileServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const fileServerName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listByFileServer( + deviceName, + fileServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListByFileServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..1d8e72464979 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricDefinitionSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions of all metrics aggregated at the file share. + * + * @summary Retrieves metric definitions of all metrics aggregated at the file share. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetricDefinition.json + */ +async function fileSharesListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetricDefinition( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricsSample.ts new file mode 100644 index 000000000000..38b8d60c9d0f --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/fileSharesListMetricsSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FileSharesListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the file share metrics + * + * @summary Gets the file share metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesListMetrics.json + */ +async function fileSharesListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-DMNJB2PET0"; + const fileServerName = "HSDK-DMNJB2PET0"; + const shareName = "Auto-TestFileShare2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: FileSharesListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.fileShares.listMetrics( + deviceName, + fileServerName, + shareName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +fileSharesListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksCreateOrUpdateSample.ts new file mode 100644 index 000000000000..57ead0844bc5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiDisk, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the iSCSI disk. + * + * @summary Creates or updates the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json + */ +async function iscsiDisksCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiDisk: IscsiDisk = { + name: "Auto-TestIscsiDisk1", + description: "Demo IscsiDisk for SDK Test Tiered", + accessControlRecords: [], + dataPolicy: "Tiered", + diskStatus: "Online", + monitoringStatus: "Enabled", + provisionedCapacityInBytes: 536870912000 + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + iscsiDisk + ); + console.log(result); +} + +iscsiDisksCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksDeleteSample.ts new file mode 100644 index 000000000000..da27e6b4642c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksDeleteSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the iSCSI disk. + * + * @summary Deletes the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json + */ +async function iscsiDisksDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const diskName = "ClonedTieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.beginDeleteAndWait( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksGetSample.ts new file mode 100644 index 000000000000..532a171d7552 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksGetSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI disk name. + * + * @summary Returns the properties of the specified iSCSI disk name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksGet.json + */ +async function iscsiDisksGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const diskName = "Auto-TestIscsiDisk1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiDisks.get( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiDisksGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByDeviceSample.ts new file mode 100644 index 000000000000..b41e8a617f5e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI disks in a device. + * + * @summary Retrieves all the iSCSI disks in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByDevice.json + */ +async function iscsiDisksListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByIscsiServerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByIscsiServerSample.ts new file mode 100644 index 000000000000..e8025401b84d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListByIscsiServerSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the disks in a iSCSI server. + * + * @summary Retrieves all the disks in a iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListByIscsiServer.json + */ +async function iscsiDisksListByIscsiServer() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listByIscsiServer( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListByIscsiServer().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricDefinitionSample.ts new file mode 100644 index 000000000000..25c85a48beee --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricDefinitionSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * + * @summary Retrieves metric definitions for all metric aggregated at the iSCSI disk. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetricDefinition.json + */ +async function iscsiDisksListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetricDefinition( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricsSample.ts new file mode 100644 index 000000000000..38a6b4e79b3b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiDisksListMetricsSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiDisksListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the iSCSI disk metrics + * + * @summary Gets the iSCSI disk metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksListMetrics.json + */ +async function iscsiDisksListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const diskName = "TieredIscsiDiskForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: IscsiDisksListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiDisks.listMetrics( + deviceName, + iscsiServerName, + diskName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiDisksListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersBackupNowSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersBackupNowSample.ts new file mode 100644 index 000000000000..ab2283b15907 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersBackupNowSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the iSCSI server now. + * + * @summary Backup the iSCSI server now. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json + */ +async function iscsiServersBackupNow() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-0NZI14MDTF"; + const iscsiServerName = "HSDK-0NZI14MDTF"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginBackupNowAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersBackupNow().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6dbe8c9824f4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersCreateOrUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiServer, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the iSCSI server. + * + * @summary Creates or updates the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json + */ +async function iscsiServersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const iscsiServer: IscsiServer = { + name: "HSDK-WSJQERQW3F", + type: "Microsoft.StorSimple/managers/devices/iscsiServers", + backupScheduleGroupId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/backupScheduleGroups/Default-HSDK-WSJQERQW3F-BackupScheduleGroup", + chapId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/chapSettings/ChapSettingForSDK", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/devices/HSDK-WSJQERQW3F/iscsiServers/HSDK-WSJQERQW3F", + reverseChapId: "", + storageDomainId: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageDomains/Default-HSDK-WSJQERQW3F-StorageDomain" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginCreateOrUpdateAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + iscsiServer + ); + console.log(result); +} + +iscsiServersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersDeleteSample.ts new file mode 100644 index 000000000000..b5262c04fa9d --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the iSCSI server. + * + * @summary Deletes the iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json + */ +async function iscsiServersDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.beginDeleteAndWait( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersGetSample.ts new file mode 100644 index 000000000000..dc7bac7b1b92 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified iSCSI server name. + * + * @summary Returns the properties of the specified iSCSI server name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersGet.json + */ +async function iscsiServersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-WSJQERQW3F"; + const iscsiServerName = "HSDK-WSJQERQW3F"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.iscsiServers.get( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +iscsiServersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByDeviceSample.ts new file mode 100644 index 000000000000..ebb6ce623f22 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByDeviceSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI in a device. + * + * @summary Retrieves all the iSCSI in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByDevice.json + */ +async function iscsiServersListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByManagerSample.ts new file mode 100644 index 000000000000..56db5ebc1bf6 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the iSCSI servers in a manager. + * + * @summary Retrieves all the iSCSI servers in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListByManager.json + */ +async function iscsiServersListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..ff5c268311d7 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricDefinitionSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definitions for all metrics aggregated at iSCSI server. + * + * @summary Retrieves metric definitions for all metrics aggregated at iSCSI server. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetricDefinition.json + */ +async function iscsiServersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetricDefinition( + deviceName, + iscsiServerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricsSample.ts new file mode 100644 index 000000000000..d74fbd37aae1 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/iscsiServersListMetricsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + IscsiServersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the iSCSI server metrics + * + * @summary Gets the iSCSI server metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersListMetrics.json + */ +async function iscsiServersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-UGU4PITWNI"; + const iscsiServerName = "HSDK-UGU4PITWNI"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-10T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: IscsiServersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.iscsiServers.listMetrics( + deviceName, + iscsiServerName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +iscsiServersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsGetSample.ts new file mode 100644 index 000000000000..0651b4879d70 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsGetSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified job name. + * + * @summary Returns the properties of the specified job name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const jobName = "06c7ee19-35a2-4248-bf1b-408009b31b63"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.jobs.get( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByDeviceSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByDeviceSample.ts new file mode 100644 index 000000000000..ac58175bc7ad --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByDeviceSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByDeviceOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the jobs in a device. + * + * @summary Retrieves all the jobs in a device. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const deviceName = "HSDK-ARCSX4MVKZ"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options: JobsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByManagerSample.ts new file mode 100644 index 000000000000..28228443f3d3 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/jobsListByManagerSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByManagerOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the jobs in a manager. + * + * @summary Retrieves all the jobs in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = "jobType eq 'Backup'"; + const options: JobsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts new file mode 100644 index 000000000000..9e9076d58f82 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const managerExtendedInfo: ManagerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + managerExtendedInfo + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..bc91d33810c8 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Manager, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const manager: Manager = { + name: "hManagerForSDKTest", + cisIntrinsicSettings: { type: "HelsinkiV1" }, + location: "westus", + sku: { name: "Standard" } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.createOrUpdate( + resourceGroupName, + managerName, + manager + ); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts new file mode 100644 index 000000000000..037a596f0afe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.deleteExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteSample.ts new file mode 100644 index 000000000000..4f1e40da4abe --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersDeleteSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionKeySample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionKeySample.ts new file mode 100644 index 000000000000..351d3e018573 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionKeySample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the symmetric encryption key of the manager. + * + * @summary Returns the symmetric encryption key of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionKey.json + */ +async function managersGetEncryptionKey() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionKey().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts new file mode 100644 index 000000000000..77b16bc84a49 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionSettings( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts new file mode 100644 index 000000000000..d82f10872207 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.getExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetSample.ts new file mode 100644 index 000000000000..c46435a2c44b --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListByResourceGroupSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListByResourceGroupSample.ts new file mode 100644 index 000000000000..5b633f0ff679 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..fe13a5aa85a5 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves metric definition of all metrics aggregated at manager. + * + * @summary Retrieves metric definition of all metrics aggregated at manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricsSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricsSample.ts new file mode 100644 index 000000000000..270a40eb2748 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListMetricsSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagersListMetricsOptionalParams, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the manager metrics + * + * @summary Gets the manager metrics + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const filter = + "startTime ge '2018-08-04T18:30:00Z' and endTime le '2018-08-11T18:30:00Z'"; + const options: ManagersListMetricsOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetrics( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListSample.ts new file mode 100644 index 000000000000..0cc23052a2ab --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts new file mode 100644 index 000000000000..5a5d55dc32f0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hManagerForSDKTest"; + const ifMatch = "6531d5d7-3ced-4f78-83b6-804368f2ca0c"; + const managerExtendedInfo: ManagerExtendedInfo = { + name: "vaultExtendedInfo", + type: "Microsoft.StorSimple/Managers/extendedInformation", + algorithm: "SHA256", + etag: "6531d5d7-3ced-4f78-83b6-804368f2ca0c", + id: + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/Managers/hManagerForSDKTestextendedInformation/vaultExtendedInfo", + integrityKey: "e6501980-7efe-4602-bb0e-3cb9a08a6003" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + managerExtendedInfo + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateSample.ts new file mode 100644 index 000000000000..9d8ccc53dbd4 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUpdateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerPatch, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerPatch = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.update( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUploadRegistrationCertificateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUploadRegistrationCertificateSample.ts new file mode 100644 index 000000000000..513f17037f12 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/managersUploadRegistrationCertificateSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + UploadCertificateRequest, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * + * @summary Upload Vault Cred Certificate. +Returns UploadCertificateResponse + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersUploadRegistrationCertificate.json + */ +async function managersUploadRegistrationCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const certificateName = "windows"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const uploadCertificateRequestrequest: UploadCertificateRequest = { + authType: "AzureActiveDirectory", + certificate: + "MIIC3TCCAcWgAwIBAgIQEr0bAWD6wJtA4LIbZ9NtgzANBgkqhkiG9w0BAQUFADAeMRwwGgYDVQQDExNXaW5kb3dzIEF6dXJlIFRvb2xzMB4XDTE4MDkxMDE1MzY0MFoXDTE4MDkxMzE1NDY0MFowHjEcMBoGA1UEAxMTV2luZG93cyBBenVyZSBUb29sczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANUsKkz2Z4fECKMyNeLb9v3pr1XF4dVe+MITDtgphjl81ng190Y0IHgCVnh4YjfplUSpMk/1xii0rI5AAPwoz3ze2qRPtnwCiTaoVLkUe6knNRPzrRvVXHB81J0/14MO0lwdByHhdccRcVJZPLt5724t4aQny82v2AayJdDDkBBWNlpcqPy6n3sygP00THMPP0O3sFqy924eHqoDj3qSw79/meaZBJt9S5odPuFoskxjHuI4lM6BmK1Ql7p8Wo9/GhTOIoMz81orKPHRDleLjutwL4mb6NnhI5rfT/MxnHD6m82c4YYqiZC3XiTyJWVCkWkp7PK92OdRp6FA87rdKDMCAwEAAaMXMBUwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEFBQADggEBAIYlezVU68TuEblkn06vM5dfzSmHKJOQgW61nDlLnyKrmSJtzKZLCAswTE2VyJHwKNdZgW15coJFINjWBLWcLr0/GjNV4u3Z+UL3NhBFQd5xuMtKsIhuoscKtyk0JHQXpBvHNmOUCobfQfOBQfTVC7kmyWdtlGztFUVxD28s6S5gMb1FEWWN68NOOJ3/ZhaTbUEM54yw8Hk8/f0L/Zn/7BYHUyWWA3KStAaYn89C/ZFF+952ark2VaKGIjBRQzgrJEIR8dI4r46I3DoEfzGPESKvQPvVLhOX84RG0PLPOtnRbHBVew1Nh3HE9kgCubkPKK+NPWE9IHZPoRmOTWBe+zU=", + contractVersion: "V2012_12" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.managers.uploadRegistrationCertificate( + certificateName, + resourceGroupName, + managerName, + uploadCertificateRequestrequest + ); + console.log(result); +} + +managersUploadRegistrationCertificate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..791d702ea4d0 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageAccountCredential, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage account credential + * + * @summary Creates or updates the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageAccount: StorageAccountCredential = { + name: "DummySacForSDKTest", + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertificateThumbprint: + "D73DB57C4CDD6761E159F8D1E8A7D759424983FD", + value: + "Ev1tm0QBmpGGm4a58GkqLqx8veJEEgQtg5K3Jizpmy7JdSv9dlcRwk59THw6KIdMDlEHcS8mPyneBtOEQsh4wkcFB7qrmQz+KsRAyIhEm6bwPEm3qN8+aDDzNcXn/6vu/sqV0AP7zit9/s7SxXGxjKrz4zKnOy16/DbzRRmUHNO+HO6JUM0cUfHXTX0mEecbsXqBq0A8IEG8z+bJgXX1EhoGkzE6yVsObm4S1AcKrLiwWjqmSLji5Q8gGO+y4KTTmC3p45h5GHHXjJyOccHhySWDAffxnTzUD/sOoh+aD2VkAYrL3DdnkVzhAdfcZfVI4soONx7tYMloZIVsfW1M2Q==" + }, + cloudType: "Azure", + enableSSL: "Enabled", + endPoint: "blob.core.windows.net", + location: "West US", + login: "SacForSDKTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + credentialName, + resourceGroupName, + managerName, + storageAccount + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts new file mode 100644 index 000000000000..46f1ffee0e4e --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage account credential + * + * @summary Deletes the storage account credential + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "DummySacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts new file mode 100644 index 000000000000..5c99a7906642 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified storage account credential name. + * + * @summary Returns the properties of the specified storage account credential name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const credentialName = "SacForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.get( + credentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts new file mode 100644 index 000000000000..e1da695959e2 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the storage account credentials in a manager. + * + * @summary Retrieves all the storage account credentials in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsCreateOrUpdateSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ffb08323a21c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsCreateOrUpdateSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageDomain, + StorSimpleManagementClient +} from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage domain. + * + * @summary Creates or updates the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json + */ +async function storageDomainsCreateOrUpdate() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const storageDomain: StorageDomain = { + name: "sd-fs-HSDK-4XY4FI2IVG", + encryptionStatus: "Disabled", + storageAccountCredentialIds: [ + "/subscriptions/9eb689cd-7243-43b4-b6f6-5c65cb296641/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/hAzureSDKOperations/storageAccountCredentials/sacforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginCreateOrUpdateAndWait( + storageDomainName, + resourceGroupName, + managerName, + storageDomain + ); + console.log(result); +} + +storageDomainsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsDeleteSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsDeleteSample.ts new file mode 100644 index 000000000000..863b24b55f87 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage domain. + * + * @summary Deletes the storage domain. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json + */ +async function storageDomainsDelete() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.beginDeleteAndWait( + storageDomainName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageDomainsDelete().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsGetSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsGetSample.ts new file mode 100644 index 000000000000..3cc17a83d163 --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified storage domain name. + * + * @summary Returns the properties of the specified storage domain name. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsGet.json + */ +async function storageDomainsGet() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const storageDomainName = "sd-fs-HSDK-4XY4FI2IVG"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const result = await client.storageDomains.get( + storageDomainName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageDomainsGet().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsListByManagerSample.ts b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsListByManagerSample.ts new file mode 100644 index 000000000000..e40ca5e7411c --- /dev/null +++ b/sdk/storsimple1200series/arm-storsimple1200series/samples/v2/typescript/src/storageDomainsListByManagerSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimpleManagementClient } from "@azure/arm-storsimple1200series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the storage domains in a manager. + * + * @summary Retrieves all the storage domains in a manager. + * x-ms-original-file: specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsListByManager.json + */ +async function storageDomainsListByManager() { + const subscriptionId = "9eb689cd-7243-43b4-b6f6-5c65cb296641"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "hAzureSDKOperations"; + const credential = new DefaultAzureCredential(); + const client = new StorSimpleManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageDomains.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageDomainsListByManager().catch(console.error); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/accessControlRecords.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/accessControlRecords.ts index 011270b78644..dde3b19b9051 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/accessControlRecords.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/accessControlRecords.ts @@ -204,10 +204,12 @@ export class AccessControlRecordsImpl implements AccessControlRecords { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -292,10 +294,12 @@ export class AccessControlRecordsImpl implements AccessControlRecords { { accessControlRecordName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backupScheduleGroups.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backupScheduleGroups.ts index 651314eba295..3a33c42999b1 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backupScheduleGroups.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backupScheduleGroups.ts @@ -225,10 +225,12 @@ export class BackupScheduleGroupsImpl implements BackupScheduleGroups { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -324,10 +326,12 @@ export class BackupScheduleGroupsImpl implements BackupScheduleGroups { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backups.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backups.ts index 1d976b861726..a754e7db4ee7 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backups.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/backups.ts @@ -288,10 +288,12 @@ export class BackupsImpl implements Backups { { deviceName, backupName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -390,10 +392,12 @@ export class BackupsImpl implements Backups { }, cloneOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/chapSettingsOperations.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/chapSettingsOperations.ts index 4e0b84cb03c9..fa22f5274b40 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/chapSettingsOperations.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/chapSettingsOperations.ts @@ -219,10 +219,12 @@ export class ChapSettingsOperationsImpl implements ChapSettingsOperations { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -312,10 +314,12 @@ export class ChapSettingsOperationsImpl implements ChapSettingsOperations { { deviceName, chapUserName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/devices.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/devices.ts index 1528ec4103c1..ec58ac4fcda0 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/devices.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/devices.ts @@ -423,10 +423,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -512,10 +514,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, devicePatch, options }, patchOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -626,10 +630,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, alertSettings, options }, createOrUpdateAlertSettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -714,10 +720,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, deactivateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -799,10 +807,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, downloadUpdatesOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -886,10 +896,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, failoverRequest, options }, failoverOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -993,10 +1005,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, installUpdatesOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -1135,10 +1149,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, scanForUpdatesOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -1222,10 +1238,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, securitySettings, options }, createOrUpdateSecuritySettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileServers.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileServers.ts index 77337fe58e5c..403df29b7ce4 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileServers.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileServers.ts @@ -440,10 +440,12 @@ export class FileServersImpl implements FileServers { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -533,10 +535,12 @@ export class FileServersImpl implements FileServers { { deviceName, fileServerName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -623,10 +627,12 @@ export class FileServersImpl implements FileServers { { deviceName, fileServerName, resourceGroupName, managerName, options }, backupNowOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileShares.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileShares.ts index 31d20487b534..5d26e83f0b36 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileShares.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/fileShares.ts @@ -485,10 +485,12 @@ export class FileSharesImpl implements FileShares { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -590,10 +592,12 @@ export class FileSharesImpl implements FileShares { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiDisks.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiDisks.ts index dea49468a633..5a19b295146f 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiDisks.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiDisks.ts @@ -504,10 +504,12 @@ export class IscsiDisksImpl implements IscsiDisks { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -609,10 +611,12 @@ export class IscsiDisksImpl implements IscsiDisks { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiServers.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiServers.ts index cfccbb5188e9..216c3795f936 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiServers.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/iscsiServers.ts @@ -440,10 +440,12 @@ export class IscsiServersImpl implements IscsiServers { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -533,10 +535,12 @@ export class IscsiServersImpl implements IscsiServers { { deviceName, iscsiServerName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -623,10 +627,12 @@ export class IscsiServersImpl implements IscsiServers { { deviceName, iscsiServerName, resourceGroupName, managerName, options }, backupNowOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageAccountCredentials.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageAccountCredentials.ts index d524681d0d32..2a8dc883dcac 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageAccountCredentials.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageAccountCredentials.ts @@ -205,10 +205,12 @@ export class StorageAccountCredentialsImpl }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -293,10 +295,12 @@ export class StorageAccountCredentialsImpl { credentialName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageDomains.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageDomains.ts index 99eda1f04834..1b2cbe6ab446 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageDomains.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/operations/storageDomains.ts @@ -204,10 +204,12 @@ export class StorageDomainsImpl implements StorageDomains { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -292,10 +294,12 @@ export class StorageDomainsImpl implements StorageDomains { { storageDomainName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts index 83e565f242a9..e5fc15398a91 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { ManagersImpl, @@ -76,7 +77,7 @@ export class StorSimpleManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-storsimple1200series/2.0.0`; + const packageDetails = `azsdk-js-arm-storsimple1200series/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -91,9 +92,33 @@ export class StorSimpleManagementClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/storsimple1200series/arm-storsimple1200series/tsconfig.json b/sdk/storsimple1200series/arm-storsimple1200series/tsconfig.json index 89c9c406d349..8c2e31a8afe9 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/tsconfig.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/tsconfig.json @@ -9,12 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true, - "paths": { "@azure/arm-storsimple1200series": ["./src/index"] } + "paths": { + "@azure/arm-storsimple1200series": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/storsimple1200series/ci.mgmt.yml b/sdk/storsimple1200series/ci.mgmt.yml index e5729c008299..1572b2d6f724 100644 --- a/sdk/storsimple1200series/ci.mgmt.yml +++ b/sdk/storsimple1200series/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/storsimple1200series/ci.mgmt.yml - - sdk/storsimple1200series/arm-storsimple1200series/ + - sdk/storsimple1200series/arm-storsimple1200series pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/storsimple1200series/ci.mgmt.yml - - sdk/storsimple1200series/arm-storsimple1200series/ - + - sdk/storsimple1200series/arm-storsimple1200series extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: storsimple1200series Artifacts: - name: azure-arm-storsimple1200series - safeName: azurearmstorsimple1200series \ No newline at end of file + safeName: azurearmstorsimple1200series diff --git a/sdk/storsimple8000series/arm-storsimple8000series/CHANGELOG.md b/sdk/storsimple8000series/arm-storsimple8000series/CHANGELOG.md index f1e9aa59915d..b0f0f57eb221 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/CHANGELOG.md +++ b/sdk/storsimple8000series/arm-storsimple8000series/CHANGELOG.md @@ -1,4 +1,20 @@ # Release History + +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 2.0.1 (2022-05-05) + +**Features** + + - Bug fix ## 2.0.0 (2022-01-21) diff --git a/sdk/storsimple8000series/arm-storsimple8000series/LICENSE.txt b/sdk/storsimple8000series/arm-storsimple8000series/LICENSE.txt deleted file mode 100644 index a70e8cf66038..000000000000 --- a/sdk/storsimple8000series/arm-storsimple8000series/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 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/storsimple8000series/arm-storsimple8000series/README.md b/sdk/storsimple8000series/arm-storsimple8000series/README.md index 22465b6702a2..0f606462cffb 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/README.md +++ b/sdk/storsimple8000series/arm-storsimple8000series/README.md @@ -16,6 +16,8 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StorSimple8000SeriesManagementClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); ``` diff --git a/sdk/storsimple8000series/arm-storsimple8000series/_meta.json b/sdk/storsimple8000series/arm-storsimple8000series/_meta.json index 3d478351a154..c3fff626cd09 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/_meta.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/storsimple8000series/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/storsimple8000series/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\storsimple8000series\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\storsimple8000series\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/storsimple8000series/arm-storsimple8000series/api-extractor.json b/sdk/storsimple8000series/arm-storsimple8000series/api-extractor.json index 275c49a46ff1..7e90f30badc5 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/api-extractor.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-storsimple8000series.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/storsimple8000series/arm-storsimple8000series/package.json b/sdk/storsimple8000series/arm-storsimple8000series/package.json index db6fbc6b93f8..8216ca858208 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/package.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for StorSimple8000SeriesManagementClient.", - "version": "2.0.0", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-storsimple8000series.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -101,7 +101,7 @@ "//metadata": { "constantPaths": [ { - "path": "src/StorSimple8000SeriesManagementClient.ts", + "path": "src/storSimple8000SeriesManagementClient.ts", "prefix": "packageDetails" } ] diff --git a/sdk/storsimple8000series/arm-storsimple8000series/rollup.config.js b/sdk/storsimple8000series/arm-storsimple8000series/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/rollup.config.js +++ b/sdk/storsimple8000series/arm-storsimple8000series/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6359ad077241 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessControlRecord, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: AccessControlRecord = { + initiatorName: "iqn.2017-06.com.contoso:ForTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsDeleteSample.ts new file mode 100644 index 000000000000..13ca14e09a96 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsGetSample.ts new file mode 100644 index 000000000000..82ab0f7609d1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsListByManagerSample.ts new file mode 100644 index 000000000000..778f9c77ec13 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/accessControlRecordsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsClearSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsClearSample.ts new file mode 100644 index 000000000000..e620eeaa3e8e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsClearSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ClearAlertRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ClearAlertRequest = { + alerts: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alerts/308b5bd2-824b-436f-840e-44bde075ef33" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.alerts.clear( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsListByManagerSample.ts new file mode 100644 index 000000000000..50e488f85a82 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsListByManagerSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertsListByManagerOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "status eq 'Active' and appearedOnTime ge '2017-06-09T18:30:00Z' and appearedOnTime le '2017-06-19T18:30:00Z' and sourceType eq 'Device' and sourceName eq 'Device05ForSDKTest'"; + const options: AlertsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.alerts.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsSendTestEmailSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsSendTestEmailSample.ts new file mode 100644 index 000000000000..dc01a220884e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/alertsSendTestEmailSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SendTestAlertEmailRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: SendTestAlertEmailRequest = { + emailList: ["testemailid@contoso.com"] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesBackupNowSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesBackupNowSample.ts new file mode 100644 index 000000000000..91912e3851b9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesBackupNowSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the backup policy now. + * + * @summary Backup the backup policy now. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json + */ +async function backupPoliciesBackupNow() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupType = "CloudSnapshot"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginBackupNowAndWait( + deviceName, + backupPolicyName, + backupType, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesBackupNow().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..7d15ac583e60 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesCreateOrUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupPolicy, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the backup policy. + * + * @summary Creates or updates the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json + */ +async function backupPoliciesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BackupPolicy = { + kind: "Series8000", + volumeIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1", + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupPoliciesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesDeleteSample.ts new file mode 100644 index 000000000000..72a71917cab0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup policy. + * + * @summary Deletes the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json + */ +async function backupPoliciesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginDeleteAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesGetSample.ts new file mode 100644 index 000000000000..fb65cc629d54 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified backup policy name. + * + * @summary Gets the properties of the specified backup policy name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json + */ +async function backupPoliciesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.get( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesListByDeviceSample.ts new file mode 100644 index 000000000000..397113fab30f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupPoliciesListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the backup policies in a device. + * + * @summary Gets all the backup policies in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json + */ +async function backupPoliciesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backupPolicies.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupPoliciesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..119428016857 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesCreateOrUpdateSample.ts @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupSchedule, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the backup schedule. + * + * @summary Creates or updates the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json + */ +async function backupSchedulesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BackupSchedule = { + backupType: "CloudSnapshot", + kind: "Series8000", + retentionCount: 1, + scheduleRecurrence: { + recurrenceType: "Weekly", + recurrenceValue: 1, + weeklyDaysList: ["Friday", "Thursday", "Monday"] + }, + scheduleStatus: "Enabled", + startTime: new Date("2017-06-24T01:00:00Z") + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupSchedulesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesDeleteSample.ts new file mode 100644 index 000000000000..b1f5be0ec469 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesDeleteSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup schedule. + * + * @summary Deletes the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json + */ +async function backupSchedulesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.beginDeleteAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesGetSample.ts new file mode 100644 index 000000000000..84f98b8ceb9e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesGetSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified backup schedule name. + * + * @summary Gets the properties of the specified backup schedule name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json + */ +async function backupSchedulesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.get( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesListByBackupPolicySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesListByBackupPolicySample.ts new file mode 100644 index 000000000000..549ac440ecde --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupSchedulesListByBackupPolicySample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the backup schedules in a backup policy. + * + * @summary Gets all the backup schedules in a backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json + */ +async function backupSchedulesListByBackupPolicy() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backupSchedules.listByBackupPolicy( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupSchedulesListByBackupPolicy().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsCloneSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsCloneSample.ts new file mode 100644 index 000000000000..5011d60e8a4d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsCloneSample.ts @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloneRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clones the backup element as a new volume. + * + * @summary Clones the backup element as a new volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const backupElementName = + "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: CloneRequest = { + backupElement: { + elementId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backups/880e1774-94a8-4f3e-85e6-a61e6b94a8b7/elements/7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementName: "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementType: "managers/devices/backups/elements", + sizeInBytes: 10737418240, + volumeContainerId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest", + volumeName: "Clonedvolume1", + volumeType: "Tiered" + }, + targetAccessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest", + targetVolumeName: "ClonedClonedvolume1" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + backupElementName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsDeleteSample.ts new file mode 100644 index 000000000000..809e85157a43 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsListByDeviceSample.ts new file mode 100644 index 000000000000..943876644fc9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsListByDeviceSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByDeviceOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a device. + * + * @summary Retrieves all the backups in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "createdTime ge '2017-06-22T18:30:00Z' and backupPolicyId eq '/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest'"; + const options: BackupsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsRestoreSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsRestoreSample.ts new file mode 100644 index 000000000000..8c20cf4aa629 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/backupsRestoreSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Restores the backup on the device. + * + * @summary Restores the backup on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json + */ +async function backupsRestore() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginRestoreAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsRestore().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..fc3040d40c26 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BandwidthSetting, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the bandwidth setting + * + * @summary Creates or updates the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json + */ +async function bandwidthSettingsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BandwidthSetting = { + schedules: [ + { + days: ["Saturday", "Sunday"], + rateInMbps: 10, + start: { hours: 10, minutes: 0, seconds: 0 }, + stop: { hours: 20, minutes: 0, seconds: 0 } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.beginCreateOrUpdateAndWait( + bandwidthSettingName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +bandwidthSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsDeleteSample.ts new file mode 100644 index 000000000000..a9044e32dd5b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the bandwidth setting + * + * @summary Deletes the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json + */ +async function bandwidthSettingsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.beginDeleteAndWait( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsGetSample.ts new file mode 100644 index 000000000000..fea67a947c31 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified bandwidth setting name. + * + * @summary Returns the properties of the specified bandwidth setting name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json + */ +async function bandwidthSettingsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "bandwidthSetting1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.get( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsListByManagerSample.ts new file mode 100644 index 000000000000..09e58cee8879 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/bandwidthSettingsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the bandwidth setting in a manager. + * + * @summary Retrieves all the bandwidth setting in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json + */ +async function bandwidthSettingsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.bandwidthSettings.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +bandwidthSettingsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesListSupportedConfigurationsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesListSupportedConfigurationsSample.ts new file mode 100644 index 000000000000..33e4825b1499 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesListSupportedConfigurationsSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists supported cloud appliance models and supported configurations. + * + * @summary Lists supported cloud appliance models and supported configurations. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json + */ +async function cloudAppliancesListSupportedConfigurations() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.cloudAppliances.listSupportedConfigurations( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +cloudAppliancesListSupportedConfigurations().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesProvisionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesProvisionSample.ts new file mode 100644 index 000000000000..bc38e852af05 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/cloudAppliancesProvisionSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloudAppliance, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Provisions cloud appliance. + * + * @summary Provisions cloud appliance. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json + */ +async function cloudAppliancesProvision() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: CloudAppliance = { + name: "sca07forsdktest", + modelNumber: "8020", + vnetRegion: "West US" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.cloudAppliances.beginProvisionAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +cloudAppliancesProvision().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateAlertSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateAlertSettingsSample.ts new file mode 100644 index 000000000000..13afe910ff77 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateAlertSettingsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertSettings, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the alert settings of the specified device. + * + * @summary Creates or updates the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json + */ +async function deviceSettingsCreateOrUpdateAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: AlertSettings = { + additionalRecipientEmailList: [], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Enabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateTimeSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateTimeSettingsSample.ts new file mode 100644 index 000000000000..249a2b83b57a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsCreateOrUpdateTimeSettingsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TimeSettings, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the time settings of the specified device. + * + * @summary Creates or updates the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json + */ +async function deviceSettingsCreateOrUpdateTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: TimeSettings = { + primaryTimeServer: "time.windows.com", + secondaryTimeServer: ["8.8.8.8"], + timeZone: "Pacific Standard Time" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginCreateOrUpdateTimeSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetAlertSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetAlertSettingsSample.ts new file mode 100644 index 000000000000..85646e206bdb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetAlertSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the alert settings of the specified device. + * + * @summary Gets the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json + */ +async function deviceSettingsGetAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getAlertSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetNetworkSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetNetworkSettingsSample.ts new file mode 100644 index 000000000000..e867db191edd --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetNetworkSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the network settings of the specified device. + * + * @summary Gets the network settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json + */ +async function deviceSettingsGetNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetSecuritySettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetSecuritySettingsSample.ts new file mode 100644 index 000000000000..69ebe6b9e655 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetSecuritySettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the Security properties of the specified device name. + * + * @summary Returns the Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json + */ +async function deviceSettingsGetSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getSecuritySettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetTimeSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetTimeSettingsSample.ts new file mode 100644 index 000000000000..0a668d1d8c54 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsGetTimeSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the time settings of the specified device. + * + * @summary Gets the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json + */ +async function deviceSettingsGetTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getTimeSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsSyncRemotemanagementCertificateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsSyncRemotemanagementCertificateSample.ts new file mode 100644 index 000000000000..1a85edbd6864 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsSyncRemotemanagementCertificateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to sync Remote management Certificate between appliance and Service + * + * @summary sync Remote management Certificate between appliance and Service + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json + */ +async function deviceSettingsSyncRemotemanagementCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginSyncRemotemanagementCertificateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsSyncRemotemanagementCertificate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateNetworkSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateNetworkSettingsSample.ts new file mode 100644 index 000000000000..5a9bbc649d7a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateNetworkSettingsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + NetworkSettingsPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the network settings on the specified device. + * + * @summary Updates the network settings on the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json + */ +async function deviceSettingsUpdateNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: NetworkSettingsPatch = { + dnsSettings: { + primaryDnsServer: "10.171.65.60", + secondaryDnsServers: ["8.8.8.8"] + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginUpdateNetworkSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateSecuritySettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateSecuritySettingsSample.ts new file mode 100644 index 000000000000..ba5b16a4c10c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/deviceSettingsUpdateSecuritySettingsSample.ts @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SecuritySettingsPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch Security properties of the specified device name. + * + * @summary Patch Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json + */ +async function deviceSettingsUpdateSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: SecuritySettingsPatch = { + chapSettings: { + initiatorSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "V/uVfWk5OcXfMC0HvUV89o9+cmF636jBnqhFM1pD/zHhmh8Z1KB5/LhVV3T53uGjIlKL3wjhwg+9NIQrIbYuKhl/r8jSftSSH+WqUnQHTRDWazjPAeMu6ozrL5RYzP1h5mgw7XtidZPaaV9ae/uF1KQPkK6TIARaOTdr8I/BLWUg7WdDrfARNYHnW6ezXek1M9Qhv1sL9fZY+JrGB58LF6D2aC2Xjed4K4Jk6v2T1ieneNV27uIdnt21TajuM7w90UlRiVZJZtq/KdEUfqI28C7VoUdcXluAwzR95Ho8hmyIJDqeW3/Wxymdjv+Rctwqtmcka9i2G85Hj8SVV3g4kA==" + }, + initiatorUser: "test-initiator-user", + targetSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "OTR4uwVpy+pf0zthnCIAUXurC8NdSh8RpRG5GWL9TSv4WtkVmpeU/U2A4vjkrchfQOzI1x+uooWikWW9txwwQOM+/N3NG44+/dlHoaEe7AxjmItCKhNj8K2RM6D1mb45wicbF/M4uanuXnGXuT+JmZ+1Lcy2k1GXsk67ejplz2K08h37B+oIW85qMUHLdKuuQlAA/fFS+q6qMti3j2Q8Fr+Sh4U76/2AZVkKRtFeqPB1QhC12dFx6TFoZJkMFzdQz4WNvWVelIK2McKNnOiH0/Z5lAXC7164uzReAoTEfqoNU7qqqRrHhsdwWPu6jbeUn8BQnr7A/X6NWvgeax+HGA==" + }, + targetUser: "test-target-user" + }, + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "" + }, + remoteManagementSettings: { remoteManagementMode: "HttpsAndHttpEnabled" }, + snapshotPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts new file mode 100644 index 000000000000..29390b4292ce --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Authorizes the specified device for service data encryption key rollover. + * + * @summary Authorizes the specified device for service data encryption key rollover. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json + */ +async function devicesAuthorizeForServiceEncryptionKeyRollover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.authorizeForServiceEncryptionKeyRollover( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesAuthorizeForServiceEncryptionKeyRollover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesConfigureSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesConfigureSample.ts new file mode 100644 index 000000000000..262a9c5acfe6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesConfigureSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ConfigureDeviceRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Complete minimal setup before using the device. + * + * @summary Complete minimal setup before using the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json + */ +async function devicesConfigure() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ConfigureDeviceRequest = { + currentDeviceName: "Device001ForSDKTest", + friendlyName: "Device001ForSDKTest", + networkInterfaceData0Settings: { + controllerOneIp: "10.168.220.228", + controllerZeroIp: "10.168.220.227" + }, + timeZone: "Pacific Standard Time" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginConfigureAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesConfigure().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeactivateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeactivateSample.ts new file mode 100644 index 000000000000..f41f2d1e97ff --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeactivateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeleteSample.ts new file mode 100644 index 000000000000..0370244a0e5e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesFailoverSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesFailoverSample.ts new file mode 100644 index 000000000000..4ee11da95ba3 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesFailoverSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FailoverRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Failovers a set of volume containers from a specified source device to a target device. + * + * @summary Failovers a set of volume containers from a specified source device to a target device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: FailoverRequest = { + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/jemdeviceforsdk", + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginFailoverAndWait( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetSample.ts new file mode 100644 index 000000000000..23d91c5e5728 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicesGetOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified device. + * + * @summary Returns the properties of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const expand = "details"; + const options: DevicesGetOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.get( + deviceName, + resourceGroupName, + managerName, + options + ); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetUpdateSummarySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetUpdateSummarySample.ts new file mode 100644 index 000000000000..7536a62dd23d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesGetUpdateSummarySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.getUpdateSummary( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesInstallUpdatesSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesInstallUpdatesSample.ts new file mode 100644 index 000000000000..d18c87775ebe --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesInstallUpdatesSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Downloads and installs the updates on the device. + * + * @summary Downloads and installs the updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListByManagerSample.ts new file mode 100644 index 000000000000..3b4f391c7f67 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the list of devices for the specified manager. + * + * @summary Returns the list of devices for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverSetsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverSetsSample.ts new file mode 100644 index 000000000000..003000e7b753 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverSetsSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * + * @summary Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json + */ +async function devicesListFailoverSets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listFailoverSets( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverSets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverTargetsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverTargetsSample.ts new file mode 100644 index 000000000000..e2ba3d07ef88 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListFailoverTargetsSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ListFailoverTargetsRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * + * @summary Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json + */ +async function devicesListFailoverTargets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ListFailoverTargetsRequest = { + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTargets( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTargets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..49b0796cc5a9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricDefinitionSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified device. + * + * @summary Gets the metric definitions for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricsSample.ts new file mode 100644 index 000000000000..d245431c440a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesListMetricsSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified device. + * + * @summary Gets the metrics for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesScanForUpdatesSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesScanForUpdatesSample.ts new file mode 100644 index 000000000000..ade31cfc372f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesScanForUpdatesSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesUpdateSample.ts new file mode 100644 index 000000000000..6e220d762a83 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/devicesUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicePatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json + */ +async function devicesUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: DevicePatch = { + deviceDescription: "updated device description" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.update( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsChangeControllerPowerStateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsChangeControllerPowerStateSample.ts new file mode 100644 index 000000000000..2d3b9c8bcd94 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsChangeControllerPowerStateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ControllerPowerStateChangeRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Changes the power state of the controller. + * + * @summary Changes the power state of the controller. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json + */ +async function hardwareComponentGroupsChangeControllerPowerState() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const hardwareComponentGroupName = "Controller0Components"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ControllerPowerStateChangeRequest = { + action: "Start", + activeController: "Controller0", + controller0State: "Ok", + controller1State: "NotPresent" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.hardwareComponentGroups.beginChangeControllerPowerStateAndWait( + deviceName, + hardwareComponentGroupName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +hardwareComponentGroupsChangeControllerPowerState().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsListByDeviceSample.ts new file mode 100644 index 000000000000..99926334c748 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/hardwareComponentGroupsListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the hardware component groups at device-level. + * + * @summary Lists the hardware component groups at device-level. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json + */ +async function hardwareComponentGroupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.hardwareComponentGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +hardwareComponentGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsCancelSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsCancelSample.ts new file mode 100644 index 000000000000..a7b8e2b55cdb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsCancelSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a job on the device. + * + * @summary Cancels a job on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json + */ +async function jobsCancel() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const jobName = "993db21d-101b-41af-9e12-f593d78b99e9"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.jobs.beginCancelAndWait( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsCancel().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsGetSample.ts new file mode 100644 index 000000000000..f89e8aca632b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the specified job name. + * + * @summary Gets the details of the specified job name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca07forsdktest"; + const jobName = "70a29339-de6d-48e8-b24f-e25ee6769a00"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.jobs.get( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByDeviceSample.ts new file mode 100644 index 000000000000..e02c525792f4 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByDeviceSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByDeviceOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'ManualBackup'"; + const options: JobsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByManagerSample.ts new file mode 100644 index 000000000000..10a63251926c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/jobsListByManagerSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByManagerOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'FailoverVolumeContainers'"; + const options: JobsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.jobs.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateExtendedInfoSample.ts new file mode 100644 index 000000000000..552911900677 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateExtendedInfoSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerExtendedInfo = { + algorithm: "None", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..fc08e6f93025 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Manager, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: Manager = { + cisIntrinsicSettings: { type: "GardaV1" }, + location: "westus", + sku: { name: "Standard" } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.createOrUpdate( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteExtendedInfoSample.ts new file mode 100644 index 000000000000..0d499e0c1a02 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteExtendedInfoSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.deleteExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteSample.ts new file mode 100644 index 000000000000..dff8c85481d7 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetActivationKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetActivationKeySample.ts new file mode 100644 index 000000000000..98cee7cdca14 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetActivationKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the activation key of the manager. + * + * @summary Returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json + */ +async function managersGetActivationKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getActivationKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetDevicePublicEncryptionKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetDevicePublicEncryptionKeySample.ts new file mode 100644 index 000000000000..2e8bf9876468 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetDevicePublicEncryptionKeySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the public encryption key of the device. + * + * @summary Returns the public encryption key of the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json + */ +async function managersGetDevicePublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca01forsdktest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getDevicePublicEncryptionKey( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetDevicePublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetEncryptionSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetEncryptionSettingsSample.ts new file mode 100644 index 000000000000..b9c6738abe36 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetEncryptionSettingsSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getEncryptionSettings( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetExtendedInfoSample.ts new file mode 100644 index 000000000000..ec5314c29815 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetExtendedInfoSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetPublicEncryptionKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetPublicEncryptionKeySample.ts new file mode 100644 index 000000000000..fe318ee95015 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetPublicEncryptionKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the symmetric encrypted public encryption key of the manager. + * + * @summary Returns the symmetric encrypted public encryption key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json + */ +async function managersGetPublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getPublicEncryptionKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetPublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetSample.ts new file mode 100644 index 000000000000..3557b360bea1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListByResourceGroupSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListByResourceGroupSample.ts new file mode 100644 index 000000000000..1e3f0a3def8e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListByResourceGroupSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListFeatureSupportStatusSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListFeatureSupportStatusSample.ts new file mode 100644 index 000000000000..e90a87791359 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListFeatureSupportStatusSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the features and their support status + * + * @summary Lists the features and their support status + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json + */ +async function managersListFeatureSupportStatus() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listFeatureSupportStatus( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListFeatureSupportStatus().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..d5af6a860585 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricDefinitionSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified manager. + * + * @summary Gets the metric definitions for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricsSample.ts new file mode 100644 index 000000000000..90e789e4c8ed --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListMetricsSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified manager. + * + * @summary Gets the metrics for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listMetrics( + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListSample.ts new file mode 100644 index 000000000000..78dc8c137739 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersRegenerateActivationKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersRegenerateActivationKeySample.ts new file mode 100644 index 000000000000..d01cfac61aef --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersRegenerateActivationKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Re-generates and returns the activation key of the manager. + * + * @summary Re-generates and returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json + */ +async function managersRegenerateActivationKey() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.regenerateActivationKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersRegenerateActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateExtendedInfoSample.ts new file mode 100644 index 000000000000..64fc6321dbd6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateExtendedInfoSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const ifMatch = "674ab9df-af56-4c5c-a5ca-2bddcf1b781a"; + const parameters: ManagerExtendedInfo = { + algorithm: "SHA256", + etag: "674ab9df-af56-4c5c-a5ca-2bddcf1b781a", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + parameters + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateSample.ts new file mode 100644 index 000000000000..2bd1eefe95d9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/managersUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerPatch = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.update( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/operationsListSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..ebceaaf4c6d2 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/operationsListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available REST API operations of the Microsoft.StorSimple provider + * + * @summary Lists all of the available REST API operations of the Microsoft.StorSimple provider + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..241eba3c111d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageAccountCredential, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage account credential. + * + * @summary Creates or updates the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: StorageAccountCredential = { + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==" + }, + endPoint: "blob.core.windows.net", + sslStatus: "Enabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsDeleteSample.ts new file mode 100644 index 000000000000..f223a08c31ba --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage account credential. + * + * @summary Deletes the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsGetSample.ts new file mode 100644 index 000000000000..bc0bf500af5d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified storage account credential name. + * + * @summary Gets the properties of the specified storage account credential name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.get( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsListByManagerSample.ts new file mode 100644 index 000000000000..010cba20b79e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/storageAccountCredentialsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the storage account credentials in a manager. + * + * @summary Gets all the storage account credentials in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ac9d5b1056a3 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VolumeContainer, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the volume container. + * + * @summary Creates or updates the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json + */ +async function volumeContainersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: VolumeContainer = { + bandwidthSettingId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1", + encryptionKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw==" + }, + storageAccountCredentialId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumeContainersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersDeleteSample.ts new file mode 100644 index 000000000000..db8eb335a9c1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the volume container. + * + * @summary Deletes the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json + */ +async function volumeContainersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.beginDeleteAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersGetSample.ts new file mode 100644 index 000000000000..11b49c2025c7 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified volume container name. + * + * @summary Gets the properties of the specified volume container name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json + */ +async function volumeContainersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.get( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListByDeviceSample.ts new file mode 100644 index 000000000000..03d2756d0ebd --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the volume containers in a device. + * + * @summary Gets all the volume containers in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json + */ +async function volumeContainersListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..23b257f11c0d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricDefinitionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume container. + * + * @summary Gets the metric definitions for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json + */ +async function volumeContainersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetricDefinition( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricsSample.ts new file mode 100644 index 000000000000..d337a4018216 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumeContainersListMetricsSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified volume container. + * + * @summary Gets the metrics for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json + */ +async function volumeContainersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'CloudConsumedStorage' and timeGrain eq 'PT1M' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetrics( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..f5a975da8770 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Volume, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the volume. + * + * @summary Creates or updates the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json + */ +async function volumesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: Volume = { + accessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + monitoringStatus: "Enabled", + sizeInBytes: 5368709120, + volumeStatus: "Offline", + volumeType: "Tiered" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesDeleteSample.ts new file mode 100644 index 000000000000..b0b1868a975c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesDeleteSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the volume. + * + * @summary Deletes the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json + */ +async function volumesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.beginDeleteAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesGetSample.ts new file mode 100644 index 000000000000..9ef507eed118 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesGetSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified volume name. + * + * @summary Returns the properties of the specified volume name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json + */ +async function volumesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.get( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByDeviceSample.ts new file mode 100644 index 000000000000..f882be6f503f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the volumes in a device. + * + * @summary Retrieves all the volumes in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json + */ +async function volumesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByVolumeContainerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByVolumeContainerSample.ts new file mode 100644 index 000000000000..bfcafa14b2b0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListByVolumeContainerSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the volumes in a volume container. + * + * @summary Retrieves all the volumes in a volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json + */ +async function volumesListByVolumeContainer() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "volumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listByVolumeContainer( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByVolumeContainer().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..d9a0320a246b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricDefinitionSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume. + * + * @summary Gets the metric definitions for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json + */ +async function volumesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listMetricDefinition( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricsSample.ts new file mode 100644 index 000000000000..96e0a33cd146 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples-dev/volumesListMetricsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified volume. + * + * @summary Gets the metrics for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json + */ +async function volumesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listMetrics( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/README.md b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/README.md index a6c979c8c084..23efbb5f58b7 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/README.md +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/README.md @@ -2,100 +2,192 @@ These sample programs show how to use the JavaScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [accessControlRecordsCreateOrUpdate.js][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | -| [accessControlRecordsDelete.js][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | -| [accessControlRecordsGet.js][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | -| [accessControlRecordsListByManager.js][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | -| [alertsClear.js][alertsclear] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | -| [alertsListByManager.js][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | -| [alertsSendTestEmail.js][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | -| [backupPoliciesBackupNow.js][backuppoliciesbackupnow] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | -| [backupPoliciesCreateOrUpdate.js][backuppoliciescreateorupdate] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | -| [backupPoliciesDelete.js][backuppoliciesdelete] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | -| [backupPoliciesGet.js][backuppoliciesget] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | -| [backupPoliciesListByDevice.js][backuppolicieslistbydevice] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | -| [backupSchedulesCreateOrUpdate.js][backupschedulescreateorupdate] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | -| [backupSchedulesDelete.js][backupschedulesdelete] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | -| [backupSchedulesGet.js][backupschedulesget] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | -| [backupSchedulesListByBackupPolicy.js][backupscheduleslistbybackuppolicy] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | -| [backupsClone.js][backupsclone] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | -| [backupsDelete.js][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | -| [backupsListByDevice.js][backupslistbydevice] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | -| [backupsRestore.js][backupsrestore] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | -| [bandwidthSettingsCreateOrUpdate.js][bandwidthsettingscreateorupdate] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | -| [bandwidthSettingsDelete.js][bandwidthsettingsdelete] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | -| [bandwidthSettingsGet.js][bandwidthsettingsget] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | -| [bandwidthSettingsListByManager.js][bandwidthsettingslistbymanager] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | -| [cloudAppliancesListSupportedConfigurations.js][cloudapplianceslistsupportedconfigurations] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | -| [cloudAppliancesProvision.js][cloudappliancesprovision] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | -| [deviceSettingsCreateOrUpdateAlertSettings.js][devicesettingscreateorupdatealertsettings] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | -| [deviceSettingsCreateOrUpdateTimeSettings.js][devicesettingscreateorupdatetimesettings] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | -| [deviceSettingsGetAlertSettings.js][devicesettingsgetalertsettings] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | -| [deviceSettingsGetNetworkSettings.js][devicesettingsgetnetworksettings] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | -| [deviceSettingsGetSecuritySettings.js][devicesettingsgetsecuritysettings] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | -| [deviceSettingsGetTimeSettings.js][devicesettingsgettimesettings] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | -| [deviceSettingsSyncRemotemanagementCertificate.js][devicesettingssyncremotemanagementcertificate] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | -| [deviceSettingsUpdateNetworkSettings.js][devicesettingsupdatenetworksettings] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | -| [deviceSettingsUpdateSecuritySettings.js][devicesettingsupdatesecuritysettings] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | -| [devicesAuthorizeForServiceEncryptionKeyRollover.js][devicesauthorizeforserviceencryptionkeyrollover] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | -| [devicesConfigure.js][devicesconfigure] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | -| [devicesDeactivate.js][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | -| [devicesDelete.js][devicesdelete] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | -| [devicesFailover.js][devicesfailover] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | -| [devicesGet.js][devicesget] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | -| [devicesGetUpdateSummary.js][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | -| [devicesInstallUpdates.js][devicesinstallupdates] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | -| [devicesListByManager.js][deviceslistbymanager] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | -| [devicesListFailoverSets.js][deviceslistfailoversets] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | -| [devicesListFailoverTargets.js][deviceslistfailovertargets] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | -| [devicesListMetricDefinition.js][deviceslistmetricdefinition] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | -| [devicesListMetrics.js][deviceslistmetrics] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | -| [devicesScanForUpdates.js][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | -| [devicesUpdate.js][devicesupdate] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | -| [hardwareComponentGroupsChangeControllerPowerState.js][hardwarecomponentgroupschangecontrollerpowerstate] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | -| [hardwareComponentGroupsListByDevice.js][hardwarecomponentgroupslistbydevice] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | -| [jobsCancel.js][jobscancel] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | -| [jobsGet.js][jobsget] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | -| [jobsListByDevice.js][jobslistbydevice] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | -| [jobsListByManager.js][jobslistbymanager] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | -| [managersCreateExtendedInfo.js][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | -| [managersCreateOrUpdate.js][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | -| [managersDelete.js][managersdelete] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | -| [managersDeleteExtendedInfo.js][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | -| [managersGet.js][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | -| [managersGetActivationKey.js][managersgetactivationkey] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | -| [managersGetDevicePublicEncryptionKey.js][managersgetdevicepublicencryptionkey] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | -| [managersGetEncryptionSettings.js][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | -| [managersGetExtendedInfo.js][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | -| [managersGetPublicEncryptionKey.js][managersgetpublicencryptionkey] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | -| [managersList.js][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | -| [managersListByResourceGroup.js][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | -| [managersListFeatureSupportStatus.js][managerslistfeaturesupportstatus] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | -| [managersListMetricDefinition.js][managerslistmetricdefinition] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | -| [managersListMetrics.js][managerslistmetrics] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | -| [managersRegenerateActivationKey.js][managersregenerateactivationkey] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | -| [managersUpdate.js][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | -| [managersUpdateExtendedInfo.js][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | -| [operationsList.js][operationslist] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | -| [storageAccountCredentialsCreateOrUpdate.js][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | -| [storageAccountCredentialsDelete.js][storageaccountcredentialsdelete] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | -| [storageAccountCredentialsGet.js][storageaccountcredentialsget] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | -| [storageAccountCredentialsListByManager.js][storageaccountcredentialslistbymanager] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | -| [volumeContainersCreateOrUpdate.js][volumecontainerscreateorupdate] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | -| [volumeContainersDelete.js][volumecontainersdelete] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | -| [volumeContainersGet.js][volumecontainersget] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | -| [volumeContainersListByDevice.js][volumecontainerslistbydevice] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | -| [volumeContainersListMetricDefinition.js][volumecontainerslistmetricdefinition] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | -| [volumeContainersListMetrics.js][volumecontainerslistmetrics] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | -| [volumesCreateOrUpdate.js][volumescreateorupdate] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | -| [volumesDelete.js][volumesdelete] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | -| [volumesGet.js][volumesget] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | -| [volumesListByDevice.js][volumeslistbydevice] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | -| [volumesListByVolumeContainer.js][volumeslistbyvolumecontainer] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | -| [volumesListMetricDefinition.js][volumeslistmetricdefinition] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | -| [volumesListMetrics.js][volumeslistmetrics] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessControlRecordsCreateOrUpdate.js][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsCreateOrUpdateSample.js][accesscontrolrecordscreateorupdatesample] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsDelete.js][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsDeleteSample.js][accesscontrolrecordsdeletesample] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsGet.js][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsGetSample.js][accesscontrolrecordsgetsample] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsListByManager.js][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | +| [accessControlRecordsListByManagerSample.js][accesscontrolrecordslistbymanagersample] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | +| [alertsClear.js][alertsclear] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | +| [alertsClearSample.js][alertsclearsample] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | +| [alertsListByManager.js][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | +| [alertsListByManagerSample.js][alertslistbymanagersample] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | +| [alertsSendTestEmail.js][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | +| [alertsSendTestEmailSample.js][alertssendtestemailsample] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | +| [backupPoliciesBackupNow.js][backuppoliciesbackupnow] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | +| [backupPoliciesBackupNowSample.js][backuppoliciesbackupnowsample] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | +| [backupPoliciesCreateOrUpdate.js][backuppoliciescreateorupdate] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | +| [backupPoliciesCreateOrUpdateSample.js][backuppoliciescreateorupdatesample] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | +| [backupPoliciesDelete.js][backuppoliciesdelete] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | +| [backupPoliciesDeleteSample.js][backuppoliciesdeletesample] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | +| [backupPoliciesGet.js][backuppoliciesget] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | +| [backupPoliciesGetSample.js][backuppoliciesgetsample] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | +| [backupPoliciesListByDevice.js][backuppolicieslistbydevice] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | +| [backupPoliciesListByDeviceSample.js][backuppolicieslistbydevicesample] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | +| [backupSchedulesCreateOrUpdate.js][backupschedulescreateorupdate] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | +| [backupSchedulesCreateOrUpdateSample.js][backupschedulescreateorupdatesample] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | +| [backupSchedulesDelete.js][backupschedulesdelete] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | +| [backupSchedulesDeleteSample.js][backupschedulesdeletesample] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | +| [backupSchedulesGet.js][backupschedulesget] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | +| [backupSchedulesGetSample.js][backupschedulesgetsample] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | +| [backupSchedulesListByBackupPolicy.js][backupscheduleslistbybackuppolicy] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | +| [backupSchedulesListByBackupPolicySample.js][backupscheduleslistbybackuppolicysample] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | +| [backupsClone.js][backupsclone] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | +| [backupsCloneSample.js][backupsclonesample] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | +| [backupsDelete.js][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | +| [backupsDeleteSample.js][backupsdeletesample] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | +| [backupsListByDevice.js][backupslistbydevice] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | +| [backupsListByDeviceSample.js][backupslistbydevicesample] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | +| [backupsRestore.js][backupsrestore] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | +| [backupsRestoreSample.js][backupsrestoresample] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | +| [bandwidthSettingsCreateOrUpdate.js][bandwidthsettingscreateorupdate] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | +| [bandwidthSettingsCreateOrUpdateSample.js][bandwidthsettingscreateorupdatesample] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | +| [bandwidthSettingsDelete.js][bandwidthsettingsdelete] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | +| [bandwidthSettingsDeleteSample.js][bandwidthsettingsdeletesample] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | +| [bandwidthSettingsGet.js][bandwidthsettingsget] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | +| [bandwidthSettingsGetSample.js][bandwidthsettingsgetsample] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | +| [bandwidthSettingsListByManager.js][bandwidthsettingslistbymanager] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | +| [bandwidthSettingsListByManagerSample.js][bandwidthsettingslistbymanagersample] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | +| [cloudAppliancesListSupportedConfigurations.js][cloudapplianceslistsupportedconfigurations] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | +| [cloudAppliancesListSupportedConfigurationsSample.js][cloudapplianceslistsupportedconfigurationssample] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | +| [cloudAppliancesProvision.js][cloudappliancesprovision] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | +| [cloudAppliancesProvisionSample.js][cloudappliancesprovisionsample] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | +| [deviceSettingsCreateOrUpdateAlertSettings.js][devicesettingscreateorupdatealertsettings] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | +| [deviceSettingsCreateOrUpdateAlertSettingsSample.js][devicesettingscreateorupdatealertsettingssample] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | +| [deviceSettingsCreateOrUpdateTimeSettings.js][devicesettingscreateorupdatetimesettings] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | +| [deviceSettingsCreateOrUpdateTimeSettingsSample.js][devicesettingscreateorupdatetimesettingssample] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | +| [deviceSettingsGetAlertSettings.js][devicesettingsgetalertsettings] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | +| [deviceSettingsGetAlertSettingsSample.js][devicesettingsgetalertsettingssample] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | +| [deviceSettingsGetNetworkSettings.js][devicesettingsgetnetworksettings] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | +| [deviceSettingsGetNetworkSettingsSample.js][devicesettingsgetnetworksettingssample] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | +| [deviceSettingsGetSecuritySettings.js][devicesettingsgetsecuritysettings] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | +| [deviceSettingsGetSecuritySettingsSample.js][devicesettingsgetsecuritysettingssample] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | +| [deviceSettingsGetTimeSettings.js][devicesettingsgettimesettings] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | +| [deviceSettingsGetTimeSettingsSample.js][devicesettingsgettimesettingssample] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | +| [deviceSettingsSyncRemotemanagementCertificate.js][devicesettingssyncremotemanagementcertificate] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | +| [deviceSettingsSyncRemotemanagementCertificateSample.js][devicesettingssyncremotemanagementcertificatesample] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | +| [deviceSettingsUpdateNetworkSettings.js][devicesettingsupdatenetworksettings] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | +| [deviceSettingsUpdateNetworkSettingsSample.js][devicesettingsupdatenetworksettingssample] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | +| [deviceSettingsUpdateSecuritySettings.js][devicesettingsupdatesecuritysettings] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | +| [deviceSettingsUpdateSecuritySettingsSample.js][devicesettingsupdatesecuritysettingssample] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | +| [devicesAuthorizeForServiceEncryptionKeyRollover.js][devicesauthorizeforserviceencryptionkeyrollover] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | +| [devicesAuthorizeForServiceEncryptionKeyRolloverSample.js][devicesauthorizeforserviceencryptionkeyrolloversample] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | +| [devicesConfigure.js][devicesconfigure] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | +| [devicesConfigureSample.js][devicesconfiguresample] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | +| [devicesDeactivate.js][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | +| [devicesDeactivateSample.js][devicesdeactivatesample] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | +| [devicesDelete.js][devicesdelete] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | +| [devicesDeleteSample.js][devicesdeletesample] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | +| [devicesFailover.js][devicesfailover] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | +| [devicesFailoverSample.js][devicesfailoversample] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | +| [devicesGet.js][devicesget] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | +| [devicesGetSample.js][devicesgetsample] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | +| [devicesGetUpdateSummary.js][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | +| [devicesGetUpdateSummarySample.js][devicesgetupdatesummarysample] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | +| [devicesInstallUpdates.js][devicesinstallupdates] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | +| [devicesInstallUpdatesSample.js][devicesinstallupdatessample] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | +| [devicesListByManager.js][deviceslistbymanager] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | +| [devicesListByManagerSample.js][deviceslistbymanagersample] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | +| [devicesListFailoverSets.js][deviceslistfailoversets] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | +| [devicesListFailoverSetsSample.js][deviceslistfailoversetssample] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | +| [devicesListFailoverTargets.js][deviceslistfailovertargets] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | +| [devicesListFailoverTargetsSample.js][deviceslistfailovertargetssample] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | +| [devicesListMetricDefinition.js][deviceslistmetricdefinition] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetricDefinitionSample.js][deviceslistmetricdefinitionsample] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetrics.js][deviceslistmetrics] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | +| [devicesListMetricsSample.js][deviceslistmetricssample] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | +| [devicesScanForUpdates.js][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | +| [devicesScanForUpdatesSample.js][devicesscanforupdatessample] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | +| [devicesUpdate.js][devicesupdate] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | +| [devicesUpdateSample.js][devicesupdatesample] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | +| [hardwareComponentGroupsChangeControllerPowerState.js][hardwarecomponentgroupschangecontrollerpowerstate] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | +| [hardwareComponentGroupsChangeControllerPowerStateSample.js][hardwarecomponentgroupschangecontrollerpowerstatesample] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | +| [hardwareComponentGroupsListByDevice.js][hardwarecomponentgroupslistbydevice] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | +| [hardwareComponentGroupsListByDeviceSample.js][hardwarecomponentgroupslistbydevicesample] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | +| [jobsCancel.js][jobscancel] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | +| [jobsCancelSample.js][jobscancelsample] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | +| [jobsGet.js][jobsget] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | +| [jobsGetSample.js][jobsgetsample] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | +| [jobsListByDevice.js][jobslistbydevice] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | +| [jobsListByDeviceSample.js][jobslistbydevicesample] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | +| [jobsListByManager.js][jobslistbymanager] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | +| [jobsListByManagerSample.js][jobslistbymanagersample] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | +| [managersCreateExtendedInfo.js][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateExtendedInfoSample.js][managerscreateextendedinfosample] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateOrUpdate.js][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | +| [managersCreateOrUpdateSample.js][managerscreateorupdatesample] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | +| [managersDelete.js][managersdelete] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | +| [managersDeleteExtendedInfo.js][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteExtendedInfoSample.js][managersdeleteextendedinfosample] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteSample.js][managersdeletesample] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | +| [managersGet.js][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | +| [managersGetActivationKey.js][managersgetactivationkey] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | +| [managersGetActivationKeySample.js][managersgetactivationkeysample] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | +| [managersGetDevicePublicEncryptionKey.js][managersgetdevicepublicencryptionkey] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | +| [managersGetDevicePublicEncryptionKeySample.js][managersgetdevicepublicencryptionkeysample] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | +| [managersGetEncryptionSettings.js][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetEncryptionSettingsSample.js][managersgetencryptionsettingssample] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetExtendedInfo.js][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | +| [managersGetExtendedInfoSample.js][managersgetextendedinfosample] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | +| [managersGetPublicEncryptionKey.js][managersgetpublicencryptionkey] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | +| [managersGetPublicEncryptionKeySample.js][managersgetpublicencryptionkeysample] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | +| [managersGetSample.js][managersgetsample] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | +| [managersList.js][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | +| [managersListByResourceGroup.js][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | +| [managersListByResourceGroupSample.js][managerslistbyresourcegroupsample] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | +| [managersListFeatureSupportStatus.js][managerslistfeaturesupportstatus] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | +| [managersListFeatureSupportStatusSample.js][managerslistfeaturesupportstatussample] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | +| [managersListMetricDefinition.js][managerslistmetricdefinition] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | +| [managersListMetricDefinitionSample.js][managerslistmetricdefinitionsample] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | +| [managersListMetrics.js][managerslistmetrics] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | +| [managersListMetricsSample.js][managerslistmetricssample] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | +| [managersListSample.js][managerslistsample] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | +| [managersRegenerateActivationKey.js][managersregenerateactivationkey] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | +| [managersRegenerateActivationKeySample.js][managersregenerateactivationkeysample] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | +| [managersUpdate.js][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | +| [managersUpdateExtendedInfo.js][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateExtendedInfoSample.js][managersupdateextendedinfosample] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateSample.js][managersupdatesample] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | +| [operationsList.js][operationslist] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | +| [storageAccountCredentialsCreateOrUpdate.js][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsCreateOrUpdateSample.js][storageaccountcredentialscreateorupdatesample] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsDelete.js][storageaccountcredentialsdelete] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsDeleteSample.js][storageaccountcredentialsdeletesample] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsGet.js][storageaccountcredentialsget] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsGetSample.js][storageaccountcredentialsgetsample] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsListByManager.js][storageaccountcredentialslistbymanager] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | +| [storageAccountCredentialsListByManagerSample.js][storageaccountcredentialslistbymanagersample] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | +| [volumeContainersCreateOrUpdate.js][volumecontainerscreateorupdate] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | +| [volumeContainersCreateOrUpdateSample.js][volumecontainerscreateorupdatesample] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | +| [volumeContainersDelete.js][volumecontainersdelete] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | +| [volumeContainersDeleteSample.js][volumecontainersdeletesample] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | +| [volumeContainersGet.js][volumecontainersget] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | +| [volumeContainersGetSample.js][volumecontainersgetsample] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | +| [volumeContainersListByDevice.js][volumecontainerslistbydevice] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | +| [volumeContainersListByDeviceSample.js][volumecontainerslistbydevicesample] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | +| [volumeContainersListMetricDefinition.js][volumecontainerslistmetricdefinition] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | +| [volumeContainersListMetricDefinitionSample.js][volumecontainerslistmetricdefinitionsample] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | +| [volumeContainersListMetrics.js][volumecontainerslistmetrics] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | +| [volumeContainersListMetricsSample.js][volumecontainerslistmetricssample] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | +| [volumesCreateOrUpdate.js][volumescreateorupdate] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | +| [volumesCreateOrUpdateSample.js][volumescreateorupdatesample] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | +| [volumesDelete.js][volumesdelete] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | +| [volumesDeleteSample.js][volumesdeletesample] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | +| [volumesGet.js][volumesget] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | +| [volumesGetSample.js][volumesgetsample] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | +| [volumesListByDevice.js][volumeslistbydevice] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | +| [volumesListByDeviceSample.js][volumeslistbydevicesample] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | +| [volumesListByVolumeContainer.js][volumeslistbyvolumecontainer] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | +| [volumesListByVolumeContainerSample.js][volumeslistbyvolumecontainersample] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | +| [volumesListMetricDefinition.js][volumeslistmetricdefinition] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | +| [volumesListMetricDefinitionSample.js][volumeslistmetricdefinitionsample] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | +| [volumesListMetrics.js][volumeslistmetrics] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | +| [volumesListMetricsSample.js][volumeslistmetricssample] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | ## Prerequisites @@ -136,97 +228,189 @@ npx cross-env node accessControlRecordsCreateOrUpdate.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. [accesscontrolrecordscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsCreateOrUpdate.js +[accesscontrolrecordscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js [accesscontrolrecordsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsDelete.js +[accesscontrolrecordsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsDeleteSample.js [accesscontrolrecordsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsGet.js +[accesscontrolrecordsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsGetSample.js [accesscontrolrecordslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsListByManager.js +[accesscontrolrecordslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsListByManagerSample.js [alertsclear]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsClear.js +[alertsclearsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsClearSample.js [alertslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsListByManager.js +[alertslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsListByManagerSample.js [alertssendtestemail]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsSendTestEmail.js +[alertssendtestemailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsSendTestEmailSample.js [backuppoliciesbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesBackupNow.js +[backuppoliciesbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesBackupNowSample.js [backuppoliciescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesCreateOrUpdate.js +[backuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesCreateOrUpdateSample.js [backuppoliciesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesDelete.js +[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesDeleteSample.js [backuppoliciesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesGet.js +[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesGetSample.js [backuppolicieslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesListByDevice.js +[backuppolicieslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesListByDeviceSample.js [backupschedulescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesCreateOrUpdate.js +[backupschedulescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesCreateOrUpdateSample.js [backupschedulesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesDelete.js +[backupschedulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesDeleteSample.js [backupschedulesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesGet.js +[backupschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesGetSample.js [backupscheduleslistbybackuppolicy]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesListByBackupPolicy.js +[backupscheduleslistbybackuppolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesListByBackupPolicySample.js [backupsclone]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsClone.js +[backupsclonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsCloneSample.js [backupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsDelete.js +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsDeleteSample.js [backupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsListByDevice.js +[backupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsListByDeviceSample.js [backupsrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsRestore.js +[backupsrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsRestoreSample.js [bandwidthsettingscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsCreateOrUpdate.js +[bandwidthsettingscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsCreateOrUpdateSample.js [bandwidthsettingsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsDelete.js +[bandwidthsettingsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsDeleteSample.js [bandwidthsettingsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsGet.js +[bandwidthsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsGetSample.js [bandwidthsettingslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsListByManager.js +[bandwidthsettingslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsListByManagerSample.js [cloudapplianceslistsupportedconfigurations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesListSupportedConfigurations.js +[cloudapplianceslistsupportedconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesListSupportedConfigurationsSample.js [cloudappliancesprovision]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesProvision.js +[cloudappliancesprovisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesProvisionSample.js [devicesettingscreateorupdatealertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateAlertSettings.js +[devicesettingscreateorupdatealertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateAlertSettingsSample.js [devicesettingscreateorupdatetimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateTimeSettings.js +[devicesettingscreateorupdatetimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateTimeSettingsSample.js [devicesettingsgetalertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetAlertSettings.js +[devicesettingsgetalertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetAlertSettingsSample.js [devicesettingsgetnetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetNetworkSettings.js +[devicesettingsgetnetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetNetworkSettingsSample.js [devicesettingsgetsecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetSecuritySettings.js +[devicesettingsgetsecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetSecuritySettingsSample.js [devicesettingsgettimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetTimeSettings.js +[devicesettingsgettimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetTimeSettingsSample.js [devicesettingssyncremotemanagementcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsSyncRemotemanagementCertificate.js +[devicesettingssyncremotemanagementcertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsSyncRemotemanagementCertificateSample.js [devicesettingsupdatenetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateNetworkSettings.js +[devicesettingsupdatenetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateNetworkSettingsSample.js [devicesettingsupdatesecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateSecuritySettings.js +[devicesettingsupdatesecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateSecuritySettingsSample.js [devicesauthorizeforserviceencryptionkeyrollover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesAuthorizeForServiceEncryptionKeyRollover.js +[devicesauthorizeforserviceencryptionkeyrolloversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesAuthorizeForServiceEncryptionKeyRolloverSample.js [devicesconfigure]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesConfigure.js +[devicesconfiguresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesConfigureSample.js [devicesdeactivate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeactivate.js +[devicesdeactivatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeactivateSample.js [devicesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDelete.js +[devicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeleteSample.js [devicesfailover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesFailover.js +[devicesfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesFailoverSample.js [devicesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGet.js +[devicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetSample.js [devicesgetupdatesummary]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetUpdateSummary.js +[devicesgetupdatesummarysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetUpdateSummarySample.js [devicesinstallupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesInstallUpdates.js +[devicesinstallupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesInstallUpdatesSample.js [deviceslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListByManager.js +[deviceslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListByManagerSample.js [deviceslistfailoversets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverSets.js +[deviceslistfailoversetssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverSetsSample.js [deviceslistfailovertargets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverTargets.js +[deviceslistfailovertargetssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverTargetsSample.js [deviceslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricDefinition.js +[deviceslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricDefinitionSample.js [deviceslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetrics.js +[deviceslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricsSample.js [devicesscanforupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesScanForUpdates.js +[devicesscanforupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesScanForUpdatesSample.js [devicesupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesUpdate.js +[devicesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesUpdateSample.js [hardwarecomponentgroupschangecontrollerpowerstate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsChangeControllerPowerState.js +[hardwarecomponentgroupschangecontrollerpowerstatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsChangeControllerPowerStateSample.js [hardwarecomponentgroupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsListByDevice.js +[hardwarecomponentgroupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsListByDeviceSample.js [jobscancel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsCancel.js +[jobscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsCancelSample.js [jobsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsGet.js +[jobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsGetSample.js [jobslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByDevice.js +[jobslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByDeviceSample.js [jobslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByManager.js +[jobslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByManagerSample.js [managerscreateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateExtendedInfo.js +[managerscreateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateExtendedInfoSample.js [managerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateOrUpdate.js +[managerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateOrUpdateSample.js [managersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDelete.js [managersdeleteextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteExtendedInfo.js +[managersdeleteextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteExtendedInfoSample.js +[managersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteSample.js [managersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGet.js [managersgetactivationkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetActivationKey.js +[managersgetactivationkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetActivationKeySample.js [managersgetdevicepublicencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetDevicePublicEncryptionKey.js +[managersgetdevicepublicencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetDevicePublicEncryptionKeySample.js [managersgetencryptionsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetEncryptionSettings.js +[managersgetencryptionsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetEncryptionSettingsSample.js [managersgetextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetExtendedInfo.js +[managersgetextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetExtendedInfoSample.js [managersgetpublicencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetPublicEncryptionKey.js +[managersgetpublicencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetPublicEncryptionKeySample.js +[managersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetSample.js [managerslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersList.js [managerslistbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListByResourceGroup.js +[managerslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListByResourceGroupSample.js [managerslistfeaturesupportstatus]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListFeatureSupportStatus.js +[managerslistfeaturesupportstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListFeatureSupportStatusSample.js [managerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricDefinition.js +[managerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricDefinitionSample.js [managerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetrics.js +[managerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricsSample.js +[managerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListSample.js [managersregenerateactivationkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersRegenerateActivationKey.js +[managersregenerateactivationkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersRegenerateActivationKeySample.js [managersupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdate.js [managersupdateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateExtendedInfo.js +[managersupdateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateExtendedInfoSample.js +[managersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateSample.js [operationslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/operationsList.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/operationsListSample.js [storageaccountcredentialscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdate.js +[storageaccountcredentialscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js [storageaccountcredentialsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsDelete.js +[storageaccountcredentialsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js [storageaccountcredentialsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsGet.js +[storageaccountcredentialsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsGetSample.js [storageaccountcredentialslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsListByManager.js +[storageaccountcredentialslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js [volumecontainerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersCreateOrUpdate.js +[volumecontainerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersCreateOrUpdateSample.js [volumecontainersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersDelete.js +[volumecontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersDeleteSample.js [volumecontainersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersGet.js +[volumecontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersGetSample.js [volumecontainerslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListByDevice.js +[volumecontainerslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListByDeviceSample.js [volumecontainerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricDefinition.js +[volumecontainerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricDefinitionSample.js [volumecontainerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetrics.js +[volumecontainerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricsSample.js [volumescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesCreateOrUpdate.js +[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesCreateOrUpdateSample.js [volumesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesDelete.js +[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesDeleteSample.js [volumesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesGet.js +[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesGetSample.js [volumeslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByDevice.js +[volumeslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByDeviceSample.js [volumeslistbyvolumecontainer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByVolumeContainer.js +[volumeslistbyvolumecontainersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByVolumeContainerSample.js [volumeslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricDefinition.js +[volumeslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricDefinitionSample.js [volumeslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetrics.js +[volumeslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricsSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storsimple8000series?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storsimple8000series/arm-storsimple8000series/README.md diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js new file mode 100644 index 000000000000..b90326090372 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsCreateOrUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + initiatorName: "iqn.2017-06.com.contoso:ForTest", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsDeleteSample.js new file mode 100644 index 000000000000..9b76a44779b0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsGetSample.js new file mode 100644 index 000000000000..2a1f21c3a9ec --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsListByManagerSample.js new file mode 100644 index 000000000000..386c1428285c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/accessControlRecordsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsClearSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsClearSample.js new file mode 100644 index 000000000000..ee34000ef205 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsClearSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + alerts: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alerts/308b5bd2-824b-436f-840e-44bde075ef33", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.alerts.clear(resourceGroupName, managerName, parameters); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsListByManagerSample.js new file mode 100644 index 000000000000..7d16ef72feab --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "status eq 'Active' and appearedOnTime ge '2017-06-09T18:30:00Z' and appearedOnTime le '2017-06-19T18:30:00Z' and sourceType eq 'Device' and sourceName eq 'Device05ForSDKTest'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.alerts.listByManager(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsSendTestEmailSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsSendTestEmailSample.js new file mode 100644 index 000000000000..0fb258b2321b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/alertsSendTestEmailSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + emailList: ["testemailid@contoso.com"], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesBackupNowSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesBackupNowSample.js new file mode 100644 index 000000000000..3bdf9b3d47e6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesBackupNowSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Backup the backup policy now. + * + * @summary Backup the backup policy now. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json + */ +async function backupPoliciesBackupNow() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupType = "CloudSnapshot"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupPolicies.beginBackupNowAndWait( + deviceName, + backupPolicyName, + backupType, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesBackupNow().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesCreateOrUpdateSample.js new file mode 100644 index 000000000000..0874efc40b45 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesCreateOrUpdateSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the backup policy. + * + * @summary Creates or updates the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json + */ +async function backupPoliciesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + kind: "Series8000", + volumeIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1", + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupPolicies.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupPoliciesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesDeleteSample.js new file mode 100644 index 000000000000..9010f4a40d99 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the backup policy. + * + * @summary Deletes the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json + */ +async function backupPoliciesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupPolicies.beginDeleteAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesGetSample.js new file mode 100644 index 000000000000..fb1a045301d0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the properties of the specified backup policy name. + * + * @summary Gets the properties of the specified backup policy name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json + */ +async function backupPoliciesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupPolicies.get( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesListByDeviceSample.js new file mode 100644 index 000000000000..7fa6eb5f33df --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupPoliciesListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the backup policies in a device. + * + * @summary Gets all the backup policies in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json + */ +async function backupPoliciesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backupPolicies.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupPoliciesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesCreateOrUpdateSample.js new file mode 100644 index 000000000000..1b5f71d2b19f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesCreateOrUpdateSample.js @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the backup schedule. + * + * @summary Creates or updates the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json + */ +async function backupSchedulesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + backupType: "CloudSnapshot", + kind: "Series8000", + retentionCount: 1, + scheduleRecurrence: { + recurrenceType: "Weekly", + recurrenceValue: 1, + weeklyDaysList: ["Friday", "Thursday", "Monday"], + }, + scheduleStatus: "Enabled", + startTime: new Date("2017-06-24T01:00:00Z"), + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupSchedules.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupSchedulesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesDeleteSample.js new file mode 100644 index 000000000000..151a27e88963 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesDeleteSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the backup schedule. + * + * @summary Deletes the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json + */ +async function backupSchedulesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupSchedules.beginDeleteAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesGetSample.js new file mode 100644 index 000000000000..98ec75111073 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesGetSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the properties of the specified backup schedule name. + * + * @summary Gets the properties of the specified backup schedule name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json + */ +async function backupSchedulesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backupSchedules.get( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesListByBackupPolicySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesListByBackupPolicySample.js new file mode 100644 index 000000000000..ee1d6b03359b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupSchedulesListByBackupPolicySample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the backup schedules in a backup policy. + * + * @summary Gets all the backup schedules in a backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json + */ +async function backupSchedulesListByBackupPolicy() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backupSchedules.listByBackupPolicy( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupSchedulesListByBackupPolicy().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsCloneSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsCloneSample.js new file mode 100644 index 000000000000..fc8cc7ff67ce --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsCloneSample.js @@ -0,0 +1,59 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Clones the backup element as a new volume. + * + * @summary Clones the backup element as a new volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const backupElementName = "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + backupElement: { + elementId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backups/880e1774-94a8-4f3e-85e6-a61e6b94a8b7/elements/7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementName: "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementType: "managers/devices/backups/elements", + sizeInBytes: 10737418240, + volumeContainerId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest", + volumeName: "Clonedvolume1", + volumeType: "Tiered", + }, + targetAccessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2", + ], + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest", + targetVolumeName: "ClonedClonedvolume1", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + backupElementName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsDeleteSample.js new file mode 100644 index 000000000000..46d472460fcb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsListByDeviceSample.js new file mode 100644 index 000000000000..aefb463ecf49 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsListByDeviceSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the backups in a device. + * + * @summary Retrieves all the backups in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "createdTime ge '2017-06-22T18:30:00Z' and backupPolicyId eq '/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsRestoreSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsRestoreSample.js new file mode 100644 index 000000000000..535899a1d167 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/backupsRestoreSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Restores the backup on the device. + * + * @summary Restores the backup on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json + */ +async function backupsRestore() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.backups.beginRestoreAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsRestore().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsCreateOrUpdateSample.js new file mode 100644 index 000000000000..e532a6e1227d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsCreateOrUpdateSample.js @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the bandwidth setting + * + * @summary Creates or updates the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json + */ +async function bandwidthSettingsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + schedules: [ + { + days: ["Saturday", "Sunday"], + rateInMbps: 10, + start: { hours: 10, minutes: 0, seconds: 0 }, + stop: { hours: 20, minutes: 0, seconds: 0 }, + }, + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.bandwidthSettings.beginCreateOrUpdateAndWait( + bandwidthSettingName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +bandwidthSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsDeleteSample.js new file mode 100644 index 000000000000..69bf174e6bb0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the bandwidth setting + * + * @summary Deletes the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json + */ +async function bandwidthSettingsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.bandwidthSettings.beginDeleteAndWait( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsGetSample.js new file mode 100644 index 000000000000..f1945d1285cc --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified bandwidth setting name. + * + * @summary Returns the properties of the specified bandwidth setting name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json + */ +async function bandwidthSettingsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "bandwidthSetting1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.bandwidthSettings.get( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsListByManagerSample.js new file mode 100644 index 000000000000..31d9f68e1a76 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/bandwidthSettingsListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the bandwidth setting in a manager. + * + * @summary Retrieves all the bandwidth setting in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json + */ +async function bandwidthSettingsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.bandwidthSettings.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +bandwidthSettingsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesListSupportedConfigurationsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesListSupportedConfigurationsSample.js new file mode 100644 index 000000000000..64e44eda5622 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesListSupportedConfigurationsSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists supported cloud appliance models and supported configurations. + * + * @summary Lists supported cloud appliance models and supported configurations. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json + */ +async function cloudAppliancesListSupportedConfigurations() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.cloudAppliances.listSupportedConfigurations( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +cloudAppliancesListSupportedConfigurations().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesProvisionSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesProvisionSample.js new file mode 100644 index 000000000000..eea42f09c515 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/cloudAppliancesProvisionSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Provisions cloud appliance. + * + * @summary Provisions cloud appliance. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json + */ +async function cloudAppliancesProvision() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + name: "sca07forsdktest", + modelNumber: "8020", + vnetRegion: "West US", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.cloudAppliances.beginProvisionAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +cloudAppliancesProvision().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateAlertSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateAlertSettingsSample.js new file mode 100644 index 000000000000..3927d123d160 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateAlertSettingsSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the alert settings of the specified device. + * + * @summary Creates or updates the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json + */ +async function deviceSettingsCreateOrUpdateAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + additionalRecipientEmailList: [], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Enabled", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateTimeSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateTimeSettingsSample.js new file mode 100644 index 000000000000..df232b7ba4d9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsCreateOrUpdateTimeSettingsSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the time settings of the specified device. + * + * @summary Creates or updates the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json + */ +async function deviceSettingsCreateOrUpdateTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + primaryTimeServer: "time.windows.com", + secondaryTimeServer: ["8.8.8.8"], + timeZone: "Pacific Standard Time", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.beginCreateOrUpdateTimeSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetAlertSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetAlertSettingsSample.js new file mode 100644 index 000000000000..1c39a3652a47 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetAlertSettingsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the alert settings of the specified device. + * + * @summary Gets the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json + */ +async function deviceSettingsGetAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.getAlertSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetNetworkSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetNetworkSettingsSample.js new file mode 100644 index 000000000000..8b7bf2a66b2c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetNetworkSettingsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the network settings of the specified device. + * + * @summary Gets the network settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json + */ +async function deviceSettingsGetNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetSecuritySettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetSecuritySettingsSample.js new file mode 100644 index 000000000000..e0e729f5eb64 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetSecuritySettingsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the Security properties of the specified device name. + * + * @summary Returns the Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json + */ +async function deviceSettingsGetSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.getSecuritySettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetTimeSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetTimeSettingsSample.js new file mode 100644 index 000000000000..4a0a94e5cb36 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsGetTimeSettingsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the time settings of the specified device. + * + * @summary Gets the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json + */ +async function deviceSettingsGetTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.getTimeSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsSyncRemotemanagementCertificateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsSyncRemotemanagementCertificateSample.js new file mode 100644 index 000000000000..77df608f7da9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsSyncRemotemanagementCertificateSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to sync Remote management Certificate between appliance and Service + * + * @summary sync Remote management Certificate between appliance and Service + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json + */ +async function deviceSettingsSyncRemotemanagementCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.beginSyncRemotemanagementCertificateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsSyncRemotemanagementCertificate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateNetworkSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateNetworkSettingsSample.js new file mode 100644 index 000000000000..8c6ffa5a5edd --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateNetworkSettingsSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the network settings on the specified device. + * + * @summary Updates the network settings on the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json + */ +async function deviceSettingsUpdateNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + dnsSettings: { + primaryDnsServer: "10.171.65.60", + secondaryDnsServers: ["8.8.8.8"], + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.beginUpdateNetworkSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateSecuritySettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateSecuritySettingsSample.js new file mode 100644 index 000000000000..4f110d0890e1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/deviceSettingsUpdateSecuritySettingsSample.js @@ -0,0 +1,65 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patch Security properties of the specified device name. + * + * @summary Patch Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json + */ +async function deviceSettingsUpdateSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + chapSettings: { + initiatorSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "V/uVfWk5OcXfMC0HvUV89o9+cmF636jBnqhFM1pD/zHhmh8Z1KB5/LhVV3T53uGjIlKL3wjhwg+9NIQrIbYuKhl/r8jSftSSH+WqUnQHTRDWazjPAeMu6ozrL5RYzP1h5mgw7XtidZPaaV9ae/uF1KQPkK6TIARaOTdr8I/BLWUg7WdDrfARNYHnW6ezXek1M9Qhv1sL9fZY+JrGB58LF6D2aC2Xjed4K4Jk6v2T1ieneNV27uIdnt21TajuM7w90UlRiVZJZtq/KdEUfqI28C7VoUdcXluAwzR95Ho8hmyIJDqeW3/Wxymdjv+Rctwqtmcka9i2G85Hj8SVV3g4kA==", + }, + initiatorUser: "test-initiator-user", + targetSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "OTR4uwVpy+pf0zthnCIAUXurC8NdSh8RpRG5GWL9TSv4WtkVmpeU/U2A4vjkrchfQOzI1x+uooWikWW9txwwQOM+/N3NG44+/dlHoaEe7AxjmItCKhNj8K2RM6D1mb45wicbF/M4uanuXnGXuT+JmZ+1Lcy2k1GXsk67ejplz2K08h37B+oIW85qMUHLdKuuQlAA/fFS+q6qMti3j2Q8Fr+Sh4U76/2AZVkKRtFeqPB1QhC12dFx6TFoZJkMFzdQz4WNvWVelIK2McKNnOiH0/Z5lAXC7164uzReAoTEfqoNU7qqqRrHhsdwWPu6jbeUn8BQnr7A/X6NWvgeax+HGA==", + }, + targetUser: "test-target-user", + }, + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "", + }, + remoteManagementSettings: { remoteManagementMode: "HttpsAndHttpEnabled" }, + snapshotPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.deviceSettings.beginUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesAuthorizeForServiceEncryptionKeyRolloverSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesAuthorizeForServiceEncryptionKeyRolloverSample.js new file mode 100644 index 000000000000..36459eeea116 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesAuthorizeForServiceEncryptionKeyRolloverSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Authorizes the specified device for service data encryption key rollover. + * + * @summary Authorizes the specified device for service data encryption key rollover. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json + */ +async function devicesAuthorizeForServiceEncryptionKeyRollover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.authorizeForServiceEncryptionKeyRollover( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesAuthorizeForServiceEncryptionKeyRollover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesConfigureSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesConfigureSample.js new file mode 100644 index 000000000000..d0b1cf45f8aa --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesConfigureSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Complete minimal setup before using the device. + * + * @summary Complete minimal setup before using the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json + */ +async function devicesConfigure() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + currentDeviceName: "Device001ForSDKTest", + friendlyName: "Device001ForSDKTest", + networkInterfaceData0Settings: { + controllerOneIp: "10.168.220.228", + controllerZeroIp: "10.168.220.227", + }, + timeZone: "Pacific Standard Time", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginConfigureAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesConfigure().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeactivateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeactivateSample.js new file mode 100644 index 000000000000..3cce748733ec --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeactivateSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeleteSample.js new file mode 100644 index 000000000000..7d10b2e8e366 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesFailoverSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesFailoverSample.js new file mode 100644 index 000000000000..f9236216b84a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesFailoverSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Failovers a set of volume containers from a specified source device to a target device. + * + * @summary Failovers a set of volume containers from a specified source device to a target device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/jemdeviceforsdk", + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginFailoverAndWait( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetSample.js new file mode 100644 index 000000000000..3af3ac82d744 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified device. + * + * @summary Returns the properties of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const expand = "details"; + const options = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.get(deviceName, resourceGroupName, managerName, options); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetUpdateSummarySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetUpdateSummarySample.js new file mode 100644 index 000000000000..e9a9b8ecf3d6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesGetUpdateSummarySample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.getUpdateSummary(deviceName, resourceGroupName, managerName); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesInstallUpdatesSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesInstallUpdatesSample.js new file mode 100644 index 000000000000..756e7f66aef3 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesInstallUpdatesSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Downloads and installs the updates on the device. + * + * @summary Downloads and installs the updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListByManagerSample.js new file mode 100644 index 000000000000..73c07c1bae12 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListByManagerSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the list of devices for the specified manager. + * + * @summary Returns the list of devices for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listByManager(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverSetsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverSetsSample.js new file mode 100644 index 000000000000..0535bdc8a765 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverSetsSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * + * @summary Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json + */ +async function devicesListFailoverSets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listFailoverSets( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverSets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverTargetsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverTargetsSample.js new file mode 100644 index 000000000000..395e7ecf563f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListFailoverTargetsSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * + * @summary Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json + */ +async function devicesListFailoverTargets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTargets( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTargets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricDefinitionSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricDefinitionSample.js new file mode 100644 index 000000000000..bb8e9caa660d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricDefinitionSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metric definitions for the specified device. + * + * @summary Gets the metric definitions for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricsSample.js new file mode 100644 index 000000000000..959a06d20d89 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesListMetricsSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metrics for the specified device. + * + * @summary Gets the metrics for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesScanForUpdatesSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesScanForUpdatesSample.js new file mode 100644 index 000000000000..07c000bcb39b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesScanForUpdatesSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesUpdateSample.js new file mode 100644 index 000000000000..a6392ee04750 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/devicesUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json + */ +async function devicesUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + deviceDescription: "updated device description", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.devices.update( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsChangeControllerPowerStateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsChangeControllerPowerStateSample.js new file mode 100644 index 000000000000..16e2469951d0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsChangeControllerPowerStateSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Changes the power state of the controller. + * + * @summary Changes the power state of the controller. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json + */ +async function hardwareComponentGroupsChangeControllerPowerState() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const hardwareComponentGroupName = "Controller0Components"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + action: "Start", + activeController: "Controller0", + controller0State: "Ok", + controller1State: "NotPresent", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.hardwareComponentGroups.beginChangeControllerPowerStateAndWait( + deviceName, + hardwareComponentGroupName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +hardwareComponentGroupsChangeControllerPowerState().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsListByDeviceSample.js new file mode 100644 index 000000000000..bd4768bd191e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/hardwareComponentGroupsListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the hardware component groups at device-level. + * + * @summary Lists the hardware component groups at device-level. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json + */ +async function hardwareComponentGroupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.hardwareComponentGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +hardwareComponentGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsCancelSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsCancelSample.js new file mode 100644 index 000000000000..275d57ce2ef1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsCancelSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Cancels a job on the device. + * + * @summary Cancels a job on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json + */ +async function jobsCancel() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const jobName = "993db21d-101b-41af-9e12-f593d78b99e9"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.jobs.beginCancelAndWait( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsCancel().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsGetSample.js new file mode 100644 index 000000000000..3096e2b46341 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of the specified job name. + * + * @summary Gets the details of the specified job name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca07forsdktest"; + const jobName = "70a29339-de6d-48e8-b24f-e25ee6769a00"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.jobs.get(deviceName, jobName, resourceGroupName, managerName); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByDeviceSample.js new file mode 100644 index 000000000000..d6079ead0b90 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByDeviceSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'ManualBackup'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByManagerSample.js new file mode 100644 index 000000000000..453de86572ec --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/jobsListByManagerSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'FailoverVolumeContainers'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.jobs.listByManager(resourceGroupName, managerName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateExtendedInfoSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateExtendedInfoSample.js new file mode 100644 index 000000000000..194f4854571d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateExtendedInfoSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters = { + algorithm: "None", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateOrUpdateSample.js new file mode 100644 index 000000000000..8a0df8a70d99 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersCreateOrUpdateSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters = { + cisIntrinsicSettings: { type: "GardaV1" }, + location: "westus", + sku: { name: "Standard" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.createOrUpdate(resourceGroupName, managerName, parameters); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteExtendedInfoSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteExtendedInfoSample.js new file mode 100644 index 000000000000..3ce8b86e9d25 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteExtendedInfoSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.deleteExtendedInfo(resourceGroupName, managerName); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteSample.js new file mode 100644 index 000000000000..2499c0d4785e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetActivationKeySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetActivationKeySample.js new file mode 100644 index 000000000000..9096b392c456 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetActivationKeySample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the activation key of the manager. + * + * @summary Returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json + */ +async function managersGetActivationKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.getActivationKey(resourceGroupName, managerName); + console.log(result); +} + +managersGetActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetDevicePublicEncryptionKeySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetDevicePublicEncryptionKeySample.js new file mode 100644 index 000000000000..90874767bd5e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetDevicePublicEncryptionKeySample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the public encryption key of the device. + * + * @summary Returns the public encryption key of the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json + */ +async function managersGetDevicePublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca01forsdktest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.getDevicePublicEncryptionKey( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetDevicePublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetEncryptionSettingsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetEncryptionSettingsSample.js new file mode 100644 index 000000000000..207a6bcd283b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetEncryptionSettingsSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.getEncryptionSettings(resourceGroupName, managerName); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetExtendedInfoSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetExtendedInfoSample.js new file mode 100644 index 000000000000..f463fa55c6bb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetExtendedInfoSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.getExtendedInfo(resourceGroupName, managerName); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetPublicEncryptionKeySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetPublicEncryptionKeySample.js new file mode 100644 index 000000000000..79bfde383f44 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetPublicEncryptionKeySample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the symmetric encrypted public encryption key of the manager. + * + * @summary Returns the symmetric encrypted public encryption key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json + */ +async function managersGetPublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.getPublicEncryptionKey(resourceGroupName, managerName); + console.log(result); +} + +managersGetPublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetSample.js new file mode 100644 index 000000000000..067abceabefc --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListByResourceGroupSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListByResourceGroupSample.js new file mode 100644 index 000000000000..d6dc2c05ac6e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListFeatureSupportStatusSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListFeatureSupportStatusSample.js new file mode 100644 index 000000000000..8633027f07e2 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListFeatureSupportStatusSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the features and their support status + * + * @summary Lists the features and their support status + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json + */ +async function managersListFeatureSupportStatus() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listFeatureSupportStatus(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListFeatureSupportStatus().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricDefinitionSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricDefinitionSample.js new file mode 100644 index 000000000000..934555afa310 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricDefinitionSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metric definitions for the specified manager. + * + * @summary Gets the metric definitions for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition(resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricsSample.js new file mode 100644 index 000000000000..8ff393ae0ec2 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListMetricsSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metrics for the specified manager. + * + * @summary Gets the metrics for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.listMetrics(resourceGroupName, managerName, filter)) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListSample.js new file mode 100644 index 000000000000..9b42b93af2f8 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersRegenerateActivationKeySample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersRegenerateActivationKeySample.js new file mode 100644 index 000000000000..4ff8f1c43330 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersRegenerateActivationKeySample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Re-generates and returns the activation key of the manager. + * + * @summary Re-generates and returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json + */ +async function managersRegenerateActivationKey() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.regenerateActivationKey(resourceGroupName, managerName); + console.log(result); +} + +managersRegenerateActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateExtendedInfoSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateExtendedInfoSample.js new file mode 100644 index 000000000000..bb09f4acb1ea --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateExtendedInfoSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const ifMatch = "674ab9df-af56-4c5c-a5ca-2bddcf1b781a"; + const parameters = { + algorithm: "SHA256", + etag: "674ab9df-af56-4c5c-a5ca-2bddcf1b781a", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + parameters + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateSample.js new file mode 100644 index 000000000000..bb9d6d8a3abc --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/managersUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.managers.update(resourceGroupName, managerName, parameters); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/operationsListSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/operationsListSample.js new file mode 100644 index 000000000000..c2943a79fa3b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the available REST API operations of the Microsoft.StorSimple provider + * + * @summary Lists all of the available REST API operations of the Microsoft.StorSimple provider + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js new file mode 100644 index 000000000000..d54922aa427f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsCreateOrUpdateSample.js @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the storage account credential. + * + * @summary Creates or updates the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==", + }, + endPoint: "blob.core.windows.net", + sslStatus: "Enabled", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js new file mode 100644 index 000000000000..bb342ec6c296 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the storage account credential. + * + * @summary Deletes the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsGetSample.js new file mode 100644 index 000000000000..64da7481b17b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the properties of the specified storage account credential name. + * + * @summary Gets the properties of the specified storage account credential name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.storageAccountCredentials.get( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js new file mode 100644 index 000000000000..722a857a8918 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/storageAccountCredentialsListByManagerSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the storage account credentials in a manager. + * + * @summary Gets all the storage account credentials in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersCreateOrUpdateSample.js new file mode 100644 index 000000000000..275179516b4b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersCreateOrUpdateSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the volume container. + * + * @summary Creates or updates the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json + */ +async function volumeContainersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + bandwidthSettingId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1", + encryptionKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw==", + }, + storageAccountCredentialId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumeContainers.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumeContainersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersDeleteSample.js new file mode 100644 index 000000000000..8ba7456ff24b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the volume container. + * + * @summary Deletes the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json + */ +async function volumeContainersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumeContainers.beginDeleteAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersGetSample.js new file mode 100644 index 000000000000..efe7dca3ece1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersGetSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the properties of the specified volume container name. + * + * @summary Gets the properties of the specified volume container name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json + */ +async function volumeContainersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumeContainers.get( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListByDeviceSample.js new file mode 100644 index 000000000000..fc4f916f756a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListByDeviceSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all the volume containers in a device. + * + * @summary Gets all the volume containers in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json + */ +async function volumeContainersListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumeContainers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricDefinitionSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricDefinitionSample.js new file mode 100644 index 000000000000..74ea6d306df2 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricDefinitionSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume container. + * + * @summary Gets the metric definitions for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json + */ +async function volumeContainersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetricDefinition( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricsSample.js new file mode 100644 index 000000000000..12c38d495359 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumeContainersListMetricsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metrics for the specified volume container. + * + * @summary Gets the metrics for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json + */ +async function volumeContainersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'CloudConsumedStorage' and timeGrain eq 'PT1M' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetrics( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesCreateOrUpdateSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesCreateOrUpdateSample.js new file mode 100644 index 000000000000..85a5a49d57c9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesCreateOrUpdateSample.js @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates the volume. + * + * @summary Creates or updates the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json + */ +async function volumesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters = { + accessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2", + ], + monitoringStatus: "Enabled", + sizeInBytes: 5368709120, + volumeStatus: "Offline", + volumeType: "Tiered", + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumes.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesDeleteSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesDeleteSample.js new file mode 100644 index 000000000000..1b5c4f31ce85 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesDeleteSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the volume. + * + * @summary Deletes the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json + */ +async function volumesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumes.beginDeleteAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesGetSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesGetSample.js new file mode 100644 index 000000000000..0a1b98a8cbff --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesGetSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns the properties of the specified volume name. + * + * @summary Returns the properties of the specified volume name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json + */ +async function volumesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const result = await client.volumes.get( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByDeviceSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByDeviceSample.js new file mode 100644 index 000000000000..8047e48719ab --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByDeviceSample.js @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the volumes in a device. + * + * @summary Retrieves all the volumes in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json + */ +async function volumesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumes.listByDevice(deviceName, resourceGroupName, managerName)) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByVolumeContainerSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByVolumeContainerSample.js new file mode 100644 index 000000000000..add687c275b7 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListByVolumeContainerSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves all the volumes in a volume container. + * + * @summary Retrieves all the volumes in a volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json + */ +async function volumesListByVolumeContainer() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "volumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumes.listByVolumeContainer( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByVolumeContainer().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricDefinitionSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricDefinitionSample.js new file mode 100644 index 000000000000..fb7bb002c297 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricDefinitionSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume. + * + * @summary Gets the metric definitions for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json + */ +async function volumesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumes.listMetricDefinition( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricsSample.js b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricsSample.js new file mode 100644 index 000000000000..2f1c912f0582 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/javascript/volumesListMetricsSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the metrics for the specified volume. + * + * @summary Gets the metrics for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json + */ +async function volumesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.volumes.listMetrics( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/README.md b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/README.md index 56cafa3933f6..49b2f6ce66c0 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/README.md +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/README.md @@ -2,100 +2,192 @@ These sample programs show how to use the TypeScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [accessControlRecordsCreateOrUpdate.ts][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | -| [accessControlRecordsDelete.ts][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | -| [accessControlRecordsGet.ts][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | -| [accessControlRecordsListByManager.ts][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | -| [alertsClear.ts][alertsclear] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | -| [alertsListByManager.ts][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | -| [alertsSendTestEmail.ts][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | -| [backupPoliciesBackupNow.ts][backuppoliciesbackupnow] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | -| [backupPoliciesCreateOrUpdate.ts][backuppoliciescreateorupdate] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | -| [backupPoliciesDelete.ts][backuppoliciesdelete] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | -| [backupPoliciesGet.ts][backuppoliciesget] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | -| [backupPoliciesListByDevice.ts][backuppolicieslistbydevice] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | -| [backupSchedulesCreateOrUpdate.ts][backupschedulescreateorupdate] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | -| [backupSchedulesDelete.ts][backupschedulesdelete] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | -| [backupSchedulesGet.ts][backupschedulesget] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | -| [backupSchedulesListByBackupPolicy.ts][backupscheduleslistbybackuppolicy] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | -| [backupsClone.ts][backupsclone] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | -| [backupsDelete.ts][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | -| [backupsListByDevice.ts][backupslistbydevice] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | -| [backupsRestore.ts][backupsrestore] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | -| [bandwidthSettingsCreateOrUpdate.ts][bandwidthsettingscreateorupdate] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | -| [bandwidthSettingsDelete.ts][bandwidthsettingsdelete] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | -| [bandwidthSettingsGet.ts][bandwidthsettingsget] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | -| [bandwidthSettingsListByManager.ts][bandwidthsettingslistbymanager] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | -| [cloudAppliancesListSupportedConfigurations.ts][cloudapplianceslistsupportedconfigurations] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | -| [cloudAppliancesProvision.ts][cloudappliancesprovision] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | -| [deviceSettingsCreateOrUpdateAlertSettings.ts][devicesettingscreateorupdatealertsettings] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | -| [deviceSettingsCreateOrUpdateTimeSettings.ts][devicesettingscreateorupdatetimesettings] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | -| [deviceSettingsGetAlertSettings.ts][devicesettingsgetalertsettings] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | -| [deviceSettingsGetNetworkSettings.ts][devicesettingsgetnetworksettings] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | -| [deviceSettingsGetSecuritySettings.ts][devicesettingsgetsecuritysettings] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | -| [deviceSettingsGetTimeSettings.ts][devicesettingsgettimesettings] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | -| [deviceSettingsSyncRemotemanagementCertificate.ts][devicesettingssyncremotemanagementcertificate] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | -| [deviceSettingsUpdateNetworkSettings.ts][devicesettingsupdatenetworksettings] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | -| [deviceSettingsUpdateSecuritySettings.ts][devicesettingsupdatesecuritysettings] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | -| [devicesAuthorizeForServiceEncryptionKeyRollover.ts][devicesauthorizeforserviceencryptionkeyrollover] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | -| [devicesConfigure.ts][devicesconfigure] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | -| [devicesDeactivate.ts][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | -| [devicesDelete.ts][devicesdelete] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | -| [devicesFailover.ts][devicesfailover] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | -| [devicesGet.ts][devicesget] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | -| [devicesGetUpdateSummary.ts][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | -| [devicesInstallUpdates.ts][devicesinstallupdates] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | -| [devicesListByManager.ts][deviceslistbymanager] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | -| [devicesListFailoverSets.ts][deviceslistfailoversets] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | -| [devicesListFailoverTargets.ts][deviceslistfailovertargets] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | -| [devicesListMetricDefinition.ts][deviceslistmetricdefinition] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | -| [devicesListMetrics.ts][deviceslistmetrics] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | -| [devicesScanForUpdates.ts][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | -| [devicesUpdate.ts][devicesupdate] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | -| [hardwareComponentGroupsChangeControllerPowerState.ts][hardwarecomponentgroupschangecontrollerpowerstate] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | -| [hardwareComponentGroupsListByDevice.ts][hardwarecomponentgroupslistbydevice] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | -| [jobsCancel.ts][jobscancel] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | -| [jobsGet.ts][jobsget] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | -| [jobsListByDevice.ts][jobslistbydevice] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | -| [jobsListByManager.ts][jobslistbymanager] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | -| [managersCreateExtendedInfo.ts][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | -| [managersCreateOrUpdate.ts][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | -| [managersDelete.ts][managersdelete] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | -| [managersDeleteExtendedInfo.ts][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | -| [managersGet.ts][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | -| [managersGetActivationKey.ts][managersgetactivationkey] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | -| [managersGetDevicePublicEncryptionKey.ts][managersgetdevicepublicencryptionkey] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | -| [managersGetEncryptionSettings.ts][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | -| [managersGetExtendedInfo.ts][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | -| [managersGetPublicEncryptionKey.ts][managersgetpublicencryptionkey] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | -| [managersList.ts][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | -| [managersListByResourceGroup.ts][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | -| [managersListFeatureSupportStatus.ts][managerslistfeaturesupportstatus] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | -| [managersListMetricDefinition.ts][managerslistmetricdefinition] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | -| [managersListMetrics.ts][managerslistmetrics] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | -| [managersRegenerateActivationKey.ts][managersregenerateactivationkey] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | -| [managersUpdate.ts][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | -| [managersUpdateExtendedInfo.ts][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | -| [operationsList.ts][operationslist] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | -| [storageAccountCredentialsCreateOrUpdate.ts][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | -| [storageAccountCredentialsDelete.ts][storageaccountcredentialsdelete] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | -| [storageAccountCredentialsGet.ts][storageaccountcredentialsget] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | -| [storageAccountCredentialsListByManager.ts][storageaccountcredentialslistbymanager] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | -| [volumeContainersCreateOrUpdate.ts][volumecontainerscreateorupdate] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | -| [volumeContainersDelete.ts][volumecontainersdelete] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | -| [volumeContainersGet.ts][volumecontainersget] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | -| [volumeContainersListByDevice.ts][volumecontainerslistbydevice] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | -| [volumeContainersListMetricDefinition.ts][volumecontainerslistmetricdefinition] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | -| [volumeContainersListMetrics.ts][volumecontainerslistmetrics] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | -| [volumesCreateOrUpdate.ts][volumescreateorupdate] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | -| [volumesDelete.ts][volumesdelete] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | -| [volumesGet.ts][volumesget] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | -| [volumesListByDevice.ts][volumeslistbydevice] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | -| [volumesListByVolumeContainer.ts][volumeslistbyvolumecontainer] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | -| [volumesListMetricDefinition.ts][volumeslistmetricdefinition] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | -| [volumesListMetrics.ts][volumeslistmetrics] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessControlRecordsCreateOrUpdate.ts][accesscontrolrecordscreateorupdate] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsCreateOrUpdateSample.ts][accesscontrolrecordscreateorupdatesample] | Creates or Updates an access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json | +| [accessControlRecordsDelete.ts][accesscontrolrecordsdelete] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsDeleteSample.ts][accesscontrolrecordsdeletesample] | Deletes the access control record. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json | +| [accessControlRecordsGet.ts][accesscontrolrecordsget] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsGetSample.ts][accesscontrolrecordsgetsample] | Returns the properties of the specified access control record name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json | +| [accessControlRecordsListByManager.ts][accesscontrolrecordslistbymanager] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | +| [accessControlRecordsListByManagerSample.ts][accesscontrolrecordslistbymanagersample] | Retrieves all the access control records in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json | +| [alertsClear.ts][alertsclear] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | +| [alertsClearSample.ts][alertsclearsample] | Clear the alerts. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json | +| [alertsListByManager.ts][alertslistbymanager] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | +| [alertsListByManagerSample.ts][alertslistbymanagersample] | Retrieves all the alerts in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json | +| [alertsSendTestEmail.ts][alertssendtestemail] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | +| [alertsSendTestEmailSample.ts][alertssendtestemailsample] | Sends a test alert email. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json | +| [backupPoliciesBackupNow.ts][backuppoliciesbackupnow] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | +| [backupPoliciesBackupNowSample.ts][backuppoliciesbackupnowsample] | Backup the backup policy now. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json | +| [backupPoliciesCreateOrUpdate.ts][backuppoliciescreateorupdate] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | +| [backupPoliciesCreateOrUpdateSample.ts][backuppoliciescreateorupdatesample] | Creates or updates the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json | +| [backupPoliciesDelete.ts][backuppoliciesdelete] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | +| [backupPoliciesDeleteSample.ts][backuppoliciesdeletesample] | Deletes the backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json | +| [backupPoliciesGet.ts][backuppoliciesget] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | +| [backupPoliciesGetSample.ts][backuppoliciesgetsample] | Gets the properties of the specified backup policy name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json | +| [backupPoliciesListByDevice.ts][backuppolicieslistbydevice] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | +| [backupPoliciesListByDeviceSample.ts][backuppolicieslistbydevicesample] | Gets all the backup policies in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json | +| [backupSchedulesCreateOrUpdate.ts][backupschedulescreateorupdate] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | +| [backupSchedulesCreateOrUpdateSample.ts][backupschedulescreateorupdatesample] | Creates or updates the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json | +| [backupSchedulesDelete.ts][backupschedulesdelete] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | +| [backupSchedulesDeleteSample.ts][backupschedulesdeletesample] | Deletes the backup schedule. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json | +| [backupSchedulesGet.ts][backupschedulesget] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | +| [backupSchedulesGetSample.ts][backupschedulesgetsample] | Gets the properties of the specified backup schedule name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json | +| [backupSchedulesListByBackupPolicy.ts][backupscheduleslistbybackuppolicy] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | +| [backupSchedulesListByBackupPolicySample.ts][backupscheduleslistbybackuppolicysample] | Gets all the backup schedules in a backup policy. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json | +| [backupsClone.ts][backupsclone] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | +| [backupsCloneSample.ts][backupsclonesample] | Clones the backup element as a new volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json | +| [backupsDelete.ts][backupsdelete] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | +| [backupsDeleteSample.ts][backupsdeletesample] | Deletes the backup. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json | +| [backupsListByDevice.ts][backupslistbydevice] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | +| [backupsListByDeviceSample.ts][backupslistbydevicesample] | Retrieves all the backups in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json | +| [backupsRestore.ts][backupsrestore] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | +| [backupsRestoreSample.ts][backupsrestoresample] | Restores the backup on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json | +| [bandwidthSettingsCreateOrUpdate.ts][bandwidthsettingscreateorupdate] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | +| [bandwidthSettingsCreateOrUpdateSample.ts][bandwidthsettingscreateorupdatesample] | Creates or updates the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json | +| [bandwidthSettingsDelete.ts][bandwidthsettingsdelete] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | +| [bandwidthSettingsDeleteSample.ts][bandwidthsettingsdeletesample] | Deletes the bandwidth setting x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json | +| [bandwidthSettingsGet.ts][bandwidthsettingsget] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | +| [bandwidthSettingsGetSample.ts][bandwidthsettingsgetsample] | Returns the properties of the specified bandwidth setting name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json | +| [bandwidthSettingsListByManager.ts][bandwidthsettingslistbymanager] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | +| [bandwidthSettingsListByManagerSample.ts][bandwidthsettingslistbymanagersample] | Retrieves all the bandwidth setting in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json | +| [cloudAppliancesListSupportedConfigurations.ts][cloudapplianceslistsupportedconfigurations] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | +| [cloudAppliancesListSupportedConfigurationsSample.ts][cloudapplianceslistsupportedconfigurationssample] | Lists supported cloud appliance models and supported configurations. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json | +| [cloudAppliancesProvision.ts][cloudappliancesprovision] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | +| [cloudAppliancesProvisionSample.ts][cloudappliancesprovisionsample] | Provisions cloud appliance. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json | +| [deviceSettingsCreateOrUpdateAlertSettings.ts][devicesettingscreateorupdatealertsettings] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | +| [deviceSettingsCreateOrUpdateAlertSettingsSample.ts][devicesettingscreateorupdatealertsettingssample] | Creates or updates the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json | +| [deviceSettingsCreateOrUpdateTimeSettings.ts][devicesettingscreateorupdatetimesettings] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | +| [deviceSettingsCreateOrUpdateTimeSettingsSample.ts][devicesettingscreateorupdatetimesettingssample] | Creates or updates the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json | +| [deviceSettingsGetAlertSettings.ts][devicesettingsgetalertsettings] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | +| [deviceSettingsGetAlertSettingsSample.ts][devicesettingsgetalertsettingssample] | Gets the alert settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json | +| [deviceSettingsGetNetworkSettings.ts][devicesettingsgetnetworksettings] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | +| [deviceSettingsGetNetworkSettingsSample.ts][devicesettingsgetnetworksettingssample] | Gets the network settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json | +| [deviceSettingsGetSecuritySettings.ts][devicesettingsgetsecuritysettings] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | +| [deviceSettingsGetSecuritySettingsSample.ts][devicesettingsgetsecuritysettingssample] | Returns the Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json | +| [deviceSettingsGetTimeSettings.ts][devicesettingsgettimesettings] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | +| [deviceSettingsGetTimeSettingsSample.ts][devicesettingsgettimesettingssample] | Gets the time settings of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json | +| [deviceSettingsSyncRemotemanagementCertificate.ts][devicesettingssyncremotemanagementcertificate] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | +| [deviceSettingsSyncRemotemanagementCertificateSample.ts][devicesettingssyncremotemanagementcertificatesample] | sync Remote management Certificate between appliance and Service x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json | +| [deviceSettingsUpdateNetworkSettings.ts][devicesettingsupdatenetworksettings] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | +| [deviceSettingsUpdateNetworkSettingsSample.ts][devicesettingsupdatenetworksettingssample] | Updates the network settings on the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json | +| [deviceSettingsUpdateSecuritySettings.ts][devicesettingsupdatesecuritysettings] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | +| [deviceSettingsUpdateSecuritySettingsSample.ts][devicesettingsupdatesecuritysettingssample] | Patch Security properties of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json | +| [devicesAuthorizeForServiceEncryptionKeyRollover.ts][devicesauthorizeforserviceencryptionkeyrollover] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | +| [devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts][devicesauthorizeforserviceencryptionkeyrolloversample] | Authorizes the specified device for service data encryption key rollover. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json | +| [devicesConfigure.ts][devicesconfigure] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | +| [devicesConfigureSample.ts][devicesconfiguresample] | Complete minimal setup before using the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json | +| [devicesDeactivate.ts][devicesdeactivate] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | +| [devicesDeactivateSample.ts][devicesdeactivatesample] | Deactivates the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json | +| [devicesDelete.ts][devicesdelete] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | +| [devicesDeleteSample.ts][devicesdeletesample] | Deletes the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json | +| [devicesFailover.ts][devicesfailover] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | +| [devicesFailoverSample.ts][devicesfailoversample] | Failovers a set of volume containers from a specified source device to a target device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json | +| [devicesGet.ts][devicesget] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | +| [devicesGetSample.ts][devicesgetsample] | Returns the properties of the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json | +| [devicesGetUpdateSummary.ts][devicesgetupdatesummary] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | +| [devicesGetUpdateSummarySample.ts][devicesgetupdatesummarysample] | Returns the update summary of the specified device name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json | +| [devicesInstallUpdates.ts][devicesinstallupdates] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | +| [devicesInstallUpdatesSample.ts][devicesinstallupdatessample] | Downloads and installs the updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json | +| [devicesListByManager.ts][deviceslistbymanager] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | +| [devicesListByManagerSample.ts][deviceslistbymanagersample] | Returns the list of devices for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json | +| [devicesListFailoverSets.ts][deviceslistfailoversets] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | +| [devicesListFailoverSetsSample.ts][deviceslistfailoversetssample] | Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json | +| [devicesListFailoverTargets.ts][deviceslistfailovertargets] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | +| [devicesListFailoverTargetsSample.ts][deviceslistfailovertargetssample] | Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json | +| [devicesListMetricDefinition.ts][deviceslistmetricdefinition] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetricDefinitionSample.ts][deviceslistmetricdefinitionsample] | Gets the metric definitions for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json | +| [devicesListMetrics.ts][deviceslistmetrics] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | +| [devicesListMetricsSample.ts][deviceslistmetricssample] | Gets the metrics for the specified device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json | +| [devicesScanForUpdates.ts][devicesscanforupdates] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | +| [devicesScanForUpdatesSample.ts][devicesscanforupdatessample] | Scans for updates on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json | +| [devicesUpdate.ts][devicesupdate] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | +| [devicesUpdateSample.ts][devicesupdatesample] | Patches the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json | +| [hardwareComponentGroupsChangeControllerPowerState.ts][hardwarecomponentgroupschangecontrollerpowerstate] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | +| [hardwareComponentGroupsChangeControllerPowerStateSample.ts][hardwarecomponentgroupschangecontrollerpowerstatesample] | Changes the power state of the controller. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json | +| [hardwareComponentGroupsListByDevice.ts][hardwarecomponentgroupslistbydevice] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | +| [hardwareComponentGroupsListByDeviceSample.ts][hardwarecomponentgroupslistbydevicesample] | Lists the hardware component groups at device-level. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json | +| [jobsCancel.ts][jobscancel] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | +| [jobsCancelSample.ts][jobscancelsample] | Cancels a job on the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json | +| [jobsGet.ts][jobsget] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | +| [jobsGetSample.ts][jobsgetsample] | Gets the details of the specified job name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json | +| [jobsListByDevice.ts][jobslistbydevice] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | +| [jobsListByDeviceSample.ts][jobslistbydevicesample] | Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json | +| [jobsListByManager.ts][jobslistbymanager] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | +| [jobsListByManagerSample.ts][jobslistbymanagersample] | Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json | +| [managersCreateExtendedInfo.ts][managerscreateextendedinfo] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateExtendedInfoSample.ts][managerscreateextendedinfosample] | Creates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json | +| [managersCreateOrUpdate.ts][managerscreateorupdate] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | +| [managersCreateOrUpdateSample.ts][managerscreateorupdatesample] | Creates or updates the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json | +| [managersDelete.ts][managersdelete] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | +| [managersDeleteExtendedInfo.ts][managersdeleteextendedinfo] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteExtendedInfoSample.ts][managersdeleteextendedinfosample] | Deletes the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json | +| [managersDeleteSample.ts][managersdeletesample] | Deletes the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json | +| [managersGet.ts][managersget] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | +| [managersGetActivationKey.ts][managersgetactivationkey] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | +| [managersGetActivationKeySample.ts][managersgetactivationkeysample] | Returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json | +| [managersGetDevicePublicEncryptionKey.ts][managersgetdevicepublicencryptionkey] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | +| [managersGetDevicePublicEncryptionKeySample.ts][managersgetdevicepublicencryptionkeysample] | Returns the public encryption key of the device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json | +| [managersGetEncryptionSettings.ts][managersgetencryptionsettings] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetEncryptionSettingsSample.ts][managersgetencryptionsettingssample] | Returns the encryption settings of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json | +| [managersGetExtendedInfo.ts][managersgetextendedinfo] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | +| [managersGetExtendedInfoSample.ts][managersgetextendedinfosample] | Returns the extended information of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json | +| [managersGetPublicEncryptionKey.ts][managersgetpublicencryptionkey] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | +| [managersGetPublicEncryptionKeySample.ts][managersgetpublicencryptionkeysample] | Returns the symmetric encrypted public encryption key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json | +| [managersGetSample.ts][managersgetsample] | Returns the properties of the specified manager name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json | +| [managersList.ts][managerslist] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | +| [managersListByResourceGroup.ts][managerslistbyresourcegroup] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | +| [managersListByResourceGroupSample.ts][managerslistbyresourcegroupsample] | Retrieves all the managers in a resource group. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json | +| [managersListFeatureSupportStatus.ts][managerslistfeaturesupportstatus] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | +| [managersListFeatureSupportStatusSample.ts][managerslistfeaturesupportstatussample] | Lists the features and their support status x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json | +| [managersListMetricDefinition.ts][managerslistmetricdefinition] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | +| [managersListMetricDefinitionSample.ts][managerslistmetricdefinitionsample] | Gets the metric definitions for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json | +| [managersListMetrics.ts][managerslistmetrics] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | +| [managersListMetricsSample.ts][managerslistmetricssample] | Gets the metrics for the specified manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json | +| [managersListSample.ts][managerslistsample] | Retrieves all the managers in a subscription. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json | +| [managersRegenerateActivationKey.ts][managersregenerateactivationkey] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | +| [managersRegenerateActivationKeySample.ts][managersregenerateactivationkeysample] | Re-generates and returns the activation key of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json | +| [managersUpdate.ts][managersupdate] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | +| [managersUpdateExtendedInfo.ts][managersupdateextendedinfo] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateExtendedInfoSample.ts][managersupdateextendedinfosample] | Updates the extended info of the manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json | +| [managersUpdateSample.ts][managersupdatesample] | Updates the StorSimple Manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json | +| [operationsList.ts][operationslist] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available REST API operations of the Microsoft.StorSimple provider x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json | +| [storageAccountCredentialsCreateOrUpdate.ts][storageaccountcredentialscreateorupdate] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsCreateOrUpdateSample.ts][storageaccountcredentialscreateorupdatesample] | Creates or updates the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json | +| [storageAccountCredentialsDelete.ts][storageaccountcredentialsdelete] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsDeleteSample.ts][storageaccountcredentialsdeletesample] | Deletes the storage account credential. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json | +| [storageAccountCredentialsGet.ts][storageaccountcredentialsget] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsGetSample.ts][storageaccountcredentialsgetsample] | Gets the properties of the specified storage account credential name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json | +| [storageAccountCredentialsListByManager.ts][storageaccountcredentialslistbymanager] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | +| [storageAccountCredentialsListByManagerSample.ts][storageaccountcredentialslistbymanagersample] | Gets all the storage account credentials in a manager. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json | +| [volumeContainersCreateOrUpdate.ts][volumecontainerscreateorupdate] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | +| [volumeContainersCreateOrUpdateSample.ts][volumecontainerscreateorupdatesample] | Creates or updates the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json | +| [volumeContainersDelete.ts][volumecontainersdelete] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | +| [volumeContainersDeleteSample.ts][volumecontainersdeletesample] | Deletes the volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json | +| [volumeContainersGet.ts][volumecontainersget] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | +| [volumeContainersGetSample.ts][volumecontainersgetsample] | Gets the properties of the specified volume container name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json | +| [volumeContainersListByDevice.ts][volumecontainerslistbydevice] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | +| [volumeContainersListByDeviceSample.ts][volumecontainerslistbydevicesample] | Gets all the volume containers in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json | +| [volumeContainersListMetricDefinition.ts][volumecontainerslistmetricdefinition] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | +| [volumeContainersListMetricDefinitionSample.ts][volumecontainerslistmetricdefinitionsample] | Gets the metric definitions for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json | +| [volumeContainersListMetrics.ts][volumecontainerslistmetrics] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | +| [volumeContainersListMetricsSample.ts][volumecontainerslistmetricssample] | Gets the metrics for the specified volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json | +| [volumesCreateOrUpdate.ts][volumescreateorupdate] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | +| [volumesCreateOrUpdateSample.ts][volumescreateorupdatesample] | Creates or updates the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json | +| [volumesDelete.ts][volumesdelete] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | +| [volumesDeleteSample.ts][volumesdeletesample] | Deletes the volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json | +| [volumesGet.ts][volumesget] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | +| [volumesGetSample.ts][volumesgetsample] | Returns the properties of the specified volume name. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json | +| [volumesListByDevice.ts][volumeslistbydevice] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | +| [volumesListByDeviceSample.ts][volumeslistbydevicesample] | Retrieves all the volumes in a device. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json | +| [volumesListByVolumeContainer.ts][volumeslistbyvolumecontainer] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | +| [volumesListByVolumeContainerSample.ts][volumeslistbyvolumecontainersample] | Retrieves all the volumes in a volume container. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json | +| [volumesListMetricDefinition.ts][volumeslistmetricdefinition] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | +| [volumesListMetricDefinitionSample.ts][volumeslistmetricdefinitionsample] | Gets the metric definitions for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json | +| [volumesListMetrics.ts][volumeslistmetrics] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | +| [volumesListMetricsSample.ts][volumeslistmetricssample] | Gets the metrics for the specified volume. x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json | ## Prerequisites @@ -148,97 +240,189 @@ npx cross-env node dist/accessControlRecordsCreateOrUpdate.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. [accesscontrolrecordscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdate.ts +[accesscontrolrecordscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts [accesscontrolrecordsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsDelete.ts +[accesscontrolrecordsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts [accesscontrolrecordsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsGet.ts +[accesscontrolrecordsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsGetSample.ts [accesscontrolrecordslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsListByManager.ts +[accesscontrolrecordslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts [alertsclear]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsClear.ts +[alertsclearsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsClearSample.ts [alertslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsListByManager.ts +[alertslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsListByManagerSample.ts [alertssendtestemail]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsSendTestEmail.ts +[alertssendtestemailsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsSendTestEmailSample.ts [backuppoliciesbackupnow]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesBackupNow.ts +[backuppoliciesbackupnowsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesBackupNowSample.ts [backuppoliciescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesCreateOrUpdate.ts +[backuppoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesCreateOrUpdateSample.ts [backuppoliciesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesDelete.ts +[backuppoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesDeleteSample.ts [backuppoliciesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesGet.ts +[backuppoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesGetSample.ts [backuppolicieslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesListByDevice.ts +[backuppolicieslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesListByDeviceSample.ts [backupschedulescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesCreateOrUpdate.ts +[backupschedulescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesCreateOrUpdateSample.ts [backupschedulesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesDelete.ts +[backupschedulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesDeleteSample.ts [backupschedulesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesGet.ts +[backupschedulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesGetSample.ts [backupscheduleslistbybackuppolicy]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesListByBackupPolicy.ts +[backupscheduleslistbybackuppolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesListByBackupPolicySample.ts [backupsclone]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsClone.ts +[backupsclonesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsCloneSample.ts [backupsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsDelete.ts +[backupsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsDeleteSample.ts [backupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsListByDevice.ts +[backupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsListByDeviceSample.ts [backupsrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsRestore.ts +[backupsrestoresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsRestoreSample.ts [bandwidthsettingscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsCreateOrUpdate.ts +[bandwidthsettingscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsCreateOrUpdateSample.ts [bandwidthsettingsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsDelete.ts +[bandwidthsettingsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsDeleteSample.ts [bandwidthsettingsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsGet.ts +[bandwidthsettingsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsGetSample.ts [bandwidthsettingslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsListByManager.ts +[bandwidthsettingslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsListByManagerSample.ts [cloudapplianceslistsupportedconfigurations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesListSupportedConfigurations.ts +[cloudapplianceslistsupportedconfigurationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesListSupportedConfigurationsSample.ts [cloudappliancesprovision]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesProvision.ts +[cloudappliancesprovisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesProvisionSample.ts [devicesettingscreateorupdatealertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateAlertSettings.ts +[devicesettingscreateorupdatealertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateAlertSettingsSample.ts [devicesettingscreateorupdatetimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateTimeSettings.ts +[devicesettingscreateorupdatetimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateTimeSettingsSample.ts [devicesettingsgetalertsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetAlertSettings.ts +[devicesettingsgetalertsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetAlertSettingsSample.ts [devicesettingsgetnetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetNetworkSettings.ts +[devicesettingsgetnetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetNetworkSettingsSample.ts [devicesettingsgetsecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetSecuritySettings.ts +[devicesettingsgetsecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetSecuritySettingsSample.ts [devicesettingsgettimesettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetTimeSettings.ts +[devicesettingsgettimesettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetTimeSettingsSample.ts [devicesettingssyncremotemanagementcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsSyncRemotemanagementCertificate.ts +[devicesettingssyncremotemanagementcertificatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsSyncRemotemanagementCertificateSample.ts [devicesettingsupdatenetworksettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateNetworkSettings.ts +[devicesettingsupdatenetworksettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateNetworkSettingsSample.ts [devicesettingsupdatesecuritysettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateSecuritySettings.ts +[devicesettingsupdatesecuritysettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateSecuritySettingsSample.ts [devicesauthorizeforserviceencryptionkeyrollover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesAuthorizeForServiceEncryptionKeyRollover.ts +[devicesauthorizeforserviceencryptionkeyrolloversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts [devicesconfigure]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesConfigure.ts +[devicesconfiguresample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesConfigureSample.ts [devicesdeactivate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeactivate.ts +[devicesdeactivatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeactivateSample.ts [devicesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDelete.ts +[devicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeleteSample.ts [devicesfailover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesFailover.ts +[devicesfailoversample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesFailoverSample.ts [devicesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGet.ts +[devicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetSample.ts [devicesgetupdatesummary]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetUpdateSummary.ts +[devicesgetupdatesummarysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts [devicesinstallupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesInstallUpdates.ts +[devicesinstallupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts [deviceslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListByManager.ts +[deviceslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListByManagerSample.ts [deviceslistfailoversets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverSets.ts +[deviceslistfailoversetssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverSetsSample.ts [deviceslistfailovertargets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverTargets.ts +[deviceslistfailovertargetssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverTargetsSample.ts [deviceslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricDefinition.ts +[deviceslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts [deviceslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetrics.ts +[deviceslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricsSample.ts [devicesscanforupdates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesScanForUpdates.ts +[devicesscanforupdatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts [devicesupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesUpdate.ts +[devicesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesUpdateSample.ts [hardwarecomponentgroupschangecontrollerpowerstate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsChangeControllerPowerState.ts +[hardwarecomponentgroupschangecontrollerpowerstatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsChangeControllerPowerStateSample.ts [hardwarecomponentgroupslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsListByDevice.ts +[hardwarecomponentgroupslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsListByDeviceSample.ts [jobscancel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsCancel.ts +[jobscancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsCancelSample.ts [jobsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsGet.ts +[jobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsGetSample.ts [jobslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByDevice.ts +[jobslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByDeviceSample.ts [jobslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByManager.ts +[jobslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByManagerSample.ts [managerscreateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateExtendedInfo.ts +[managerscreateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts [managerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateOrUpdate.ts +[managerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts [managersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDelete.ts [managersdeleteextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteExtendedInfo.ts +[managersdeleteextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts +[managersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteSample.ts [managersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGet.ts [managersgetactivationkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetActivationKey.ts +[managersgetactivationkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetActivationKeySample.ts [managersgetdevicepublicencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetDevicePublicEncryptionKey.ts +[managersgetdevicepublicencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetDevicePublicEncryptionKeySample.ts [managersgetencryptionsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetEncryptionSettings.ts +[managersgetencryptionsettingssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts [managersgetextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetExtendedInfo.ts +[managersgetextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts [managersgetpublicencryptionkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetPublicEncryptionKey.ts +[managersgetpublicencryptionkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetPublicEncryptionKeySample.ts +[managersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetSample.ts [managerslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersList.ts [managerslistbyresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListByResourceGroup.ts +[managerslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListByResourceGroupSample.ts [managerslistfeaturesupportstatus]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListFeatureSupportStatus.ts +[managerslistfeaturesupportstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListFeatureSupportStatusSample.ts [managerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricDefinition.ts +[managerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts [managerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetrics.ts +[managerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricsSample.ts +[managerslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListSample.ts [managersregenerateactivationkey]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersRegenerateActivationKey.ts +[managersregenerateactivationkeysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersRegenerateActivationKeySample.ts [managersupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdate.ts [managersupdateextendedinfo]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateExtendedInfo.ts +[managersupdateextendedinfosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts +[managersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateSample.ts [operationslist]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/operationsList.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/operationsListSample.ts [storageaccountcredentialscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdate.ts +[storageaccountcredentialscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts [storageaccountcredentialsdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsDelete.ts +[storageaccountcredentialsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts [storageaccountcredentialsget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsGet.ts +[storageaccountcredentialsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts [storageaccountcredentialslistbymanager]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsListByManager.ts +[storageaccountcredentialslistbymanagersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts [volumecontainerscreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersCreateOrUpdate.ts +[volumecontainerscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersCreateOrUpdateSample.ts [volumecontainersdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersDelete.ts +[volumecontainersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersDeleteSample.ts [volumecontainersget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersGet.ts +[volumecontainersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersGetSample.ts [volumecontainerslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListByDevice.ts +[volumecontainerslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListByDeviceSample.ts [volumecontainerslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricDefinition.ts +[volumecontainerslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricDefinitionSample.ts [volumecontainerslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetrics.ts +[volumecontainerslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricsSample.ts [volumescreateorupdate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesCreateOrUpdate.ts +[volumescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesCreateOrUpdateSample.ts [volumesdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesDelete.ts +[volumesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesDeleteSample.ts [volumesget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesGet.ts +[volumesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesGetSample.ts [volumeslistbydevice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByDevice.ts +[volumeslistbydevicesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByDeviceSample.ts [volumeslistbyvolumecontainer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByVolumeContainer.ts +[volumeslistbyvolumecontainersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByVolumeContainerSample.ts [volumeslistmetricdefinition]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricDefinition.ts +[volumeslistmetricdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricDefinitionSample.ts [volumeslistmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetrics.ts +[volumeslistmetricssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricsSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-storsimple8000series?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storsimple8000series/arm-storsimple8000series/README.md diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6359ad077241 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessControlRecord, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or Updates an access control record. + * + * @summary Creates or Updates an access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json + */ +async function accessControlRecordsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: AccessControlRecord = { + initiatorName: "iqn.2017-06.com.contoso:ForTest" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.beginCreateOrUpdateAndWait( + accessControlRecordName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +accessControlRecordsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts new file mode 100644 index 000000000000..13ca14e09a96 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access control record. + * + * @summary Deletes the access control record. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json + */ +async function accessControlRecordsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.beginDeleteAndWait( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsGetSample.ts new file mode 100644 index 000000000000..82ab0f7609d1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified access control record name. + * + * @summary Returns the properties of the specified access control record name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsGet.json + */ +async function accessControlRecordsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const accessControlRecordName = "ACRForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.accessControlRecords.get( + accessControlRecordName, + resourceGroupName, + managerName + ); + console.log(result); +} + +accessControlRecordsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts new file mode 100644 index 000000000000..778f9c77ec13 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/accessControlRecordsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the access control records in a manager. + * + * @summary Retrieves all the access control records in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsListByManager.json + */ +async function accessControlRecordsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.accessControlRecords.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +accessControlRecordsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsClearSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsClearSample.ts new file mode 100644 index 000000000000..e620eeaa3e8e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsClearSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ClearAlertRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clear the alerts. + * + * @summary Clear the alerts. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json + */ +async function alertsClear() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ClearAlertRequest = { + alerts: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alerts/308b5bd2-824b-436f-840e-44bde075ef33" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.alerts.clear( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +alertsClear().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsListByManagerSample.ts new file mode 100644 index 000000000000..50e488f85a82 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsListByManagerSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertsListByManagerOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the alerts in a manager. + * + * @summary Retrieves all the alerts in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsListByManager.json + */ +async function alertsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "status eq 'Active' and appearedOnTime ge '2017-06-09T18:30:00Z' and appearedOnTime le '2017-06-19T18:30:00Z' and sourceType eq 'Device' and sourceName eq 'Device05ForSDKTest'"; + const options: AlertsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.alerts.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +alertsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsSendTestEmailSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsSendTestEmailSample.ts new file mode 100644 index 000000000000..dc01a220884e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/alertsSendTestEmailSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SendTestAlertEmailRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Sends a test alert email. + * + * @summary Sends a test alert email. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json + */ +async function alertsSendTestEmail() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: SendTestAlertEmailRequest = { + emailList: ["testemailid@contoso.com"] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.alerts.sendTestEmail( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +alertsSendTestEmail().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesBackupNowSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesBackupNowSample.ts new file mode 100644 index 000000000000..91912e3851b9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesBackupNowSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Backup the backup policy now. + * + * @summary Backup the backup policy now. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json + */ +async function backupPoliciesBackupNow() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupType = "CloudSnapshot"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginBackupNowAndWait( + deviceName, + backupPolicyName, + backupType, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesBackupNow().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..7d15ac583e60 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesCreateOrUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupPolicy, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the backup policy. + * + * @summary Creates or updates the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json + */ +async function backupPoliciesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BackupPolicy = { + kind: "Series8000", + volumeIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1", + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupPoliciesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesDeleteSample.ts new file mode 100644 index 000000000000..72a71917cab0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup policy. + * + * @summary Deletes the backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json + */ +async function backupPoliciesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.beginDeleteAndWait( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesGetSample.ts new file mode 100644 index 000000000000..fb65cc629d54 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified backup policy name. + * + * @summary Gets the properties of the specified backup policy name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesGet.json + */ +async function backupPoliciesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupPolicies.get( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupPoliciesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesListByDeviceSample.ts new file mode 100644 index 000000000000..397113fab30f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupPoliciesListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the backup policies in a device. + * + * @summary Gets all the backup policies in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesListByDevice.json + */ +async function backupPoliciesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backupPolicies.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupPoliciesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..119428016857 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesCreateOrUpdateSample.ts @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupSchedule, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the backup schedule. + * + * @summary Creates or updates the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json + */ +async function backupSchedulesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BackupSchedule = { + backupType: "CloudSnapshot", + kind: "Series8000", + retentionCount: 1, + scheduleRecurrence: { + recurrenceType: "Weekly", + recurrenceValue: 1, + weeklyDaysList: ["Friday", "Thursday", "Monday"] + }, + scheduleStatus: "Enabled", + startTime: new Date("2017-06-24T01:00:00Z") + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.beginCreateOrUpdateAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupSchedulesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesDeleteSample.ts new file mode 100644 index 000000000000..b1f5be0ec469 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesDeleteSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup schedule. + * + * @summary Deletes the backup schedule. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json + */ +async function backupSchedulesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.beginDeleteAndWait( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesGetSample.ts new file mode 100644 index 000000000000..84f98b8ceb9e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesGetSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified backup schedule name. + * + * @summary Gets the properties of the specified backup schedule name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesGet.json + */ +async function backupSchedulesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const backupScheduleName = "schedule2"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backupSchedules.get( + deviceName, + backupPolicyName, + backupScheduleName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupSchedulesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesListByBackupPolicySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesListByBackupPolicySample.ts new file mode 100644 index 000000000000..549ac440ecde --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupSchedulesListByBackupPolicySample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the backup schedules in a backup policy. + * + * @summary Gets all the backup schedules in a backup policy. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesListByBackupPolicy.json + */ +async function backupSchedulesListByBackupPolicy() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupPolicyName = "BkUpPolicy01ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backupSchedules.listByBackupPolicy( + deviceName, + backupPolicyName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupSchedulesListByBackupPolicy().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsCloneSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsCloneSample.ts new file mode 100644 index 000000000000..5011d60e8a4d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsCloneSample.ts @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloneRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Clones the backup element as a new volume. + * + * @summary Clones the backup element as a new volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json + */ +async function backupsClone() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const backupElementName = + "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: CloneRequest = { + backupElement: { + elementId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backups/880e1774-94a8-4f3e-85e6-a61e6b94a8b7/elements/7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementName: "7e115577-4a3b-4921-bfd4-ee5a1b9bcbb5_0000000000000000", + elementType: "managers/devices/backups/elements", + sizeInBytes: 10737418240, + volumeContainerId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest", + volumeName: "Clonedvolume1", + volumeType: "Tiered" + }, + targetAccessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest", + targetVolumeName: "ClonedClonedvolume1" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginCloneAndWait( + deviceName, + backupName, + backupElementName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +backupsClone().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsDeleteSample.ts new file mode 100644 index 000000000000..809e85157a43 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the backup. + * + * @summary Deletes the backup. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json + */ +async function backupsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginDeleteAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsListByDeviceSample.ts new file mode 100644 index 000000000000..943876644fc9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsListByDeviceSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BackupsListByDeviceOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the backups in a device. + * + * @summary Retrieves all the backups in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsListByDevice.json + */ +async function backupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "createdTime ge '2017-06-22T18:30:00Z' and backupPolicyId eq '/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest'"; + const options: BackupsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.backups.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +backupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsRestoreSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsRestoreSample.ts new file mode 100644 index 000000000000..8c20cf4aa629 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/backupsRestoreSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Restores the backup on the device. + * + * @summary Restores the backup on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json + */ +async function backupsRestore() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const backupName = "880e1774-94a8-4f3e-85e6-a61e6b94a8b7"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.backups.beginRestoreAndWait( + deviceName, + backupName, + resourceGroupName, + managerName + ); + console.log(result); +} + +backupsRestore().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..fc3040d40c26 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + BandwidthSetting, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the bandwidth setting + * + * @summary Creates or updates the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json + */ +async function bandwidthSettingsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: BandwidthSetting = { + schedules: [ + { + days: ["Saturday", "Sunday"], + rateInMbps: 10, + start: { hours: 10, minutes: 0, seconds: 0 }, + stop: { hours: 20, minutes: 0, seconds: 0 } + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.beginCreateOrUpdateAndWait( + bandwidthSettingName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +bandwidthSettingsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsDeleteSample.ts new file mode 100644 index 000000000000..a9044e32dd5b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the bandwidth setting + * + * @summary Deletes the bandwidth setting + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json + */ +async function bandwidthSettingsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "BWSForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.beginDeleteAndWait( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsGetSample.ts new file mode 100644 index 000000000000..fea67a947c31 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified bandwidth setting name. + * + * @summary Returns the properties of the specified bandwidth setting name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsGet.json + */ +async function bandwidthSettingsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const bandwidthSettingName = "bandwidthSetting1"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.bandwidthSettings.get( + bandwidthSettingName, + resourceGroupName, + managerName + ); + console.log(result); +} + +bandwidthSettingsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsListByManagerSample.ts new file mode 100644 index 000000000000..09e58cee8879 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/bandwidthSettingsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the bandwidth setting in a manager. + * + * @summary Retrieves all the bandwidth setting in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsListByManager.json + */ +async function bandwidthSettingsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.bandwidthSettings.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +bandwidthSettingsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesListSupportedConfigurationsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesListSupportedConfigurationsSample.ts new file mode 100644 index 000000000000..33e4825b1499 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesListSupportedConfigurationsSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists supported cloud appliance models and supported configurations. + * + * @summary Lists supported cloud appliance models and supported configurations. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesListSupportedConfigurations.json + */ +async function cloudAppliancesListSupportedConfigurations() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.cloudAppliances.listSupportedConfigurations( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +cloudAppliancesListSupportedConfigurations().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesProvisionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesProvisionSample.ts new file mode 100644 index 000000000000..bc38e852af05 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/cloudAppliancesProvisionSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CloudAppliance, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Provisions cloud appliance. + * + * @summary Provisions cloud appliance. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json + */ +async function cloudAppliancesProvision() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: CloudAppliance = { + name: "sca07forsdktest", + modelNumber: "8020", + vnetRegion: "West US" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.cloudAppliances.beginProvisionAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +cloudAppliancesProvision().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateAlertSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateAlertSettingsSample.ts new file mode 100644 index 000000000000..13afe910ff77 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateAlertSettingsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AlertSettings, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the alert settings of the specified device. + * + * @summary Creates or updates the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json + */ +async function deviceSettingsCreateOrUpdateAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: AlertSettings = { + additionalRecipientEmailList: [], + alertNotificationCulture: "en-US", + emailNotification: "Enabled", + notificationToServiceOwners: "Enabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginCreateOrUpdateAlertSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateTimeSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateTimeSettingsSample.ts new file mode 100644 index 000000000000..249a2b83b57a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsCreateOrUpdateTimeSettingsSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + TimeSettings, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the time settings of the specified device. + * + * @summary Creates or updates the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json + */ +async function deviceSettingsCreateOrUpdateTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: TimeSettings = { + primaryTimeServer: "time.windows.com", + secondaryTimeServer: ["8.8.8.8"], + timeZone: "Pacific Standard Time" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginCreateOrUpdateTimeSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsCreateOrUpdateTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetAlertSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetAlertSettingsSample.ts new file mode 100644 index 000000000000..85646e206bdb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetAlertSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the alert settings of the specified device. + * + * @summary Gets the alert settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetAlertSettings.json + */ +async function deviceSettingsGetAlertSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getAlertSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetAlertSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetNetworkSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetNetworkSettingsSample.ts new file mode 100644 index 000000000000..e867db191edd --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetNetworkSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the network settings of the specified device. + * + * @summary Gets the network settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetNetworkSettings.json + */ +async function deviceSettingsGetNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getNetworkSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetSecuritySettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetSecuritySettingsSample.ts new file mode 100644 index 000000000000..69ebe6b9e655 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetSecuritySettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the Security properties of the specified device name. + * + * @summary Returns the Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetSecuritySettings.json + */ +async function deviceSettingsGetSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getSecuritySettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetTimeSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetTimeSettingsSample.ts new file mode 100644 index 000000000000..0a668d1d8c54 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsGetTimeSettingsSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the time settings of the specified device. + * + * @summary Gets the time settings of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsGetTimeSettings.json + */ +async function deviceSettingsGetTimeSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.getTimeSettings( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsGetTimeSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsSyncRemotemanagementCertificateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsSyncRemotemanagementCertificateSample.ts new file mode 100644 index 000000000000..1a85edbd6864 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsSyncRemotemanagementCertificateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to sync Remote management Certificate between appliance and Service + * + * @summary sync Remote management Certificate between appliance and Service + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json + */ +async function deviceSettingsSyncRemotemanagementCertificate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginSyncRemotemanagementCertificateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +deviceSettingsSyncRemotemanagementCertificate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateNetworkSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateNetworkSettingsSample.ts new file mode 100644 index 000000000000..5a9bbc649d7a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateNetworkSettingsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + NetworkSettingsPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the network settings on the specified device. + * + * @summary Updates the network settings on the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json + */ +async function deviceSettingsUpdateNetworkSettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: NetworkSettingsPatch = { + dnsSettings: { + primaryDnsServer: "10.171.65.60", + secondaryDnsServers: ["8.8.8.8"] + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginUpdateNetworkSettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateNetworkSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateSecuritySettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateSecuritySettingsSample.ts new file mode 100644 index 000000000000..ba5b16a4c10c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/deviceSettingsUpdateSecuritySettingsSample.ts @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SecuritySettingsPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch Security properties of the specified device name. + * + * @summary Patch Security properties of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json + */ +async function deviceSettingsUpdateSecuritySettings() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: SecuritySettingsPatch = { + chapSettings: { + initiatorSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "V/uVfWk5OcXfMC0HvUV89o9+cmF636jBnqhFM1pD/zHhmh8Z1KB5/LhVV3T53uGjIlKL3wjhwg+9NIQrIbYuKhl/r8jSftSSH+WqUnQHTRDWazjPAeMu6ozrL5RYzP1h5mgw7XtidZPaaV9ae/uF1KQPkK6TIARaOTdr8I/BLWUg7WdDrfARNYHnW6ezXek1M9Qhv1sL9fZY+JrGB58LF6D2aC2Xjed4K4Jk6v2T1ieneNV27uIdnt21TajuM7w90UlRiVZJZtq/KdEUfqI28C7VoUdcXluAwzR95Ho8hmyIJDqeW3/Wxymdjv+Rctwqtmcka9i2G85Hj8SVV3g4kA==" + }, + initiatorUser: "test-initiator-user", + targetSecret: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "OTR4uwVpy+pf0zthnCIAUXurC8NdSh8RpRG5GWL9TSv4WtkVmpeU/U2A4vjkrchfQOzI1x+uooWikWW9txwwQOM+/N3NG44+/dlHoaEe7AxjmItCKhNj8K2RM6D1mb45wicbF/M4uanuXnGXuT+JmZ+1Lcy2k1GXsk67ejplz2K08h37B+oIW85qMUHLdKuuQlAA/fFS+q6qMti3j2Q8Fr+Sh4U76/2AZVkKRtFeqPB1QhC12dFx6TFoZJkMFzdQz4WNvWVelIK2McKNnOiH0/Z5lAXC7164uzReAoTEfqoNU7qqqRrHhsdwWPu6jbeUn8BQnr7A/X6NWvgeax+HGA==" + }, + targetUser: "test-target-user" + }, + deviceAdminPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "" + }, + remoteManagementSettings: { remoteManagementMode: "HttpsAndHttpEnabled" }, + snapshotPassword: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.deviceSettings.beginUpdateSecuritySettingsAndWait( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +deviceSettingsUpdateSecuritySettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts new file mode 100644 index 000000000000..29390b4292ce --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesAuthorizeForServiceEncryptionKeyRolloverSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Authorizes the specified device for service data encryption key rollover. + * + * @summary Authorizes the specified device for service data encryption key rollover. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json + */ +async function devicesAuthorizeForServiceEncryptionKeyRollover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.authorizeForServiceEncryptionKeyRollover( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesAuthorizeForServiceEncryptionKeyRollover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesConfigureSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesConfigureSample.ts new file mode 100644 index 000000000000..262a9c5acfe6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesConfigureSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ConfigureDeviceRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Complete minimal setup before using the device. + * + * @summary Complete minimal setup before using the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json + */ +async function devicesConfigure() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ConfigureDeviceRequest = { + currentDeviceName: "Device001ForSDKTest", + friendlyName: "Device001ForSDKTest", + networkInterfaceData0Settings: { + controllerOneIp: "10.168.220.228", + controllerZeroIp: "10.168.220.227" + }, + timeZone: "Pacific Standard Time" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginConfigureAndWait( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesConfigure().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeactivateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeactivateSample.ts new file mode 100644 index 000000000000..f41f2d1e97ff --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeactivateSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deactivates the device. + * + * @summary Deactivates the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json + */ +async function devicesDeactivate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginDeactivateAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDeactivate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeleteSample.ts new file mode 100644 index 000000000000..0370244a0e5e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the device. + * + * @summary Deletes the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json + */ +async function devicesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginDeleteAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesFailoverSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesFailoverSample.ts new file mode 100644 index 000000000000..4ee11da95ba3 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesFailoverSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FailoverRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Failovers a set of volume containers from a specified source device to a target device. + * + * @summary Failovers a set of volume containers from a specified source device to a target device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json + */ +async function devicesFailover() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: FailoverRequest = { + targetDeviceId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/jemdeviceforsdk", + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginFailoverAndWait( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesFailover().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetSample.ts new file mode 100644 index 000000000000..23d91c5e5728 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicesGetOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified device. + * + * @summary Returns the properties of the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGet.json + */ +async function devicesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const expand = "details"; + const options: DevicesGetOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.get( + deviceName, + resourceGroupName, + managerName, + options + ); + console.log(result); +} + +devicesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts new file mode 100644 index 000000000000..7536a62dd23d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesGetUpdateSummarySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the update summary of the specified device name. + * + * @summary Returns the update summary of the specified device name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesGetUpdateSummary.json + */ +async function devicesGetUpdateSummary() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.getUpdateSummary( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesGetUpdateSummary().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts new file mode 100644 index 000000000000..d18c87775ebe --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesInstallUpdatesSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Downloads and installs the updates on the device. + * + * @summary Downloads and installs the updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json + */ +async function devicesInstallUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginInstallUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesInstallUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListByManagerSample.ts new file mode 100644 index 000000000000..3b4f391c7f67 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the list of devices for the specified manager. + * + * @summary Returns the list of devices for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListByManager.json + */ +async function devicesListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverSetsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverSetsSample.ts new file mode 100644 index 000000000000..003000e7b753 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverSetsSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * + * @summary Returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverSets.json + */ +async function devicesListFailoverSets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listFailoverSets( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverSets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverTargetsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverTargetsSample.ts new file mode 100644 index 000000000000..e2ba3d07ef88 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListFailoverTargetsSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ListFailoverTargetsRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * + * @summary Given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListFailoverTargets.json + */ +async function devicesListFailoverTargets() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const sourceDeviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ListFailoverTargetsRequest = { + volumeContainers: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/vcforsdktest" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listFailoverTargets( + sourceDeviceName, + resourceGroupName, + managerName, + parameters + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListFailoverTargets().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..49b0796cc5a9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricDefinitionSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified device. + * + * @summary Gets the metric definitions for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetricDefinition.json + */ +async function devicesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listMetricDefinition( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricsSample.ts new file mode 100644 index 000000000000..d245431c440a --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesListMetricsSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified device. + * + * @summary Gets the metrics for the specified device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesListMetrics.json + */ +async function devicesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.devices.listMetrics( + deviceName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +devicesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts new file mode 100644 index 000000000000..ade31cfc372f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesScanForUpdatesSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scans for updates on the device. + * + * @summary Scans for updates on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json + */ +async function devicesScanForUpdates() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "sugattdeviceforSDK"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.beginScanForUpdatesAndWait( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +devicesScanForUpdates().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesUpdateSample.ts new file mode 100644 index 000000000000..6e220d762a83 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/devicesUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DevicePatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches the device. + * + * @summary Patches the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesUpdate.json + */ +async function devicesUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device001ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: DevicePatch = { + deviceDescription: "updated device description" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.devices.update( + deviceName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +devicesUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsChangeControllerPowerStateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsChangeControllerPowerStateSample.ts new file mode 100644 index 000000000000..2d3b9c8bcd94 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsChangeControllerPowerStateSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ControllerPowerStateChangeRequest, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Changes the power state of the controller. + * + * @summary Changes the power state of the controller. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json + */ +async function hardwareComponentGroupsChangeControllerPowerState() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const hardwareComponentGroupName = "Controller0Components"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: ControllerPowerStateChangeRequest = { + action: "Start", + activeController: "Controller0", + controller0State: "Ok", + controller1State: "NotPresent" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.hardwareComponentGroups.beginChangeControllerPowerStateAndWait( + deviceName, + hardwareComponentGroupName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +hardwareComponentGroupsChangeControllerPowerState().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsListByDeviceSample.ts new file mode 100644 index 000000000000..99926334c748 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/hardwareComponentGroupsListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the hardware component groups at device-level. + * + * @summary Lists the hardware component groups at device-level. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsListByDevice.json + */ +async function hardwareComponentGroupsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.hardwareComponentGroups.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +hardwareComponentGroupsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsCancelSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsCancelSample.ts new file mode 100644 index 000000000000..a7b8e2b55cdb --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsCancelSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Cancels a job on the device. + * + * @summary Cancels a job on the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json + */ +async function jobsCancel() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const jobName = "993db21d-101b-41af-9e12-f593d78b99e9"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.jobs.beginCancelAndWait( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsCancel().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsGetSample.ts new file mode 100644 index 000000000000..f89e8aca632b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the specified job name. + * + * @summary Gets the details of the specified job name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsGet.json + */ +async function jobsGet() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca07forsdktest"; + const jobName = "70a29339-de6d-48e8-b24f-e25ee6769a00"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.jobs.get( + deviceName, + jobName, + resourceGroupName, + managerName + ); + console.log(result); +} + +jobsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByDeviceSample.ts new file mode 100644 index 000000000000..e02c525792f4 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByDeviceSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByDeviceOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByDevice.json + */ +async function jobsListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'ManualBackup'"; + const options: JobsListByDeviceOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.jobs.listByDevice( + deviceName, + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByManagerSample.ts new file mode 100644 index 000000000000..10a63251926c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/jobsListByManagerSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + JobsListByManagerOptionalParams, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * + * @summary Gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsListByManager.json + */ +async function jobsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = "jobType eq 'FailoverVolumeContainers'"; + const options: JobsListByManagerOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.jobs.listByManager( + resourceGroupName, + managerName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +jobsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts new file mode 100644 index 000000000000..552911900677 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateExtendedInfoSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates the extended info of the manager. + * + * @summary Creates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateExtendedInfo.json + */ +async function managersCreateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerExtendedInfo = { + algorithm: "None", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.createExtendedInfo( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersCreateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..fc08e6f93025 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Manager, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the manager. + * + * @summary Creates or updates the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersCreateOrUpdate.json + */ +async function managersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: Manager = { + cisIntrinsicSettings: { type: "GardaV1" }, + location: "westus", + sku: { name: "Standard" } + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.createOrUpdate( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts new file mode 100644 index 000000000000..0d499e0c1a02 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteExtendedInfoSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the extended info of the manager. + * + * @summary Deletes the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json + */ +async function managersDeleteExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.deleteExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersDeleteExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteSample.ts new file mode 100644 index 000000000000..dff8c85481d7 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the manager. + * + * @summary Deletes the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json + */ +async function managersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.delete(resourceGroupName, managerName); + console.log(result); +} + +managersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetActivationKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetActivationKeySample.ts new file mode 100644 index 000000000000..98cee7cdca14 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetActivationKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the activation key of the manager. + * + * @summary Returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetActivationKey.json + */ +async function managersGetActivationKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getActivationKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetDevicePublicEncryptionKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetDevicePublicEncryptionKeySample.ts new file mode 100644 index 000000000000..2e8bf9876468 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetDevicePublicEncryptionKeySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the public encryption key of the device. + * + * @summary Returns the public encryption key of the device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetDevicePublicEncryptionKey.json + */ +async function managersGetDevicePublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const deviceName = "sca01forsdktest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getDevicePublicEncryptionKey( + deviceName, + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetDevicePublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts new file mode 100644 index 000000000000..b9c6738abe36 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetEncryptionSettingsSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the encryption settings of the manager. + * + * @summary Returns the encryption settings of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetEncryptionSettings.json + */ +async function managersGetEncryptionSettings() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getEncryptionSettings( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetEncryptionSettings().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts new file mode 100644 index 000000000000..ec5314c29815 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetExtendedInfoSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the extended information of the specified manager name. + * + * @summary Returns the extended information of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetExtendedInfo.json + */ +async function managersGetExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getExtendedInfo( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetPublicEncryptionKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetPublicEncryptionKeySample.ts new file mode 100644 index 000000000000..fe318ee95015 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetPublicEncryptionKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the symmetric encrypted public encryption key of the manager. + * + * @summary Returns the symmetric encrypted public encryption key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json + */ +async function managersGetPublicEncryptionKey() { + const subscriptionId = "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.getPublicEncryptionKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersGetPublicEncryptionKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetSample.ts new file mode 100644 index 000000000000..3557b360bea1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified manager name. + * + * @summary Returns the properties of the specified manager name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGet.json + */ +async function managersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.get(resourceGroupName, managerName); + console.log(result); +} + +managersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListByResourceGroupSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListByResourceGroupSample.ts new file mode 100644 index 000000000000..1e3f0a3def8e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListByResourceGroupSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a resource group. + * + * @summary Retrieves all the managers in a resource group. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListByResourceGroup.json + */ +async function managersListByResourceGroup() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListByResourceGroup().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListFeatureSupportStatusSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListFeatureSupportStatusSample.ts new file mode 100644 index 000000000000..e90a87791359 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListFeatureSupportStatusSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the features and their support status + * + * @summary Lists the features and their support status + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListFeatureSupportStatus.json + */ +async function managersListFeatureSupportStatus() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listFeatureSupportStatus( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListFeatureSupportStatus().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..d5af6a860585 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricDefinitionSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified manager. + * + * @summary Gets the metric definitions for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetricDefinition.json + */ +async function managersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listMetricDefinition( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricsSample.ts new file mode 100644 index 000000000000..90e789e4c8ed --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListMetricsSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified manager. + * + * @summary Gets the metrics for the specified manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersListMetrics.json + */ +async function managersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.listMetrics( + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +managersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListSample.ts new file mode 100644 index 000000000000..78dc8c137739 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the managers in a subscription. + * + * @summary Retrieves all the managers in a subscription. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersList.json + */ +async function managersList() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.managers.list()) { + resArray.push(item); + } + console.log(resArray); +} + +managersList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersRegenerateActivationKeySample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersRegenerateActivationKeySample.ts new file mode 100644 index 000000000000..d01cfac61aef --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersRegenerateActivationKeySample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Re-generates and returns the activation key of the manager. + * + * @summary Re-generates and returns the activation key of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersRegenerateActivationKey.json + */ +async function managersRegenerateActivationKey() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.regenerateActivationKey( + resourceGroupName, + managerName + ); + console.log(result); +} + +managersRegenerateActivationKey().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts new file mode 100644 index 000000000000..64fc6321dbd6 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateExtendedInfoSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerExtendedInfo, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the extended info of the manager. + * + * @summary Updates the extended info of the manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdateExtendedInfo.json + */ +async function managersUpdateExtendedInfo() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const ifMatch = "674ab9df-af56-4c5c-a5ca-2bddcf1b781a"; + const parameters: ManagerExtendedInfo = { + algorithm: "SHA256", + etag: "674ab9df-af56-4c5c-a5ca-2bddcf1b781a", + integrityKey: "BIl+RHqO8PZ6DRvuXTTK7g==" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.updateExtendedInfo( + resourceGroupName, + managerName, + ifMatch, + parameters + ); + console.log(result); +} + +managersUpdateExtendedInfo().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateSample.ts new file mode 100644 index 000000000000..2bd1eefe95d9 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/managersUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ManagerPatch, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the StorSimple Manager. + * + * @summary Updates the StorSimple Manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersUpdate.json + */ +async function managersUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest2"; + const parameters: ManagerPatch = { tags: { tagName: "ForSDKTest" } }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.managers.update( + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +managersUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/operationsListSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..ebceaaf4c6d2 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/operationsListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available REST API operations of the Microsoft.StorSimple provider + * + * @summary Lists all of the available REST API operations of the Microsoft.StorSimple provider + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/OperationsList.json + */ +async function operationsList() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +operationsList().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..241eba3c111d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsCreateOrUpdateSample.ts @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StorageAccountCredential, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the storage account credential. + * + * @summary Creates or updates the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json + */ +async function storageAccountCredentialsCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: StorageAccountCredential = { + accessKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "ATuJSkmrFk4h8r1jrZ4nd3nthLSddcguEO5QLO/NECUtTuB9kL4dNv3/jC4WOvFkeVr3x1UvfhlIeMmJBF1SMr6hR1JzD0xNU/TtQqUeXN7V3jk7I+2l67P9StuHWR6OMd3XOLwvznxOEQtEWpweDiobZU1ZiY03WafcGZFpV5j6tEoHeopoZ1J/GhPtkYmx+TqxzUN6qnir5rP3NSYiZciImP/qu8U9yUV/xpVRv39KvFc2Yr5SpKpMMRUj55XW10UnPer63M6KovF8X9Wi/fNnrZAs1Esl5XddZETGrW/e5B++VMJ6w0Q/uvPR+UBwrOU0804l0SzwdIe3qVVd0Q==" + }, + endPoint: "blob.core.windows.net", + sslStatus: "Enabled" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.beginCreateOrUpdateAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +storageAccountCredentialsCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts new file mode 100644 index 000000000000..f223a08c31ba --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the storage account credential. + * + * @summary Deletes the storage account credential. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json + */ +async function storageAccountCredentialsDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.beginDeleteAndWait( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts new file mode 100644 index 000000000000..bc0bf500af5d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified storage account credential name. + * + * @summary Gets the properties of the specified storage account credential name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsGet.json + */ +async function storageAccountCredentialsGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const storageAccountCredentialName = "SACForTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.storageAccountCredentials.get( + storageAccountCredentialName, + resourceGroupName, + managerName + ); + console.log(result); +} + +storageAccountCredentialsGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts new file mode 100644 index 000000000000..010cba20b79e --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/storageAccountCredentialsListByManagerSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the storage account credentials in a manager. + * + * @summary Gets all the storage account credentials in a manager. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsListByManager.json + */ +async function storageAccountCredentialsListByManager() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.storageAccountCredentials.listByManager( + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +storageAccountCredentialsListByManager().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ac9d5b1056a3 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VolumeContainer, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the volume container. + * + * @summary Creates or updates the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json + */ +async function volumeContainersCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: VolumeContainer = { + bandwidthSettingId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1", + encryptionKey: { + encryptionAlgorithm: "RSAES_PKCS1_v_1_5", + encryptionCertThumbprint: "A872A2DF196AC7682EE24791E7DE2E2A360F5926", + value: + "R//pyVLx/fn58ia098JiLgZB5RY7fVT+6o8a4fmsvjy+ls2UgJphMf25XVqEQCZnsp/5uxteN1M/9ArPIICdhM7M1+b/Ur7kJ0FH0ktxfk7CrPWWJLI4q20LZoduJGI56lREav1VpuLdqw5F9fRcq7zbfgPQ3B/SD0mfumNRiV+AnwbC6msfavIuWrhVDl9iSzEPE+zU06/kpsexnrS81yYT2QlVVUbvpY4F3zfH8TQPpAROTbv2pld6JO4eGOrZ5O1iOr6XCg2TY2W/jf+Ev4z5tqC9VWXE5kh65gjBfpWN0bDWXKekqEhor2crHAxZi4dybdY8Ok1MDWd1CSU8kw==" + }, + storageAccountCredentialId: + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumeContainersCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersDeleteSample.ts new file mode 100644 index 000000000000..db8eb335a9c1 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersDeleteSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the volume container. + * + * @summary Deletes the volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json + */ +async function volumeContainersDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.beginDeleteAndWait( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersGetSample.ts new file mode 100644 index 000000000000..11b49c2025c7 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersGetSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the properties of the specified volume container name. + * + * @summary Gets the properties of the specified volume container name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersGet.json + */ +async function volumeContainersGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumeContainers.get( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumeContainersGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListByDeviceSample.ts new file mode 100644 index 000000000000..03d2756d0ebd --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all the volume containers in a device. + * + * @summary Gets all the volume containers in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListByDevice.json + */ +async function volumeContainersListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricDefinitionSample.ts new file mode 100644 index 000000000000..23b257f11c0d --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricDefinitionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume container. + * + * @summary Gets the metric definitions for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetricDefinition.json + */ +async function volumeContainersListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetricDefinition( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricsSample.ts new file mode 100644 index 000000000000..d337a4018216 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumeContainersListMetricsSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified volume container. + * + * @summary Gets the metrics for the specified volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersListMetrics.json + */ +async function volumeContainersListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'CloudConsumedStorage' and timeGrain eq 'PT1M' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumeContainers.listMetrics( + deviceName, + volumeContainerName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumeContainersListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesCreateOrUpdateSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..f5a975da8770 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Volume, + StorSimple8000SeriesManagementClient +} from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates the volume. + * + * @summary Creates or updates the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json + */ +async function volumesCreateOrUpdate() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const parameters: Volume = { + accessControlRecordIds: [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + monitoringStatus: "Enabled", + sizeInBytes: 5368709120, + volumeStatus: "Offline", + volumeType: "Tiered" + }; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.beginCreateOrUpdateAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + parameters + ); + console.log(result); +} + +volumesCreateOrUpdate().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesDeleteSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesDeleteSample.ts new file mode 100644 index 000000000000..b0b1868a975c --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesDeleteSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the volume. + * + * @summary Deletes the volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json + */ +async function volumesDelete() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.beginDeleteAndWait( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesDelete().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesGetSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesGetSample.ts new file mode 100644 index 000000000000..9ef507eed118 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesGetSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns the properties of the specified volume name. + * + * @summary Returns the properties of the specified volume name. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesGet.json + */ +async function volumesGet() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "VolumeContainerForSDKTest"; + const volumeName = "Volume1ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const result = await client.volumes.get( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + ); + console.log(result); +} + +volumesGet().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByDeviceSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByDeviceSample.ts new file mode 100644 index 000000000000..f882be6f503f --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByDeviceSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the volumes in a device. + * + * @summary Retrieves all the volumes in a device. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByDevice.json + */ +async function volumesListByDevice() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listByDevice( + deviceName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByDevice().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByVolumeContainerSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByVolumeContainerSample.ts new file mode 100644 index 000000000000..bfcafa14b2b0 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListByVolumeContainerSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves all the volumes in a volume container. + * + * @summary Retrieves all the volumes in a volume container. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListByVolumeContainer.json + */ +async function volumesListByVolumeContainer() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "volumeContainerForSDKTest"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listByVolumeContainer( + deviceName, + volumeContainerName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListByVolumeContainer().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricDefinitionSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricDefinitionSample.ts new file mode 100644 index 000000000000..d9a0320a246b --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricDefinitionSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metric definitions for the specified volume. + * + * @summary Gets the metric definitions for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetricDefinition.json + */ +async function volumesListMetricDefinition() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listMetricDefinition( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetricDefinition().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricsSample.ts b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricsSample.ts new file mode 100644 index 000000000000..96e0a33cd146 --- /dev/null +++ b/sdk/storsimple8000series/arm-storsimple8000series/samples/v2/typescript/src/volumesListMetricsSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StorSimple8000SeriesManagementClient } from "@azure/arm-storsimple8000series"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the metrics for the specified volume. + * + * @summary Gets the metrics for the specified volume. + * x-ms-original-file: specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesListMetrics.json + */ +async function volumesListMetrics() { + const subscriptionId = "4385cf00-2d3a-425a-832f-f4285b1c9dce"; + const deviceName = "Device05ForSDKTest"; + const volumeContainerName = "vcForOdataFilterTest"; + const volumeName = "CloneVolForSDKTest890836587"; + const resourceGroupName = "ResourceGroupForSDKTest"; + const managerName = "ManagerForSDKTest1"; + const filter = + "name/value eq 'PrimaryStorageTieredUsed' and timeGrain eq 'PT1H' and startTime ge '2017-06-17T18:30:00Z' and endTime le '2017-06-21T18:30:00Z' and category eq 'CapacityUtilization'"; + const credential = new DefaultAzureCredential(); + const client = new StorSimple8000SeriesManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.volumes.listMetrics( + deviceName, + volumeContainerName, + volumeName, + resourceGroupName, + managerName, + filter + )) { + resArray.push(item); + } + console.log(resArray); +} + +volumesListMetrics().catch(console.error); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/accessControlRecords.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/accessControlRecords.ts index 8e602ffa2eb2..4b94434fbd15 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/accessControlRecords.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/accessControlRecords.ts @@ -204,10 +204,12 @@ export class AccessControlRecordsImpl implements AccessControlRecords { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -292,10 +294,12 @@ export class AccessControlRecordsImpl implements AccessControlRecords { { accessControlRecordName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupPolicies.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupPolicies.ts index 88a17e13cba6..c49feb796e1c 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupPolicies.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupPolicies.ts @@ -220,10 +220,12 @@ export class BackupPoliciesImpl implements BackupPolicies { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -313,10 +315,12 @@ export class BackupPoliciesImpl implements BackupPolicies { { deviceName, backupPolicyName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -412,10 +416,12 @@ export class BackupPoliciesImpl implements BackupPolicies { }, backupNowOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupSchedules.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupSchedules.ts index a31497c29b81..f322e4ac0524 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupSchedules.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backupSchedules.ts @@ -241,10 +241,12 @@ export class BackupSchedulesImpl implements BackupSchedules { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -346,10 +348,12 @@ export class BackupSchedulesImpl implements BackupSchedules { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backups.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backups.ts index 4b6cc01506c6..c84f1c811f13 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backups.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/backups.ts @@ -197,10 +197,12 @@ export class BackupsImpl implements Backups { { deviceName, backupName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -299,10 +301,12 @@ export class BackupsImpl implements Backups { }, cloneOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -395,10 +399,12 @@ export class BackupsImpl implements Backups { { deviceName, backupName, resourceGroupName, managerName, options }, restoreOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/bandwidthSettings.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/bandwidthSettings.ts index 110b5123bd9c..e1437733387f 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/bandwidthSettings.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/bandwidthSettings.ts @@ -204,10 +204,12 @@ export class BandwidthSettingsImpl implements BandwidthSettings { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -292,10 +294,12 @@ export class BandwidthSettingsImpl implements BandwidthSettings { { bandwidthSettingName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/cloudAppliances.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/cloudAppliances.ts index b058402d28b0..87ee970e39ea 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/cloudAppliances.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/cloudAppliances.ts @@ -169,10 +169,12 @@ export class CloudAppliancesImpl implements CloudAppliances { { resourceGroupName, managerName, parameters, options }, provisionOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/deviceSettings.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/deviceSettings.ts index c38aa5aaa5e6..dd1c0d289742 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/deviceSettings.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/deviceSettings.ts @@ -132,10 +132,12 @@ export class DeviceSettingsImpl implements DeviceSettings { { deviceName, resourceGroupName, managerName, parameters, options }, createOrUpdateAlertSettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -246,10 +248,12 @@ export class DeviceSettingsImpl implements DeviceSettings { { deviceName, resourceGroupName, managerName, parameters, options }, updateNetworkSettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -360,10 +364,12 @@ export class DeviceSettingsImpl implements DeviceSettings { { deviceName, resourceGroupName, managerName, parameters, options }, updateSecuritySettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -448,10 +454,12 @@ export class DeviceSettingsImpl implements DeviceSettings { { deviceName, resourceGroupName, managerName, options }, syncRemotemanagementCertificateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -559,10 +567,12 @@ export class DeviceSettingsImpl implements DeviceSettings { { deviceName, resourceGroupName, managerName, parameters, options }, createOrUpdateTimeSettingsOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/devices.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/devices.ts index 0a13a802b321..db014ab90422 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/devices.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/devices.ts @@ -471,10 +471,12 @@ export class DevicesImpl implements Devices { { resourceGroupName, managerName, parameters, options }, configureOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -592,10 +594,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -717,10 +721,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, deactivateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -802,10 +808,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, installUpdatesOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -948,10 +956,12 @@ export class DevicesImpl implements Devices { { deviceName, resourceGroupName, managerName, options }, scanForUpdatesOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -1055,10 +1065,12 @@ export class DevicesImpl implements Devices { { sourceDeviceName, resourceGroupName, managerName, parameters, options }, failoverOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/hardwareComponentGroups.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/hardwareComponentGroups.ts index b5f2b17489b1..a2bc3410bd57 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/hardwareComponentGroups.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/hardwareComponentGroups.ts @@ -190,10 +190,12 @@ export class HardwareComponentGroupsImpl implements HardwareComponentGroups { }, changeControllerPowerStateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/jobs.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/jobs.ts index dd6d388d01a7..2c3452274598 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/jobs.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/jobs.ts @@ -295,10 +295,12 @@ export class JobsImpl implements Jobs { { deviceName, jobName, resourceGroupName, managerName, options }, cancelOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/storageAccountCredentials.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/storageAccountCredentials.ts index 7d8527102ad1..4b27c48d7e0d 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/storageAccountCredentials.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/storageAccountCredentials.ts @@ -205,10 +205,12 @@ export class StorageAccountCredentialsImpl }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -293,10 +295,12 @@ export class StorageAccountCredentialsImpl { storageAccountCredentialName, resourceGroupName, managerName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumeContainers.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumeContainers.ts index 1d069677315c..3ab8d4dcd03d 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumeContainers.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumeContainers.ts @@ -391,10 +391,12 @@ export class VolumeContainersImpl implements VolumeContainers { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -490,10 +492,12 @@ export class VolumeContainersImpl implements VolumeContainers { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumes.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumes.ts index b98a0c3cbe0a..da20aa9c17d7 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumes.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/operations/volumes.ts @@ -499,10 +499,12 @@ export class VolumesImpl implements Volumes { }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -604,10 +606,12 @@ export class VolumesImpl implements Volumes { }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts index b683df5af5ce..2ec47a200ccc 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, @@ -78,7 +79,7 @@ export class StorSimple8000SeriesManagementClient extends coreClient.ServiceClie credential: credentials }; - const packageDetails = `azsdk-js-arm-storsimple8000series/2.0.0`; + const packageDetails = `azsdk-js-arm-storsimple8000series/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -93,9 +94,33 @@ export class StorSimple8000SeriesManagementClient extends coreClient.ServiceClie userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/storsimple8000series/arm-storsimple8000series/tsconfig.json b/sdk/storsimple8000series/arm-storsimple8000series/tsconfig.json index 4e447c33668f..582fc9e469b7 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/tsconfig.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/tsconfig.json @@ -9,12 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true, - "paths": { "@azure/arm-storsimple8000series": ["./src/index"] } + "paths": { + "@azure/arm-storsimple8000series": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/storsimple8000series/ci.mgmt.yml b/sdk/storsimple8000series/ci.mgmt.yml index f9ed10532ea8..3a75f6e9b304 100644 --- a/sdk/storsimple8000series/ci.mgmt.yml +++ b/sdk/storsimple8000series/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/storsimple8000series/ci.mgmt.yml - - sdk/storsimple8000series/arm-storsimple8000series/ + - sdk/storsimple8000series/arm-storsimple8000series pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/storsimple8000series/ci.mgmt.yml - - sdk/storsimple8000series/arm-storsimple8000series/ - + - sdk/storsimple8000series/arm-storsimple8000series extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: storsimple8000series Artifacts: - name: azure-arm-storsimple8000series - safeName: azurearmstorsimple8000series \ No newline at end of file + safeName: azurearmstorsimple8000series diff --git a/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md b/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md index e1e1f2bb7123..7b22f5177893 100644 --- a/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md +++ b/sdk/streamanalytics/arm-streamanalytics/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.1 (Unreleased) +## 4.0.2 (Unreleased) ### Features Added @@ -10,6 +10,12 @@ ### Other Changes +## 4.0.1 (2022-05-05) + +**Features** + + - Bug fix + ## 4.0.0 (2021-12-10) The package of @azure/arm-streamanalytics is using our next generation design principles since version 4.0.0, which contains breaking changes. diff --git a/sdk/streamanalytics/arm-streamanalytics/LICENSE b/sdk/streamanalytics/arm-streamanalytics/LICENSE index ccb63b166732..5d1d36e0af80 100644 --- a/sdk/streamanalytics/arm-streamanalytics/LICENSE +++ b/sdk/streamanalytics/arm-streamanalytics/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 Microsoft +Copyright (c) 2022 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/streamanalytics/arm-streamanalytics/README.md b/sdk/streamanalytics/arm-streamanalytics/README.md index eb48a5b051b0..27597cae0c3d 100644 --- a/sdk/streamanalytics/arm-streamanalytics/README.md +++ b/sdk/streamanalytics/arm-streamanalytics/README.md @@ -16,6 +16,8 @@ Stream Analytics Client - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new StreamAnalyticsManagementClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new StreamAnalyticsManagementClient(credential, subscriptionId); ``` diff --git a/sdk/streamanalytics/arm-streamanalytics/_meta.json b/sdk/streamanalytics/arm-streamanalytics/_meta.json index 1066d2b8724b..eacc0d59e070 100644 --- a/sdk/streamanalytics/arm-streamanalytics/_meta.json +++ b/sdk/streamanalytics/arm-streamanalytics/_meta.json @@ -1,7 +1,8 @@ { - "commit": "76f8e0c50629ef12aa338d55782278ceca46212a", - "readme": "specification/streamanalytics/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/streamanalytics/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\streamanalytics\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\streamanalytics\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/streamanalytics/arm-streamanalytics/api-extractor.json b/sdk/streamanalytics/arm-streamanalytics/api-extractor.json index 2aa8197f24a7..c1db94b7a319 100644 --- a/sdk/streamanalytics/arm-streamanalytics/api-extractor.json +++ b/sdk/streamanalytics/arm-streamanalytics/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-streamanalytics.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/streamanalytics/arm-streamanalytics/package.json b/sdk/streamanalytics/arm-streamanalytics/package.json index 190973d0aa19..560af1aec650 100644 --- a/sdk/streamanalytics/arm-streamanalytics/package.json +++ b/sdk/streamanalytics/arm-streamanalytics/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for StreamAnalyticsManagementClient.", - "version": "4.0.1", + "version": "4.0.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -30,12 +30,12 @@ "devDependencies": { "@microsoft/api-extractor": "7.18.11", "@rollup/plugin-commonjs": "^21.0.1", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^2.0.0", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -98,5 +98,21 @@ "docs": "echo skipped" }, "sideEffects": false, - "autoPublish": true + "//metadata": { + "constantPaths": [ + { + "path": "src/streamAnalyticsManagementClient.ts", + "prefix": "packageDetails" + } + ] + }, + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-streamanalytics?view=azure-node-preview" + } } diff --git a/sdk/streamanalytics/arm-streamanalytics/rollup.config.js b/sdk/streamanalytics/arm-streamanalytics/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/streamanalytics/arm-streamanalytics/rollup.config.js +++ b/sdk/streamanalytics/arm-streamanalytics/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/streamanalytics/arm-streamanalytics/sample.env b/sdk/streamanalytics/arm-streamanalytics/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersCreateOrUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6806dd4bf733 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Cluster, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Stream Analytics Cluster or replaces an already existing cluster. + * + * @summary Creates a Stream Analytics Cluster or replaces an already existing cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Create.json + */ +async function createANewCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "An Example Cluster"; + const cluster: Cluster = { + location: "North US", + sku: { name: "Default", capacity: 48 }, + tags: { key: "value" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginCreateOrUpdateAndWait( + resourceGroupName, + clusterName, + cluster + ); + console.log(result); +} + +createANewCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersDeleteSample.ts new file mode 100644 index 000000000000..5fe8ac6f11ef --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersDeleteSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the specified cluster. + * + * @summary Deletes the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Delete.json + */ +async function deleteACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginDeleteAndWait( + resourceGroupName, + clusterName + ); + console.log(result); +} + +deleteACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersGetSample.ts new file mode 100644 index 000000000000..e253a30214de --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets information about the specified cluster. + * + * @summary Gets information about the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Get.json + */ +async function getACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.get(resourceGroupName, clusterName); + console.log(result); +} + +getACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListByResourceGroupSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListByResourceGroupSample.ts new file mode 100644 index 000000000000..58f7ef5f6fd3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListByResourceGroupSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the clusters in the given resource group. + * + * @summary Lists all of the clusters in the given resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListByResourceGroup.json + */ +async function listClustersInResourceGroup() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listClustersInResourceGroup().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListBySubscriptionSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListBySubscriptionSample.ts new file mode 100644 index 000000000000..e6dd12b2e168 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListBySubscriptionSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the clusters in the given subscription. + * + * @summary Lists all of the clusters in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListBySubscription.json + */ +async function listTheClustersInASubscription() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listTheClustersInASubscription().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListStreamingJobsSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListStreamingJobsSample.ts new file mode 100644 index 000000000000..7691043f9c69 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersListStreamingJobsSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given cluster. + * + * @summary Lists all of the streaming jobs in the given cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListStreamingJobs.json + */ +async function listAllStreamingJobsInCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listStreamingJobs( + resourceGroupName, + clusterName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersUpdateSample.ts new file mode 100644 index 000000000000..8d7cc97e4075 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/clustersUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Cluster, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * + * @summary Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Update.json + */ +async function updateACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const cluster: Cluster = { location: "Central US", sku: { capacity: 96 } }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginUpdateAndWait( + resourceGroupName, + clusterName, + cluster + ); + console.log(result); +} + +updateACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..438a485fbca5 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsCreateOrReplaceSample.ts @@ -0,0 +1,98 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FunctionModel, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_JavaScript.json + */ +async function createAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (x, y) { return x + y; }" + }, + inputs: [{ dataType: "Any" }], + output: { dataType: "Any" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_AzureML.json + */ +async function createAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.MachineLearning/WebService", + apiKey: "someApiKey==", + batchSize: 1000, + endpoint: "someAzureMLEndpointURL", + inputs: { + name: "input1", + columnNames: [{ name: "tweet", dataType: "string", mapTo: 0 }] + }, + outputs: [{ name: "Sentiment", dataType: "string" }] + }, + inputs: [{ dataType: "nvarchar(max)" }], + output: { dataType: "nvarchar(max)" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsDeleteSample.ts new file mode 100644 index 000000000000..4fe1f4878b3f --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a function from the streaming job. + * + * @summary Deletes a function from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Delete.json + */ +async function deleteAFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.delete( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +deleteAFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsGetSample.ts new file mode 100644 index 000000000000..7c034d7b47f0 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsGetSample.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_JavaScript.json + */ +async function getAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.get( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +getAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_AzureML.json + */ +async function getAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.get( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +getAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsListByStreamingJobSample.ts new file mode 100644 index 000000000000..605b4606e400 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsListByStreamingJobSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the functions under the specified streaming job. + * + * @summary Lists all of the functions under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_ListByStreamingJob.json + */ +async function listAllFunctionsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.functions.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllFunctionsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsRetrieveDefaultDefinitionSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsRetrieveDefaultDefinitionSample.ts new file mode 100644 index 000000000000..a5c486ec299d --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsRetrieveDefaultDefinitionSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, + FunctionsRetrieveDefaultDefinitionOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the default definition of a function based on the parameters specified. + * + * @summary Retrieves the default definition of a function based on the parameters specified. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json + */ +async function retrieveTheDefaultDefinitionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionRetrieveDefaultDefinitionParameters: AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = { + bindingType: "Microsoft.MachineLearning/WebService", + executeEndpoint: "someAzureMLExecuteEndpointUrl", + udfType: "Scalar" + }; + const options: FunctionsRetrieveDefaultDefinitionOptionalParams = { + functionRetrieveDefaultDefinitionParameters + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.retrieveDefaultDefinition( + resourceGroupName, + jobName, + functionName, + options + ); + console.log(result); +} + +retrieveTheDefaultDefinitionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsTestSample.ts new file mode 100644 index 000000000000..453a97149b51 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsTestSample.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_JavaScript.json + */ +async function testTheConnectionForAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.beginTestAndWait( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +testTheConnectionForAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_AzureML.json + */ +async function testTheConnectionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.beginTestAndWait( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +testTheConnectionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsUpdateSample.ts new file mode 100644 index 000000000000..b83eef94059a --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/functionsUpdateSample.ts @@ -0,0 +1,84 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FunctionModel, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_JavaScript.json + */ +async function updateAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (a, b) { return a * b; }" + } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_AzureML.json + */ +async function updateAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { type: "Microsoft.MachineLearning/WebService", batchSize: 5000 } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..a08dad893f8c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsCreateOrReplaceSample.ts @@ -0,0 +1,184 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Input, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_Blob_CSV.json + */ +async function createAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input: Input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [ + { accountKey: "someAccountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_EventHub_JSON.json + */ +async function createAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "sdkconsumergroup", + eventHubName: "sdkeventhub", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "someSharedAccessPolicyKey==", + sharedAccessPolicyName: "RootManageSharedAccessKey" + }, + serialization: { type: "Json", encoding: "UTF8" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_IoTHub_Avro.json + */ +async function createAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + consumerGroupName: "sdkconsumergroup", + endpoint: "messages/events", + iotHubNamespace: "iothub", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "owner" + }, + serialization: { type: "Avro" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_Blob_CSV.json + */ +async function createAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + sourcePartitionCount: 16, + storageAccounts: [ + { accountKey: "someAccountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsDeleteSample.ts new file mode 100644 index 000000000000..58611a4d65af --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes an input from the streaming job. + * + * @summary Deletes an input from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Delete.json + */ +async function deleteAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.delete( + resourceGroupName, + jobName, + inputName + ); + console.log(result); +} + +deleteAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsGetSample.ts new file mode 100644 index 000000000000..2a4ab80c3a20 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsGetSample.ts @@ -0,0 +1,100 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Reference_Blob_CSV.json + */ +async function getAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_EventHub_JSON.json + */ +async function getAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_IoTHub_Avro.json + */ +async function getAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_Blob_CSV.json + */ +async function getAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsListByStreamingJobSample.ts new file mode 100644 index 000000000000..db515ca0a3a7 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsListByStreamingJobSample.ts @@ -0,0 +1,74 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + InputsListByStreamingJobOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob.json + */ +async function listAllInputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJob().catch(console.error); + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob_Diagnostics.json + */ +async function listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const select = "*"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options: InputsListByStreamingJobOptionalParams = { select }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob( + resourceGroupName, + jobName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsTestSample.ts new file mode 100644 index 000000000000..cfed5e91c153 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsTestSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Test.json + */ +async function testTheConnectionForAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.beginTestAndWait( + resourceGroupName, + jobName, + inputName + ); + console.log(result); +} + +testTheConnectionForAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsUpdateSample.ts new file mode 100644 index 000000000000..15f3b91cd51b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/inputsUpdateSample.ts @@ -0,0 +1,160 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Input, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Reference_Blob.json + */ +async function updateAReferenceBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input: Input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAReferenceBlobInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_EventHub.json + */ +async function updateAStreamEventHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "differentConsumerGroupName" + }, + serialization: { type: "Avro" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamEventHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_IoTHub.json + */ +async function updateAStreamIoTHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + endpoint: "messages/operationsMonitoringEvents" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamIoTHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_Blob.json + */ +async function updateAStreamBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input: Input = { + properties: { + type: "Stream", + datasource: { type: "Microsoft.Storage/Blob", sourcePartitionCount: 32 }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamBlobInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/operationsListSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..4be38c714711 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/operationsListSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Stream Analytics related operations. + * + * @summary Lists all of the available Stream Analytics related operations. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Operation_List.json + */ +async function listAvailableOperationsForTheStreamAnalyticsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheStreamAnalyticsResourceProvider().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..af3e8ee97381 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsCreateOrReplaceSample.ts @@ -0,0 +1,364 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Output, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_DocumentDB.json + */ +async function createADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + accountId: "someAccountId", + accountKey: "accountKey==", + collectionNamePattern: "collection", + database: "db01", + documentId: "documentId", + partitionKey: "key" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_PowerBI.json + */ +async function createAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "PowerBI", + dataset: "someDataset", + groupId: "ac40305e-3e8d-43ac-8161-c33799f43e95", + groupName: "MyPowerBIGroup", + refreshToken: "someRefreshToken==", + table: "someTable", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusQueue_Avro.json + */ +async function createAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + propertyColumns: ["column1", "column2"], + queueName: "sdkqueue", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + systemPropertyColumns: { MessageId: "col3", PartitionKey: "col4" } + }, + serialization: { type: "Avro" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusTopic_CSV.json + */ +async function createAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + propertyColumns: ["column1", "column2"], + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + topicName: "sdktopic" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_Blob_CSV.json + */ +async function createABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [ + { accountKey: "accountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json + */ +async function createAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "someaccount", + dateFormat: "yyyy/MM/dd", + filePathPrefix: "{date}/{time}", + refreshToken: "someRefreshToken==", + tenantId: "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + timeFormat: "HH", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com" + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureSQL.json + */ +async function createAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output: Output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "someDatabase", + password: "somePassword", + server: "someServer", + table: "someTable", + user: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureTable.json + */ +async function createAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Table", + accountKey: "accountKey==", + accountName: "someAccountName", + batchSize: 25, + columnsToRemove: ["column1", "column2"], + partitionKey: "partitionKey", + rowKey: "rowKey", + table: "samples" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_EventHub_JSON.json + */ +async function createAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + eventHubName: "sdkeventhub", + partitionKey: "partitionKey", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey" + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsDeleteSample.ts new file mode 100644 index 000000000000..bd49eef9a3e8 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes an output from the streaming job. + * + * @summary Deletes an output from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Delete.json + */ +async function deleteAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.delete( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +deleteAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsGetSample.ts new file mode 100644 index 000000000000..d156cf6a5ac3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DocumentDB.json + */ +async function getADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_PowerBI.json + */ +async function getAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusQueue_Avro.json + */ +async function getAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusTopic_CSV.json + */ +async function getAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_Blob_CSV.json + */ +async function getABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json + */ +async function getAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DataWarehouse.json + */ +async function getAnAzureDataWarehouseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg"; + const jobName = "sjName"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureDataWarehouseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureSQL.json + */ +async function getAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureTable.json + */ +async function getAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_EventHub_JSON.json + */ +async function getAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsListByStreamingJobSample.ts new file mode 100644 index 000000000000..429ed5072a70 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsListByStreamingJobSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the outputs under the specified streaming job. + * + * @summary Lists all of the outputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_ListByStreamingJob.json + */ +async function listAllOutputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.outputs.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllOutputsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsTestSample.ts new file mode 100644 index 000000000000..7ec1c4353e0f --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsTestSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Test.json + */ +async function testTheConnectionForAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.beginTestAndWait( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +testTheConnectionForAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsUpdateSample.ts new file mode 100644 index 000000000000..565793c9ced3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/outputsUpdateSample.ts @@ -0,0 +1,314 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Output, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_DocumentDB.json + */ +async function updateADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + partitionKey: "differentPartitionKey" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_PowerBI.json + */ +async function updateAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { type: "PowerBI", dataset: "differentDataset" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusQueue.json + */ +async function updateAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + queueName: "differentQueueName" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusTopic.json + */ +async function updateAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + topicName: "differentTopicName" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_Blob.json + */ +async function updateABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureDataLakeStore.json + */ +async function updateAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "differentaccount" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureSQL.json + */ +async function updateAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output: Output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + table: "differentTable" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureTable.json + */ +async function updateAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Table", + partitionKey: "differentPartitionKey" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_EventHub.json + */ +async function updateAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + partitionKey: "differentPartitionKey" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsCreateOrUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ec3be3ee3dd4 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsCreateOrUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateEndpoint, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * + * @summary Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Create.json + */ +async function createAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const privateEndpoint: PrivateEndpoint = { + manualPrivateLinkServiceConnections: [ + { + groupIds: ["groupIdFromResource"], + privateLinkServiceId: + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls" + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.createOrUpdate( + resourceGroupName, + clusterName, + privateEndpointName, + privateEndpoint + ); + console.log(result); +} + +createAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsDeleteSample.ts new file mode 100644 index 000000000000..59185264786c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete the specified private endpoint. + * + * @summary Delete the specified private endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Delete.json + */ +async function deleteAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.beginDeleteAndWait( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +deleteAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsGetSample.ts new file mode 100644 index 000000000000..bea6f14456dd --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets information about the specified Private Endpoint. + * + * @summary Gets information about the specified Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Get.json + */ +async function getAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.get( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +getAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsListByClusterSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsListByClusterSample.ts new file mode 100644 index 000000000000..8213fa0e3371 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/privateEndpointsListByClusterSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the private endpoints in the cluster. + * + * @summary Lists the private endpoints in the cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_ListByCluster.json + */ +async function getThePrivateEndpointsInACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.privateEndpoints.listByCluster( + resourceGroupName, + clusterName + )) { + resArray.push(item); + } + console.log(resArray); +} + +getThePrivateEndpointsInACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..be2c7b6fd0cd --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsCreateOrReplaceSample.ts @@ -0,0 +1,130 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJob, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_CompleteJob.json + */ +async function createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const streamingJob: StreamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 5, + eventsOutOfOrderMaxDelayInSeconds: 0, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [ + { + name: "inputtest", + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "containerName", + pathPattern: "", + storageAccounts: [ + { accountKey: "yourAccountKey==", accountName: "yourAccountName" } + ] + }, + serialization: { type: "Json", encoding: "UTF8" } + } + } + ], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [ + { + name: "outputtest", + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "databaseName", + password: "userPassword", + server: "serverName", + table: "tableName", + user: "" + } + } + ], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" }, + transformation: { + name: "transformationtest", + query: "Select Id, Name from inputtest", + streamingUnits: 1 + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_JobShell.json + */ +async function createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob: StreamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 16, + eventsOutOfOrderMaxDelayInSeconds: 5, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsDeleteSample.ts new file mode 100644 index 000000000000..8f7b5abead8e --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsDeleteSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a streaming job. + * + * @summary Deletes a streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Delete.json + */ +async function deleteAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginDeleteAndWait( + resourceGroupName, + jobName + ); + console.log(result); +} + +deleteAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsGetSample.ts new file mode 100644 index 000000000000..30b85d6df599 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsGetSample.ts @@ -0,0 +1,65 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsGetOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_NoExpand.json + */ +async function getAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.get(resourceGroupName, jobName); + console.log(result); +} + +getAStreamingJobAndDoNotUseTheExpandODataQueryParameter().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_Expand.json + */ +async function getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options: StreamingJobsGetOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.get( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListByResourceGroupSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListByResourceGroupSample.ts new file mode 100644 index 000000000000..63b825b0aede --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListByResourceGroupSample.ts @@ -0,0 +1,72 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsListByResourceGroupOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json + */ +async function listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json + */ +async function listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const options: StreamingJobsListByResourceGroupOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup( + resourceGroupName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListSample.ts new file mode 100644 index 000000000000..6ec259cf8dd2 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsListSample.ts @@ -0,0 +1,65 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsListOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json + */ +async function listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_Expand.json + */ +async function listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const options: StreamingJobsListOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsScaleSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsScaleSample.ts new file mode 100644 index 000000000000..8a0217642804 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsScaleSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ScaleStreamingJobParameters, + StreamingJobsScaleOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scales a streaming job when the job is running. + * + * @summary Scales a streaming job when the job is running. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Scale.json + */ +async function scaleAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const scaleJobParameters: ScaleStreamingJobParameters = { + streamingUnits: 36 + }; + const options: StreamingJobsScaleOptionalParams = { scaleJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginScaleAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +scaleAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStartSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStartSample.ts new file mode 100644 index 000000000000..2f5c8d5ef291 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStartSample.ts @@ -0,0 +1,104 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StartStreamingJobParameters, + StreamingJobsStartOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_CustomTime.json + */ +async function startAStreamingJobWithCustomTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "CustomTime", + outputStartTime: new Date("2012-12-12T12:12:12Z") + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithCustomTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_JobStartTime.json + */ +async function startAStreamingJobWithJobStartTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "JobStartTime" + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithJobStartTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_LastOutputEventTime.json + */ +async function startAStreamingJobWithLastOutputEventTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "LastOutputEventTime" + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithLastOutputEventTimeOutputStartMode().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStopSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStopSample.ts new file mode 100644 index 000000000000..db382719985c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsStopSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * + * @summary Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Stop.json + */ +async function stopAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStopAndWait( + resourceGroupName, + jobName + ); + console.log(result); +} + +stopAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsUpdateSample.ts new file mode 100644 index 000000000000..bd87378f1d85 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/streamingJobsUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJob, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * + * @summary Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Update.json + */ +async function updateAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob: StreamingJob = { + eventsLateArrivalMaxDelayInSeconds: 13, + eventsOutOfOrderMaxDelayInSeconds: 21 + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.update( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +updateAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/subscriptionsListQuotasSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/subscriptionsListQuotasSample.ts new file mode 100644 index 000000000000..b009cac38aad --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/subscriptionsListQuotasSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the subscription's current quota information in a particular region. + * + * @summary Retrieves the subscription's current quota information in a particular region. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Subscription_ListQuotas.json + */ +async function listSubscriptionQuotaInformationInWestUs() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const location = "West US"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.subscriptions.listQuotas(location); + console.log(result); +} + +listSubscriptionQuotaInformationInWestUs().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..053a8fa97c9b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsCreateOrReplaceSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Transformation, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a transformation or replaces an already existing transformation under an existing streaming job. + * + * @summary Creates a transformation or replaces an already existing transformation under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json + */ +async function createATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation: Transformation = { + query: "Select Id, Name from inputtest", + streamingUnits: 6 + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.createOrReplace( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +createATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsGetSample.ts new file mode 100644 index 000000000000..d26670abd963 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified transformation. + * + * @summary Gets details about the specified transformation. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Get.json + */ +async function getATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.get( + resourceGroupName, + jobName, + transformationName + ); + console.log(result); +} + +getATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsUpdateSample.ts new file mode 100644 index 000000000000..f4039f692816 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples-dev/transformationsUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Transformation, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * + * @summary Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Update.json + */ +async function updateATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation: Transformation = { query: "New query" }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.update( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +updateATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/README.md b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/README.md new file mode 100644 index 000000000000..00f414374189 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/README.md @@ -0,0 +1,136 @@ +# client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [clustersCreateOrUpdateSample.js][clusterscreateorupdatesample] | Creates a Stream Analytics Cluster or replaces an already existing cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Create.json | +| [clustersDeleteSample.js][clustersdeletesample] | Deletes the specified cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Delete.json | +| [clustersGetSample.js][clustersgetsample] | Gets information about the specified cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Get.json | +| [clustersListByResourceGroupSample.js][clusterslistbyresourcegroupsample] | Lists all of the clusters in the given resource group. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListByResourceGroup.json | +| [clustersListBySubscriptionSample.js][clusterslistbysubscriptionsample] | Lists all of the clusters in the given subscription. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListBySubscription.json | +| [clustersListStreamingJobsSample.js][clustersliststreamingjobssample] | Lists all of the streaming jobs in the given cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListStreamingJobs.json | +| [clustersUpdateSample.js][clustersupdatesample] | Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Update.json | +| [functionsCreateOrReplaceSample.js][functionscreateorreplacesample] | Creates a function or replaces an already existing function under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_JavaScript.json | +| [functionsDeleteSample.js][functionsdeletesample] | Deletes a function from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Delete.json | +| [functionsGetSample.js][functionsgetsample] | Gets details about the specified function. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_JavaScript.json | +| [functionsListByStreamingJobSample.js][functionslistbystreamingjobsample] | Lists all of the functions under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_ListByStreamingJob.json | +| [functionsRetrieveDefaultDefinitionSample.js][functionsretrievedefaultdefinitionsample] | Retrieves the default definition of a function based on the parameters specified. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json | +| [functionsTestSample.js][functionstestsample] | Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_JavaScript.json | +| [functionsUpdateSample.js][functionsupdatesample] | Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_JavaScript.json | +| [inputsCreateOrReplaceSample.js][inputscreateorreplacesample] | Creates an input or replaces an already existing input under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_Blob_CSV.json | +| [inputsDeleteSample.js][inputsdeletesample] | Deletes an input from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Delete.json | +| [inputsGetSample.js][inputsgetsample] | Gets details about the specified input. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Reference_Blob_CSV.json | +| [inputsListByStreamingJobSample.js][inputslistbystreamingjobsample] | Lists all of the inputs under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob.json | +| [inputsTestSample.js][inputstestsample] | Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Test.json | +| [inputsUpdateSample.js][inputsupdatesample] | Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Reference_Blob.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available Stream Analytics related operations. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Operation_List.json | +| [outputsCreateOrReplaceSample.js][outputscreateorreplacesample] | Creates an output or replaces an already existing output under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_DocumentDB.json | +| [outputsDeleteSample.js][outputsdeletesample] | Deletes an output from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Delete.json | +| [outputsGetSample.js][outputsgetsample] | Gets details about the specified output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DocumentDB.json | +| [outputsListByStreamingJobSample.js][outputslistbystreamingjobsample] | Lists all of the outputs under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_ListByStreamingJob.json | +| [outputsTestSample.js][outputstestsample] | Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Test.json | +| [outputsUpdateSample.js][outputsupdatesample] | Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_DocumentDB.json | +| [privateEndpointsCreateOrUpdateSample.js][privateendpointscreateorupdatesample] | Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Create.json | +| [privateEndpointsDeleteSample.js][privateendpointsdeletesample] | Delete the specified private endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Delete.json | +| [privateEndpointsGetSample.js][privateendpointsgetsample] | Gets information about the specified Private Endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Get.json | +| [privateEndpointsListByClusterSample.js][privateendpointslistbyclustersample] | Lists the private endpoints in the cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_ListByCluster.json | +| [streamingJobsCreateOrReplaceSample.js][streamingjobscreateorreplacesample] | Creates a streaming job or replaces an already existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_CompleteJob.json | +| [streamingJobsDeleteSample.js][streamingjobsdeletesample] | Deletes a streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Delete.json | +| [streamingJobsGetSample.js][streamingjobsgetsample] | Gets details about the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_NoExpand.json | +| [streamingJobsListByResourceGroupSample.js][streamingjobslistbyresourcegroupsample] | Lists all of the streaming jobs in the specified resource group. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json | +| [streamingJobsListSample.js][streamingjobslistsample] | Lists all of the streaming jobs in the given subscription. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json | +| [streamingJobsScaleSample.js][streamingjobsscalesample] | Scales a streaming job when the job is running. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Scale.json | +| [streamingJobsStartSample.js][streamingjobsstartsample] | Starts a streaming job. Once a job is started it will start processing input events and produce output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_CustomTime.json | +| [streamingJobsStopSample.js][streamingjobsstopsample] | Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Stop.json | +| [streamingJobsUpdateSample.js][streamingjobsupdatesample] | Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Update.json | +| [subscriptionsListQuotasSample.js][subscriptionslistquotassample] | Retrieves the subscription's current quota information in a particular region. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Subscription_ListQuotas.json | +| [transformationsCreateOrReplaceSample.js][transformationscreateorreplacesample] | Creates a transformation or replaces an already existing transformation under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json | +| [transformationsGetSample.js][transformationsgetsample] | Gets details about the specified transformation. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Get.json | +| [transformationsUpdateSample.js][transformationsupdatesample] | Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Update.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 clustersCreateOrUpdateSample.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 node clustersCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[clusterscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersCreateOrUpdateSample.js +[clustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersDeleteSample.js +[clustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersGetSample.js +[clusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListByResourceGroupSample.js +[clusterslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListBySubscriptionSample.js +[clustersliststreamingjobssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListStreamingJobsSample.js +[clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersUpdateSample.js +[functionscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsCreateOrReplaceSample.js +[functionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsDeleteSample.js +[functionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsGetSample.js +[functionslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsListByStreamingJobSample.js +[functionsretrievedefaultdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsRetrieveDefaultDefinitionSample.js +[functionstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsTestSample.js +[functionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsUpdateSample.js +[inputscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsCreateOrReplaceSample.js +[inputsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsDeleteSample.js +[inputsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsGetSample.js +[inputslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsListByStreamingJobSample.js +[inputstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsTestSample.js +[inputsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsUpdateSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/operationsListSample.js +[outputscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsCreateOrReplaceSample.js +[outputsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsDeleteSample.js +[outputsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsGetSample.js +[outputslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsListByStreamingJobSample.js +[outputstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsTestSample.js +[outputsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsUpdateSample.js +[privateendpointscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsCreateOrUpdateSample.js +[privateendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsDeleteSample.js +[privateendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsGetSample.js +[privateendpointslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsListByClusterSample.js +[streamingjobscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsCreateOrReplaceSample.js +[streamingjobsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsDeleteSample.js +[streamingjobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsGetSample.js +[streamingjobslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListByResourceGroupSample.js +[streamingjobslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListSample.js +[streamingjobsscalesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsScaleSample.js +[streamingjobsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStartSample.js +[streamingjobsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStopSample.js +[streamingjobsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsUpdateSample.js +[subscriptionslistquotassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/subscriptionsListQuotasSample.js +[transformationscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsCreateOrReplaceSample.js +[transformationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsGetSample.js +[transformationsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsUpdateSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-streamanalytics?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/streamanalytics/arm-streamanalytics/README.md diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersCreateOrUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersCreateOrUpdateSample.js new file mode 100644 index 000000000000..2e0dcf8ac316 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersCreateOrUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a Stream Analytics Cluster or replaces an already existing cluster. + * + * @summary Creates a Stream Analytics Cluster or replaces an already existing cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Create.json + */ +async function createANewCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "An Example Cluster"; + const cluster = { + location: "North US", + sku: { name: "Default", capacity: 48 }, + tags: { key: "value" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.clusters.beginCreateOrUpdateAndWait( + resourceGroupName, + clusterName, + cluster + ); + console.log(result); +} + +createANewCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersDeleteSample.js new file mode 100644 index 000000000000..e4806af01e12 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the specified cluster. + * + * @summary Deletes the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Delete.json + */ +async function deleteACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.clusters.beginDeleteAndWait(resourceGroupName, clusterName); + console.log(result); +} + +deleteACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersGetSample.js new file mode 100644 index 000000000000..987b8e0759fb --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets information about the specified cluster. + * + * @summary Gets information about the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Get.json + */ +async function getACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.clusters.get(resourceGroupName, clusterName); + console.log(result); +} + +getACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListByResourceGroupSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListByResourceGroupSample.js new file mode 100644 index 000000000000..3c108c033323 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the clusters in the given resource group. + * + * @summary Lists all of the clusters in the given resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListByResourceGroup.json + */ +async function listClustersInResourceGroup() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.clusters.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listClustersInResourceGroup().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListBySubscriptionSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListBySubscriptionSample.js new file mode 100644 index 000000000000..e872030dcb76 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListBySubscriptionSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the clusters in the given subscription. + * + * @summary Lists all of the clusters in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListBySubscription.json + */ +async function listTheClustersInASubscription() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.clusters.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listTheClustersInASubscription().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListStreamingJobsSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListStreamingJobsSample.js new file mode 100644 index 000000000000..646d4b614e90 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersListStreamingJobsSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given cluster. + * + * @summary Lists all of the streaming jobs in the given cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListStreamingJobs.json + */ +async function listAllStreamingJobsInCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.clusters.listStreamingJobs(resourceGroupName, clusterName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersUpdateSample.js new file mode 100644 index 000000000000..9d4de6d10874 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/clustersUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * + * @summary Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Update.json + */ +async function updateACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const cluster = { location: "Central US", sku: { capacity: 96 } }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.clusters.beginUpdateAndWait(resourceGroupName, clusterName, cluster); + console.log(result); +} + +updateACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsCreateOrReplaceSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsCreateOrReplaceSample.js new file mode 100644 index 000000000000..e45b478e460a --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsCreateOrReplaceSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_JavaScript.json + */ +async function createAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (x, y) { return x + y; }", + }, + inputs: [{ dataType: "Any" }], + output: { dataType: "Any" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_AzureML.json + */ +async function createAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.MachineLearning/WebService", + apiKey: "someApiKey==", + batchSize: 1000, + endpoint: "someAzureMLEndpointURL", + inputs: { + name: "input1", + columnNames: [{ name: "tweet", dataType: "string", mapTo: 0 }], + }, + outputs: [{ name: "Sentiment", dataType: "string" }], + }, + inputs: [{ dataType: "nvarchar(max)" }], + output: { dataType: "nvarchar(max)" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsDeleteSample.js new file mode 100644 index 000000000000..2f0dc7d785a5 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsDeleteSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a function from the streaming job. + * + * @summary Deletes a function from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Delete.json + */ +async function deleteAFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.delete(resourceGroupName, jobName, functionName); + console.log(result); +} + +deleteAFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsGetSample.js new file mode 100644 index 000000000000..8d39a6b54e55 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsGetSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_JavaScript.json + */ +async function getAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.get(resourceGroupName, jobName, functionName); + console.log(result); +} + +getAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_AzureML.json + */ +async function getAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.get(resourceGroupName, jobName, functionName); + console.log(result); +} + +getAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsListByStreamingJobSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsListByStreamingJobSample.js new file mode 100644 index 000000000000..d4e0555d8093 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsListByStreamingJobSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the functions under the specified streaming job. + * + * @summary Lists all of the functions under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_ListByStreamingJob.json + */ +async function listAllFunctionsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.functions.listByStreamingJob(resourceGroupName, jobName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllFunctionsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsRetrieveDefaultDefinitionSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsRetrieveDefaultDefinitionSample.js new file mode 100644 index 000000000000..6d3834ca6210 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsRetrieveDefaultDefinitionSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves the default definition of a function based on the parameters specified. + * + * @summary Retrieves the default definition of a function based on the parameters specified. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json + */ +async function retrieveTheDefaultDefinitionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionRetrieveDefaultDefinitionParameters = { + bindingType: "Microsoft.MachineLearning/WebService", + executeEndpoint: "someAzureMLExecuteEndpointUrl", + udfType: "Scalar", + }; + const options = { + functionRetrieveDefaultDefinitionParameters, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.retrieveDefaultDefinition( + resourceGroupName, + jobName, + functionName, + options + ); + console.log(result); +} + +retrieveTheDefaultDefinitionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsTestSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsTestSample.js new file mode 100644 index 000000000000..be318a1ea15b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsTestSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_JavaScript.json + */ +async function testTheConnectionForAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.beginTestAndWait(resourceGroupName, jobName, functionName); + console.log(result); +} + +testTheConnectionForAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_AzureML.json + */ +async function testTheConnectionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.beginTestAndWait(resourceGroupName, jobName, functionName); + console.log(result); +} + +testTheConnectionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsUpdateSample.js new file mode 100644 index 000000000000..35aa40254644 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/functionsUpdateSample.js @@ -0,0 +1,75 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_JavaScript.json + */ +async function updateAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (a, b) { return a * b; }", + }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_AzureML.json + */ +async function updateAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam = { + properties: { + type: "Scalar", + binding: { type: "Microsoft.MachineLearning/WebService", batchSize: 5000 }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsCreateOrReplaceSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsCreateOrReplaceSample.js new file mode 100644 index 000000000000..d10ae64555f8 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsCreateOrReplaceSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_Blob_CSV.json + */ +async function createAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [{ accountKey: "someAccountKey==", accountName: "someAccountName" }], + timeFormat: "HH", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.createOrReplace(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +createAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_EventHub_JSON.json + */ +async function createAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "sdkconsumergroup", + eventHubName: "sdkeventhub", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "someSharedAccessPolicyKey==", + sharedAccessPolicyName: "RootManageSharedAccessKey", + }, + serialization: { type: "Json", encoding: "UTF8" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.createOrReplace(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +createAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_IoTHub_Avro.json + */ +async function createAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + consumerGroupName: "sdkconsumergroup", + endpoint: "messages/events", + iotHubNamespace: "iothub", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "owner", + }, + serialization: { type: "Avro" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.createOrReplace(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +createAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_Blob_CSV.json + */ +async function createAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + sourcePartitionCount: 16, + storageAccounts: [{ accountKey: "someAccountKey==", accountName: "someAccountName" }], + timeFormat: "HH", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.createOrReplace(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +createAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsDeleteSample.js new file mode 100644 index 000000000000..69eb9fd3192e --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsDeleteSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes an input from the streaming job. + * + * @summary Deletes an input from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Delete.json + */ +async function deleteAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.delete(resourceGroupName, jobName, inputName); + console.log(result); +} + +deleteAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsGetSample.js new file mode 100644 index 000000000000..4fab0cce5713 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsGetSample.js @@ -0,0 +1,88 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Reference_Blob_CSV.json + */ +async function getAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_EventHub_JSON.json + */ +async function getAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_IoTHub_Avro.json + */ +async function getAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_Blob_CSV.json + */ +async function getAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsListByStreamingJobSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsListByStreamingJobSample.js new file mode 100644 index 000000000000..c88b73b27f54 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsListByStreamingJobSample.js @@ -0,0 +1,58 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob.json + */ +async function listAllInputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob(resourceGroupName, jobName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJob().catch(console.error); + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob_Diagnostics.json + */ +async function listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const select = "*"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options = { select }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob(resourceGroupName, jobName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsTestSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsTestSample.js new file mode 100644 index 000000000000..d1297feff25e --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsTestSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Test.json + */ +async function testTheConnectionForAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.beginTestAndWait(resourceGroupName, jobName, inputName); + console.log(result); +} + +testTheConnectionForAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsUpdateSample.js new file mode 100644 index 000000000000..12de1e5e8d52 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/inputsUpdateSample.js @@ -0,0 +1,125 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Reference_Blob.json + */ +async function updateAReferenceBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.update(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +updateAReferenceBlobInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_EventHub.json + */ +async function updateAStreamEventHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "differentConsumerGroupName", + }, + serialization: { type: "Avro" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.update(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +updateAStreamEventHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_IoTHub.json + */ +async function updateAStreamIoTHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + endpoint: "messages/operationsMonitoringEvents", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.update(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +updateAStreamIoTHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_Blob.json + */ +async function updateAStreamBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input = { + properties: { + type: "Stream", + datasource: { type: "Microsoft.Storage/Blob", sourcePartitionCount: 32 }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.inputs.update(resourceGroupName, jobName, inputName, input); + console.log(result); +} + +updateAStreamBlobInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/operationsListSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/operationsListSample.js new file mode 100644 index 000000000000..b86b07799c47 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the available Stream Analytics related operations. + * + * @summary Lists all of the available Stream Analytics related operations. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Operation_List.json + */ +async function listAvailableOperationsForTheStreamAnalyticsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheStreamAnalyticsResourceProvider().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsCreateOrReplaceSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsCreateOrReplaceSample.js new file mode 100644 index 000000000000..f7b089b1e6f7 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsCreateOrReplaceSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_DocumentDB.json + */ +async function createADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + accountId: "someAccountId", + accountKey: "accountKey==", + collectionNamePattern: "collection", + database: "db01", + documentId: "documentId", + partitionKey: "key", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_PowerBI.json + */ +async function createAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output = { + datasource: { + type: "PowerBI", + dataset: "someDataset", + groupId: "ac40305e-3e8d-43ac-8161-c33799f43e95", + groupName: "MyPowerBIGroup", + refreshToken: "someRefreshToken==", + table: "someTable", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusQueue_Avro.json + */ +async function createAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + propertyColumns: ["column1", "column2"], + queueName: "sdkqueue", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + systemPropertyColumns: { MessageId: "col3", PartitionKey: "col4" }, + }, + serialization: { type: "Avro" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusTopic_CSV.json + */ +async function createAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + propertyColumns: ["column1", "column2"], + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + topicName: "sdktopic", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_Blob_CSV.json + */ +async function createABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [{ accountKey: "accountKey==", accountName: "someAccountName" }], + timeFormat: "HH", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json + */ +async function createAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "someaccount", + dateFormat: "yyyy/MM/dd", + filePathPrefix: "{date}/{time}", + refreshToken: "someRefreshToken==", + tenantId: "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + timeFormat: "HH", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com", + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureSQL.json + */ +async function createAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "someDatabase", + password: "somePassword", + server: "someServer", + table: "someTable", + user: "", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureTable.json + */ +async function createAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output = { + datasource: { + type: "Microsoft.Storage/Table", + accountKey: "accountKey==", + accountName: "someAccountName", + batchSize: 25, + columnsToRemove: ["column1", "column2"], + partitionKey: "partitionKey", + rowKey: "rowKey", + table: "samples", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_EventHub_JSON.json + */ +async function createAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + eventHubName: "sdkeventhub", + partitionKey: "partitionKey", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsDeleteSample.js new file mode 100644 index 000000000000..8b5551f168c8 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsDeleteSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes an output from the streaming job. + * + * @summary Deletes an output from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Delete.json + */ +async function deleteAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.delete(resourceGroupName, jobName, outputName); + console.log(result); +} + +deleteAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsGetSample.js new file mode 100644 index 000000000000..f309d63af757 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsGetSample.js @@ -0,0 +1,202 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DocumentDB.json + */ +async function getADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_PowerBI.json + */ +async function getAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusQueue_Avro.json + */ +async function getAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusTopic_CSV.json + */ +async function getAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_Blob_CSV.json + */ +async function getABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json + */ +async function getAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DataWarehouse.json + */ +async function getAnAzureDataWarehouseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg"; + const jobName = "sjName"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAnAzureDataWarehouseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureSQL.json + */ +async function getAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureTable.json + */ +async function getAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_EventHub_JSON.json + */ +async function getAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.get(resourceGroupName, jobName, outputName); + console.log(result); +} + +getAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsListByStreamingJobSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsListByStreamingJobSample.js new file mode 100644 index 000000000000..8f1cd8111945 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsListByStreamingJobSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the outputs under the specified streaming job. + * + * @summary Lists all of the outputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_ListByStreamingJob.json + */ +async function listAllOutputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.outputs.listByStreamingJob(resourceGroupName, jobName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllOutputsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsTestSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsTestSample.js new file mode 100644 index 000000000000..e3011665527e --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsTestSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Test.json + */ +async function testTheConnectionForAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.beginTestAndWait(resourceGroupName, jobName, outputName); + console.log(result); +} + +testTheConnectionForAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsUpdateSample.js new file mode 100644 index 000000000000..1e0fdb7b21bd --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/outputsUpdateSample.js @@ -0,0 +1,239 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_DocumentDB.json + */ +async function updateADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + partitionKey: "differentPartitionKey", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_PowerBI.json + */ +async function updateAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output = { + datasource: { type: "PowerBI", dataset: "differentDataset" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusQueue.json + */ +async function updateAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + queueName: "differentQueueName", + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusTopic.json + */ +async function updateAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + topicName: "differentTopicName", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_Blob.json + */ +async function updateABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer", + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureDataLakeStore.json + */ +async function updateAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "differentaccount", + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureSQL.json + */ +async function updateAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + table: "differentTable", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureTable.json + */ +async function updateAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output = { + datasource: { + type: "Microsoft.Storage/Table", + partitionKey: "differentPartitionKey", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_EventHub.json + */ +async function updateAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + partitionKey: "differentPartitionKey", + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.outputs.update(resourceGroupName, jobName, outputName, output); + console.log(result); +} + +updateAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/package.json b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/package.json new file mode 100644 index 000000000000..eeb7580b38eb --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-streamanalytics-js", + "private": true, + "version": "1.0.0", + "description": " 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/streamanalytics/arm-streamanalytics" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/streamanalytics/arm-streamanalytics", + "dependencies": { + "@azure/arm-streamanalytics": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsCreateOrUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsCreateOrUpdateSample.js new file mode 100644 index 000000000000..f223546046df --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsCreateOrUpdateSample.js @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * + * @summary Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Create.json + */ +async function createAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const privateEndpoint = { + manualPrivateLinkServiceConnections: [ + { + groupIds: ["groupIdFromResource"], + privateLinkServiceId: + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + }, + ], + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.privateEndpoints.createOrUpdate( + resourceGroupName, + clusterName, + privateEndpointName, + privateEndpoint + ); + console.log(result); +} + +createAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsDeleteSample.js new file mode 100644 index 000000000000..cb5debb77bf5 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete the specified private endpoint. + * + * @summary Delete the specified private endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Delete.json + */ +async function deleteAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.privateEndpoints.beginDeleteAndWait( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +deleteAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsGetSample.js new file mode 100644 index 000000000000..0bda52ae1b72 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets information about the specified Private Endpoint. + * + * @summary Gets information about the specified Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Get.json + */ +async function getAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.privateEndpoints.get( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +getAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsListByClusterSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsListByClusterSample.js new file mode 100644 index 000000000000..3d424848c024 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/privateEndpointsListByClusterSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists the private endpoints in the cluster. + * + * @summary Lists the private endpoints in the cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_ListByCluster.json + */ +async function getThePrivateEndpointsInACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateEndpoints.listByCluster(resourceGroupName, clusterName)) { + resArray.push(item); + } + console.log(resArray); +} + +getThePrivateEndpointsInACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/sample.env b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsCreateOrReplaceSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsCreateOrReplaceSample.js new file mode 100644 index 000000000000..74d32ed33e71 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsCreateOrReplaceSample.js @@ -0,0 +1,119 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_CompleteJob.json + */ +async function createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const streamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 5, + eventsOutOfOrderMaxDelayInSeconds: 0, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [ + { + name: "inputtest", + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "containerName", + pathPattern: "", + storageAccounts: [{ accountKey: "yourAccountKey==", accountName: "yourAccountName" }], + }, + serialization: { type: "Json", encoding: "UTF8" }, + }, + }, + ], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [ + { + name: "outputtest", + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "databaseName", + password: "userPassword", + server: "serverName", + table: "tableName", + user: "", + }, + }, + ], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" }, + transformation: { + name: "transformationtest", + query: "Select Id, Name from inputtest", + streamingUnits: 1, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_JobShell.json + */ +async function createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 16, + eventsOutOfOrderMaxDelayInSeconds: 5, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsDeleteSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsDeleteSample.js new file mode 100644 index 000000000000..b9825e4ed049 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a streaming job. + * + * @summary Deletes a streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Delete.json + */ +async function deleteAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginDeleteAndWait(resourceGroupName, jobName); + console.log(result); +} + +deleteAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsGetSample.js new file mode 100644 index 000000000000..5e7e021b2dfb --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsGetSample.js @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_NoExpand.json + */ +async function getAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.get(resourceGroupName, jobName); + console.log(result); +} + +getAStreamingJobAndDoNotUseTheExpandODataQueryParameter().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_Expand.json + */ +async function getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.get(resourceGroupName, jobName, options); + console.log(result); +} + +getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListByResourceGroupSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListByResourceGroupSample.js new file mode 100644 index 000000000000..f5560c23ba8b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json + */ +async function listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter().catch(console.error); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json + */ +async function listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const options = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup(resourceGroupName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListSample.js new file mode 100644 index 000000000000..69a7caed8253 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsListSample.js @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json + */ +async function listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.streamingJobs.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter().catch(console.error); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_Expand.json + */ +async function listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const options = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.streamingJobs.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsScaleSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsScaleSample.js new file mode 100644 index 000000000000..aa6c78bef14c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsScaleSample.js @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Scales a streaming job when the job is running. + * + * @summary Scales a streaming job when the job is running. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Scale.json + */ +async function scaleAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const scaleJobParameters = { + streamingUnits: 36, + }; + const options = { scaleJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginScaleAndWait(resourceGroupName, jobName, options); + console.log(result); +} + +scaleAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStartSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStartSample.js new file mode 100644 index 000000000000..be925d16a0ce --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStartSample.js @@ -0,0 +1,79 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_CustomTime.json + */ +async function startAStreamingJobWithCustomTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters = { + outputStartMode: "CustomTime", + outputStartTime: new Date("2012-12-12T12:12:12Z"), + }; + const options = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginStartAndWait(resourceGroupName, jobName, options); + console.log(result); +} + +startAStreamingJobWithCustomTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_JobStartTime.json + */ +async function startAStreamingJobWithJobStartTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters = { + outputStartMode: "JobStartTime", + }; + const options = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginStartAndWait(resourceGroupName, jobName, options); + console.log(result); +} + +startAStreamingJobWithJobStartTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_LastOutputEventTime.json + */ +async function startAStreamingJobWithLastOutputEventTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters = { + outputStartMode: "LastOutputEventTime", + }; + const options = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginStartAndWait(resourceGroupName, jobName, options); + console.log(result); +} + +startAStreamingJobWithLastOutputEventTimeOutputStartMode().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStopSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStopSample.js new file mode 100644 index 000000000000..8d50e999b5d2 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsStopSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * + * @summary Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Stop.json + */ +async function stopAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.beginStopAndWait(resourceGroupName, jobName); + console.log(result); +} + +stopAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsUpdateSample.js new file mode 100644 index 000000000000..0b4f3e8bbf09 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/streamingJobsUpdateSample.js @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * + * @summary Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Update.json + */ +async function updateAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob = { + eventsLateArrivalMaxDelayInSeconds: 13, + eventsOutOfOrderMaxDelayInSeconds: 21, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.streamingJobs.update(resourceGroupName, jobName, streamingJob); + console.log(result); +} + +updateAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/subscriptionsListQuotasSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/subscriptionsListQuotasSample.js new file mode 100644 index 000000000000..9145b599e2e8 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/subscriptionsListQuotasSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Retrieves the subscription's current quota information in a particular region. + * + * @summary Retrieves the subscription's current quota information in a particular region. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Subscription_ListQuotas.json + */ +async function listSubscriptionQuotaInformationInWestUs() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const location = "West US"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.subscriptions.listQuotas(location); + console.log(result); +} + +listSubscriptionQuotaInformationInWestUs().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsCreateOrReplaceSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsCreateOrReplaceSample.js new file mode 100644 index 000000000000..3f17b8813cba --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsCreateOrReplaceSample.js @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a transformation or replaces an already existing transformation under an existing streaming job. + * + * @summary Creates a transformation or replaces an already existing transformation under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json + */ +async function createATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation = { + query: "Select Id, Name from inputtest", + streamingUnits: 6, + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.transformations.createOrReplace( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +createATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsGetSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsGetSample.js new file mode 100644 index 000000000000..853e1ff00c11 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about the specified transformation. + * + * @summary Gets details about the specified transformation. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Get.json + */ +async function getATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.transformations.get(resourceGroupName, jobName, transformationName); + console.log(result); +} + +getATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsUpdateSample.js b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsUpdateSample.js new file mode 100644 index 000000000000..fbee00104bee --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/javascript/transformationsUpdateSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * + * @summary Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Update.json + */ +async function updateATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation = { query: "New query" }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient(credential, subscriptionId); + const result = await client.transformations.update( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +updateATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/README.md b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/README.md new file mode 100644 index 000000000000..f14d9f868cdf --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/README.md @@ -0,0 +1,149 @@ +# client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [clustersCreateOrUpdateSample.ts][clusterscreateorupdatesample] | Creates a Stream Analytics Cluster or replaces an already existing cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Create.json | +| [clustersDeleteSample.ts][clustersdeletesample] | Deletes the specified cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Delete.json | +| [clustersGetSample.ts][clustersgetsample] | Gets information about the specified cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Get.json | +| [clustersListByResourceGroupSample.ts][clusterslistbyresourcegroupsample] | Lists all of the clusters in the given resource group. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListByResourceGroup.json | +| [clustersListBySubscriptionSample.ts][clusterslistbysubscriptionsample] | Lists all of the clusters in the given subscription. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListBySubscription.json | +| [clustersListStreamingJobsSample.ts][clustersliststreamingjobssample] | Lists all of the streaming jobs in the given cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListStreamingJobs.json | +| [clustersUpdateSample.ts][clustersupdatesample] | Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Update.json | +| [functionsCreateOrReplaceSample.ts][functionscreateorreplacesample] | Creates a function or replaces an already existing function under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_JavaScript.json | +| [functionsDeleteSample.ts][functionsdeletesample] | Deletes a function from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Delete.json | +| [functionsGetSample.ts][functionsgetsample] | Gets details about the specified function. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_JavaScript.json | +| [functionsListByStreamingJobSample.ts][functionslistbystreamingjobsample] | Lists all of the functions under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_ListByStreamingJob.json | +| [functionsRetrieveDefaultDefinitionSample.ts][functionsretrievedefaultdefinitionsample] | Retrieves the default definition of a function based on the parameters specified. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json | +| [functionsTestSample.ts][functionstestsample] | Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_JavaScript.json | +| [functionsUpdateSample.ts][functionsupdatesample] | Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_JavaScript.json | +| [inputsCreateOrReplaceSample.ts][inputscreateorreplacesample] | Creates an input or replaces an already existing input under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_Blob_CSV.json | +| [inputsDeleteSample.ts][inputsdeletesample] | Deletes an input from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Delete.json | +| [inputsGetSample.ts][inputsgetsample] | Gets details about the specified input. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Reference_Blob_CSV.json | +| [inputsListByStreamingJobSample.ts][inputslistbystreamingjobsample] | Lists all of the inputs under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob.json | +| [inputsTestSample.ts][inputstestsample] | Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Test.json | +| [inputsUpdateSample.ts][inputsupdatesample] | Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Reference_Blob.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available Stream Analytics related operations. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Operation_List.json | +| [outputsCreateOrReplaceSample.ts][outputscreateorreplacesample] | Creates an output or replaces an already existing output under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_DocumentDB.json | +| [outputsDeleteSample.ts][outputsdeletesample] | Deletes an output from the streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Delete.json | +| [outputsGetSample.ts][outputsgetsample] | Gets details about the specified output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DocumentDB.json | +| [outputsListByStreamingJobSample.ts][outputslistbystreamingjobsample] | Lists all of the outputs under the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_ListByStreamingJob.json | +| [outputsTestSample.ts][outputstestsample] | Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Test.json | +| [outputsUpdateSample.ts][outputsupdatesample] | Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_DocumentDB.json | +| [privateEndpointsCreateOrUpdateSample.ts][privateendpointscreateorupdatesample] | Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Create.json | +| [privateEndpointsDeleteSample.ts][privateendpointsdeletesample] | Delete the specified private endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Delete.json | +| [privateEndpointsGetSample.ts][privateendpointsgetsample] | Gets information about the specified Private Endpoint. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Get.json | +| [privateEndpointsListByClusterSample.ts][privateendpointslistbyclustersample] | Lists the private endpoints in the cluster. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_ListByCluster.json | +| [streamingJobsCreateOrReplaceSample.ts][streamingjobscreateorreplacesample] | Creates a streaming job or replaces an already existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_CompleteJob.json | +| [streamingJobsDeleteSample.ts][streamingjobsdeletesample] | Deletes a streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Delete.json | +| [streamingJobsGetSample.ts][streamingjobsgetsample] | Gets details about the specified streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_NoExpand.json | +| [streamingJobsListByResourceGroupSample.ts][streamingjobslistbyresourcegroupsample] | Lists all of the streaming jobs in the specified resource group. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json | +| [streamingJobsListSample.ts][streamingjobslistsample] | Lists all of the streaming jobs in the given subscription. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json | +| [streamingJobsScaleSample.ts][streamingjobsscalesample] | Scales a streaming job when the job is running. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Scale.json | +| [streamingJobsStartSample.ts][streamingjobsstartsample] | Starts a streaming job. Once a job is started it will start processing input events and produce output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_CustomTime.json | +| [streamingJobsStopSample.ts][streamingjobsstopsample] | Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Stop.json | +| [streamingJobsUpdateSample.ts][streamingjobsupdatesample] | Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Update.json | +| [subscriptionsListQuotasSample.ts][subscriptionslistquotassample] | Retrieves the subscription's current quota information in a particular region. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Subscription_ListQuotas.json | +| [transformationsCreateOrReplaceSample.ts][transformationscreateorreplacesample] | Creates a transformation or replaces an already existing transformation under an existing streaming job. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json | +| [transformationsGetSample.ts][transformationsgetsample] | Gets details about the specified transformation. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Get.json | +| [transformationsUpdateSample.ts][transformationsupdatesample] | Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Update.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/clustersCreateOrUpdateSample.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 node dist/clustersCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[clusterscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersCreateOrUpdateSample.ts +[clustersdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersDeleteSample.ts +[clustersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersGetSample.ts +[clusterslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListByResourceGroupSample.ts +[clusterslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListBySubscriptionSample.ts +[clustersliststreamingjobssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListStreamingJobsSample.ts +[clustersupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersUpdateSample.ts +[functionscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsCreateOrReplaceSample.ts +[functionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsDeleteSample.ts +[functionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsGetSample.ts +[functionslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsListByStreamingJobSample.ts +[functionsretrievedefaultdefinitionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsRetrieveDefaultDefinitionSample.ts +[functionstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsTestSample.ts +[functionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsUpdateSample.ts +[inputscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsCreateOrReplaceSample.ts +[inputsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsDeleteSample.ts +[inputsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsGetSample.ts +[inputslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsListByStreamingJobSample.ts +[inputstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsTestSample.ts +[inputsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsUpdateSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/operationsListSample.ts +[outputscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsCreateOrReplaceSample.ts +[outputsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsDeleteSample.ts +[outputsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsGetSample.ts +[outputslistbystreamingjobsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsListByStreamingJobSample.ts +[outputstestsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsTestSample.ts +[outputsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsUpdateSample.ts +[privateendpointscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsCreateOrUpdateSample.ts +[privateendpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsDeleteSample.ts +[privateendpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsGetSample.ts +[privateendpointslistbyclustersample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsListByClusterSample.ts +[streamingjobscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsCreateOrReplaceSample.ts +[streamingjobsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsDeleteSample.ts +[streamingjobsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsGetSample.ts +[streamingjobslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListByResourceGroupSample.ts +[streamingjobslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListSample.ts +[streamingjobsscalesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsScaleSample.ts +[streamingjobsstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStartSample.ts +[streamingjobsstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStopSample.ts +[streamingjobsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsUpdateSample.ts +[subscriptionslistquotassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/subscriptionsListQuotasSample.ts +[transformationscreateorreplacesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsCreateOrReplaceSample.ts +[transformationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsGetSample.ts +[transformationsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsUpdateSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-streamanalytics?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/streamanalytics/arm-streamanalytics/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/package.json b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/package.json new file mode 100644 index 000000000000..4b04bd28a8d7 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-streamanalytics-ts", + "private": true, + "version": "1.0.0", + "description": " 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/streamanalytics/arm-streamanalytics" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/streamanalytics/arm-streamanalytics", + "dependencies": { + "@azure/arm-streamanalytics": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/sample.env b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersCreateOrUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersCreateOrUpdateSample.ts new file mode 100644 index 000000000000..6806dd4bf733 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Cluster, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Stream Analytics Cluster or replaces an already existing cluster. + * + * @summary Creates a Stream Analytics Cluster or replaces an already existing cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Create.json + */ +async function createANewCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "An Example Cluster"; + const cluster: Cluster = { + location: "North US", + sku: { name: "Default", capacity: 48 }, + tags: { key: "value" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginCreateOrUpdateAndWait( + resourceGroupName, + clusterName, + cluster + ); + console.log(result); +} + +createANewCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersDeleteSample.ts new file mode 100644 index 000000000000..5fe8ac6f11ef --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersDeleteSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the specified cluster. + * + * @summary Deletes the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Delete.json + */ +async function deleteACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginDeleteAndWait( + resourceGroupName, + clusterName + ); + console.log(result); +} + +deleteACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersGetSample.ts new file mode 100644 index 000000000000..e253a30214de --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets information about the specified cluster. + * + * @summary Gets information about the specified cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Get.json + */ +async function getACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.get(resourceGroupName, clusterName); + console.log(result); +} + +getACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListByResourceGroupSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListByResourceGroupSample.ts new file mode 100644 index 000000000000..58f7ef5f6fd3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListByResourceGroupSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the clusters in the given resource group. + * + * @summary Lists all of the clusters in the given resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListByResourceGroup.json + */ +async function listClustersInResourceGroup() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listClustersInResourceGroup().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListBySubscriptionSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListBySubscriptionSample.ts new file mode 100644 index 000000000000..e6dd12b2e168 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListBySubscriptionSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the clusters in the given subscription. + * + * @summary Lists all of the clusters in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListBySubscription.json + */ +async function listTheClustersInASubscription() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listTheClustersInASubscription().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListStreamingJobsSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListStreamingJobsSample.ts new file mode 100644 index 000000000000..7691043f9c69 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersListStreamingJobsSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given cluster. + * + * @summary Lists all of the streaming jobs in the given cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_ListStreamingJobs.json + */ +async function listAllStreamingJobsInCluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.clusters.listStreamingJobs( + resourceGroupName, + clusterName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInCluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersUpdateSample.ts new file mode 100644 index 000000000000..8d7cc97e4075 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/clustersUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Cluster, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * + * @summary Updates an existing cluster. This can be used to partially update (ie. update one or two properties) a cluster without affecting the rest of the cluster definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Cluster_Update.json + */ +async function updateACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const cluster: Cluster = { location: "Central US", sku: { capacity: 96 } }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.clusters.beginUpdateAndWait( + resourceGroupName, + clusterName, + cluster + ); + console.log(result); +} + +updateACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..438a485fbca5 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsCreateOrReplaceSample.ts @@ -0,0 +1,98 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FunctionModel, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_JavaScript.json + */ +async function createAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (x, y) { return x + y; }" + }, + inputs: [{ dataType: "Any" }], + output: { dataType: "Any" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Creates a function or replaces an already existing function under an existing streaming job. + * + * @summary Creates a function or replaces an already existing function under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Create_AzureML.json + */ +async function createAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.MachineLearning/WebService", + apiKey: "someApiKey==", + batchSize: 1000, + endpoint: "someAzureMLEndpointURL", + inputs: { + name: "input1", + columnNames: [{ name: "tweet", dataType: "string", mapTo: 0 }] + }, + outputs: [{ name: "Sentiment", dataType: "string" }] + }, + inputs: [{ dataType: "nvarchar(max)" }], + output: { dataType: "nvarchar(max)" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.createOrReplace( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +createAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsDeleteSample.ts new file mode 100644 index 000000000000..4fe1f4878b3f --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a function from the streaming job. + * + * @summary Deletes a function from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Delete.json + */ +async function deleteAFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.delete( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +deleteAFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsGetSample.ts new file mode 100644 index 000000000000..7c034d7b47f0 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsGetSample.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_JavaScript.json + */ +async function getAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.get( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +getAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified function. + * + * @summary Gets details about the specified function. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Get_AzureML.json + */ +async function getAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.get( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +getAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsListByStreamingJobSample.ts new file mode 100644 index 000000000000..605b4606e400 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsListByStreamingJobSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the functions under the specified streaming job. + * + * @summary Lists all of the functions under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_ListByStreamingJob.json + */ +async function listAllFunctionsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.functions.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllFunctionsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsRetrieveDefaultDefinitionSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsRetrieveDefaultDefinitionSample.ts new file mode 100644 index 000000000000..a5c486ec299d --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsRetrieveDefaultDefinitionSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, + FunctionsRetrieveDefaultDefinitionOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the default definition of a function based on the parameters specified. + * + * @summary Retrieves the default definition of a function based on the parameters specified. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json + */ +async function retrieveTheDefaultDefinitionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionRetrieveDefaultDefinitionParameters: AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = { + bindingType: "Microsoft.MachineLearning/WebService", + executeEndpoint: "someAzureMLExecuteEndpointUrl", + udfType: "Scalar" + }; + const options: FunctionsRetrieveDefaultDefinitionOptionalParams = { + functionRetrieveDefaultDefinitionParameters + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.retrieveDefaultDefinition( + resourceGroupName, + jobName, + functionName, + options + ); + console.log(result); +} + +retrieveTheDefaultDefinitionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsTestSample.ts new file mode 100644 index 000000000000..453a97149b51 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsTestSample.ts @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_JavaScript.json + */ +async function testTheConnectionForAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.beginTestAndWait( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +testTheConnectionForAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * + * @summary Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Test_AzureML.json + */ +async function testTheConnectionForAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.beginTestAndWait( + resourceGroupName, + jobName, + functionName + ); + console.log(result); +} + +testTheConnectionForAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsUpdateSample.ts new file mode 100644 index 000000000000..b83eef94059a --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/functionsUpdateSample.ts @@ -0,0 +1,84 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + FunctionModel, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_JavaScript.json + */ +async function updateAJavaScriptFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg1637"; + const jobName = "sj8653"; + const functionName = "function8197"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { + type: "Microsoft.StreamAnalytics/JavascriptUdf", + script: "function (a, b) { return a * b; }" + } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAJavaScriptFunction().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * + * @summary Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Function_Update_AzureML.json + */ +async function updateAnAzureMlFunction() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7"; + const jobName = "sj9093"; + const functionName = "function588"; + const functionParam: FunctionModel = { + properties: { + type: "Scalar", + binding: { type: "Microsoft.MachineLearning/WebService", batchSize: 5000 } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.functions.update( + resourceGroupName, + jobName, + functionName, + functionParam + ); + console.log(result); +} + +updateAnAzureMlFunction().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..a08dad893f8c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsCreateOrReplaceSample.ts @@ -0,0 +1,184 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Input, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_Blob_CSV.json + */ +async function createAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input: Input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [ + { accountKey: "someAccountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_EventHub_JSON.json + */ +async function createAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "sdkconsumergroup", + eventHubName: "sdkeventhub", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "someSharedAccessPolicyKey==", + sharedAccessPolicyName: "RootManageSharedAccessKey" + }, + serialization: { type: "Json", encoding: "UTF8" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_IoTHub_Avro.json + */ +async function createAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + consumerGroupName: "sdkconsumergroup", + endpoint: "messages/events", + iotHubNamespace: "iothub", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "owner" + }, + serialization: { type: "Avro" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an input or replaces an already existing input under an existing streaming job. + * + * @summary Creates an input or replaces an already existing input under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Stream_Blob_CSV.json + */ +async function createAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + sourcePartitionCount: 16, + storageAccounts: [ + { accountKey: "someAccountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.createOrReplace( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +createAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsDeleteSample.ts new file mode 100644 index 000000000000..58611a4d65af --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes an input from the streaming job. + * + * @summary Deletes an input from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Delete.json + */ +async function deleteAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.delete( + resourceGroupName, + jobName, + inputName + ); + console.log(result); +} + +deleteAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsGetSample.ts new file mode 100644 index 000000000000..2a4ab80c3a20 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsGetSample.ts @@ -0,0 +1,100 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Reference_Blob_CSV.json + */ +async function getAReferenceBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAReferenceBlobInputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_EventHub_JSON.json + */ +async function getAStreamEventHubInputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamEventHubInputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_IoTHub_Avro.json + */ +async function getAStreamIoTHubInputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamIoTHubInputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified input. + * + * @summary Gets details about the specified input. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Get_Stream_Blob_CSV.json + */ +async function getAStreamBlobInputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.get(resourceGroupName, jobName, inputName); + console.log(result); +} + +getAStreamBlobInputWithCsvSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsListByStreamingJobSample.ts new file mode 100644 index 000000000000..db515ca0a3a7 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsListByStreamingJobSample.ts @@ -0,0 +1,74 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + InputsListByStreamingJobOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob.json + */ +async function listAllInputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJob().catch(console.error); + +/** + * This sample demonstrates how to Lists all of the inputs under the specified streaming job. + * + * @summary Lists all of the inputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_ListByStreamingJob_Diagnostics.json + */ +async function listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const select = "*"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options: InputsListByStreamingJobOptionalParams = { select }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.inputs.listByStreamingJob( + resourceGroupName, + jobName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsTestSample.ts new file mode 100644 index 000000000000..cfed5e91c153 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsTestSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Test.json + */ +async function testTheConnectionForAnInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.beginTestAndWait( + resourceGroupName, + jobName, + inputName + ); + console.log(result); +} + +testTheConnectionForAnInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsUpdateSample.ts new file mode 100644 index 000000000000..15f3b91cd51b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/inputsUpdateSample.ts @@ -0,0 +1,160 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Input, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Reference_Blob.json + */ +async function updateAReferenceBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8440"; + const jobName = "sj9597"; + const inputName = "input7225"; + const input: Input = { + properties: { + type: "Reference", + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAReferenceBlobInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_EventHub.json + */ +async function updateAStreamEventHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3139"; + const jobName = "sj197"; + const inputName = "input7425"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.ServiceBus/EventHub", + consumerGroupName: "differentConsumerGroupName" + }, + serialization: { type: "Avro" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamEventHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_IoTHub.json + */ +async function updateAStreamIoTHubInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3467"; + const jobName = "sj9742"; + const inputName = "input7970"; + const input: Input = { + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Devices/IotHubs", + endpoint: "messages/operationsMonitoringEvents" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamIoTHubInput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * + * @summary Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Update_Stream_Blob.json + */ +async function updateAStreamBlobInput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg8161"; + const jobName = "sj6695"; + const inputName = "input8899"; + const input: Input = { + properties: { + type: "Stream", + datasource: { type: "Microsoft.Storage/Blob", sourcePartitionCount: 32 }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.inputs.update( + resourceGroupName, + jobName, + inputName, + input + ); + console.log(result); +} + +updateAStreamBlobInput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/operationsListSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..4be38c714711 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/operationsListSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Stream Analytics related operations. + * + * @summary Lists all of the available Stream Analytics related operations. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Operation_List.json + */ +async function listAvailableOperationsForTheStreamAnalyticsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheStreamAnalyticsResourceProvider().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..af3e8ee97381 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsCreateOrReplaceSample.ts @@ -0,0 +1,364 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Output, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_DocumentDB.json + */ +async function createADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + accountId: "someAccountId", + accountKey: "accountKey==", + collectionNamePattern: "collection", + database: "db01", + documentId: "documentId", + partitionKey: "key" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_PowerBI.json + */ +async function createAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "PowerBI", + dataset: "someDataset", + groupId: "ac40305e-3e8d-43ac-8161-c33799f43e95", + groupName: "MyPowerBIGroup", + refreshToken: "someRefreshToken==", + table: "someTable", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusQueue_Avro.json + */ +async function createAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + propertyColumns: ["column1", "column2"], + queueName: "sdkqueue", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + systemPropertyColumns: { MessageId: "col3", PartitionKey: "col4" } + }, + serialization: { type: "Avro" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_ServiceBusTopic_CSV.json + */ +async function createAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + propertyColumns: ["column1", "column2"], + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey", + topicName: "sdktopic" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_Blob_CSV.json + */ +async function createABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "state", + dateFormat: "yyyy/MM/dd", + pathPattern: "{date}/{time}", + storageAccounts: [ + { accountKey: "accountKey==", accountName: "someAccountName" } + ], + timeFormat: "HH" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "," } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json + */ +async function createAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "someaccount", + dateFormat: "yyyy/MM/dd", + filePathPrefix: "{date}/{time}", + refreshToken: "someRefreshToken==", + tenantId: "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + timeFormat: "HH", + tokenUserDisplayName: "Bob Smith", + tokenUserPrincipalName: "bobsmith@contoso.com" + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureSQL.json + */ +async function createAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output: Output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "someDatabase", + password: "somePassword", + server: "someServer", + table: "someTable", + user: "" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_AzureTable.json + */ +async function createAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Table", + accountKey: "accountKey==", + accountName: "someAccountName", + batchSize: 25, + columnsToRemove: ["column1", "column2"], + partitionKey: "partitionKey", + rowKey: "rowKey", + table: "samples" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Creates an output or replaces an already existing output under an existing streaming job. + * + * @summary Creates an output or replaces an already existing output under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_EventHub_JSON.json + */ +async function createAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + eventHubName: "sdkeventhub", + partitionKey: "partitionKey", + serviceBusNamespace: "sdktest", + sharedAccessPolicyKey: "sharedAccessPolicyKey=", + sharedAccessPolicyName: "RootManageSharedAccessKey" + }, + serialization: { type: "Json", format: "Array", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.createOrReplace( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +createAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsDeleteSample.ts new file mode 100644 index 000000000000..bd49eef9a3e8 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes an output from the streaming job. + * + * @summary Deletes an output from the streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Delete.json + */ +async function deleteAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.delete( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +deleteAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsGetSample.ts new file mode 100644 index 000000000000..d156cf6a5ac3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DocumentDB.json + */ +async function getADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_PowerBI.json + */ +async function getAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusQueue_Avro.json + */ +async function getAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_ServiceBusTopic_CSV.json + */ +async function getAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_Blob_CSV.json + */ +async function getABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json + */ +async function getAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_DataWarehouse.json + */ +async function getAnAzureDataWarehouseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg"; + const jobName = "sjName"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureDataWarehouseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureSQL.json + */ +async function getAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_AzureTable.json + */ +async function getAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified output. + * + * @summary Gets details about the specified output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Get_EventHub_JSON.json + */ +async function getAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.get( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +getAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsListByStreamingJobSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsListByStreamingJobSample.ts new file mode 100644 index 000000000000..429ed5072a70 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsListByStreamingJobSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the outputs under the specified streaming job. + * + * @summary Lists all of the outputs under the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_ListByStreamingJob.json + */ +async function listAllOutputsInAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.outputs.listByStreamingJob( + resourceGroupName, + jobName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllOutputsInAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsTestSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsTestSample.ts new file mode 100644 index 000000000000..7ec1c4353e0f --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsTestSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * + * @summary Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Test.json + */ +async function testTheConnectionForAnOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.beginTestAndWait( + resourceGroupName, + jobName, + outputName + ); + console.log(result); +} + +testTheConnectionForAnOutput().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsUpdateSample.ts new file mode 100644 index 000000000000..565793c9ced3 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/outputsUpdateSample.ts @@ -0,0 +1,314 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Output, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_DocumentDB.json + */ +async function updateADocumentDbOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/DocumentDB", + partitionKey: "differentPartitionKey" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateADocumentDbOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_PowerBI.json + */ +async function updateAPowerBiOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg7983"; + const jobName = "sj2331"; + const outputName = "output3022"; + const output: Output = { + datasource: { type: "PowerBI", dataset: "differentDataset" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAPowerBiOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusQueue.json + */ +async function updateAServiceBusQueueOutputWithAvroSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3410"; + const jobName = "sj5095"; + const outputName = "output3456"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Queue", + queueName: "differentQueueName" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAServiceBusQueueOutputWithAvroSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_ServiceBusTopic.json + */ +async function updateAServiceBusTopicOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6450"; + const jobName = "sj7094"; + const outputName = "output7886"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/Topic", + topicName: "differentTopicName" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAServiceBusTopicOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_Blob.json + */ +async function updateABlobOutputWithCsvSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5023"; + const jobName = "sj900"; + const outputName = "output1623"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Blob", + container: "differentContainer" + }, + serialization: { type: "Csv", encoding: "UTF8", fieldDelimiter: "|" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateABlobOutputWithCsvSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureDataLakeStore.json + */ +async function updateAnAzureDataLakeStoreOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.DataLake/Accounts", + accountName: "differentaccount" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureDataLakeStoreOutputWithJsonSerialization().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureSQL.json + */ +async function updateAnAzureSqlDatabaseOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg2157"; + const jobName = "sj6458"; + const outputName = "output1755"; + const output: Output = { + datasource: { + type: "Microsoft.Sql/Server/Database", + table: "differentTable" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureSqlDatabaseOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_AzureTable.json + */ +async function updateAnAzureTableOutput() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg5176"; + const jobName = "sj2790"; + const outputName = "output958"; + const output: Output = { + datasource: { + type: "Microsoft.Storage/Table", + partitionKey: "differentPartitionKey" + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnAzureTableOutput().catch(console.error); + +/** + * This sample demonstrates how to Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * + * @summary Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Update_EventHub.json + */ +async function updateAnEventHubOutputWithJsonSerialization() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6912"; + const jobName = "sj3310"; + const outputName = "output5195"; + const output: Output = { + datasource: { + type: "Microsoft.ServiceBus/EventHub", + partitionKey: "differentPartitionKey" + }, + serialization: { type: "Json", format: "LineSeparated", encoding: "UTF8" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.outputs.update( + resourceGroupName, + jobName, + outputName, + output + ); + console.log(result); +} + +updateAnEventHubOutputWithJsonSerialization().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsCreateOrUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..ec3be3ee3dd4 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsCreateOrUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateEndpoint, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * + * @summary Creates a Stream Analytics Private Endpoint or replaces an already existing Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Create.json + */ +async function createAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const privateEndpoint: PrivateEndpoint = { + manualPrivateLinkServiceConnections: [ + { + groupIds: ["groupIdFromResource"], + privateLinkServiceId: + "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls" + } + ] + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.createOrUpdate( + resourceGroupName, + clusterName, + privateEndpointName, + privateEndpoint + ); + console.log(result); +} + +createAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsDeleteSample.ts new file mode 100644 index 000000000000..59185264786c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete the specified private endpoint. + * + * @summary Delete the specified private endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Delete.json + */ +async function deleteAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.beginDeleteAndWait( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +deleteAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsGetSample.ts new file mode 100644 index 000000000000..bea6f14456dd --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets information about the specified Private Endpoint. + * + * @summary Gets information about the specified Private Endpoint. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_Get.json + */ +async function getAPrivateEndpoint() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const privateEndpointName = "testpe"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.privateEndpoints.get( + resourceGroupName, + clusterName, + privateEndpointName + ); + console.log(result); +} + +getAPrivateEndpoint().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsListByClusterSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsListByClusterSample.ts new file mode 100644 index 000000000000..8213fa0e3371 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/privateEndpointsListByClusterSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists the private endpoints in the cluster. + * + * @summary Lists the private endpoints in the cluster. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/PrivateEndpoint_ListByCluster.json + */ +async function getThePrivateEndpointsInACluster() { + const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; + const resourceGroupName = "sjrg"; + const clusterName = "testcluster"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.privateEndpoints.listByCluster( + resourceGroupName, + clusterName + )) { + resArray.push(item); + } + console.log(resArray); +} + +getThePrivateEndpointsInACluster().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..be2c7b6fd0cd --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsCreateOrReplaceSample.ts @@ -0,0 +1,130 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJob, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_CompleteJob.json + */ +async function createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const streamingJob: StreamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 5, + eventsOutOfOrderMaxDelayInSeconds: 0, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [ + { + name: "inputtest", + properties: { + type: "Stream", + datasource: { + type: "Microsoft.Storage/Blob", + container: "containerName", + pathPattern: "", + storageAccounts: [ + { accountKey: "yourAccountKey==", accountName: "yourAccountName" } + ] + }, + serialization: { type: "Json", encoding: "UTF8" } + } + } + ], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [ + { + name: "outputtest", + datasource: { + type: "Microsoft.Sql/Server/Database", + database: "databaseName", + password: "userPassword", + server: "serverName", + table: "tableName", + user: "" + } + } + ], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" }, + transformation: { + name: "transformationtest", + query: "Select Id, Name from inputtest", + streamingUnits: 1 + } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a streaming job or replaces an already existing streaming job. + * + * @summary Creates a streaming job or replaces an already existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Create_JobShell.json + */ +async function createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob: StreamingJob = { + compatibilityLevel: "1.0", + dataLocale: "en-US", + eventsLateArrivalMaxDelayInSeconds: 16, + eventsOutOfOrderMaxDelayInSeconds: 5, + eventsOutOfOrderPolicy: "Drop", + functions: [], + inputs: [], + location: "West US", + outputErrorPolicy: "Drop", + outputs: [], + sku: { name: "Standard" }, + tags: { key1: "value1", key3: "value3", randomKey: "randomValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginCreateOrReplaceAndWait( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +createAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsDeleteSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsDeleteSample.ts new file mode 100644 index 000000000000..8f7b5abead8e --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsDeleteSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a streaming job. + * + * @summary Deletes a streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Delete.json + */ +async function deleteAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginDeleteAndWait( + resourceGroupName, + jobName + ); + console.log(result); +} + +deleteAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsGetSample.ts new file mode 100644 index 000000000000..30b85d6df599 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsGetSample.ts @@ -0,0 +1,65 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsGetOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_NoExpand.json + */ +async function getAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.get(resourceGroupName, jobName); + console.log(result); +} + +getAStreamingJobAndDoNotUseTheExpandODataQueryParameter().catch(console.error); + +/** + * This sample demonstrates how to Gets details about the specified streaming job. + * + * @summary Gets details about the specified streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Get_Expand.json + */ +async function getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const jobName = "sj7804"; + const options: StreamingJobsGetOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.get( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +getAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListByResourceGroupSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListByResourceGroupSample.ts new file mode 100644 index 000000000000..63b825b0aede --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListByResourceGroupSample.ts @@ -0,0 +1,72 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsListByResourceGroupOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json + */ +async function listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the specified resource group. + * + * @summary Lists all of the streaming jobs in the specified resource group. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json + */ +async function listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const resourceGroupName = "sjrg3276"; + const options: StreamingJobsListByResourceGroupOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.listByResourceGroup( + resourceGroupName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListSample.ts new file mode 100644 index 000000000000..6ec259cf8dd2 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsListSample.ts @@ -0,0 +1,65 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJobsListOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json + */ +async function listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all of the streaming jobs in the given subscription. + * + * @summary Lists all of the streaming jobs in the given subscription. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_List_BySubscription_Expand.json + */ +async function listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const expand = "inputs,outputs,transformation,functions"; + const options: StreamingJobsListOptionalParams = { expand }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const resArray = new Array(); + for await (let item of client.streamingJobs.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions().catch( + console.error +); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsScaleSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsScaleSample.ts new file mode 100644 index 000000000000..8a0217642804 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsScaleSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ScaleStreamingJobParameters, + StreamingJobsScaleOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Scales a streaming job when the job is running. + * + * @summary Scales a streaming job when the job is running. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Scale.json + */ +async function scaleAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const scaleJobParameters: ScaleStreamingJobParameters = { + streamingUnits: 36 + }; + const options: StreamingJobsScaleOptionalParams = { scaleJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginScaleAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +scaleAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStartSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStartSample.ts new file mode 100644 index 000000000000..2f5c8d5ef291 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStartSample.ts @@ -0,0 +1,104 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StartStreamingJobParameters, + StreamingJobsStartOptionalParams, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_CustomTime.json + */ +async function startAStreamingJobWithCustomTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "CustomTime", + outputStartTime: new Date("2012-12-12T12:12:12Z") + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithCustomTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_JobStartTime.json + */ +async function startAStreamingJobWithJobStartTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "JobStartTime" + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithJobStartTimeOutputStartMode().catch(console.error); + +/** + * This sample demonstrates how to Starts a streaming job. Once a job is started it will start processing input events and produce output. + * + * @summary Starts a streaming job. Once a job is started it will start processing input events and produce output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Start_LastOutputEventTime.json + */ +async function startAStreamingJobWithLastOutputEventTimeOutputStartMode() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const startJobParameters: StartStreamingJobParameters = { + outputStartMode: "LastOutputEventTime" + }; + const options: StreamingJobsStartOptionalParams = { startJobParameters }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStartAndWait( + resourceGroupName, + jobName, + options + ); + console.log(result); +} + +startAStreamingJobWithLastOutputEventTimeOutputStartMode().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStopSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStopSample.ts new file mode 100644 index 000000000000..db382719985c --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsStopSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * + * @summary Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Stop.json + */ +async function stopAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.beginStopAndWait( + resourceGroupName, + jobName + ); + console.log(result); +} + +stopAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsUpdateSample.ts new file mode 100644 index 000000000000..bd87378f1d85 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/streamingJobsUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + StreamingJob, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * + * @summary Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/StreamingJob_Update.json + */ +async function updateAStreamingJob() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg6936"; + const jobName = "sj59"; + const streamingJob: StreamingJob = { + eventsLateArrivalMaxDelayInSeconds: 13, + eventsOutOfOrderMaxDelayInSeconds: 21 + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.streamingJobs.update( + resourceGroupName, + jobName, + streamingJob + ); + console.log(result); +} + +updateAStreamingJob().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/subscriptionsListQuotasSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/subscriptionsListQuotasSample.ts new file mode 100644 index 000000000000..b009cac38aad --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/subscriptionsListQuotasSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Retrieves the subscription's current quota information in a particular region. + * + * @summary Retrieves the subscription's current quota information in a particular region. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Subscription_ListQuotas.json + */ +async function listSubscriptionQuotaInformationInWestUs() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const location = "West US"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.subscriptions.listQuotas(location); + console.log(result); +} + +listSubscriptionQuotaInformationInWestUs().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsCreateOrReplaceSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsCreateOrReplaceSample.ts new file mode 100644 index 000000000000..053a8fa97c9b --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsCreateOrReplaceSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Transformation, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a transformation or replaces an already existing transformation under an existing streaming job. + * + * @summary Creates a transformation or replaces an already existing transformation under an existing streaming job. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Create.json + */ +async function createATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation: Transformation = { + query: "Select Id, Name from inputtest", + streamingUnits: 6 + }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.createOrReplace( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +createATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsGetSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsGetSample.ts new file mode 100644 index 000000000000..d26670abd963 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { StreamAnalyticsManagementClient } from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about the specified transformation. + * + * @summary Gets details about the specified transformation. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Get.json + */ +async function getATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.get( + resourceGroupName, + jobName, + transformationName + ); + console.log(result); +} + +getATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsUpdateSample.ts b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsUpdateSample.ts new file mode 100644 index 000000000000..f4039f692816 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/src/transformationsUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Transformation, + StreamAnalyticsManagementClient +} from "@azure/arm-streamanalytics"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * + * @summary Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition. + * x-ms-original-file: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Transformation_Update.json + */ +async function updateATransformation() { + const subscriptionId = "56b5e0a9-b645-407d-99b0-c64f86013e3d"; + const resourceGroupName = "sjrg4423"; + const jobName = "sj8374"; + const transformationName = "transformation952"; + const transformation: Transformation = { query: "New query" }; + const credential = new DefaultAzureCredential(); + const client = new StreamAnalyticsManagementClient( + credential, + subscriptionId + ); + const result = await client.transformations.update( + resourceGroupName, + jobName, + transformationName, + transformation + ); + console.log(result); +} + +updateATransformation().catch(console.error); diff --git a/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/tsconfig.json b/sdk/streamanalytics/arm-streamanalytics/samples/v4/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/streamanalytics/arm-streamanalytics/samples/v4/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/streamanalytics/arm-streamanalytics/src/models/parameters.ts b/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts index 9ce4507d8402..ad4c6df5ebc0 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/models/parameters.ts @@ -255,7 +255,7 @@ export const functionName: OperationURLParameter = { }; export const functionParam1: OperationParameter = { - parameterPath: ["options", "functionParam"], + parameterPath: ["options", "function"], mapper: FunctionModelMapper }; diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts index b1cc98cf05f4..fe6c5c071b72 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/clusters.ts @@ -280,10 +280,12 @@ export class ClustersImpl implements Clusters { { resourceGroupName, clusterName, cluster, options }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -373,10 +375,12 @@ export class ClustersImpl implements Clusters { { resourceGroupName, clusterName, cluster, options }, updateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -475,10 +479,12 @@ export class ClustersImpl implements Clusters { { resourceGroupName, clusterName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts index 8a88a9fb3559..3aca853c1b93 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/functions.ts @@ -281,10 +281,12 @@ export class FunctionsImpl implements Functions { { resourceGroupName, jobName, functionName, options }, testOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/inputs.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/inputs.ts index 3d0f1512e230..bab092d78097 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/inputs.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/inputs.ts @@ -276,10 +276,12 @@ export class InputsImpl implements Inputs { { resourceGroupName, jobName, inputName, options }, testOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/outputs.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/outputs.ts index 540a7c473160..d82a5d7bb3b9 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/outputs.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/outputs.ts @@ -277,10 +277,12 @@ export class OutputsImpl implements Outputs { { resourceGroupName, jobName, outputName, options }, testOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/privateEndpoints.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/privateEndpoints.ts index e90b4b3daace..33a838529a24 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/privateEndpoints.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/privateEndpoints.ts @@ -215,10 +215,12 @@ export class PrivateEndpointsImpl implements PrivateEndpoints { { resourceGroupName, clusterName, privateEndpointName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/operations/streamingJobs.ts b/sdk/streamanalytics/arm-streamanalytics/src/operations/streamingJobs.ts index 4591939222b1..6321ea882bab 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/operations/streamingJobs.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/operations/streamingJobs.ts @@ -207,10 +207,12 @@ export class StreamingJobsImpl implements StreamingJobs { { resourceGroupName, jobName, streamingJob, options }, createOrReplaceOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -314,10 +316,12 @@ export class StreamingJobsImpl implements StreamingJobs { { resourceGroupName, jobName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -433,10 +437,12 @@ export class StreamingJobsImpl implements StreamingJobs { { resourceGroupName, jobName, options }, startOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -511,10 +517,12 @@ export class StreamingJobsImpl implements StreamingJobs { { resourceGroupName, jobName, options }, stopOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -588,10 +596,12 @@ export class StreamingJobsImpl implements StreamingJobs { { resourceGroupName, jobName, options }, scaleOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts index 83921827c07e..fec4aedf1359 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, @@ -64,7 +65,7 @@ export class StreamAnalyticsManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-streamanalytics/4.0.0`; + const packageDetails = `azsdk-js-arm-streamanalytics/4.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -79,9 +80,33 @@ export class StreamAnalyticsManagementClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/streamanalytics/arm-streamanalytics/tsconfig.json b/sdk/streamanalytics/arm-streamanalytics/tsconfig.json index 6e3251194117..b12af4296073 100644 --- a/sdk/streamanalytics/arm-streamanalytics/tsconfig.json +++ b/sdk/streamanalytics/arm-streamanalytics/tsconfig.json @@ -9,11 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true + "importHelpers": true, + "paths": { + "@azure/arm-streamanalytics": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/streamanalytics/ci.mgmt.yml b/sdk/streamanalytics/ci.mgmt.yml index fff154729ffd..901c335d2056 100644 --- a/sdk/streamanalytics/ci.mgmt.yml +++ b/sdk/streamanalytics/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/streamanalytics/ci.mgmt.yml - - sdk/streamanalytics/arm-streamanalytics/ + - sdk/streamanalytics/arm-streamanalytics pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/streamanalytics/ci.mgmt.yml - - sdk/streamanalytics/arm-streamanalytics/ - + - sdk/streamanalytics/arm-streamanalytics extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: streamanalytics Artifacts: - name: azure-arm-streamanalytics - safeName: azurearmstreamanalytics \ No newline at end of file + safeName: azurearmstreamanalytics diff --git a/sdk/subscription/arm-subscriptions/CHANGELOG.md b/sdk/subscription/arm-subscriptions/CHANGELOG.md index fb9c331fdb7f..7f307bbaf612 100644 --- a/sdk/subscription/arm-subscriptions/CHANGELOG.md +++ b/sdk/subscription/arm-subscriptions/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 5.0.1 (Unreleased) +## 5.0.2 (Unreleased) ### Features Added @@ -10,6 +10,12 @@ ### Other Changes +## 5.0.1 (2022-05-05) + +**Features** + + - Bug fix + ## 5.0.0 (2022-01-17) **Features** diff --git a/sdk/subscription/arm-subscriptions/README.md b/sdk/subscription/arm-subscriptions/README.md index 164861ff0676..8d92e557c0cd 100644 --- a/sdk/subscription/arm-subscriptions/README.md +++ b/sdk/subscription/arm-subscriptions/README.md @@ -16,6 +16,8 @@ The subscription client - [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][azure_sub]. @@ -49,7 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { SubscriptionClient } = require("@azure/arm-subscriptions"); const { DefaultAzureCredential } = require("@azure/identity"); -const client = new SubscriptionClient(new DefaultAzureCredential()); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + +const subscriptionId = "00000000-0000-0000-0000-000000000000"; +const client = new SubscriptionClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new SubscriptionClient(credential, subscriptionId); ``` diff --git a/sdk/subscription/arm-subscriptions/_meta.json b/sdk/subscription/arm-subscriptions/_meta.json index ae946505ff16..248c3600c0d6 100644 --- a/sdk/subscription/arm-subscriptions/_meta.json +++ b/sdk/subscription/arm-subscriptions/_meta.json @@ -1,7 +1,8 @@ { - "commit": "dc439efcfc15448824877603f66fc1578d1c71c5", - "readme": "specification/subscription/resource-manager/readme.md", - "autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/subscription/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\subscription\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\subscription\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/subscription/arm-subscriptions/api-extractor.json b/sdk/subscription/arm-subscriptions/api-extractor.json index e1f72ad999fb..eae1968fab0d 100644 --- a/sdk/subscription/arm-subscriptions/api-extractor.json +++ b/sdk/subscription/arm-subscriptions/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-subscriptions.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/subscription/arm-subscriptions/package.json b/sdk/subscription/arm-subscriptions/package.json index b513444b621d..213d63b1b7b2 100644 --- a/sdk/subscription/arm-subscriptions/package.json +++ b/sdk/subscription/arm-subscriptions/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SubscriptionClient.", - "version": "5.0.1", + "version": "5.0.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-subscriptions.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -98,5 +98,21 @@ "docs": "echo skipped" }, "sideEffects": false, - "autoPublish": true + "//metadata": { + "constantPaths": [ + { + "path": "src/subscriptionClient.ts", + "prefix": "packageDetails" + } + ] + }, + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-subscriptions?view=azure-node-preview" + } } diff --git a/sdk/subscription/arm-subscriptions/rollup.config.js b/sdk/subscription/arm-subscriptions/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/subscription/arm-subscriptions/rollup.config.js +++ b/sdk/subscription/arm-subscriptions/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/subscription/arm-subscriptions/sample.env b/sdk/subscription/arm-subscriptions/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/subscription/arm-subscriptions/samples-dev/aliasCreateSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/aliasCreateSample.ts new file mode 100644 index 000000000000..b5e970a6c12a --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/aliasCreateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PutAliasRequest, SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create Alias Subscription. + * + * @summary Create Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json + */ +async function createAlias() { + const aliasName = "aliasForNewSub"; + const body: PutAliasRequest = { + properties: { + additionalProperties: { + managementGroupId: undefined, + subscriptionOwnerId: "f09b39eb-c496-482c-9ab9-afd799572f4c", + subscriptionTenantId: "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8", + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" } + }, + billingScope: + "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH", + displayName: "Test Subscription", + subscriptionId: undefined, + workload: "Production" + } + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.beginCreateAndWait(aliasName, body); + console.log(result); +} + +createAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/aliasDeleteSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/aliasDeleteSample.ts new file mode 100644 index 000000000000..6358d4ff6bd8 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/aliasDeleteSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete Alias. + * + * @summary Delete Alias. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json + */ +async function deleteAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.delete(aliasName); + console.log(result); +} + +deleteAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/aliasGetSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/aliasGetSample.ts new file mode 100644 index 000000000000..dfc22689f0d3 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/aliasGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get Alias Subscription. + * + * @summary Get Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json + */ +async function getAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.get(aliasName); + console.log(result); +} + +getAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/aliasListSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/aliasListSample.ts new file mode 100644 index 000000000000..bd44bfd1948e --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/aliasListSample.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to List Alias Subscription. + * + * @summary List Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json + */ +async function listAlias() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.list(); + console.log(result); +} + +listAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/billingAccountGetPolicySample.ts b/sdk/subscription/arm-subscriptions/samples-dev/billingAccountGetPolicySample.ts new file mode 100644 index 000000000000..ee4bfc6741f4 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/billingAccountGetPolicySample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get Billing Account Policy. + * + * @summary Get Billing Account Policy. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json + */ +async function getBillingAccountPolicy() { + const billingAccountId = "testBillingAccountId"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.billingAccount.getPolicy(billingAccountId); + console.log(result); +} + +getBillingAccountPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/operationsListSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..c75ea9d8a7df --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/operationsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Microsoft.Subscription API operations. + * + * @summary Lists all of the available Microsoft.Subscription API operations. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getOperations.json + */ +async function getOperations() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getOperations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipSample.ts new file mode 100644 index 000000000000..82d667137688 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AcceptOwnershipRequest, + SubscriptionClient +} from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Accept subscription ownership. + * + * @summary Accept subscription ownership. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json + */ +async function acceptOwnership() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const body: AcceptOwnershipRequest = { + properties: { + displayName: "Test Subscription", + managementGroupId: undefined, + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.beginAcceptOwnershipAndWait( + subscriptionId, + body + ); + console.log(result); +} + +acceptOwnership().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipStatusSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipStatusSample.ts new file mode 100644 index 000000000000..a9aa97366ed2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionAcceptOwnershipStatusSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Accept subscription ownership status. + * + * @summary Accept subscription ownership status. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json + */ +async function acceptOwnershipStatus() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.acceptOwnershipStatus( + subscriptionId + ); + console.log(result); +} + +acceptOwnershipStatus().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionCancelSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionCancelSample.ts new file mode 100644 index 000000000000..2e1d808c680d --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionCancelSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to cancel a subscription + * + * @summary The operation to cancel a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json + */ +async function cancelSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.cancel(subscriptionId); + console.log(result); +} + +cancelSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionEnableSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionEnableSample.ts new file mode 100644 index 000000000000..9840ab6a83f5 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionEnableSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to enable a subscription + * + * @summary The operation to enable a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json + */ +async function enableSubscription() { + const subscriptionId = "7948bcee-488c-47ce-941c-38e20ede803d"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.enable(subscriptionId); + console.log(result); +} + +enableSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyAddUpdatePolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyAddUpdatePolicyForTenantSample.ts new file mode 100644 index 000000000000..e60a43eb96f2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyAddUpdatePolicyForTenantSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PutTenantPolicyRequestProperties, + SubscriptionClient +} from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or Update Subscription tenant policy for user's tenant. + * + * @summary Create or Update Subscription tenant policy for user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json + */ +async function tenantPolicy() { + const body: PutTenantPolicyRequestProperties = { + blockSubscriptionsIntoTenant: true, + blockSubscriptionsLeavingTenant: true, + exemptedPrincipals: [ + "e879cf0f-2b4d-5431-109a-f72fc9868693", + "9792da87-c97b-410d-a97d-27021ba09ce6" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.addUpdatePolicyForTenant(body); + console.log(result); +} + +tenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyGetPolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyGetPolicyForTenantSample.ts new file mode 100644 index 000000000000..54a2a9c0b536 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyGetPolicyForTenantSample.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json + */ +async function getTenantPolicy() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.getPolicyForTenant(); + console.log(result); +} + +getTenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyListPolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyListPolicyForTenantSample.ts new file mode 100644 index 000000000000..0e8186bdba18 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionPolicyListPolicyForTenantSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicyList.json + */ +async function getTenantPolicyList() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptionPolicy.listPolicyForTenant()) { + resArray.push(item); + } + console.log(resArray); +} + +getTenantPolicyList().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionRenameSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionRenameSample.ts new file mode 100644 index 000000000000..b465bbefc761 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionRenameSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionName, SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to rename a subscription + * + * @summary The operation to rename a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json + */ +async function renameSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const body: SubscriptionName = { subscriptionName: "Test Sub" }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.rename( + subscriptionId, + body + ); + console.log(result); +} + +renameSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsGetSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsGetSample.ts new file mode 100644 index 000000000000..03d5d0d64898 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about a specified subscription. + * + * @summary Gets details about a specified subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/getSubscription.json + */ +async function getSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptions.get(subscriptionId); + console.log(result); +} + +getSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListLocationsSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListLocationsSample.ts new file mode 100644 index 000000000000..d393c95d93d5 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListLocationsSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * + * @summary This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listLocations.json + */ +async function listLocations() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.listLocations(subscriptionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listLocations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListSample.ts new file mode 100644 index 000000000000..dfed9bbcdf92 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/subscriptionsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all subscriptions for a tenant. + * + * @summary Gets all subscriptions for a tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listSubscriptions.json + */ +async function listSubscriptions() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSubscriptions().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples-dev/tenantsListSample.ts b/sdk/subscription/arm-subscriptions/samples-dev/tenantsListSample.ts new file mode 100644 index 000000000000..76b837bcaa42 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples-dev/tenantsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the tenants for your account. + * + * @summary Gets the tenants for your account. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listTenants.json + */ +async function listTenants() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.tenants.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listTenants().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/README.md b/sdk/subscription/arm-subscriptions/samples/v5/javascript/README.md new file mode 100644 index 000000000000..006cbe7e0013 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/README.md @@ -0,0 +1,84 @@ +# client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [aliasCreateSample.js][aliascreatesample] | Create Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json | +| [aliasDeleteSample.js][aliasdeletesample] | Delete Alias. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json | +| [aliasGetSample.js][aliasgetsample] | Get Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json | +| [aliasListSample.js][aliaslistsample] | List Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json | +| [billingAccountGetPolicySample.js][billingaccountgetpolicysample] | Get Billing Account Policy. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available Microsoft.Subscription API operations. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getOperations.json | +| [subscriptionAcceptOwnershipSample.js][subscriptionacceptownershipsample] | Accept subscription ownership. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json | +| [subscriptionAcceptOwnershipStatusSample.js][subscriptionacceptownershipstatussample] | Accept subscription ownership status. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json | +| [subscriptionCancelSample.js][subscriptioncancelsample] | The operation to cancel a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json | +| [subscriptionEnableSample.js][subscriptionenablesample] | The operation to enable a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json | +| [subscriptionPolicyAddUpdatePolicyForTenantSample.js][subscriptionpolicyaddupdatepolicyfortenantsample] | Create or Update Subscription tenant policy for user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json | +| [subscriptionPolicyGetPolicyForTenantSample.js][subscriptionpolicygetpolicyfortenantsample] | Get the subscription tenant policy for the user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json | +| [subscriptionPolicyListPolicyForTenantSample.js][subscriptionpolicylistpolicyfortenantsample] | Get the subscription tenant policy for the user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicyList.json | +| [subscriptionRenameSample.js][subscriptionrenamesample] | The operation to rename a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json | +| [subscriptionsGetSample.js][subscriptionsgetsample] | Gets details about a specified subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/getSubscription.json | +| [subscriptionsListLocationsSample.js][subscriptionslistlocationssample] | This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listLocations.json | +| [subscriptionsListSample.js][subscriptionslistsample] | Gets all subscriptions for a tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listSubscriptions.json | +| [tenantsListSample.js][tenantslistsample] | Gets the tenants for your account. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listTenants.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 aliasCreateSample.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 node aliasCreateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[aliascreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasCreateSample.js +[aliasdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasDeleteSample.js +[aliasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasGetSample.js +[aliaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasListSample.js +[billingaccountgetpolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/billingAccountGetPolicySample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/operationsListSample.js +[subscriptionacceptownershipsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipSample.js +[subscriptionacceptownershipstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipStatusSample.js +[subscriptioncancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionCancelSample.js +[subscriptionenablesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionEnableSample.js +[subscriptionpolicyaddupdatepolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyAddUpdatePolicyForTenantSample.js +[subscriptionpolicygetpolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyGetPolicyForTenantSample.js +[subscriptionpolicylistpolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyListPolicyForTenantSample.js +[subscriptionrenamesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionRenameSample.js +[subscriptionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsGetSample.js +[subscriptionslistlocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListLocationsSample.js +[subscriptionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListSample.js +[tenantslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/javascript/tenantsListSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-subscriptions?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions/README.md diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasCreateSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasCreateSample.js new file mode 100644 index 000000000000..0738b10d3737 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasCreateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create Alias Subscription. + * + * @summary Create Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json + */ +async function createAlias() { + const aliasName = "aliasForNewSub"; + const body = { + properties: { + additionalProperties: { + managementGroupId: undefined, + subscriptionOwnerId: "f09b39eb-c496-482c-9ab9-afd799572f4c", + subscriptionTenantId: "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8", + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" }, + }, + billingScope: + "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH", + displayName: "Test Subscription", + subscriptionId: undefined, + workload: "Production", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.beginCreateAndWait(aliasName, body); + console.log(result); +} + +createAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasDeleteSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasDeleteSample.js new file mode 100644 index 000000000000..4fa69a3c3b2c --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasDeleteSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete Alias. + * + * @summary Delete Alias. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json + */ +async function deleteAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.delete(aliasName); + console.log(result); +} + +deleteAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasGetSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasGetSample.js new file mode 100644 index 000000000000..ff501c9a7d97 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasGetSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get Alias Subscription. + * + * @summary Get Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json + */ +async function getAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.get(aliasName); + console.log(result); +} + +getAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasListSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasListSample.js new file mode 100644 index 000000000000..4e79a0e567d5 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/aliasListSample.js @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to List Alias Subscription. + * + * @summary List Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json + */ +async function listAlias() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.list(); + console.log(result); +} + +listAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/billingAccountGetPolicySample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/billingAccountGetPolicySample.js new file mode 100644 index 000000000000..7acebdc075b2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/billingAccountGetPolicySample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get Billing Account Policy. + * + * @summary Get Billing Account Policy. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json + */ +async function getBillingAccountPolicy() { + const billingAccountId = "testBillingAccountId"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.billingAccount.getPolicy(billingAccountId); + console.log(result); +} + +getBillingAccountPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/operationsListSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/operationsListSample.js new file mode 100644 index 000000000000..a085a47245dc --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/operationsListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the available Microsoft.Subscription API operations. + * + * @summary Lists all of the available Microsoft.Subscription API operations. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getOperations.json + */ +async function getOperations() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getOperations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/package.json b/sdk/subscription/arm-subscriptions/samples/v5/javascript/package.json new file mode 100644 index 000000000000..f0ac49643b8b --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-subscriptions-js", + "private": true, + "version": "1.0.0", + "description": " 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/subscription/arm-subscriptions" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/subscription/arm-subscriptions", + "dependencies": { + "@azure/arm-subscriptions": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/sample.env b/sdk/subscription/arm-subscriptions/samples/v5/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipSample.js new file mode 100644 index 000000000000..ba3790bfb39e --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Accept subscription ownership. + * + * @summary Accept subscription ownership. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json + */ +async function acceptOwnership() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const body = { + properties: { + displayName: "Test Subscription", + managementGroupId: undefined, + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" }, + }, + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.beginAcceptOwnershipAndWait( + subscriptionId, + body + ); + console.log(result); +} + +acceptOwnership().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipStatusSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipStatusSample.js new file mode 100644 index 000000000000..620b2815f275 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionAcceptOwnershipStatusSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Accept subscription ownership status. + * + * @summary Accept subscription ownership status. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json + */ +async function acceptOwnershipStatus() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.acceptOwnershipStatus(subscriptionId); + console.log(result); +} + +acceptOwnershipStatus().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionCancelSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionCancelSample.js new file mode 100644 index 000000000000..a7b04c382af9 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionCancelSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to The operation to cancel a subscription + * + * @summary The operation to cancel a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json + */ +async function cancelSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.cancel(subscriptionId); + console.log(result); +} + +cancelSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionEnableSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionEnableSample.js new file mode 100644 index 000000000000..c52c2b28989e --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionEnableSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to The operation to enable a subscription + * + * @summary The operation to enable a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json + */ +async function enableSubscription() { + const subscriptionId = "7948bcee-488c-47ce-941c-38e20ede803d"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.enable(subscriptionId); + console.log(result); +} + +enableSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyAddUpdatePolicyForTenantSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyAddUpdatePolicyForTenantSample.js new file mode 100644 index 000000000000..1c8118dd2980 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyAddUpdatePolicyForTenantSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or Update Subscription tenant policy for user's tenant. + * + * @summary Create or Update Subscription tenant policy for user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json + */ +async function tenantPolicy() { + const body = { + blockSubscriptionsIntoTenant: true, + blockSubscriptionsLeavingTenant: true, + exemptedPrincipals: [ + "e879cf0f-2b4d-5431-109a-f72fc9868693", + "9792da87-c97b-410d-a97d-27021ba09ce6", + ], + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.addUpdatePolicyForTenant(body); + console.log(result); +} + +tenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyGetPolicyForTenantSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyGetPolicyForTenantSample.js new file mode 100644 index 000000000000..de9564819064 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyGetPolicyForTenantSample.js @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json + */ +async function getTenantPolicy() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.getPolicyForTenant(); + console.log(result); +} + +getTenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyListPolicyForTenantSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyListPolicyForTenantSample.js new file mode 100644 index 000000000000..c0ac99fcd669 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionPolicyListPolicyForTenantSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicyList.json + */ +async function getTenantPolicyList() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptionPolicy.listPolicyForTenant()) { + resArray.push(item); + } + console.log(resArray); +} + +getTenantPolicyList().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionRenameSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionRenameSample.js new file mode 100644 index 000000000000..c099eb6c3ec2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionRenameSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to The operation to rename a subscription + * + * @summary The operation to rename a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json + */ +async function renameSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const body = { subscriptionName: "Test Sub" }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.rename(subscriptionId, body); + console.log(result); +} + +renameSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsGetSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsGetSample.js new file mode 100644 index 000000000000..c90aa2592e8b --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsGetSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets details about a specified subscription. + * + * @summary Gets details about a specified subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/getSubscription.json + */ +async function getSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptions.get(subscriptionId); + console.log(result); +} + +getSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListLocationsSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListLocationsSample.js new file mode 100644 index 000000000000..d291eaaa59b6 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListLocationsSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * + * @summary This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listLocations.json + */ +async function listLocations() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.listLocations(subscriptionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listLocations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListSample.js new file mode 100644 index 000000000000..dd013188870a --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/subscriptionsListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all subscriptions for a tenant. + * + * @summary Gets all subscriptions for a tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listSubscriptions.json + */ +async function listSubscriptions() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSubscriptions().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/javascript/tenantsListSample.js b/sdk/subscription/arm-subscriptions/samples/v5/javascript/tenantsListSample.js new file mode 100644 index 000000000000..dabfab35ac5e --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/javascript/tenantsListSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { SubscriptionClient } = require("@azure/arm-subscriptions"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the tenants for your account. + * + * @summary Gets the tenants for your account. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listTenants.json + */ +async function listTenants() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.tenants.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listTenants().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/README.md b/sdk/subscription/arm-subscriptions/samples/v5/typescript/README.md new file mode 100644 index 000000000000..0e41e9b65d29 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/README.md @@ -0,0 +1,97 @@ +# client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [aliasCreateSample.ts][aliascreatesample] | Create Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json | +| [aliasDeleteSample.ts][aliasdeletesample] | Delete Alias. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json | +| [aliasGetSample.ts][aliasgetsample] | Get Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json | +| [aliasListSample.ts][aliaslistsample] | List Alias Subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json | +| [billingAccountGetPolicySample.ts][billingaccountgetpolicysample] | Get Billing Account Policy. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available Microsoft.Subscription API operations. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getOperations.json | +| [subscriptionAcceptOwnershipSample.ts][subscriptionacceptownershipsample] | Accept subscription ownership. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json | +| [subscriptionAcceptOwnershipStatusSample.ts][subscriptionacceptownershipstatussample] | Accept subscription ownership status. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json | +| [subscriptionCancelSample.ts][subscriptioncancelsample] | The operation to cancel a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json | +| [subscriptionEnableSample.ts][subscriptionenablesample] | The operation to enable a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json | +| [subscriptionPolicyAddUpdatePolicyForTenantSample.ts][subscriptionpolicyaddupdatepolicyfortenantsample] | Create or Update Subscription tenant policy for user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json | +| [subscriptionPolicyGetPolicyForTenantSample.ts][subscriptionpolicygetpolicyfortenantsample] | Get the subscription tenant policy for the user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json | +| [subscriptionPolicyListPolicyForTenantSample.ts][subscriptionpolicylistpolicyfortenantsample] | Get the subscription tenant policy for the user's tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicyList.json | +| [subscriptionRenameSample.ts][subscriptionrenamesample] | The operation to rename a subscription x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json | +| [subscriptionsGetSample.ts][subscriptionsgetsample] | Gets details about a specified subscription. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/getSubscription.json | +| [subscriptionsListLocationsSample.ts][subscriptionslistlocationssample] | This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listLocations.json | +| [subscriptionsListSample.ts][subscriptionslistsample] | Gets all subscriptions for a tenant. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listSubscriptions.json | +| [tenantsListSample.ts][tenantslistsample] | Gets the tenants for your account. x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listTenants.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/aliasCreateSample.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 node dist/aliasCreateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[aliascreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasCreateSample.ts +[aliasdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasDeleteSample.ts +[aliasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasGetSample.ts +[aliaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasListSample.ts +[billingaccountgetpolicysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/billingAccountGetPolicySample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/operationsListSample.ts +[subscriptionacceptownershipsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipSample.ts +[subscriptionacceptownershipstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipStatusSample.ts +[subscriptioncancelsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionCancelSample.ts +[subscriptionenablesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionEnableSample.ts +[subscriptionpolicyaddupdatepolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyAddUpdatePolicyForTenantSample.ts +[subscriptionpolicygetpolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyGetPolicyForTenantSample.ts +[subscriptionpolicylistpolicyfortenantsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyListPolicyForTenantSample.ts +[subscriptionrenamesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionRenameSample.ts +[subscriptionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsGetSample.ts +[subscriptionslistlocationssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListLocationsSample.ts +[subscriptionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListSample.ts +[tenantslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/tenantsListSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-subscriptions?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/package.json b/sdk/subscription/arm-subscriptions/samples/v5/typescript/package.json new file mode 100644 index 000000000000..b24fb0eba4e1 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-subscriptions-ts", + "private": true, + "version": "1.0.0", + "description": " 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/subscription/arm-subscriptions" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/subscription/arm-subscriptions", + "dependencies": { + "@azure/arm-subscriptions": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/sample.env b/sdk/subscription/arm-subscriptions/samples/v5/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasCreateSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasCreateSample.ts new file mode 100644 index 000000000000..b5e970a6c12a --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasCreateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PutAliasRequest, SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create Alias Subscription. + * + * @summary Create Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json + */ +async function createAlias() { + const aliasName = "aliasForNewSub"; + const body: PutAliasRequest = { + properties: { + additionalProperties: { + managementGroupId: undefined, + subscriptionOwnerId: "f09b39eb-c496-482c-9ab9-afd799572f4c", + subscriptionTenantId: "66f6e4d6-07dc-4aea-94ea-e12d3026a3c8", + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" } + }, + billingScope: + "/billingAccounts/af6231a7-7f8d-4fcc-a993-dd8466108d07:c663dac6-a9a5-405a-8938-cd903e12ab5b_2019_05_31/billingProfiles/QWDQ-QWHI-AUW-SJDO-DJH/invoiceSections/FEUF-EUHE-ISJ-SKDW-DJH", + displayName: "Test Subscription", + subscriptionId: undefined, + workload: "Production" + } + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.beginCreateAndWait(aliasName, body); + console.log(result); +} + +createAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasDeleteSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasDeleteSample.ts new file mode 100644 index 000000000000..6358d4ff6bd8 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasDeleteSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete Alias. + * + * @summary Delete Alias. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json + */ +async function deleteAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.delete(aliasName); + console.log(result); +} + +deleteAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasGetSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasGetSample.ts new file mode 100644 index 000000000000..dfc22689f0d3 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get Alias Subscription. + * + * @summary Get Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json + */ +async function getAlias() { + const aliasName = "aliasForNewSub"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.get(aliasName); + console.log(result); +} + +getAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasListSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasListSample.ts new file mode 100644 index 000000000000..bd44bfd1948e --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/aliasListSample.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to List Alias Subscription. + * + * @summary List Alias Subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json + */ +async function listAlias() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.alias.list(); + console.log(result); +} + +listAlias().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/billingAccountGetPolicySample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/billingAccountGetPolicySample.ts new file mode 100644 index 000000000000..ee4bfc6741f4 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/billingAccountGetPolicySample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get Billing Account Policy. + * + * @summary Get Billing Account Policy. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json + */ +async function getBillingAccountPolicy() { + const billingAccountId = "testBillingAccountId"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.billingAccount.getPolicy(billingAccountId); + console.log(result); +} + +getBillingAccountPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/operationsListSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..c75ea9d8a7df --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/operationsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Microsoft.Subscription API operations. + * + * @summary Lists all of the available Microsoft.Subscription API operations. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getOperations.json + */ +async function getOperations() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getOperations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipSample.ts new file mode 100644 index 000000000000..82d667137688 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AcceptOwnershipRequest, + SubscriptionClient +} from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Accept subscription ownership. + * + * @summary Accept subscription ownership. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json + */ +async function acceptOwnership() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const body: AcceptOwnershipRequest = { + properties: { + displayName: "Test Subscription", + managementGroupId: undefined, + tags: { tag1: "Messi", tag2: "Ronaldo", tag3: "Lebron" } + } + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.beginAcceptOwnershipAndWait( + subscriptionId, + body + ); + console.log(result); +} + +acceptOwnership().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipStatusSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipStatusSample.ts new file mode 100644 index 000000000000..a9aa97366ed2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionAcceptOwnershipStatusSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Accept subscription ownership status. + * + * @summary Accept subscription ownership status. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json + */ +async function acceptOwnershipStatus() { + const subscriptionId = "291bba3f-e0a5-47bc-a099-3bdcb2a50a05"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.acceptOwnershipStatus( + subscriptionId + ); + console.log(result); +} + +acceptOwnershipStatus().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionCancelSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionCancelSample.ts new file mode 100644 index 000000000000..2e1d808c680d --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionCancelSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to cancel a subscription + * + * @summary The operation to cancel a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json + */ +async function cancelSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.cancel(subscriptionId); + console.log(result); +} + +cancelSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionEnableSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionEnableSample.ts new file mode 100644 index 000000000000..9840ab6a83f5 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionEnableSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to enable a subscription + * + * @summary The operation to enable a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json + */ +async function enableSubscription() { + const subscriptionId = "7948bcee-488c-47ce-941c-38e20ede803d"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.enable(subscriptionId); + console.log(result); +} + +enableSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyAddUpdatePolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyAddUpdatePolicyForTenantSample.ts new file mode 100644 index 000000000000..e60a43eb96f2 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyAddUpdatePolicyForTenantSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PutTenantPolicyRequestProperties, + SubscriptionClient +} from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or Update Subscription tenant policy for user's tenant. + * + * @summary Create or Update Subscription tenant policy for user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json + */ +async function tenantPolicy() { + const body: PutTenantPolicyRequestProperties = { + blockSubscriptionsIntoTenant: true, + blockSubscriptionsLeavingTenant: true, + exemptedPrincipals: [ + "e879cf0f-2b4d-5431-109a-f72fc9868693", + "9792da87-c97b-410d-a97d-27021ba09ce6" + ] + }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.addUpdatePolicyForTenant(body); + console.log(result); +} + +tenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyGetPolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyGetPolicyForTenantSample.ts new file mode 100644 index 000000000000..54a2a9c0b536 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyGetPolicyForTenantSample.ts @@ -0,0 +1,27 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json + */ +async function getTenantPolicy() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionPolicy.getPolicyForTenant(); + console.log(result); +} + +getTenantPolicy().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyListPolicyForTenantSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyListPolicyForTenantSample.ts new file mode 100644 index 000000000000..0e8186bdba18 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionPolicyListPolicyForTenantSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription tenant policy for the user's tenant. + * + * @summary Get the subscription tenant policy for the user's tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicyList.json + */ +async function getTenantPolicyList() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptionPolicy.listPolicyForTenant()) { + resArray.push(item); + } + console.log(resArray); +} + +getTenantPolicyList().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionRenameSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionRenameSample.ts new file mode 100644 index 000000000000..b465bbefc761 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionRenameSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionName, SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to The operation to rename a subscription + * + * @summary The operation to rename a subscription + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json + */ +async function renameSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const body: SubscriptionName = { subscriptionName: "Test Sub" }; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptionOperations.rename( + subscriptionId, + body + ); + console.log(result); +} + +renameSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsGetSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsGetSample.ts new file mode 100644 index 000000000000..03d5d0d64898 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets details about a specified subscription. + * + * @summary Gets details about a specified subscription. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/getSubscription.json + */ +async function getSubscription() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const result = await client.subscriptions.get(subscriptionId); + console.log(result); +} + +getSubscription().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListLocationsSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListLocationsSample.ts new file mode 100644 index 000000000000..d393c95d93d5 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListLocationsSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * + * @summary This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listLocations.json + */ +async function listLocations() { + const subscriptionId = "83aa47df-e3e9-49ff-877b-94304bf3d3ad"; + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.listLocations(subscriptionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listLocations().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListSample.ts new file mode 100644 index 000000000000..dfed9bbcdf92 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/subscriptionsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all subscriptions for a tenant. + * + * @summary Gets all subscriptions for a tenant. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listSubscriptions.json + */ +async function listSubscriptions() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.subscriptions.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSubscriptions().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/tenantsListSample.ts b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/tenantsListSample.ts new file mode 100644 index 000000000000..76b837bcaa42 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/samples/v5/typescript/src/tenantsListSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SubscriptionClient } from "@azure/arm-subscriptions"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the tenants for your account. + * + * @summary Gets the tenants for your account. + * x-ms-original-file: specification/subscription/resource-manager/Microsoft.Subscription/stable/2016-06-01/examples/listTenants.json + */ +async function listTenants() { + const credential = new DefaultAzureCredential(); + const client = new SubscriptionClient(credential); + const resArray = new Array(); + for await (let item of client.tenants.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listTenants().catch(console.error); diff --git a/sdk/subscription/arm-subscriptions/samples/v5/typescript/tsconfig.json b/sdk/subscription/arm-subscriptions/samples/v5/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/subscription/arm-subscriptions/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/subscription/arm-subscriptions/src/operations/alias.ts b/sdk/subscription/arm-subscriptions/src/operations/alias.ts index c04684911d03..fbb5e1e0ff14 100644 --- a/sdk/subscription/arm-subscriptions/src/operations/alias.ts +++ b/sdk/subscription/arm-subscriptions/src/operations/alias.ts @@ -95,10 +95,12 @@ export class AliasImpl implements Alias { { aliasName, body, options }, createOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/subscription/arm-subscriptions/src/operations/subscriptionOperations.ts b/sdk/subscription/arm-subscriptions/src/operations/subscriptionOperations.ts index 4c28cfc786ce..a9800838cf2f 100644 --- a/sdk/subscription/arm-subscriptions/src/operations/subscriptionOperations.ts +++ b/sdk/subscription/arm-subscriptions/src/operations/subscriptionOperations.ts @@ -147,10 +147,12 @@ export class SubscriptionOperationsImpl implements SubscriptionOperations { { subscriptionId, body, options }, acceptOwnershipOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts b/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts index fa93e65267c1..6eb7dc8d7642 100644 --- a/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts +++ b/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { SubscriptionsImpl, @@ -53,7 +54,7 @@ export class SubscriptionClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-subscriptions/5.0.0`; + const packageDetails = `azsdk-js-arm-subscriptions/5.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -68,10 +69,34 @@ export class SubscriptionClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } + // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; this.subscriptions = new SubscriptionsImpl(this); diff --git a/sdk/subscription/arm-subscriptions/tsconfig.json b/sdk/subscription/arm-subscriptions/tsconfig.json index 6e3251194117..9889c4c576e3 100644 --- a/sdk/subscription/arm-subscriptions/tsconfig.json +++ b/sdk/subscription/arm-subscriptions/tsconfig.json @@ -9,11 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true + "importHelpers": true, + "paths": { + "@azure/arm-subscriptions": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/subscription/ci.mgmt.yml b/sdk/subscription/ci.mgmt.yml index a82830b1a2b7..5b594f700bcd 100644 --- a/sdk/subscription/ci.mgmt.yml +++ b/sdk/subscription/ci.mgmt.yml @@ -9,8 +9,8 @@ trigger: paths: include: - sdk/subscription/ci.mgmt.yml - - sdk/subscription/arm-subscription/ - sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid + - sdk/subscription/arm-subscriptions pr: branches: include: @@ -23,8 +23,8 @@ pr: paths: include: - sdk/subscription/ci.mgmt.yml - - sdk/subscription/arm-subscription/ - sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid + - sdk/subscription/arm-subscriptions extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: diff --git a/sdk/support/arm-support/CHANGELOG.md b/sdk/support/arm-support/CHANGELOG.md index 64b542e4bca0..ccf2dc49a88a 100644 --- a/sdk/support/arm-support/CHANGELOG.md +++ b/sdk/support/arm-support/CHANGELOG.md @@ -1,4 +1,20 @@ # Release History + +## 2.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 2.0.1 (2022-05-05) + +**Features** + + - Bug fix ## 2.0.0 (2022-01-21) diff --git a/sdk/support/arm-support/LICENSE.txt b/sdk/support/arm-support/LICENSE.txt deleted file mode 100644 index ea8fb1516028..000000000000 --- a/sdk/support/arm-support/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -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/support/arm-support/README.md b/sdk/support/arm-support/README.md index 23a8e52be59f..bb39e3718f10 100644 --- a/sdk/support/arm-support/README.md +++ b/sdk/support/arm-support/README.md @@ -16,6 +16,8 @@ Microsoft Azure Support Resource Provider. - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { MicrosoftSupport } = require("@azure/arm-support"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new MicrosoftSupport(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new MicrosoftSupport(credential, subscriptionId); ``` diff --git a/sdk/support/arm-support/_meta.json b/sdk/support/arm-support/_meta.json index cb546fdc7774..4e8c516dfb82 100644 --- a/sdk/support/arm-support/_meta.json +++ b/sdk/support/arm-support/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/support/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/support/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\support\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\support\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/support/arm-support/api-extractor.json b/sdk/support/arm-support/api-extractor.json index a53949664cec..ac215e9baf5d 100644 --- a/sdk/support/arm-support/api-extractor.json +++ b/sdk/support/arm-support/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-support.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/support/arm-support/package.json b/sdk/support/arm-support/package.json index 4dfb3cca34ef..5754c5659a5f 100644 --- a/sdk/support/arm-support/package.json +++ b/sdk/support/arm-support/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for MicrosoftSupport.", - "version": "2.0.0", + "version": "2.0.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-support.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -101,7 +101,7 @@ "//metadata": { "constantPaths": [ { - "path": "src/MicrosoftSupport.ts", + "path": "src/microsoftSupport.ts", "prefix": "packageDetails" } ] diff --git a/sdk/support/arm-support/rollup.config.js b/sdk/support/arm-support/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/support/arm-support/rollup.config.js +++ b/sdk/support/arm-support/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/support/arm-support/samples-dev/communicationsCheckNameAvailabilitySample.ts b/sdk/support/arm-support/samples-dev/communicationsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..d392672acc95 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/communicationsCheckNameAvailabilitySample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityInput, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json + */ +async function checksWhetherNameIsAvailableForCommunicationResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const checkNameAvailabilityInput: CheckNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/communications" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.checkNameAvailability( + supportTicketName, + checkNameAvailabilityInput + ); + console.log(result); +} + +checksWhetherNameIsAvailableForCommunicationResource().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/communicationsCreateSample.ts b/sdk/support/arm-support/samples-dev/communicationsCreateSample.ts new file mode 100644 index 000000000000..6c7ecee3b280 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/communicationsCreateSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { CommunicationDetails, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Adds a new customer communication to an Azure support ticket. + * + * @summary Adds a new customer communication to an Azure support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json + */ +async function addCommunicationToSubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testcommunication"; + const createCommunicationParameters: CommunicationDetails = { + body: "This is a test message from a customer!", + sender: "user@contoso.com", + subject: "This is a test message from a customer!" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.beginCreateAndWait( + supportTicketName, + communicationName, + createCommunicationParameters + ); + console.log(result); +} + +addCommunicationToSubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/communicationsGetSample.ts b/sdk/support/arm-support/samples-dev/communicationsGetSample.ts new file mode 100644 index 000000000000..78f06454762d --- /dev/null +++ b/sdk/support/arm-support/samples-dev/communicationsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns communication details for a support ticket. + * + * @summary Returns communication details for a support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json + */ +async function getCommunicationDetailsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testmessage"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.get( + supportTicketName, + communicationName + ); + console.log(result); +} + +getCommunicationDetailsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/communicationsListSample.ts b/sdk/support/arm-support/samples-dev/communicationsListSample.ts new file mode 100644 index 000000000000..bd1a74f5574d --- /dev/null +++ b/sdk/support/arm-support/samples-dev/communicationsListSample.ts @@ -0,0 +1,88 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CommunicationsListOptionalParams, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json + */ +async function listCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list(supportTicketName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCommunicationsForASubscriptionSupportTicket().catch(console.error); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json + */ +async function listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = + "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z"; + const options: CommunicationsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list( + supportTicketName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json + */ +async function listWebCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = "communicationType eq 'web'"; + const options: CommunicationsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list( + supportTicketName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/operationsListSample.ts b/sdk/support/arm-support/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..50af984b448b --- /dev/null +++ b/sdk/support/arm-support/samples-dev/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This lists all the available Microsoft Support REST API operations. + * + * @summary This lists all the available Microsoft Support REST API operations. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListOperations.json + */ +async function getAllOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAllOperations().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/problemClassificationsGetSample.ts b/sdk/support/arm-support/samples-dev/problemClassificationsGetSample.ts new file mode 100644 index 000000000000..04ba200a02dd --- /dev/null +++ b/sdk/support/arm-support/samples-dev/problemClassificationsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get problem classification details for a specific Azure service. + * + * @summary Get problem classification details for a specific Azure service. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetProblemClassification.json + */ +async function getsDetailsOfProblemClassificationForAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const problemClassificationName = "problemClassification_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.problemClassifications.get( + serviceName, + problemClassificationName + ); + console.log(result); +} + +getsDetailsOfProblemClassificationForAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/problemClassificationsListSample.ts b/sdk/support/arm-support/samples-dev/problemClassificationsListSample.ts new file mode 100644 index 000000000000..ae33f61872b2 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/problemClassificationsListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListProblemClassifications.json + */ +async function getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.problemClassifications.list(serviceName)) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated().catch( + console.error +); diff --git a/sdk/support/arm-support/samples-dev/servicesGetSample.ts b/sdk/support/arm-support/samples-dev/servicesGetSample.ts new file mode 100644 index 000000000000..febb48451fef --- /dev/null +++ b/sdk/support/arm-support/samples-dev/servicesGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a specific Azure service for support ticket creation. + * + * @summary Gets a specific Azure service for support ticket creation. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetService.json + */ +async function getsDetailsOfTheAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.services.get(serviceName); + console.log(result); +} + +getsDetailsOfTheAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/servicesListSample.ts b/sdk/support/arm-support/samples-dev/servicesListSample.ts new file mode 100644 index 000000000000..161a4a154fad --- /dev/null +++ b/sdk/support/arm-support/samples-dev/servicesListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListServices.json + */ +async function getsListOfServicesForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.services.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfServicesForWhichASupportTicketCanBeCreated().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/supportTicketsCheckNameAvailabilitySample.ts b/sdk/support/arm-support/samples-dev/supportTicketsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..b5f9654ae80a --- /dev/null +++ b/sdk/support/arm-support/samples-dev/supportTicketsCheckNameAvailabilitySample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityInput, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json + */ +async function checksWhetherNameIsAvailableForSupportTicketResource() { + const subscriptionId = "subid"; + const checkNameAvailabilityInput: CheckNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/supportTickets" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.checkNameAvailability( + checkNameAvailabilityInput + ); + console.log(result); +} + +checksWhetherNameIsAvailableForSupportTicketResource().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/supportTicketsCreateSample.ts b/sdk/support/arm-support/samples-dev/supportTicketsCreateSample.ts new file mode 100644 index 000000000000..7718993a7f70 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/supportTicketsCreateSample.ts @@ -0,0 +1,788 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SupportTicketDetails, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json + */ +async function createATicketForBillingRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/billing_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForBillingRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json + */ +async function createATicketForSubscriptionManagementRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + serviceId: + "/providers/Microsoft.Support/services/subscription_management_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForSubscriptionManagementRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateTechnicalSupportTicketForSubscription.json + */ +async function createATicketForTechnicalIssueRelatedToASpecificResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + serviceId: + "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + severity: "moderate", + technicalTicketDetails: { + resourceId: + "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForTechnicalIssueRelatedToASpecificResource().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json + */ +async function createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Jobs"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "SQLMI", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"vCore"}', + region: "EastUS" + }, + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"Subnet"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Subscription", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"NewLimit":200,"Type":"Account"}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateCoresQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForComputeVMCores() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"SKU":"DSv3 Series","NewLimit":104}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForComputeVMCores().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"NewLimit":200,"Type":"LowPriority"}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"LowPriority"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json + */ +async function createATicketToRequestQuotaIncreaseForPoolsForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Pools"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForPoolsForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForSqlDatabase().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateGenericQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: + "Increase the maximum throughput per container limit to 10000 for account foo bar", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: + '{"VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: + '{"AccountName":"test","VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount().catch( + console.error +); diff --git a/sdk/support/arm-support/samples-dev/supportTicketsGetSample.ts b/sdk/support/arm-support/samples-dev/supportTicketsGetSample.ts new file mode 100644 index 000000000000..52a2ebf31dd9 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/supportTicketsGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetSubscriptionSupportTicketDetails.json + */ +async function getDetailsOfASubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.get(supportTicketName); + console.log(result); +} + +getDetailsOfASubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/supportTicketsListSample.ts b/sdk/support/arm-support/samples-dev/supportTicketsListSample.ts new file mode 100644 index 000000000000..1c76d57dbbc2 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/supportTicketsListSample.ts @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SupportTicketsListOptionalParams, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json + */ +async function listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'"; + const options: SupportTicketsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsBySubscription.json + */ +async function listSupportTicketsForASubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsForASubscription().catch(console.error); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json + */ +async function listSupportTicketsInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "status eq 'Open'"; + const options: SupportTicketsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsInOpenStateForASubscription().catch(console.error); diff --git a/sdk/support/arm-support/samples-dev/supportTicketsUpdateSample.ts b/sdk/support/arm-support/samples-dev/supportTicketsUpdateSample.ts new file mode 100644 index 000000000000..07c9a43f4f94 --- /dev/null +++ b/sdk/support/arm-support/samples-dev/supportTicketsUpdateSample.ts @@ -0,0 +1,87 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { UpdateSupportTicket, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json + */ +async function updateContactDetailsOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { + contactDetails: { + additionalEmailAddresses: ["tname@contoso.com", "teamtest@contoso.com"], + country: "USA", + firstName: "first name", + lastName: "last name", + phoneNumber: "123-456-7890", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "test.name@contoso.com" + } + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateContactDetailsOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json + */ +async function updateSeverityOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { severity: "critical" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateSeverityOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json + */ +async function updateStatusOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { status: "closed" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateStatusOfASupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/README.md b/sdk/support/arm-support/samples/v2/javascript/README.md index c050b2fb8dee..688f5e83606a 100644 --- a/sdk/support/arm-support/samples/v2/javascript/README.md +++ b/sdk/support/arm-support/samples/v2/javascript/README.md @@ -7,6 +7,10 @@ These sample programs show how to use the JavaScript client libraries for in som | [addCommunicationToSubscriptionTicket.js][addcommunicationtosubscriptionticket] | Adds a new customer communication to an Azure support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json | | [checksWhetherNameIsAvailableForCommunicationResource.js][checkswhethernameisavailableforcommunicationresource] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json | | [checksWhetherNameIsAvailableForSupportTicketResource.js][checkswhethernameisavailableforsupportticketresource] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json | +| [communicationsCheckNameAvailabilitySample.js][communicationschecknameavailabilitysample] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json | +| [communicationsCreateSample.js][communicationscreatesample] | Adds a new customer communication to an Azure support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json | +| [communicationsGetSample.js][communicationsgetsample] | Returns communication details for a support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json | +| [communicationsListSample.js][communicationslistsample] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json | | [createATicketForBillingRelatedIssues.js][createaticketforbillingrelatedissues] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json | | [createATicketForSubscriptionManagementRelatedIssues.js][createaticketforsubscriptionmanagementrelatedissues] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json | | [createATicketForTechnicalIssueRelatedToASpecificResource.js][createaticketfortechnicalissuerelatedtoaspecificresource] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateTechnicalSupportTicketForSubscription.json | @@ -37,6 +41,16 @@ These sample programs show how to use the JavaScript client libraries for in som | [listSupportTicketsInOpenStateForASubscription.js][listsupportticketsinopenstateforasubscription] | Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json | | [listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js][listwebcommunicationcreatedonorafteraspecificdateforasubscriptionsupportticket] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json | | [listWebCommunicationsForASubscriptionSupportTicket.js][listwebcommunicationsforasubscriptionsupportticket] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json | +| [operationsListSample.js][operationslistsample] | This lists all the available Microsoft Support REST API operations. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListOperations.json | +| [problemClassificationsGetSample.js][problemclassificationsgetsample] | Get problem classification details for a specific Azure service. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetProblemClassification.json | +| [problemClassificationsListSample.js][problemclassificationslistsample] | Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListProblemClassifications.json | +| [servicesGetSample.js][servicesgetsample] | Gets a specific Azure service for support ticket creation. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetService.json | +| [servicesListSample.js][serviceslistsample] | Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListServices.json | +| [supportTicketsCheckNameAvailabilitySample.js][supportticketschecknameavailabilitysample] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json | +| [supportTicketsCreateSample.js][supportticketscreatesample] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json | +| [supportTicketsGetSample.js][supportticketsgetsample] | Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetSubscriptionSupportTicketDetails.json | +| [supportTicketsListSample.js][supportticketslistsample] | Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json | +| [supportTicketsUpdateSample.js][supportticketsupdatesample] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json | | [updateContactDetailsOfASupportTicket.js][updatecontactdetailsofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json | | [updateSeverityOfASupportTicket.js][updateseverityofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json | | [updateStatusOfASupportTicket.js][updatestatusofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json | @@ -82,6 +96,10 @@ Take a look at our [API Documentation][apiref] for more information about the AP [addcommunicationtosubscriptionticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/addCommunicationToSubscriptionTicket.js [checkswhethernameisavailableforcommunicationresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/checksWhetherNameIsAvailableForCommunicationResource.js [checkswhethernameisavailableforsupportticketresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/checksWhetherNameIsAvailableForSupportTicketResource.js +[communicationschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/communicationsCheckNameAvailabilitySample.js +[communicationscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/communicationsCreateSample.js +[communicationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/communicationsGetSample.js +[communicationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/communicationsListSample.js [createaticketforbillingrelatedissues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/createATicketForBillingRelatedIssues.js [createaticketforsubscriptionmanagementrelatedissues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/createATicketForSubscriptionManagementRelatedIssues.js [createaticketfortechnicalissuerelatedtoaspecificresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/createATicketForTechnicalIssueRelatedToASpecificResource.js @@ -112,6 +130,16 @@ Take a look at our [API Documentation][apiref] for more information about the AP [listsupportticketsinopenstateforasubscription]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/listSupportTicketsInOpenStateForASubscription.js [listwebcommunicationcreatedonorafteraspecificdateforasubscriptionsupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js [listwebcommunicationsforasubscriptionsupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/listWebCommunicationsForASubscriptionSupportTicket.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/operationsListSample.js +[problemclassificationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/problemClassificationsGetSample.js +[problemclassificationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/problemClassificationsListSample.js +[servicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/servicesGetSample.js +[serviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/servicesListSample.js +[supportticketschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/supportTicketsCheckNameAvailabilitySample.js +[supportticketscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/supportTicketsCreateSample.js +[supportticketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/supportTicketsGetSample.js +[supportticketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/supportTicketsListSample.js +[supportticketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/supportTicketsUpdateSample.js [updatecontactdetailsofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/updateContactDetailsOfASupportTicket.js [updateseverityofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/updateSeverityOfASupportTicket.js [updatestatusofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/javascript/updateStatusOfASupportTicket.js diff --git a/sdk/support/arm-support/samples/v2/javascript/communicationsCheckNameAvailabilitySample.js b/sdk/support/arm-support/samples/v2/javascript/communicationsCheckNameAvailabilitySample.js new file mode 100644 index 000000000000..9f4814adf7e9 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/communicationsCheckNameAvailabilitySample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json + */ +async function checksWhetherNameIsAvailableForCommunicationResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const checkNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/communications", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.checkNameAvailability( + supportTicketName, + checkNameAvailabilityInput + ); + console.log(result); +} + +checksWhetherNameIsAvailableForCommunicationResource().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/communicationsCreateSample.js b/sdk/support/arm-support/samples/v2/javascript/communicationsCreateSample.js new file mode 100644 index 000000000000..97f80dcc2bb8 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/communicationsCreateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Adds a new customer communication to an Azure support ticket. + * + * @summary Adds a new customer communication to an Azure support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json + */ +async function addCommunicationToSubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testcommunication"; + const createCommunicationParameters = { + body: "This is a test message from a customer!", + sender: "user@contoso.com", + subject: "This is a test message from a customer!", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.beginCreateAndWait( + supportTicketName, + communicationName, + createCommunicationParameters + ); + console.log(result); +} + +addCommunicationToSubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/communicationsGetSample.js b/sdk/support/arm-support/samples/v2/javascript/communicationsGetSample.js new file mode 100644 index 000000000000..7d05fc4405f6 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/communicationsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns communication details for a support ticket. + * + * @summary Returns communication details for a support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json + */ +async function getCommunicationDetailsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testmessage"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.get(supportTicketName, communicationName); + console.log(result); +} + +getCommunicationDetailsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/communicationsListSample.js b/sdk/support/arm-support/samples/v2/javascript/communicationsListSample.js new file mode 100644 index 000000000000..0ac66e1e6757 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/communicationsListSample.js @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json + */ +async function listCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list(supportTicketName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCommunicationsForASubscriptionSupportTicket().catch(console.error); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json + */ +async function listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list(supportTicketName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json + */ +async function listWebCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = "communicationType eq 'web'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list(supportTicketName, options)) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/operationsListSample.js b/sdk/support/arm-support/samples/v2/javascript/operationsListSample.js new file mode 100644 index 000000000000..cc4fbd762c55 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to This lists all the available Microsoft Support REST API operations. + * + * @summary This lists all the available Microsoft Support REST API operations. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListOperations.json + */ +async function getAllOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAllOperations().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/problemClassificationsGetSample.js b/sdk/support/arm-support/samples/v2/javascript/problemClassificationsGetSample.js new file mode 100644 index 000000000000..d9b037c946a8 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/problemClassificationsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get problem classification details for a specific Azure service. + * + * @summary Get problem classification details for a specific Azure service. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetProblemClassification.json + */ +async function getsDetailsOfProblemClassificationForAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const problemClassificationName = "problemClassification_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.problemClassifications.get(serviceName, problemClassificationName); + console.log(result); +} + +getsDetailsOfProblemClassificationForAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/problemClassificationsListSample.js b/sdk/support/arm-support/samples/v2/javascript/problemClassificationsListSample.js new file mode 100644 index 000000000000..127b0cf43be0 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/problemClassificationsListSample.js @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListProblemClassifications.json + */ +async function getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.problemClassifications.list(serviceName)) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated().catch( + console.error +); diff --git a/sdk/support/arm-support/samples/v2/javascript/servicesGetSample.js b/sdk/support/arm-support/samples/v2/javascript/servicesGetSample.js new file mode 100644 index 000000000000..c2b37f2f23e0 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/servicesGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a specific Azure service for support ticket creation. + * + * @summary Gets a specific Azure service for support ticket creation. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetService.json + */ +async function getsDetailsOfTheAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.services.get(serviceName); + console.log(result); +} + +getsDetailsOfTheAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/servicesListSample.js b/sdk/support/arm-support/samples/v2/javascript/servicesListSample.js new file mode 100644 index 000000000000..8afd8b8453e5 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/servicesListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListServices.json + */ +async function getsListOfServicesForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.services.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfServicesForWhichASupportTicketCanBeCreated().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/supportTicketsCheckNameAvailabilitySample.js b/sdk/support/arm-support/samples/v2/javascript/supportTicketsCheckNameAvailabilitySample.js new file mode 100644 index 000000000000..4f4754c0ac5a --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/supportTicketsCheckNameAvailabilitySample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json + */ +async function checksWhetherNameIsAvailableForSupportTicketResource() { + const subscriptionId = "subid"; + const checkNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/supportTickets", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.checkNameAvailability(checkNameAvailabilityInput); + console.log(result); +} + +checksWhetherNameIsAvailableForSupportTicketResource().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/supportTicketsCreateSample.js b/sdk/support/arm-support/samples/v2/javascript/supportTicketsCreateSample.js new file mode 100644 index 000000000000..d71e89d58fe0 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/supportTicketsCreateSample.js @@ -0,0 +1,762 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json + */ +async function createATicketForBillingRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/billing_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForBillingRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json + */ +async function createATicketForSubscriptionManagementRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/subscription_management_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForSubscriptionManagementRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateTechnicalSupportTicketForSubscription.json + */ +async function createATicketForTechnicalIssueRelatedToASpecificResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + severity: "moderate", + technicalTicketDetails: { + resourceId: + "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver", + }, + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForTechnicalIssueRelatedToASpecificResource().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json + */ +async function createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Jobs"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "SQLMI", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"vCore"}', + region: "EastUS", + }, + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"Subnet"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Subscription", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200,"Type":"Account"}', region: "EastUS" }], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateCoresQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForComputeVMCores() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"SKU":"DSv3 Series","NewLimit":104}', region: "EastUS" }], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForComputeVMCores().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200,"Type":"LowPriority"}', region: "EastUS" }], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"LowPriority"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json + */ +async function createATicketToRequestQuotaIncreaseForPoolsForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Pools"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForPoolsForABatchAccount().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForSqlDatabase().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateGenericQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "Increase the maximum throughput per container limit to 10000 for account foo bar", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com", + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: + '{"AccountName":"test","VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS", + }, + ], + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title", + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/supportTicketsGetSample.js b/sdk/support/arm-support/samples/v2/javascript/supportTicketsGetSample.js new file mode 100644 index 000000000000..3b0426848be1 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/supportTicketsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetSubscriptionSupportTicketDetails.json + */ +async function getDetailsOfASubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.get(supportTicketName); + console.log(result); +} + +getDetailsOfASubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/supportTicketsListSample.js b/sdk/support/arm-support/samples/v2/javascript/supportTicketsListSample.js new file mode 100644 index 000000000000..d00d2bc56abc --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/supportTicketsListSample.js @@ -0,0 +1,73 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json + */ +async function listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription().catch(console.error); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsBySubscription.json + */ +async function listSupportTicketsForASubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsForASubscription().catch(console.error); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json + */ +async function listSupportTicketsInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "status eq 'Open'"; + const options = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsInOpenStateForASubscription().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/javascript/supportTicketsUpdateSample.js b/sdk/support/arm-support/samples/v2/javascript/supportTicketsUpdateSample.js new file mode 100644 index 000000000000..9709a977016c --- /dev/null +++ b/sdk/support/arm-support/samples/v2/javascript/supportTicketsUpdateSample.js @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { MicrosoftSupport } = require("@azure/arm-support"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json + */ +async function updateContactDetailsOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket = { + contactDetails: { + additionalEmailAddresses: ["tname@contoso.com", "teamtest@contoso.com"], + country: "USA", + firstName: "first name", + lastName: "last name", + phoneNumber: "123-456-7890", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "test.name@contoso.com", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update(supportTicketName, updateSupportTicket); + console.log(result); +} + +updateContactDetailsOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json + */ +async function updateSeverityOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket = { severity: "critical" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update(supportTicketName, updateSupportTicket); + console.log(result); +} + +updateSeverityOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json + */ +async function updateStatusOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket = { status: "closed" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update(supportTicketName, updateSupportTicket); + console.log(result); +} + +updateStatusOfASupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/README.md b/sdk/support/arm-support/samples/v2/typescript/README.md index d7a0cac0241a..992c980f13ba 100644 --- a/sdk/support/arm-support/samples/v2/typescript/README.md +++ b/sdk/support/arm-support/samples/v2/typescript/README.md @@ -7,6 +7,10 @@ These sample programs show how to use the TypeScript client libraries for in som | [addCommunicationToSubscriptionTicket.ts][addcommunicationtosubscriptionticket] | Adds a new customer communication to an Azure support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json | | [checksWhetherNameIsAvailableForCommunicationResource.ts][checkswhethernameisavailableforcommunicationresource] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json | | [checksWhetherNameIsAvailableForSupportTicketResource.ts][checkswhethernameisavailableforsupportticketresource] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json | +| [communicationsCheckNameAvailabilitySample.ts][communicationschecknameavailabilitysample] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json | +| [communicationsCreateSample.ts][communicationscreatesample] | Adds a new customer communication to an Azure support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json | +| [communicationsGetSample.ts][communicationsgetsample] | Returns communication details for a support ticket. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json | +| [communicationsListSample.ts][communicationslistsample] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json | | [createATicketForBillingRelatedIssues.ts][createaticketforbillingrelatedissues] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json | | [createATicketForSubscriptionManagementRelatedIssues.ts][createaticketforsubscriptionmanagementrelatedissues] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json | | [createATicketForTechnicalIssueRelatedToASpecificResource.ts][createaticketfortechnicalissuerelatedtoaspecificresource] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateTechnicalSupportTicketForSubscription.json | @@ -37,6 +41,16 @@ These sample programs show how to use the TypeScript client libraries for in som | [listSupportTicketsInOpenStateForASubscription.ts][listsupportticketsinopenstateforasubscription] | Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json | | [listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.ts][listwebcommunicationcreatedonorafteraspecificdateforasubscriptionsupportticket] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json | | [listWebCommunicationsForASubscriptionSupportTicket.ts][listwebcommunicationsforasubscriptionsupportticket] | Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json | +| [operationsListSample.ts][operationslistsample] | This lists all the available Microsoft Support REST API operations. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListOperations.json | +| [problemClassificationsGetSample.ts][problemclassificationsgetsample] | Get problem classification details for a specific Azure service. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetProblemClassification.json | +| [problemClassificationsListSample.ts][problemclassificationslistsample] | Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListProblemClassifications.json | +| [servicesGetSample.ts][servicesgetsample] | Gets a specific Azure service for support ticket creation. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetService.json | +| [servicesListSample.ts][serviceslistsample] | Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListServices.json | +| [supportTicketsCheckNameAvailabilitySample.ts][supportticketschecknameavailabilitysample] | Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json | +| [supportTicketsCreateSample.ts][supportticketscreatesample] | Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json | +| [supportTicketsGetSample.ts][supportticketsgetsample] | Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetSubscriptionSupportTicketDetails.json | +| [supportTicketsListSample.ts][supportticketslistsample] | Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json | +| [supportTicketsUpdateSample.ts][supportticketsupdatesample] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json | | [updateContactDetailsOfASupportTicket.ts][updatecontactdetailsofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json | | [updateSeverityOfASupportTicket.ts][updateseverityofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json | | [updateStatusOfASupportTicket.ts][updatestatusofasupportticket] | This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json | @@ -94,6 +108,10 @@ Take a look at our [API Documentation][apiref] for more information about the AP [addcommunicationtosubscriptionticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/addCommunicationToSubscriptionTicket.ts [checkswhethernameisavailableforcommunicationresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/checksWhetherNameIsAvailableForCommunicationResource.ts [checkswhethernameisavailableforsupportticketresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/checksWhetherNameIsAvailableForSupportTicketResource.ts +[communicationschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/communicationsCheckNameAvailabilitySample.ts +[communicationscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/communicationsCreateSample.ts +[communicationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/communicationsGetSample.ts +[communicationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/communicationsListSample.ts [createaticketforbillingrelatedissues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/createATicketForBillingRelatedIssues.ts [createaticketforsubscriptionmanagementrelatedissues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/createATicketForSubscriptionManagementRelatedIssues.ts [createaticketfortechnicalissuerelatedtoaspecificresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/createATicketForTechnicalIssueRelatedToASpecificResource.ts @@ -124,6 +142,16 @@ Take a look at our [API Documentation][apiref] for more information about the AP [listsupportticketsinopenstateforasubscription]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/listSupportTicketsInOpenStateForASubscription.ts [listwebcommunicationcreatedonorafteraspecificdateforasubscriptionsupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.ts [listwebcommunicationsforasubscriptionsupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/listWebCommunicationsForASubscriptionSupportTicket.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/operationsListSample.ts +[problemclassificationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsGetSample.ts +[problemclassificationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsListSample.ts +[servicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/servicesGetSample.ts +[serviceslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/servicesListSample.ts +[supportticketschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCheckNameAvailabilitySample.ts +[supportticketscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCreateSample.ts +[supportticketsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsGetSample.ts +[supportticketslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsListSample.ts +[supportticketsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsUpdateSample.ts [updatecontactdetailsofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/updateContactDetailsOfASupportTicket.ts [updateseverityofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/updateSeverityOfASupportTicket.ts [updatestatusofasupportticket]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/support/arm-support/samples/v2/typescript/src/updateStatusOfASupportTicket.ts diff --git a/sdk/support/arm-support/samples/v2/typescript/src/communicationsCheckNameAvailabilitySample.ts b/sdk/support/arm-support/samples/v2/typescript/src/communicationsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..d392672acc95 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/communicationsCheckNameAvailabilitySample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityInput, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for adding a new communication to the support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json + */ +async function checksWhetherNameIsAvailableForCommunicationResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const checkNameAvailabilityInput: CheckNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/communications" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.checkNameAvailability( + supportTicketName, + checkNameAvailabilityInput + ); + console.log(result); +} + +checksWhetherNameIsAvailableForCommunicationResource().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/communicationsCreateSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/communicationsCreateSample.ts new file mode 100644 index 000000000000..6c7ecee3b280 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/communicationsCreateSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { CommunicationDetails, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Adds a new customer communication to an Azure support ticket. + * + * @summary Adds a new customer communication to an Azure support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSupportTicketCommunication.json + */ +async function addCommunicationToSubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testcommunication"; + const createCommunicationParameters: CommunicationDetails = { + body: "This is a test message from a customer!", + sender: "user@contoso.com", + subject: "This is a test message from a customer!" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.beginCreateAndWait( + supportTicketName, + communicationName, + createCommunicationParameters + ); + console.log(result); +} + +addCommunicationToSubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/communicationsGetSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/communicationsGetSample.ts new file mode 100644 index 000000000000..78f06454762d --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/communicationsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns communication details for a support ticket. + * + * @summary Returns communication details for a support ticket. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json + */ +async function getCommunicationDetailsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const communicationName = "testmessage"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.communications.get( + supportTicketName, + communicationName + ); + console.log(result); +} + +getCommunicationDetailsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/communicationsListSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/communicationsListSample.ts new file mode 100644 index 000000000000..bd1a74f5574d --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/communicationsListSample.ts @@ -0,0 +1,88 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CommunicationsListOptionalParams, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json + */ +async function listCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list(supportTicketName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCommunicationsForASubscriptionSupportTicket().catch(console.error); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json + */ +async function listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = + "communicationType eq 'web' and createdDate ge 2020-03-10T22:08:51Z"; + const options: CommunicationsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list( + supportTicketName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all communications (attachments not included) for a support ticket.

You can also filter support ticket communications by _CreatedDate_ or _CommunicationType_ using the $filter parameter. The only type of communication supported today is _Web_. Output will be a paged result with _nextLink_, using which you can retrieve the next set of Communication results.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json + */ +async function listWebCommunicationsForASubscriptionSupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const filter = "communicationType eq 'web'"; + const options: CommunicationsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.communications.list( + supportTicketName, + options + )) { + resArray.push(item); + } + console.log(resArray); +} + +listWebCommunicationsForASubscriptionSupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/operationsListSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..50af984b448b --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This lists all the available Microsoft Support REST API operations. + * + * @summary This lists all the available Microsoft Support REST API operations. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListOperations.json + */ +async function getAllOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getAllOperations().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsGetSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsGetSample.ts new file mode 100644 index 000000000000..04ba200a02dd --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get problem classification details for a specific Azure service. + * + * @summary Get problem classification details for a specific Azure service. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetProblemClassification.json + */ +async function getsDetailsOfProblemClassificationForAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const problemClassificationName = "problemClassification_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.problemClassifications.get( + serviceName, + problemClassificationName + ); + console.log(result); +} + +getsDetailsOfProblemClassificationForAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsListSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsListSample.ts new file mode 100644 index 000000000000..ae33f61872b2 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/problemClassificationsListSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListProblemClassifications.json + */ +async function getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.problemClassifications.list(serviceName)) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated().catch( + console.error +); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/servicesGetSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/servicesGetSample.ts new file mode 100644 index 000000000000..febb48451fef --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/servicesGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a specific Azure service for support ticket creation. + * + * @summary Gets a specific Azure service for support ticket creation. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetService.json + */ +async function getsDetailsOfTheAzureService() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const serviceName = "service_guid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.services.get(serviceName); + console.log(result); +} + +getsDetailsOfTheAzureService().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/servicesListSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/servicesListSample.ts new file mode 100644 index 000000000000..161a4a154fad --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/servicesListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * + * @summary Lists all the Azure services available for support ticket creation. For **Technical** issues, select the Service Id that maps to the Azure service/product as displayed in the **Services** drop-down list on the Azure portal's [New support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListServices.json + */ +async function getsListOfServicesForWhichASupportTicketCanBeCreated() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.services.list()) { + resArray.push(item); + } + console.log(resArray); +} + +getsListOfServicesForWhichASupportTicketCanBeCreated().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCheckNameAvailabilitySample.ts b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..b5f9654ae80a --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCheckNameAvailabilitySample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityInput, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * + * @summary Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CheckNameAvailabilityWithSubscription.json + */ +async function checksWhetherNameIsAvailableForSupportTicketResource() { + const subscriptionId = "subid"; + const checkNameAvailabilityInput: CheckNameAvailabilityInput = { + name: "sampleName", + type: "Microsoft.Support/supportTickets" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.checkNameAvailability( + checkNameAvailabilityInput + ); + console.log(result); +} + +checksWhetherNameIsAvailableForSupportTicketResource().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCreateSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCreateSample.ts new file mode 100644 index 000000000000..7718993a7f70 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsCreateSample.ts @@ -0,0 +1,788 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { SupportTicketDetails, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBillingSupportTicketForSubscription.json + */ +async function createATicketForBillingRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/billing_service_guid/problemClassifications/billing_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/billing_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForBillingRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json + */ +async function createATicketForSubscriptionManagementRelatedIssues() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/subscription_management_service_guid/problemClassifications/subscription_management_problemClassification_guid", + serviceId: + "/providers/Microsoft.Support/services/subscription_management_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForSubscriptionManagementRelatedIssues().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateTechnicalSupportTicketForSubscription.json + */ +async function createATicketForTechnicalIssueRelatedToASpecificResource() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/virtual_machine_running_linux_service_guid/problemClassifications/problemClassification_guid", + serviceId: + "/providers/Microsoft.Support/services/cddd3eb5-1830-b494-44fd-782f691479dc", + severity: "moderate", + technicalTicketDetails: { + resourceId: + "/subscriptions/subid/resourceGroups/test/providers/Microsoft.Compute/virtualMachines/testserver" + }, + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketForTechnicalIssueRelatedToASpecificResource().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json + */ +async function createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Jobs"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_managedinstance_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "SQLMI", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"vCore"}', + region: "EastUS" + }, + { + payload: '{"NewLimit":200, "Metadata":null, "Type":"Subnet"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Subscription", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"NewLimit":200,"Type":"Account"}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateCoresQuotaTicketForSubscription.json + */ +async function createATicketToRequestQuotaIncreaseForComputeVMCores() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cores_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"SKU":"DSv3 Series","NewLimit":104}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForComputeVMCores().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json + */ +async function createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "DTUs", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"ServerName":"testserver","NewLimit":54000}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase().catch(console.error); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { payload: '{"NewLimit":200,"Type":"LowPriority"}', region: "EastUS" } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json + */ +async function createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"LowPriority"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json + */ +async function createATicketToRequestQuotaIncreaseForPoolsForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: '{"AccountName":"test","NewLimit":200,"Type":"Pools"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForPoolsForABatchAccount().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_datawarehouse_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json + */ +async function createATicketToRequestQuotaIncreaseForServersForSqlDatabase() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/sql_database_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Servers", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [{ payload: '{"NewLimit":200}', region: "EastUS" }] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServersForSqlDatabase().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateGenericQuotaTicket.json + */ +async function createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: + "Increase the maximum throughput per container limit to 10000 for account foo bar", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/cosmosdb_problemClassification_guid", + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/machine_learning_service_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "BatchAml", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: + '{"VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService().catch( + console.error +); + +/** + * This sample demonstrates how to Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * + * @summary Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json + */ +async function createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const createSupportTicketParameters: SupportTicketDetails = { + description: "my description", + contactDetails: { + country: "usa", + firstName: "abc", + lastName: "xyz", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "abc@contoso.com" + }, + problemClassificationId: + "/providers/Microsoft.Support/services/quota_service_guid/problemClassifications/batch_problemClassification_guid", + quotaTicketDetails: { + quotaChangeRequestSubType: "Account", + quotaChangeRequestVersion: "1.0", + quotaChangeRequests: [ + { + payload: + '{"AccountName":"test","VMFamily":"standardA0_A7Family","NewLimit":200,"Type":"Dedicated"}', + region: "EastUS" + } + ] + }, + serviceId: "/providers/Microsoft.Support/services/quota_service_guid", + severity: "moderate", + title: "my title" + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.beginCreateAndWait( + supportTicketName, + createSupportTicketParameters + ); + console.log(result); +} + +createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount().catch( + console.error +); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsGetSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsGetSample.ts new file mode 100644 index 000000000000..52a2ebf31dd9 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsGetSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Get ticket details for an Azure subscription. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/GetSubscriptionSupportTicketDetails.json + */ +async function getDetailsOfASubscriptionTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.get(supportTicketName); + console.log(result); +} + +getDetailsOfASubscriptionTicket().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsListSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsListSample.ts new file mode 100644 index 000000000000..1c76d57dbbc2 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsListSample.ts @@ -0,0 +1,78 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + SupportTicketsListOptionalParams, + MicrosoftSupport +} from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json + */ +async function listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "createdDate ge 2020-03-10T22:08:51Z and status eq 'Open'"; + const options: SupportTicketsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription().catch( + console.error +); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsBySubscription.json + */ +async function listSupportTicketsForASubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsForASubscription().catch(console.error); + +/** + * This sample demonstrates how to Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * + * @summary Lists all the support tickets for an Azure subscription. You can also filter the support tickets by _Status_ or _CreatedDate_ using the $filter parameter. Output will be a paged result with _nextLink_, using which you can retrieve the next set of support tickets.

Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json + */ +async function listSupportTicketsInOpenStateForASubscription() { + const subscriptionId = "subid"; + const filter = "status eq 'Open'"; + const options: SupportTicketsListOptionalParams = { filter }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.supportTickets.list(options)) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportTicketsInOpenStateForASubscription().catch(console.error); diff --git a/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsUpdateSample.ts b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsUpdateSample.ts new file mode 100644 index 000000000000..07c9a43f4f94 --- /dev/null +++ b/sdk/support/arm-support/samples/v2/typescript/src/supportTicketsUpdateSample.ts @@ -0,0 +1,87 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { UpdateSupportTicket, MicrosoftSupport } from "@azure/arm-support"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json + */ +async function updateContactDetailsOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { + contactDetails: { + additionalEmailAddresses: ["tname@contoso.com", "teamtest@contoso.com"], + country: "USA", + firstName: "first name", + lastName: "last name", + phoneNumber: "123-456-7890", + preferredContactMethod: "email", + preferredSupportLanguage: "en-US", + preferredTimeZone: "Pacific Standard Time", + primaryEmailAddress: "test.name@contoso.com" + } + }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateContactDetailsOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json + */ +async function updateSeverityOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { severity: "critical" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateSeverityOfASupportTicket().catch(console.error); + +/** + * This sample demonstrates how to This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * + * @summary This API allows you to update the severity level, ticket status, and your contact information in the support ticket.

Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.

Changing the ticket status to _closed_ is allowed only on an unassigned case. When an engineer is actively working on the ticket, send your ticket closure request by sending a note to your engineer. + * x-ms-original-file: specification/support/resource-manager/Microsoft.Support/stable/2020-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json + */ +async function updateStatusOfASupportTicket() { + const subscriptionId = "subid"; + const supportTicketName = "testticket"; + const updateSupportTicket: UpdateSupportTicket = { status: "closed" }; + const credential = new DefaultAzureCredential(); + const client = new MicrosoftSupport(credential, subscriptionId); + const result = await client.supportTickets.update( + supportTicketName, + updateSupportTicket + ); + console.log(result); +} + +updateStatusOfASupportTicket().catch(console.error); diff --git a/sdk/support/arm-support/src/microsoftSupport.ts b/sdk/support/arm-support/src/microsoftSupport.ts index 5d87d19647cc..9fe79ce9bffb 100644 --- a/sdk/support/arm-support/src/microsoftSupport.ts +++ b/sdk/support/arm-support/src/microsoftSupport.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, @@ -56,7 +57,7 @@ export class MicrosoftSupport extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-support/2.0.0`; + const packageDetails = `azsdk-js-arm-support/2.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -71,9 +72,33 @@ export class MicrosoftSupport extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/support/arm-support/src/operations/communications.ts b/sdk/support/arm-support/src/operations/communications.ts index 9ac1cbf1bfe3..63baefb7afbe 100644 --- a/sdk/support/arm-support/src/operations/communications.ts +++ b/sdk/support/arm-support/src/operations/communications.ts @@ -219,11 +219,13 @@ export class CommunicationsImpl implements Communications { }, createOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, lroResourceLocationConfig: "azure-async-operation" }); + await poller.poll(); + return poller; } /** diff --git a/sdk/support/arm-support/src/operations/supportTickets.ts b/sdk/support/arm-support/src/operations/supportTickets.ts index 6141bca6e44a..cce8f68908d9 100644 --- a/sdk/support/arm-support/src/operations/supportTickets.ts +++ b/sdk/support/arm-support/src/operations/supportTickets.ts @@ -237,11 +237,13 @@ export class SupportTicketsImpl implements SupportTickets { { supportTicketName, createSupportTicketParameters, options }, createOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs, lroResourceLocationConfig: "azure-async-operation" }); + await poller.poll(); + return poller; } /** diff --git a/sdk/support/arm-support/tsconfig.json b/sdk/support/arm-support/tsconfig.json index aec155702645..4ec227977454 100644 --- a/sdk/support/arm-support/tsconfig.json +++ b/sdk/support/arm-support/tsconfig.json @@ -9,12 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true, - "paths": { "@azure/arm-support": ["./src/index"] } + "paths": { + "@azure/arm-support": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/support/ci.mgmt.yml b/sdk/support/ci.mgmt.yml index 5e057a574328..2199d802bee5 100644 --- a/sdk/support/ci.mgmt.yml +++ b/sdk/support/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/support/ci.mgmt.yml - - sdk/support/arm-support/ + - sdk/support/arm-support pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/support/ci.mgmt.yml - - sdk/support/arm-support/ - + - sdk/support/arm-support extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: support Artifacts: - name: azure-arm-support - safeName: azurearmsupport \ No newline at end of file + safeName: azurearmsupport diff --git a/sdk/tables/perf-tests/data-tables/package.json b/sdk/tables/perf-tests/data-tables/package.json index 1de9050eed8b..9bdd18f7554f 100644 --- a/sdk/tables/perf-tests/data-tables/package.json +++ b/sdk/tables/perf-tests/data-tables/package.json @@ -25,7 +25,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/tables/perf-tests/data-tables/test/index.spec.ts b/sdk/tables/perf-tests/data-tables/test/index.spec.ts index f6465afbce3f..2bb951399832 100644 --- a/sdk/tables/perf-tests/data-tables/test/index.spec.ts +++ b/sdk/tables/perf-tests/data-tables/test/index.spec.ts @@ -1,4 +1,4 @@ -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { CreateSimpleEntityTest } from "./createSimpleEntity.spec"; import { CreateSimpleEntityBatchTest } from "./createSimpleEntityBatchTest.spec"; import { CreateComplexEntityTest } from "./createComplexEntity.spec"; @@ -11,17 +11,13 @@ import * as dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram( - selectPerfTest([ - CreateSimpleEntityTest, - CreateSimpleEntityBatchTest, - CreateComplexEntityTest, - CreateComplexEntityBatchTest, - ListSimpleEntitiesTest, - ListComplexEntitiesTest, - ]) +const perfProgram = createPerfProgram( + CreateSimpleEntityTest, + CreateSimpleEntityBatchTest, + CreateComplexEntityTest, + CreateComplexEntityBatchTest, + ListSimpleEntitiesTest, + ListComplexEntitiesTest ); perfProgram.run(); diff --git a/sdk/template/perf-tests/template/package.json b/sdk/template/perf-tests/template/package.json index 15446a0dc5d1..0b24bc2e8ab3 100644 --- a/sdk/template/perf-tests/template/package.json +++ b/sdk/template/perf-tests/template/package.json @@ -28,7 +28,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/template/perf-tests/template/test/index.spec.ts b/sdk/template/perf-tests/template/test/index.spec.ts index da29f61160cf..655ea4e36b8a 100644 --- a/sdk/template/perf-tests/template/test/index.spec.ts +++ b/sdk/template/perf-tests/template/test/index.spec.ts @@ -1,11 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { GetConfigurationSettingTest } from "./getConfigurationSetting.spec"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([GetConfigurationSettingTest])); +const perfProgram = createPerfProgram(GetConfigurationSettingTest); perfProgram.run(); diff --git a/sdk/test-utils/perf/Dockerfile b/sdk/test-utils/perf/Dockerfile deleted file mode 100644 index bfdd2222a5c3..000000000000 --- a/sdk/test-utils/perf/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM node:12 - -WORKDIR /app - -COPY package*.json ./ -RUN npm ci --only=production - -COPY . . - -ENTRYPOINT ["node", "test"] diff --git a/sdk/test-utils/perf/GettingStarted.md b/sdk/test-utils/perf/GettingStarted.md index d456f4b7d155..299ab45f935c 100644 --- a/sdk/test-utils/perf/GettingStarted.md +++ b/sdk/test-utils/perf/GettingStarted.md @@ -136,7 +136,7 @@ To add perf tests for the `sdk//` package, follow the step Add an `index.spec.ts` at `sdk//perf-tests//test/`. ```js -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { `ServiceNameAPI1Name`Test } from "./api1-name.spec"; import { `ServiceNameAPI2Name`Test } from "./api2-name.spec"; @@ -146,7 +146,7 @@ dotenv.config(); console.log("=== Starting the perf test ==="); -const perfProgram = new PerfProgram(selectPerfTest([`ServiceNameAPIName`Test, `ServiceNameAPIName2`Test])); +const perfProgram = createPerfProgram([`ServiceNameAPIName`Test, `ServiceNameAPIName2`Test]); perfProgram.run(); ``` diff --git a/sdk/test-utils/perf/README.md b/sdk/test-utils/perf/README.md index 3b2f1e419176..ea1d43dd158f 100644 --- a/sdk/test-utils/perf/README.md +++ b/sdk/test-utils/perf/README.md @@ -13,9 +13,62 @@ Link to the wiki - [Writing-Performance-Tests](https://github.com/Azure/azure-sd - A **PerfOption** is a command line parameter. We use `minimist` to parse them appropriately, and then to consolidate them in a dictionary of options that is called `PerfOptionDictionary`. The dictionary class accepts a union type of strings that defines the options that are allowed by each test. - Some default options are parsed by the Perf program. Their longer names are: `help`, `no-cleanups`, `parallel`, `duration`, `warmup`, `iterations`, `no-cleanup` and `milliseconds-to-log`. - Perf tests are executed as many times as possible until the `duration` parameter is specified. This process may repeat as many `iterations` are given. Before each iteration, tests might be called for a period of time up to `warmup`, to adjust to possible runtime optimizations. In each iteration, as many as `parallel` instances of the same test are called without waiting for each other, letting the event loop decide which one is prioritized (it's not true parallelism, but it's an approximation that aligns with the design in other languages, we might improve it over time). -- Each test can have a `globalSetup` method, which is called once before the process begins, a `globalCleanup` method, which is called once after the process finishes. +- Each test can have a `globalSetup` method, which is called once per CPU before the process begins, a `globalCleanup` method, which is called once per CPU after the process finishes. - Each test can have a `setup` method, which is called as many times as test instances are created (up to `parallel`), and help specify local state for each test instance. A `cleanup` method is also optional, called the same amount of times, but after finishing running the tests. - `test-proxies` url option - this option can be leveraged to avoid hitting throttling scenarios while testing the services. This option lets the requests go through proxy server(s) based on the url(s) provided, we run the `run` method once in record mode to save the requests and responses in memory and then a ton of times in playback. Workflow with the test-proxies below. +- `parallel` and `cpus` options: `cpus` specifies the number of CPU cores to distribute parallel runs across; `parallel` specifies the number of parallel runs to perform. +- `use-worker-threads` option: when running on multiple CPUs, set to true to use the Node worker threads module. Defaults to false, in which case the child process module is used. + +## Multi-core perf testing and parallelism + +### Overview + +The perf framework has a `--parallels` option which controls the number of parallel executions that are run simultaneously during the perf test. By default, these parallel executions are split evenly across the number of CPUs available on the machine. The number of CPUs that the parallel runs are split across can be controlled manually using the `--cpus` option. + +To achieve multi-core perf testing, a manager-worker architecture is used. When the perf framework is first run, a manager process is created, which is responsible for spawning a number of worker processes corresponding to the number of CPUs. + +```mermaid +graph TD +Manager[ManagerPerfProgram] --- worker1[WorkerPerfProgram] +Manager --- worker2[WorkerPerfProgram] +Manager --- worker3[WorkerPerfProgram] +Manager --- worker4[WorkerPerfProgram] +``` + +

Figure: In the case of 4 CPUs being used, the manager creates 4 worker processes. Messages are exchanged between the manager and each worker for synchronization and reporting of results.

+ +Each worker process is allocated a number of parallel runs by the manager. The manager is responsible for (i) synchronizing all the workers and controlling the perf test run's lifecycle, and (ii) receiving, collating, and reporting results from each of the workers. Each worker is responsible for (i) executing its assigned parallel runs and (ii) sending results and status updates to the manager process. + +By default, each of the workers is a child process of the manager program, created using the Node [`child_process` module](https://nodejs.org/api/child_process.html). The `--use-worker-threads` flag can be used to create workers using the newer [`worker_threads` module](https://nodejs.org/api/worker_threads.html) instead. Note that the use of worker threads may cause performance degradation when using Node 14 or lower. + +### Synchronization + +A barrier construct is used to ensure that each worker follows the same timing. The perf test run is split into a number of stages: + +- Global setup +- Setup +- Post-setup +- Warmup +- Test (one 'test' stage per iteration specified with the `--iterations` option) +- Pre-cleanup +- Cleanup +- Global cleanup + +Each worker waits for a message from the manager to before entering each stage, and can only proceed out of the stage once all the other workers have completed the stage. The manager is responsible for telling the workers to start a stage and for sending messages to workers once all the other workers have completed a stage. The diagram below shows how the manager and a worker communicates over the course of a stage: + +```mermaid +sequenceDiagram +Manager->>+Worker: enterStage: globalSetup +Note over Worker: The worker executes the `globalSetup` method on the perf test. +Worker-->>-Manager: stageComplete: globalSetup +Activate Manager +Note over Manager: Manager waits until it has received a stageComplete message from all workers +Deactivate Manager +Manager->>Worker: allComplete: globalSetup +Worker-->>Manager: acknowledgeCompletion: globalSetup +``` + +

Figure: example flow of synchronization messages between the manager and a worker during a stage (globalSetup in this case).

## Workflow with test proxy @@ -47,11 +100,11 @@ Check the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/ ## Running the tests in `/test` folder -> `ts-node ./test/index.spec.ts ${testClassName} ${options}` +> `npm run perf-test:node -- ${testClassName} ${options}` ### Example -> `ts-node ./test/index.spec.ts NoOp --parallel 2 --duration 7 --iterations 2 --warmup 2` +> `npm run perf-test:node -- NoOp --parallel 2 --duration 7 --iterations 2 --warmup 2` If you would like to run all the tests at once in sequence, use the following command diff --git a/sdk/test-utils/perf/package.json b/sdk/test-utils/perf/package.json index 5d5a5204e4eb..0786cecceb80 100644 --- a/sdk/test-utils/perf/package.json +++ b/sdk/test-utils/perf/package.json @@ -26,7 +26,7 @@ "pack": "npm pack 2>&1", "perf-test:node": "npm run build && node dist-esm/test/index.spec.js", "unit-test:browser": "echo skipped", - "unit-test:node": "ts-node runAllTests.ts", + "unit-test:node": "npm run build && ts-node runAllTests.ts", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "test:browser": "npm run clean && npm run build npm run unit-test:browser", "test:node": "npm run clean && npm run build && npm run unit-test:node", diff --git a/sdk/test-utils/perf/runAllTests.ts b/sdk/test-utils/perf/runAllTests.ts index 2fc0074897dc..82a7075c439c 100644 --- a/sdk/test-utils/perf/runAllTests.ts +++ b/sdk/test-utils/perf/runAllTests.ts @@ -12,7 +12,7 @@ function spawn(command: string) { function runTest(testClassName: string, options: string = "") { console.log("\n"); spawn( - `ts-node ./test/index.spec.ts ${testClassName} --warmup 0 --iterations 1 --duration 1 ${options}` + `node ./dist-esm/test/index.spec.js ${testClassName} --warmup 0 --iterations 1 --duration 1 ${options}` ); } diff --git a/sdk/test-utils/perf/src/barrier.ts b/sdk/test-utils/perf/src/barrier.ts new file mode 100644 index 000000000000..8b71b8807382 --- /dev/null +++ b/sdk/test-utils/perf/src/barrier.ts @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { Message } from "./messages"; +import { multicoreUtils } from "./multicore"; + +export type Stage = + | "globalSetup" + | "setup" + | "postSetup" + | "warmup" + | "test" + | "preCleanup" + | "cleanup" + | "globalCleanup"; + +export type BarrierMessageType = "enter" | "exit" | "complete" | "acknowledgeCompletion"; + +export type BarrierMessage = { + tag: "barrier"; + message: BarrierMessageType; + stage: Stage; +}; + +const getBarrierMessage = async ( + message: BarrierMessageType, + stage: Stage +): Promise => + multicoreUtils.getMessage( + (m: Message) => m.tag === "barrier" && m.message === message && m.stage === stage + ) as Promise; + +/** + * Called by the manager. Tell all the workers to start on the given stage and wait until they have all finished. + */ +export const performStage = async (stage: Stage) => { + if (!multicoreUtils.isManager) { + throw new Error("Must be manager"); + } + + // Start waiting for the completion messages. We need to do this _before_ we tell the workers to start in case one finishes + // before we send the messages to everyone. If we don't, a message might be missed due to the race condition since we don't buffer + // the messages. + const allComplete = multicoreUtils.getMessageFromAll( + (msg) => msg.tag === "barrier" && msg.stage === stage && msg.message === "exit" + ); + + // Send a message to all workers so they start working + multicoreUtils.broadcastMessage({ + tag: "barrier", + message: "enter", + stage, + }); + + await allComplete; + + // Send messages to all the workers saying everyone is done. We require acknowledgements for these messages so that the + // manager doesn't continue until all of the workers are guaranteed to have received the completion message. Again, + // we start waiting for acknowledgements before broadcasting the completion message so that we don't miss any acks. + const allAcked = multicoreUtils.getMessageFromAll( + (msg) => msg.tag === "barrier" && msg.stage === stage && msg.message === "acknowledgeCompletion" + ); + + multicoreUtils.broadcastMessage({ + tag: "barrier", + message: "complete", + stage, + }); + + await allAcked; +}; + +/** + * Called by workers. Wait for the all-clear from the manager to proceed into the given stage. + */ +export const enterStage = async (stage: Stage): Promise => { + if (multicoreUtils.isManager) { + throw new Error("Must be worker"); + } + + await getBarrierMessage("enter", stage); +}; + +/** + * Called by workers. Wait until all other workers have completed the stage. + */ +export const exitStage = async (stage: Stage): Promise => { + if (multicoreUtils.isManager) { + throw new Error("Must be worker"); + } + + multicoreUtils.sendMessage({ + tag: "barrier", + message: "exit", + stage, + }); + + await getBarrierMessage("complete", stage); + + multicoreUtils.sendMessage({ + tag: "barrier", + message: "acknowledgeCompletion", + stage, + }); +}; diff --git a/sdk/test-utils/perf/src/index.ts b/sdk/test-utils/perf/src/index.ts index 9a0c99137500..05f0bb896269 100644 --- a/sdk/test-utils/perf/src/index.ts +++ b/sdk/test-utils/perf/src/index.ts @@ -1,11 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export { PerfTestConstructor, selectPerfTest, PerfTestBase } from "./perfTestBase"; +export { PerfTestConstructor, PerfTestBase } from "./perfTestBase"; export { PerfTest } from "./perfTest"; export { BatchPerfTest } from "./batchPerfTest"; export { EventPerfTest } from "./eventPerfTest"; export * from "./options"; export * from "./policy"; -export * from "./parallel"; export * from "./program"; +export * from "./parallel"; export { getEnvVar, drainStream } from "./utils"; diff --git a/sdk/test-utils/perf/src/managerProgram.ts b/sdk/test-utils/perf/src/managerProgram.ts new file mode 100644 index 000000000000..a00186f66751 --- /dev/null +++ b/sdk/test-utils/perf/src/managerProgram.ts @@ -0,0 +1,287 @@ +import { exec } from "child_process"; +import os from "os"; +import { performStage } from "./barrier"; +import { + ReportResultsMessage, + StatusUpdateMessage, + WorkerToManagerMessageWithId, +} from "./messages"; +import { ManagerMulticoreUtils, multicoreUtils } from "./multicore"; +import { DefaultPerfOptions, ParsedPerfOptions } from "./options"; +import { Snapshot } from "./snapshot"; +import { PerfTestBase, PerfTestConstructor } from "./perfTestBase"; +import { PerfProgram } from "./program"; +import { formatDuration } from "./utils"; + +/** + * The manager program which is responsible for spawning workers which run the actual perf test. + * + * The manager program is created when the user first starts the perf test. It creates separate worker + * processes, which create instances of WorkerPerfProgram. The manager is responsible for synchronizing + * the workers and for collating and reporting results from each of the workers. + */ +export class ManagerPerfProgram implements PerfProgram { + private testName: string; + private parallelNumber: number; + private lastCompleted = 0; + private startMillis = 0; + private managerUtils: ManagerMulticoreUtils; + private parsedOptions: ParsedPerfOptions; + + /** Dummy instance of the test class used for global setup and cleanup. */ + private dummyTestInstance: PerfTestBase; + + /** + * Receives a test class to instantiate and execute. + * Parses the test's options and creates some shortcuts. + * It will instantiate the same test class as many times as the "parallel" command line parameter specifies, + * which defaults to 1. + * + * @param testClass The testClass to be instantiated. + */ + constructor(testClass: PerfTestConstructor) { + if (!multicoreUtils.isManager) { + throw new Error("Must be manager"); + } + + this.managerUtils = multicoreUtils; + + this.testName = testClass.name; + this.dummyTestInstance = new testClass(); + this.parsedOptions = this.dummyTestInstance.parsedOptions; + this.parallelNumber = Number(this.parsedOptions.parallel.value); + } + + private getCompletedOperations(parallels: Snapshot[]): number { + return parallels.reduce((sum, i) => sum + i.completedOperations, 0); + } + + private getOperationsPerSecond(parallels: Snapshot[]): number { + return parallels.reduce((sum, parallel) => { + let parallelResult = 0; + if (parallel.completedOperations > 0) { + parallelResult = parallel.completedOperations / (parallel.lastMillisecondsElapsed / 1000); + } + return sum + parallelResult; + }, 0); + } + + /** + * Does some calculations based on the parallel executions provided, + * then logs them in a friendly way. + * + * In languages supporting threads, "parallels" mean new threads created in which we run + * as many functions as possible. Keep in mind that we currently don't support multiple threads in NodeJS. + * We might be using workers eventually, but for now, "parallel" executions are + * promises that are executed one after the other without waiting for the previous one to finish. + * We wait for all of the promises to resolve to consider the "parallel" execution finished. + * + * The information logged consists of: + * + * - The total operations executed on that parallel run. + * - The operations per second, which is made through adding up each one of the parallel's + * completed operations, divided by the seconds elapsed. + * - Seconds per operation, which is 1 / operationsPerSecond. + * - An average of the total operations by the operations per second, which we call weighted-average. + * + * @param parallels Parallel executions + */ + private logResults(parallels: Snapshot[]): void { + const totalOperations = this.getCompletedOperations(parallels); + const operationsPerSecond = this.getOperationsPerSecond(parallels); + const secondsPerOperation = 1 / operationsPerSecond; + const weightedAverage = totalOperations / operationsPerSecond; + console.log( + `Completed ${totalOperations.toLocaleString(undefined, { + maximumFractionDigits: 0, + })} ` + + `operations in a weighted-average of ` + + `${weightedAverage.toLocaleString(undefined, { + maximumFractionDigits: 2, + minimumFractionDigits: 2, + })}s ` + + `(${operationsPerSecond.toLocaleString(undefined, { + maximumFractionDigits: 2, + })} ops/s, ` + + `${secondsPerOperation.toLocaleString(undefined, { + maximumFractionDigits: 3, + minimumFractionDigits: 3, + })} s/op)` + ); + } + + private logUpdate(parallels: Snapshot[]): void { + const totalCompleted = this.getCompletedOperations(parallels); + const currentCompleted = totalCompleted - this.lastCompleted; + const averageCompleted = this.getOperationsPerSecond(parallels); + const elapsedTime = formatDuration(new Date().getTime() - this.startMillis); + + this.lastCompleted = totalCompleted; + + console.log( + `${elapsedTime}\t\t${currentCompleted}\t\t${totalCompleted}\t\t${averageCompleted.toFixed(2)}` + ); + } + + private createWorkers(): void { + const cpuOption = this.parsedOptions.cpus.value ?? 0; + const parallels = this.parsedOptions.parallel.value ?? 1; + let cpus: number; + if (cpuOption === 0) { + cpus = os.cpus().length; + console.log(`Setting number of CPUs to number of CPUs detected on machine (${cpus}).`); + } else { + cpus = cpuOption; + } + + const numberOfWorkers = Math.min(parallels, cpus); + + const allocations = Array(numberOfWorkers).fill(0); + for (let i = 0; i < parallels; ++i) { + ++allocations[i % numberOfWorkers]; + } + + let parallelIndexOffset = 0; + for (const assignedParallels of allocations) { + this.managerUtils.createWorker({ + testClassName: this.testName, + assignedParallels: assignedParallels, + parallelIndexOffset, + options: this.parsedOptions, + }); + + parallelIndexOffset += assignedParallels; + } + } + + private async runTests(iterationIndex: number, title: "warmup" | "test"): Promise { + console.log("=== Starting the perf test ==="); + + const stage = performStage(title); + + this.lastCompleted = 0; + this.startMillis = new Date().getTime(); + + // This is how we customize how frequently we log how many completed operations have been executed. + // We don't enforce this inside of runLoop, so it might never be executed, depending on the number + // of operations running. + const millisecondsToLog = Number(this.parsedOptions["milliseconds-to-log"].value); + console.log( + `\n=== ${title} mode, iteration ${iterationIndex + 1}. Logs every ${ + millisecondsToLog / 1000 + }s ===` + ); + console.log(`ElapsedTime\tCurrent\t\tTotal\t\tAverage`); + + let done = false; + + const handleUpdate = (messages: WorkerToManagerMessageWithId[]) => { + if (done) return; + + const parallels = messages.map((m) => (m as StatusUpdateMessage).snapshots).flat(); + this.logUpdate(parallels); + this.managerUtils.getMessageFromAll((m) => m.tag === "statusUpdate").then(handleUpdate); + }; + this.managerUtils.getMessageFromAll((m) => m.tag === "statusUpdate").then(handleUpdate); + + const resultMessages = (await this.managerUtils.getMessageFromAll( + (m) => m.tag === "reportResults" + )) as ReportResultsMessage[]; + + // stop the handleUpdate part when it next gets a chance + done = true; + + const results = resultMessages.map((m) => m.snapshots).flat(); + + console.log(`=== ${title} mode, results of iteration ${iterationIndex + 1} ===`); + this.logResults(results); + + await stage; + } + + private async logPackageVersions(listTransitiveDeps: boolean): Promise { + return new Promise((resolve) => { + console.log("=== Versions ==="); + exec(`npm list --prod ${listTransitiveDeps ? "" : "--depth=0"}`, (_error, stdout) => { + for (const dependency of stdout.split("\n").filter((line) => line.includes("@azure"))) { + console.log(dependency); + } + resolve(); + }); + }); + } + + /** + * The run() public method lets developers specify when to begin running the selected test + * under the conditions provided by the command line options. + * If the command line option for help (--help or -h) is passed in, the program will output + * the information available of all of the options and close, with no test executions. + * + * This method will invoke the test class's "globalSetup" and "globalCleanup" once per CPU, + * and the "setup" and "cleanup" as many times as tests were instantiated + * (up to the "parallel" command line parameter, which defaults to 1). + * + * If the "warmup" command line parameter is defined, the tests will be called + * until as many seconds as the "warmup" parameter says. This is to adjust + * to any possible real-time optimizations that the JavaScript runtime might + * do while executing something repeatedly. This is also a requirement to align with the + * Perf framework in other languages. + * + * If any exception is encountered, the whole process will stop, unless + * these exceptions are instances of the class PerfTestError, which defines expected errors. + */ + public async run(): Promise { + // There should be no test execution if the help option is passed. + // --help, or -h + if (this.parsedOptions.help.value) { + console.log(`=== Help: Options that can be sent to ${this.testName} ===`); + console.table(this.dummyTestInstance.parsedOptions); + return; + } + + await this.logPackageVersions( + this.parsedOptions["list-transitive-dependencies"].value ?? false + ); + + const options = this.dummyTestInstance.parsedOptions; + console.log("=== Parsed options ==="); + console.table(options); + + this.createWorkers(); + + console.log( + `=== Calling globalSetup() once per CPU for (all) the instance(s) of ${this.testName} ===` + ); + await performStage("globalSetup"); + + console.log( + `=== Calling setup() for the ${this.parallelNumber} instantiated ${this.testName} tests ===` + ); + + await performStage("setup"); + + await performStage("postSetup"); + + if (options.warmup.value > 0) { + await this.runTests(0, "warmup"); + } + + const iterations = options.iterations.value; + for (let i = 0; i < iterations; i++) { + await this.runTests(i, "test"); + } + + await performStage("preCleanup"); + + if (!options["no-cleanup"].value) { + console.log( + `=== Calling cleanup() for the ${this.parallelNumber} instantiated ${this.testName} tests ===` + ); + await performStage("cleanup"); + console.log( + `=== Calling globalCleanup() once per CPU for (all) the instance(s) of ${this.testName} ===` + ); + await performStage("globalCleanup"); + } + } +} diff --git a/sdk/test-utils/perf/src/messages.ts b/sdk/test-utils/perf/src/messages.ts new file mode 100644 index 000000000000..336c651638e9 --- /dev/null +++ b/sdk/test-utils/perf/src/messages.ts @@ -0,0 +1,20 @@ +import type { BarrierMessage } from "./barrier"; +import { Snapshot } from "./snapshot"; + +export interface StatusUpdateMessage { + tag: "statusUpdate"; + snapshots: Snapshot[]; +} + +export interface ReportResultsMessage { + tag: "reportResults"; + snapshots: Snapshot[]; +} + +export type WorkerToManagerMessage = BarrierMessage | StatusUpdateMessage | ReportResultsMessage; + +export type WorkerToManagerMessageWithId = WorkerToManagerMessage & { workerId: number }; + +export type ManagerToWorkerMessage = BarrierMessage; + +export type Message = WorkerToManagerMessage | ManagerToWorkerMessage; diff --git a/sdk/test-utils/perf/src/multicore.ts b/sdk/test-utils/perf/src/multicore.ts new file mode 100644 index 000000000000..a1edbe0575f3 --- /dev/null +++ b/sdk/test-utils/perf/src/multicore.ts @@ -0,0 +1,209 @@ +import { ChildProcess, fork } from "child_process"; +import workerThreads from "worker_threads"; +import { + ManagerToWorkerMessage, + WorkerToManagerMessage, + WorkerToManagerMessageWithId, +} from "./messages"; +import { + defaultPerfOptions, + DefaultPerfOptions, + ParsedPerfOptions, + parsePerfOption, +} from "./options"; + +export type WorkerLike = workerThreads.Worker | ChildProcess; + +/** + * Information shared with each worker when it is created + */ +export interface WorkerData { + /** + * Name of the test class the worker should initialize. + */ + testClassName: string; + + /** + * The number of parallel runs this worker should create. + */ + assignedParallels: number; + + /** + * To ensure that each parallel run has a unique index across workers, an offset is provided. + * The first parallel run for this worker is assigned the index equal to this offset. + */ + parallelIndexOffset: number; + + /** + * The options passed to this perf test run as parsed by the manager program. + */ + options: ParsedPerfOptions; +} + +/** + * A filter used to determine whether to handle the given message. + */ +type MessageFilter = (message: T) => boolean; + +export interface WorkerMulticoreUtils { + isManager: false; + workerData: WorkerData; + sendMessage(message: WorkerToManagerMessage): void; + onMessage(callback: (message: ManagerToWorkerMessage) => void): void; + offMessage(callback: (message: ManagerToWorkerMessage) => void): void; + getMessage(filter?: MessageFilter): Promise; +} + +export interface ManagerMulticoreUtils { + isManager: true; + workers: readonly WorkerLike[]; + createWorker(data: WorkerData): WorkerLike; + broadcastMessage(message: ManagerToWorkerMessage): void; + sendMessage(worker: WorkerLike, message: ManagerToWorkerMessage): void; + onMessage(callback: (message: WorkerToManagerMessageWithId) => void): void; + offMessage(callback: (message: WorkerToManagerMessageWithId) => void): void; + getMessage( + filter: MessageFilter + ): Promise; + getMessageFromAll( + filter: MessageFilter + ): Promise; +} + +export type MulticoreUtils = WorkerMulticoreUtils | ManagerMulticoreUtils; + +/** + * Template for the getMessage function made available by multicoreUtils function. + * + * Creates a getMessage function from the onMessage and offMessage callbacks which are + * provided by e.g. process.parentPort. The created function, when called, returns a promise + * that resolves when a message that matches the provided filter is received. + */ +const makeGetMessage = + ( + onMessage: (callback: (message: T) => void) => void, + offMessage: (callback: (message: T) => void) => void + ) => + (filter?: MessageFilter) => + new Promise((resolve) => { + const callback = (message: T) => { + if (!filter || filter(message)) { + offMessage(callback); + resolve(message); + } + }; + + onMessage(callback); + }); + +const createWorkerUtils = ( + sendMessage: (message: any) => void, + onMessage: (callback: (message: any) => void) => void, + offMessage: (callback: (message: any) => void) => void, + workerData: WorkerData +): WorkerMulticoreUtils => ({ + isManager: false, + sendMessage, + onMessage, + offMessage, + getMessage: makeGetMessage(onMessage, offMessage), + workerData, +}); + +const createChildProcess = (data: WorkerData): WorkerLike => + fork( + process.argv[1], + // We pass the worker data by serializing it as JSON and passing it as a command-line argument. + [JSON.stringify(data)], + { + // Configure an IPC channel so that messages can be sent via process.send. + stdio: [0, 0, 0, "ipc"], + } + ); + +const createWorkerThread = (data: WorkerData): WorkerLike => + new workerThreads.Worker(process.argv[1], { workerData: data }); + +const createManagerUtils = (mode: "worker_threads" | "child_processes"): ManagerMulticoreUtils => { + const workers: WorkerLike[] = []; + const workerMessageHandlers = new Set<(message: WorkerToManagerMessageWithId) => void>(); + + // distributeMessage is used so we can send messages we receive from a worker + // to multiple handlers (all stored in workerMessageHandlers). + const distributeMessage = (message: WorkerToManagerMessageWithId) => { + for (const handler of workerMessageHandlers) { + handler(message); + } + }; + + const onMessage = (callback: (message: WorkerToManagerMessageWithId) => void) => + workerMessageHandlers.add(callback); + const offMessage = (callback: (message: WorkerToManagerMessageWithId) => void) => + workerMessageHandlers.delete(callback); + + const sendMessage = (handle: WorkerLike, message: ManagerToWorkerMessage) => { + if (isWorker(handle)) { + handle.postMessage(message); + } else { + handle.send(message); + } + }; + + const getMessage = makeGetMessage(onMessage, offMessage); + + // Wait for a message that matches the filter from each worker. + const getMessageFromAll = (filter: MessageFilter) => + Promise.all( + workers.map((_, i) => getMessage(({ workerId, ...msg }) => filter(msg) && workerId === i)) + ); + + return { + isManager: true, + workers, + createWorker(data: WorkerData) { + const worker = (mode === "worker_threads" ? createWorkerThread : createChildProcess)(data); + const workerId = workers.length; + workers.push(worker); + worker.on("message", (msg) => distributeMessage({ ...msg, workerId })); + return worker; + }, + onMessage, + offMessage, + getMessage, + getMessageFromAll, + sendMessage, + broadcastMessage: (message: ManagerToWorkerMessage) => { + for (const worker of workers) { + sendMessage(worker, message); + } + }, + }; +}; + +export const multicoreUtils: MulticoreUtils = (() => { + if (process.send) { + // we are a child process + return createWorkerUtils( + (msg) => process.send && process.send(msg), + (cb) => process.on("message", cb), + (cb) => process.off("message", cb), + JSON.parse(process.argv[2]) as WorkerData + ); + } else if (workerThreads.parentPort) { + // we are a worker thread + return createWorkerUtils( + (msg) => workerThreads.parentPort?.postMessage(msg), + (cb) => workerThreads.parentPort?.on("message", cb), + (cb) => workerThreads.parentPort?.off("message", cb), + workerThreads.workerData as WorkerData + ); + } else { + // we are a manager + const useWorkerThreads = parsePerfOption(defaultPerfOptions)["use-worker-threads"].value; + return createManagerUtils(useWorkerThreads ? "worker_threads" : "child_processes"); + } +})(); + +const isWorker = (x: WorkerLike): x is workerThreads.Worker => { + return typeof (x as unknown as any).postMessage === "function"; +}; diff --git a/sdk/test-utils/perf/src/options.ts b/sdk/test-utils/perf/src/options.ts index 0f072c6ba9fc..53b8db60062e 100644 --- a/sdk/test-utils/perf/src/options.ts +++ b/sdk/test-utils/perf/src/options.ts @@ -77,6 +77,8 @@ export interface DefaultPerfOptions { "test-proxies": string; insecure: boolean; "list-transitive-dependencies": boolean; + cpus: number; + "use-worker-threads": boolean; } /** @@ -130,6 +132,17 @@ export const defaultPerfOptions: PerfOptionDictionary = { shortName: "ltd", defaultValue: false, }, + cpus: { + description: + "Number of CPUs to use. Parallel tests will be split evenly across CPUs. Specify 0 to use the number of logical CPUs available on the machine.", + shortName: "c", + defaultValue: 0, + }, + "use-worker-threads": { + description: + "Set to true to use the Node worker_thread API when running tests across multiple CPUs. Set to false to use child_process (default).", + defaultValue: false, + }, }; /** diff --git a/sdk/test-utils/perf/src/parallel.ts b/sdk/test-utils/perf/src/parallel.ts index b82a6d100a26..0619c6f050b6 100644 --- a/sdk/test-utils/perf/src/parallel.ts +++ b/sdk/test-utils/perf/src/parallel.ts @@ -1,27 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -/** - * PerfParallel helps keep track of the total completed operations - * and the last milliseconds elapsed on each parallel call. - * - * In languages supporting threads, "parallels" mean new threads created in which we run - * as many functions as possible. Keep in mind that we currently don't support multiple threads in NodeJS. - * We might be using workers eventually, but for now, "parallel" executions are - * promises that are executed one after the other without waiting for the previous one to finish. - * We wait for all of the promises to resolve to consider the "parallel" execution finished. - */ -export interface PerfParallel { - /** - * Tracks the number of completed operations during a given parallel call. - */ - completedOperations: number; - /** - * Tracks how much time the last executed test took, in comparison to the beginning fo the parallel execution. - */ - lastMillisecondsElapsed: number; -} - /** * Repeats the "async function" task for a "count" number of times by awaiting on * "parallel" number of while loops in which each iteration executes the provided function once. diff --git a/sdk/test-utils/perf/src/perfTestBase.ts b/sdk/test-utils/perf/src/perfTestBase.ts index 3622b1aa49fc..3f791be98a8d 100644 --- a/sdk/test-utils/perf/src/perfTestBase.ts +++ b/sdk/test-utils/perf/src/perfTestBase.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import minimist, { ParsedArgs as MinimistParsedArgs } from "minimist"; +import { multicoreUtils } from "./multicore"; import { PerfOptionDictionary, parsePerfOption, @@ -11,6 +11,7 @@ import { ParsedPerfOptions, } from "./options"; import { AbortController } from "@azure/abort-controller"; +import { Snapshot } from "./snapshot"; /** * Defines the behavior of the PerfTest constructor, to use the class as a value. @@ -33,7 +34,9 @@ export interface PerfTestConstructor< export abstract class PerfTestBase> { public completedOperations = 0; public lastMillisecondsElapsed = 0; - private static globalParallelIndex = 0; + private static globalParallelIndex = multicoreUtils.isManager + ? 0 + : multicoreUtils.workerData.parallelIndexOffset; protected readonly parallelIndex: number; public abstract options: PerfOptionDictionary; @@ -48,18 +51,26 @@ export abstract class PerfTestBase> { }); } - // This cast is needed because TS thinks - // ```ts - // PerfOptionDictionary - // ``` - // is different from - // ```ts - // PerfOptionDictionary & PerfOptionDictionary - // ``` - return parsePerfOption({ - ...this.options, - ...defaultPerfOptions, - } as PerfOptionDictionary); + // we need to handle the manager case as a perf test instance will be created by the manager + // to run globalSetup + if (multicoreUtils.isManager) { + // This cast is needed because TS thinks + // ```ts + // PerfOptionDictionary + // ``` + // is different from + // ```ts + // PerfOptionDictionary & PerfOptionDictionary + // ``` + return parsePerfOption({ + ...this.options, + ...defaultPerfOptions, + } as PerfOptionDictionary); + } else { + // in this case, the parsing will have already been handled by the manager + // we just assume and cross our fingers that the options are of the correct type + return multicoreUtils.workerData.options as ParsedPerfOptions; + } } public constructor() { @@ -81,26 +92,11 @@ export abstract class PerfTestBase> { durationMilliseconds: number, abortController: AbortController ): Promise; -} -/** - * Picks a specific test case by comparing the first command line paramter to the names of the - * given classes, all of which must extend PerfTest. - * @param tests An array of classes that extend PerfTest - */ -export function selectPerfTest(tests: PerfTestConstructor[]): PerfTestConstructor { - const testsNames: string[] = tests.map((test) => test.name); - const minimistResult: MinimistParsedArgs = minimist(process.argv); - const testName = minimistResult._[minimistResult._.length - 1]; - - const testIndex = testsNames.indexOf(testName); - if (testIndex === -1) { - throw new Error( - `Couldn't find a test named ${testName}. Try with any of the following: ${testsNames.join( - ", " - )}` - ); + public getSnapshot(): Snapshot { + return { + lastMillisecondsElapsed: this.lastMillisecondsElapsed, + completedOperations: this.completedOperations, + }; } - - return tests[testIndex]; } diff --git a/sdk/test-utils/perf/src/program.ts b/sdk/test-utils/perf/src/program.ts index 2c9db7813b8c..3b732f7189ef 100644 --- a/sdk/test-utils/perf/src/program.ts +++ b/sdk/test-utils/perf/src/program.ts @@ -1,23 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AbortController } from "@azure/abort-controller"; -import { PerfTest } from "./perfTest"; -import { - parsePerfOption, - defaultPerfOptions, - DefaultPerfOptions, - ParsedPerfOptions, -} from "./options"; -import { PerfParallel } from "./parallel"; -import { exec } from "child_process"; -import { formatDuration } from "./utils"; -import { PerfTestBase, PerfTestConstructor } from "./perfTestBase"; - +import { PerfTestConstructor } from "./perfTestBase"; +import minimist, { ParsedArgs } from "minimist"; +import { WorkerPerfProgram } from "./workerProgram"; +import { ManagerPerfProgram } from "./managerProgram"; +import { multicoreUtils } from "./multicore"; + +export interface PerfProgram { + run(): Promise; +} /** - * PerfProgram - * receives a class extending PerfTest with specific command line parameter names (or just "string"), - * then gets the test ready for a performance/stress test run. + * createPerfProgram + * receives a series of class(es) extending PerfTest. It selects the appropriate test out of those provided based on command-line arguments, and creates an instance of PerfProgram that can be used to run the perf tests. * * Use it like: * @@ -29,258 +24,46 @@ import { PerfTestBase, PerfTestConstructor } from "./perfTestBase"; * } * } * - * const perfProgram = new PerfProgram(Delay500ms); + * const perfProgram = createPerfProgram(Delay500ms); * * perfProgram.run(); * ``` */ -export class PerfProgram { - private testName: string; - private parsedDefaultOptions: Required>; - private parallelNumber: number; - private tests: PerfTestBase[]; - - /** - * Receives a test class to instantiate and execute. - * Parses the test's options and creates some shortcuts. - * It will instantiate the same test class as many times as the "parallel" command line parameter specifies, - * which defaults to 1. - * - * @param testClass The testClass to be instantiated. - */ - constructor(testClass: PerfTestConstructor) { - this.testName = testClass.name; - this.parsedDefaultOptions = parsePerfOption(defaultPerfOptions); - this.parallelNumber = Number(this.parsedDefaultOptions.parallel.value); +export function createPerfProgram(...testClasses: PerfTestConstructor[]): PerfProgram { + const testClass = selectPerfTest(testClasses); - console.log(`=== Creating ${this.parallelNumber} instance(s) of ${this.testName} ===`); - this.tests = new Array>(this.parallelNumber); - - for (let i = 0; i < this.parallelNumber; i++) { - const test = new testClass(); - this.tests[i] = test; - } + if (multicoreUtils.isManager) { + return new ManagerPerfProgram(testClass); + } else { + return new WorkerPerfProgram(testClass); } +} - private getCompletedOperations(parallels: PerfParallel[]): number { - return parallels.reduce((sum, i) => sum + i.completedOperations, 0); - } +/** + * Picks a specific test case by comparing the first command line paramter to the names of the + * given classes, all of which must extend PerfTest. + * @param tests An array of classes that extend PerfTest + */ +function selectPerfTest(tests: PerfTestConstructor[]): PerfTestConstructor { + const testsNames: string[] = tests.map((test) => test.name); - private getOperationsPerSecond(parallels: PerfParallel[]): number { - return parallels.reduce((sum, parallel) => { - let parallelResult = 0; - if (parallel.completedOperations > 0) { - parallelResult = parallel.completedOperations / (parallel.lastMillisecondsElapsed / 1000); - } - return sum + parallelResult; - }, 0); - } + let testName: string; - /** - * Does some calculations based on the parallel executions provided, - * then logs them in a friendly way. - * - * In languages supporting threads, "parallels" mean new threads created in which we run - * as many functions as possible. Keep in mind that we currently don't support multiple threads in NodeJS. - * We might be using workers eventually, but for now, "parallel" executions are - * promises that are executed one after the other without waiting for the previous one to finish. - * We wait for all of the promises to resolve to consider the "parallel" execution finished. - * - * The information logged consists of: - * - * - The total operations executed on that parallel run. - * - The operations per second, which is made through adding up each one of the parallel's - * completed operations, divided by the seconds elapsed. - * - Seconds per operation, which is 1 / operationsPerSecond. - * - An average of the total operations by the operations per second, which we call weighted-average. - * - * @param parallels Parallel executions - */ - private logResults(parallels: PerfParallel[]): void { - const totalOperations = this.getCompletedOperations(parallels); - const operationsPerSecond = this.getOperationsPerSecond(parallels); - const secondsPerOperation = 1 / operationsPerSecond; - const weightedAverage = totalOperations / operationsPerSecond; - console.log( - `Completed ${totalOperations.toLocaleString(undefined, { - maximumFractionDigits: 0, - })} ` + - `operations in a weighted-average of ` + - `${weightedAverage.toLocaleString(undefined, { - maximumFractionDigits: 2, - minimumFractionDigits: 2, - })}s ` + - `(${operationsPerSecond.toLocaleString(undefined, { - maximumFractionDigits: 2, - })} ops/s, ` + - `${secondsPerOperation.toLocaleString(undefined, { - maximumFractionDigits: 3, - minimumFractionDigits: 3, - })} s/op)` - ); + if (multicoreUtils.isManager) { + const minimistResult: ParsedArgs = minimist(process.argv); + testName = minimistResult._[minimistResult._.length - 1]; + } else { + testName = multicoreUtils.workerData.testClassName; } - // Triggers runLoop as many times as parallels have been passed in through the options. - // Stops all test executions once the durationSeconds has been reached. - private async runTests( - iterationIndex: number, - durationSeconds: number, - title: string - ): Promise { - const abortController = new AbortController(); - const durationMilliseconds = durationSeconds * 1000; - - // Even though we've set a setTimeout here, the eventLoop might get too busy to load it on time. - // For this reason, we also check if the time has passed inside of runAll. - const durationTimeout = setTimeout(() => abortController.abort(), durationMilliseconds); - - // This is how we customize how frequently we log how many completed operations have been executed. - // We don't enforce this inside of runAll, so it might never be executed, depending on the number - // of operations running. - const millisecondsToLog = this.parsedDefaultOptions["milliseconds-to-log"].value; - console.log( - `\n=== ${title} mode, iteration ${iterationIndex + 1}. Logs every ${ - millisecondsToLog / 1000 - }s ===` - ); - console.log(`ElapsedTime\tCurrent\t\tTotal\t\tAverage`); - let lastCompleted = 0; - const startMillis = new Date().getTime(); - - const logInterval = setInterval(() => { - const totalCompleted = this.getCompletedOperations(this.tests); - const currentCompleted = totalCompleted - lastCompleted; - const averageCompleted = this.getOperationsPerSecond(this.tests); - const elapsedTime = formatDuration(new Date().getTime() - startMillis); - - lastCompleted = totalCompleted; - console.log( - `${elapsedTime}\t\t${currentCompleted}\t\t${totalCompleted}\t\t${averageCompleted.toFixed( - 2 - )}` - ); - }, millisecondsToLog); - - // Unhandled exceptions should stop the whole Perf process. - process.on("unhandledRejection", (error) => { - throw error; - }); - - // We begin running the test in scope as many times as possible in sequence, - // but we trigger these sequences as many times as the parallels option specifies. - // - // To do so, we call to runLoop as many times as the parallels options specifies without waiting for its promise to be resolved, - // then in another loop, we wait for each one of these promises to finish. - // This should allow for the event loop to decide when to process each test call. - await Promise.all( - this.tests.map((test) => { - return test.runAll(durationMilliseconds, abortController); - }) + const testIndex = testsNames.indexOf(testName); + if (testIndex === -1) { + throw new Error( + `Couldn't find a test named ${testName}. Try with any of the following: ${testsNames.join( + ", " + )}` ); - - // Once we finish, we clear the log interval. - clearInterval(logInterval); - // If the runAll ended before the duration, we need to clear the timeout - clearTimeout(durationTimeout); - - // Finally, we show the results. - console.log(`=== ${title} mode, results of iteration ${iterationIndex + 1} ===`); - this.logResults(this.tests); - } - - private async logPackageVersions(listTransitiveDeps: boolean): Promise { - return new Promise((resolve) => { - console.log("=== Versions ==="); - exec(`npm list --prod ${listTransitiveDeps ? "" : "--depth=0"}`, (_error, stdout) => { - for (const dependency of stdout.split("\n").filter((line) => line.includes("@azure"))) { - console.log(dependency); - } - resolve(); - }); - }); } - /** - * The run() public method lets developers specify when to begin running the selected test - * under the conditions provided by the command line options. - * If the command line option for help (--help or -h) is passed in, the program will output - * the information available of all of the options and close, with no test executions. - * - * This method will invoke the test class's "globalSetup" and "globalCleanup" exactly once, - * and the "setup" and "cleanup" as many times as tests were instantiated - * (up to the "parallel" command line parameter, which defaults to 1). - * - * If the "warmup" command line parameter is defined, the tests will be called - * until as many seconds as the "warmup" parameter says. This is to adjust - * to any possible real-time optimizations that the JavaScript runtime might - * do while executing something repeatedly. This is also a requirement to align with the - * Perf framework in other languages. - * - * If any exception is encountered, the whole process will stop, unless - * these exceptions are instances of the class PerfTestError, which defines expected errors. - */ - public async run(): Promise { - // There should be no test execution if the help option is passed. - // --help, or -h - if (this.parsedDefaultOptions.help.value) { - console.log(`=== Help: Options that can be sent to ${this.testName} ===`); - console.table(this.tests[0].parsedOptions); - return; - } - - await this.logPackageVersions( - this.parsedDefaultOptions["list-transitive-dependencies"].value ?? false - ); - - const options = this.tests[0].parsedOptions; - console.log("=== Parsed options ==="); - console.table(options); - - if (this.tests[0].globalSetup) { - console.log( - `=== Calling globalSetup() once for (all) the instance(s) of ${this.testName} ===` - ); - await this.tests[0].globalSetup(); - } - - if (this.tests[0].setup) { - console.log( - `=== Calling setup() for the ${this.parallelNumber} instantiated ${this.testName} tests ===` - ); - for (const test of this.tests) { - await test.setup?.(); - } - } - - await Promise.all(this.tests.map((test) => test.postSetup?.())); - - if (Number(options.warmup.value) > 0) { - await this.runTests(0, Number(options.warmup.value), "warmup"); - } - - const iterations = Number(options.iterations.value); - for (let i = 0; i < iterations; i++) { - await this.runTests(i, Number(options.duration.value), "test"); - } - - await Promise.all(this.tests.map((test) => test.preCleanup?.())); - - if (!options["no-cleanup"].value && this.tests[0].cleanup) { - console.log( - `=== Calling cleanup() for the ${this.parallelNumber} instantiated ${this.testName} tests ===` - ); - for (const test of this.tests) { - await test.cleanup?.(); - } - } - - if (!options["no-cleanup"].value) { - if (this.tests[0].globalCleanup) { - console.log( - `=== Calling globalCleanup() once for (all) the instance(s) of ${this.testName} ===` - ); - await this.tests[0].globalCleanup(); - } - } - } + return tests[testIndex]; } diff --git a/sdk/test-utils/perf/src/snapshot.ts b/sdk/test-utils/perf/src/snapshot.ts new file mode 100644 index 000000000000..79065d5c9417 --- /dev/null +++ b/sdk/test-utils/perf/src/snapshot.ts @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * A snapshot of a parallel perf test run at a given period of time. + */ +export interface Snapshot { + /** + * Tracks the number of completed operations during a given parallel call. + */ + completedOperations: number; + /** + * Tracks how much time the last executed test took, in comparison to the beginning fo the parallel execution. + */ + lastMillisecondsElapsed: number; +} diff --git a/sdk/test-utils/perf/src/workerProgram.ts b/sdk/test-utils/perf/src/workerProgram.ts new file mode 100644 index 000000000000..38b22dbd9cab --- /dev/null +++ b/sdk/test-utils/perf/src/workerProgram.ts @@ -0,0 +1,104 @@ +import { enterStage, exitStage } from "./barrier"; +import { AbortController } from "@azure/abort-controller"; +import { multicoreUtils, WorkerData, WorkerMulticoreUtils } from "./multicore"; +import { PerfTestBase, PerfTestConstructor } from "./perfTestBase"; +import { PerfProgram } from "./program"; +import { DefaultPerfOptions, ParsedPerfOptions } from "./options"; + +export class WorkerPerfProgram implements PerfProgram { + private testClass: PerfTestConstructor; + private tests: PerfTestBase[]; + private workerData: WorkerData; + private options: Required>; + private workerUtils: WorkerMulticoreUtils; + + constructor(testClass: PerfTestConstructor) { + if (multicoreUtils.isManager) { + throw new Error("Must be a worker"); + } + + const { workerData } = multicoreUtils; + this.workerUtils = multicoreUtils; + this.workerData = workerData; + this.options = this.workerData.options; + + this.testClass = testClass; + this.tests = []; + for (let i = 0; i < workerData.assignedParallels; ++i) { + this.tests.push(new this.testClass()); + } + } + + private async runTests(durationSeconds: number) { + const durationMilliseconds = durationSeconds * 1000; + const abortController = new AbortController(); + + const updateInterval = setInterval(() => { + this.workerUtils.sendMessage({ + tag: "statusUpdate", + snapshots: this.tests.map((test) => test.getSnapshot()), + }); + }, this.options["milliseconds-to-log"].value); + + // Even though we've set a setTimeout here, the eventLoop might get too busy to load it on time. + // For this reason, we also check if the time has passed inside of runAll. + const durationTimeout = setTimeout(() => abortController.abort(), durationMilliseconds); + + await Promise.all(this.tests.map((test) => test.runAll(durationMilliseconds, abortController))); + + clearInterval(updateInterval); + + this.workerUtils.sendMessage({ + tag: "reportResults", + snapshots: this.tests.map((test) => test.getSnapshot()), + }); + + // if the runAll ended before the duration, we need to clear the timeout + clearTimeout(durationTimeout); + } + + public async run(): Promise { + // Unhandled exceptions should stop the whole Perf process. + process.on("unhandledRejection", (error) => { + throw error; + }); + + await enterStage("globalSetup"); + await this.tests[0].globalSetup?.(); + await exitStage("globalSetup"); + + await enterStage("setup"); + await Promise.all(this.tests.map((test) => test.setup?.())); + await exitStage("setup"); + + await enterStage("postSetup"); + await Promise.all(this.tests.map((test) => test.postSetup?.())); + await exitStage("postSetup"); + + if (this.options.warmup.value! > 0) { + await enterStage("warmup"); + await this.runTests(this.options.warmup.value!); + await exitStage("warmup"); + } + + for (let iteration = 0; iteration < this.options.iterations.value!; ++iteration) { + await enterStage("test"); + await this.runTests(this.options.duration.value!); + await exitStage("test"); + } + + await enterStage("preCleanup"); + await Promise.all(this.tests.map((test) => test.preCleanup?.())); + await exitStage("preCleanup"); + + if (!this.options["no-cleanup"].value) { + await enterStage("cleanup"); + await Promise.all(this.tests.map((test) => test.cleanup?.())); + await exitStage("cleanup"); + + await enterStage("globalCleanup"); + await this.tests[0].globalCleanup?.(); + await exitStage("globalCleanup"); + } + } +} diff --git a/sdk/test-utils/perf/test/declareTests.ts b/sdk/test-utils/perf/test/declareTests.ts index 62c587952d12..532b1ed5ee33 100644 --- a/sdk/test-utils/perf/test/declareTests.ts +++ b/sdk/test-utils/perf/test/declareTests.ts @@ -4,7 +4,6 @@ import { NoOp } from "./noop.spec"; import { OptionsTest } from "./options.spec"; import { SetupCleanupTest } from "./setupCleanup.spec"; -import { Delay500ms } from "./delay.spec"; import { Exception } from "./exception.spec"; import { PerfPolicyTest } from "./perfPolicy.spec"; import { SleepTest } from "./sleep.spec"; @@ -12,6 +11,7 @@ import { NodeFetchTest } from "./nodeFetch.spec"; import { MockReceiverTest } from "./batch/mockReceiverTest.spec"; import { MockEventReceiverTest } from "./event/mockEventReceiverTest.spec"; import { MockEventHubConsumerClientTest } from "./event/mockEventHubConsumerClientTest.spec"; +import { LogTest } from "./log.spec"; import { PerfTestConstructor } from "../src"; type NormalizedTestDefinition = { testClass: PerfTestConstructor; options?: string }; @@ -25,7 +25,6 @@ type TestDefinition = PerfTestConstructor | NormalizedTestDefinition; const tests: TestDefinition[] = [ NoOp, SetupCleanupTest, - Delay500ms, Exception, SleepTest, NodeFetchTest, @@ -40,6 +39,7 @@ const tests: TestDefinition[] = [ MockReceiverTest, MockEventReceiverTest, MockEventHubConsumerClientTest, + LogTest, ]; // Normalize everything in the array above for export. diff --git a/sdk/test-utils/perf/test/delay.spec.ts b/sdk/test-utils/perf/test/delay.spec.ts deleted file mode 100644 index 1fc3918ce29f..000000000000 --- a/sdk/test-utils/perf/test/delay.spec.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { PerfTest } from "../src"; -import { delay } from "@azure/core-http"; - -/** - * Delay500ms waits for 500 milliseconds on every test call, - * which helps track how the Perf framework works internally. - * - * Let's say this test is executed with the following parameters: - * `--duration 4 --iterations 2`, then this test should be executed twice every 500ms, until 4 seconds are reached. - * In each parallel, 8 operations should be executed. The logs should look similar to: - * - * ``` - * === test mode, iteration 0. Logs every 1s === - * Since Last Log Total - * 1 1 - * 2 3 - * 2 5 - * 2 7 - * === test mode, results of iteration 1 === - * Completed 8 operations in a weighted-average of 4.01s (2.00 ops/s 0.501 s/op) - * - * === test mode, iteration 1. Logs every 1s === - * Since Last Log Total - * 1 1 - * 2 3 - * 2 5 - * 2 7 - * === test mode, results of iteration 2 === - * Completed 8 operations in a weighted-average of 4.00s (2.00 ops/s 0.501 s/op) - * ``` - */ -export class Delay500ms extends PerfTest { - /** - * This test doesn't receive command line parameters. - */ - public options = {}; - - /** - * Waits 500 milliseconds. - */ - async run(): Promise { - await delay(500); - } -} diff --git a/sdk/test-utils/perf/test/event/mockEventHubConsumerClient.ts b/sdk/test-utils/perf/test/event/mockEventHubConsumerClient.ts index bcc88a373062..f39369825a62 100644 --- a/sdk/test-utils/perf/test/event/mockEventHubConsumerClient.ts +++ b/sdk/test-utils/perf/test/event/mockEventHubConsumerClient.ts @@ -117,6 +117,7 @@ export class MockEventHubConsumerClient { let eventsRaised = 0; while (!this.closeCalled) { + await this.waitForEventLoop(); const numberOfEvents = this.getRandomInteger(1, this.maxBatchSize); if (maxEventsPerSecondPerPartition === Infinity) { @@ -144,6 +145,10 @@ export class MockEventHubConsumerClient { ); } + private waitForEventLoop(): Promise { + return new Promise((resolve) => setTimeout(resolve)); + } + private getRandomInteger(min: number, max: number): number { // min and max included return Math.floor(Math.random() * (max - min + 1) + min); diff --git a/sdk/test-utils/perf/test/index.spec.ts b/sdk/test-utils/perf/test/index.spec.ts index 3f2ec722c352..56b8cf57b42f 100644 --- a/sdk/test-utils/perf/test/index.spec.ts +++ b/sdk/test-utils/perf/test/index.spec.ts @@ -1,11 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "../src"; +import { createPerfProgram } from "../src"; import { allTestClasses } from "./declareTests"; -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest(allTestClasses)); - -perfProgram.run(); +createPerfProgram(...allTestClasses).run(); diff --git a/sdk/test-utils/perf/test/log.spec.ts b/sdk/test-utils/perf/test/log.spec.ts new file mode 100644 index 000000000000..df670fd3ebc7 --- /dev/null +++ b/sdk/test-utils/perf/test/log.spec.ts @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { PerfTest } from "../src"; +import { delay } from "@azure/core-http"; + +/** + * Used for logging every step and property of the perf test + */ +export class LogTest extends PerfTest { + private start = process.hrtime(); + + private static loggedGlobalCompletedOperations = 0; + private loggedCompletedOperations = 0; + private secondsPerOperation: number; + + public options = {}; + + constructor() { + super(); + this.log("Log()"); + this.secondsPerOperation = 1.0 / (this.parallelIndex + 1); + } + + public globalSetup(): void { + this.log("globalSetup()"); + } + + public setup(): void { + this.log("setup()"); + } + + async run(): Promise { + await delay(this.secondsPerOperation * 1000); + this.loggedCompletedOperations++; + LogTest.loggedGlobalCompletedOperations++; + } + + public cleanup(): void { + this.log(`cleanup() - Completed Operations: ${this.loggedCompletedOperations}`); + } + + public globalCleanup(): void { + this.log( + `globalCleanup() - GlobalCompleted Operations: ${LogTest.loggedGlobalCompletedOperations}` + ); + } + + private log(message: string) { + const elapsed = process.hrtime(this.start); + const elapsedSeconds = elapsed[0] + elapsed[1] / 1_000_000_000; + + console.log(`[${elapsedSeconds}] [PID: ${process.pid}] [${this.parallelIndex}] ${message}`); + } +} diff --git a/sdk/test-utils/perf/test/sleep.spec.ts b/sdk/test-utils/perf/test/sleep.spec.ts index 48a95250cdb8..a4a4304fcd69 100644 --- a/sdk/test-utils/perf/test/sleep.spec.ts +++ b/sdk/test-utils/perf/test/sleep.spec.ts @@ -1,27 +1,49 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfTest } from "../src"; +import { PerfTest, PerfOptionDictionary } from "../src"; import { delay } from "@azure/core-http"; +interface SleepOptions { + "initial-delay-ms": number; + "instance-growth-factor": number; + "iteration-growth-factor": number; +} + // Used for verifying the perf framework correctly computes average throughput across parallel tests of different speed export class SleepTest extends PerfTest { - private static instanceCount = 0; - private secondsPerOperation = 0; + private delayInMs = 0; + private iterationGrowthFactor = 0; - public options = {}; + public options: PerfOptionDictionary = { + "initial-delay-ms": { + description: "Initial delay (in milliseconds)", + defaultValue: 1000, + }, + "instance-growth-factor": { + description: + "Instance growth factor. The delay of instance N will be (InitialDelayMS * (InstanceGrowthFactor ^ InstanceCount)).", + defaultValue: 1, + }, + "iteration-growth-factor": { + description: + "Iteration growth factor. The delay of iteration N will be (InitialDelayMS * (IterationGrowthFactor ^ IterationCount)).", + defaultValue: 1, + }, + }; constructor() { super(); - // Each instance of this test completes operations at a different rate, to allow for testing scenarios where - // some instances are still waiting when time expires. The first instance completes in 2 seconds per operation, - // the second instance in 4 seconds, the third instance in 8 seconds, and so on. - SleepTest.instanceCount++; - this.secondsPerOperation = Math.pow(2, SleepTest.instanceCount); + const initialDelayMs = this.parsedOptions["initial-delay-ms"].value as number; + const instanceGrowthFactor = this.parsedOptions["instance-growth-factor"].value as number; + this.iterationGrowthFactor = this.parsedOptions["iteration-growth-factor"].value as number; + + this.delayInMs = initialDelayMs * Math.pow(instanceGrowthFactor, this.parallelIndex); } async run(): Promise { - await delay(this.secondsPerOperation * 1000); + await delay(this.delayInMs); + this.delayInMs *= this.iterationGrowthFactor; } } diff --git a/sdk/test-utils/recorder/CHANGELOG.md b/sdk/test-utils/recorder/CHANGELOG.md index 57a292e7b3dd..04eee4c475f5 100644 --- a/sdk/test-utils/recorder/CHANGELOG.md +++ b/sdk/test-utils/recorder/CHANGELOG.md @@ -10,6 +10,8 @@ ### Bugs Fixed +- Fixed redirects not being passed to the test proxy in the browser. [#21713](https://github.com/Azure/azure-sdk-for-js/pull/21713) + ### Other Changes ## 2.0.0 (2022-04-11) diff --git a/sdk/test-utils/recorder/src/options.ts b/sdk/test-utils/recorder/src/options.ts new file mode 100644 index 000000000000..163a1068d32a --- /dev/null +++ b/sdk/test-utils/recorder/src/options.ts @@ -0,0 +1,33 @@ +import { createHttpHeaders, createPipelineRequest, HttpClient } from "@azure/core-rest-pipeline"; +import { paths } from "./utils/paths"; +import { RecorderError } from "./utils/utils"; + +export type RecordingOptions = { + handleRedirects?: boolean; +}; + +export async function setRecordingOptions( + recorderUrl: string, + httpClient: HttpClient, + { handleRedirects }: RecordingOptions +) { + const body = JSON.stringify({ + HandleRedirects: handleRedirects, + }); + + const request = createPipelineRequest({ + url: `${recorderUrl}${paths.admin}${paths.setRecordingOptions}`, + method: "POST", + body, + allowInsecureConnection: true, + headers: createHttpHeaders({ + "Content-Type": "application/json", + }), + }); + + const response = await httpClient.sendRequest(request); + + if (response.status < 200 || response.status > 299) { + throw new RecorderError(`setRecordingOptions failed: ${response.bodyAsText}`); + } +} diff --git a/sdk/test-utils/recorder/src/recorder.ts b/sdk/test-utils/recorder/src/recorder.ts index 34c43549e5e8..36c02777fddf 100644 --- a/sdk/test-utils/recorder/src/recorder.ts +++ b/sdk/test-utils/recorder/src/recorder.ts @@ -37,6 +37,8 @@ import { import { addTransform, Transform } from "./transform"; import { createRecordingRequest } from "./utils/createRecordingRequest"; import { AdditionalPolicyConfig } from "@azure/core-client"; +import { setRecordingOptions } from "./options"; +import { isNode } from "@azure/core-util"; /** * This client manages the recorder life cycle and interacts with the proxy-tool to do the recording, @@ -195,6 +197,7 @@ export class Recorder { const req = createRecordingRequest(startUri, this.sessionFile, this.recordingId); if (ensureExistence(this.httpClient, "TestProxyHttpClient.httpClient")) { + await setRecordingOptions(Recorder.url, this.httpClient, { handleRedirects: isNode }); const rsp = await this.httpClient.sendRequest({ ...req, allowInsecureConnection: true, diff --git a/sdk/test-utils/recorder/src/utils/paths.ts b/sdk/test-utils/recorder/src/utils/paths.ts index d7deca8cb0be..df0ae978baa3 100644 --- a/sdk/test-utils/recorder/src/utils/paths.ts +++ b/sdk/test-utils/recorder/src/utils/paths.ts @@ -17,4 +17,5 @@ export const paths = { reset: "/reset", setMatcher: "/setMatcher", addTransform: "/addTransform", + setRecordingOptions: "/setRecordingOptions", }; diff --git a/sdk/test-utils/recorder/test/testProxyClient.spec.ts b/sdk/test-utils/recorder/test/testProxyClient.spec.ts index e7af3f97c9cd..7395db07ab7b 100644 --- a/sdk/test-utils/recorder/test/testProxyClient.spec.ts +++ b/sdk/test-utils/recorder/test/testProxyClient.spec.ts @@ -10,6 +10,7 @@ import { import { expect } from "chai"; import { env, Recorder } from "../src"; import { createRecordingRequest } from "../src/utils/createRecordingRequest"; +import { paths } from "../src/utils/paths"; import { getTestMode, isLiveMode, RecorderError, RecordingStateManager } from "../src/utils/utils"; const testRedirectedRequest = ( @@ -140,12 +141,20 @@ describe("TestProxyClient functions", () => { it("throws if not received a 200 status code", async function () { env.TEST_MODE = testMode; const recordingId = "dummy-recording-id"; - clientHttpClient.sendRequest = (): Promise => { - return Promise.resolve({ - status: 404, - headers: createHttpHeaders({ "x-recording-id": recordingId }), - request: initialRequest, - }); + clientHttpClient.sendRequest = (req): Promise => { + if (req.url.endsWith(paths.setRecordingOptions)) { + return Promise.resolve({ + headers: createHttpHeaders(), + status: 200, + request: initialRequest, + }); + } else { + return Promise.resolve({ + status: 404, + headers: createHttpHeaders({ "x-recording-id": recordingId }), + request: initialRequest, + }); + } }; try { await client.start({ envSetupForPlayback: {} }); diff --git a/sdk/test-utils/recorder/test/testProxyTests.spec.ts b/sdk/test-utils/recorder/test/testProxyTests.spec.ts index 775a734d6029..544b33d6c361 100644 --- a/sdk/test-utils/recorder/test/testProxyTests.spec.ts +++ b/sdk/test-utils/recorder/test/testProxyTests.spec.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { ServiceClient } from "@azure/core-client"; -import { isNode } from "@azure/core-util"; import { CustomMatcherOptions, isPlaybackMode, Recorder } from "../src"; import { isLiveMode, TestMode } from "../src/utils/utils"; import { getTestServerUrl, makeRequestAndVerifyResponse, setTestMode } from "./utils/utils"; @@ -40,11 +39,6 @@ import { getTestServerUrl, makeRequestAndVerifyResponse, setTestMode } from "./u it("redirect (redirect location has host)", async function (this: Mocha.Context) { await recorder.start({ envSetupForPlayback: {} }); - if (!isNode) { - // In the browser, redirects get handled by fetch/XHR and we can't guarantee redirect behavior. - this.skip(); - } - await makeRequestAndVerifyResponse( client, { path: `/redirectWithHost`, method: "GET" }, @@ -55,11 +49,6 @@ import { getTestServerUrl, makeRequestAndVerifyResponse, setTestMode } from "./u it("redirect (redirect location is relative)", async function (this: Mocha.Context) { await recorder.start({ envSetupForPlayback: {} }); - if (!isNode) { - // In the browser, redirects get handled by fetch/XHR and we can't guarantee redirect behavior. - this.skip(); - } - await makeRequestAndVerifyResponse( client, { path: `/redirectWithoutHost`, method: "GET" }, diff --git a/sdk/textanalytics/ai-text-analytics/.nycrc b/sdk/textanalytics/ai-text-analytics/.nycrc deleted file mode 100644 index 21f6496d49fd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/.nycrc +++ /dev/null @@ -1,15 +0,0 @@ -{ - "include": [ - "dist-esm/src/**/*.js" - ], - "exclude": [ - "**/*.d.ts", - "dist-esm/src/generated/*" - ], - "reporter": ["text-summary", "html", "cobertura"], - "exclude-after-remap": false, - "sourceMap": true, - "produce-source-map": true, - "instrument": true, - "all": true - } diff --git a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md index abdf32996f7d..718cb6c214c3 100644 --- a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md +++ b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 5.2.0-beta.3 (Unreleased) +## 6.0.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/textanalytics/ai-text-analytics/LICENSE b/sdk/textanalytics/ai-text-analytics/LICENSE deleted file mode 100644 index ea8fb1516028..000000000000 --- a/sdk/textanalytics/ai-text-analytics/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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/textanalytics/ai-text-analytics/README.md b/sdk/textanalytics/ai-text-analytics/README.md index 42790a523cd3..abd4b748c001 100644 --- a/sdk/textanalytics/ai-text-analytics/README.md +++ b/sdk/textanalytics/ai-text-analytics/README.md @@ -1,18 +1,18 @@ -# Azure Text Analytics client library for JavaScript +# Azure Text Analysis client library for JavaScript -[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 the following main features: +[Azure Cognitive Service for Language](https://azure.microsoft.com/services/cognitive-services/language-service/) is a cloud-based service that provides advanced natural language processing over raw text, and includes the following main features: -**Note:** This SDK targets Azure Text Analytics service API version 3.2.0-preview.2. +**Note:** This SDK targets Azure Cognitive Service for Language API version 2022-04-01-preview. - Language Detection - Sentiment Analysis - Key Phrase Extraction - Named Entity Recognition - Recognition of Personally Identifiable Information -- Linked Entity Recognition -- Extractive Summarization +- Entity Linking - Healthcare Analysis -- Custom Entities Recognition +- Extractive Summarization +- Custom Entity Recognition - Custom Document Classification - Support Multiple Actions Per Document @@ -29,7 +29,7 @@ Key links: - [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/) +- [Product documentation](https://docs.microsoft.com/azure/cognitive-services/language-service/) - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics/samples) ## Getting started @@ -44,7 +44,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP ### Prerequisites - An [Azure subscription][azure_sub]. -- An existing [Cognitive Services][cognitive_resource] or Text Analytics resource. If you need to create the resource, you can use the [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. +- An existing [Cognitive Services][cognitive_resource] or Language resource. If you need to create the resource, you can use the [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. If you use the Azure CLI, replace `` and `` with your own unique names: @@ -54,17 +54,17 @@ az cognitiveservices account create --kind TextAnalytics --resource-group --resource-group --query "properties.endpoint" @@ -72,7 +72,7 @@ az cognitiveservices account show --name --resource-group < #### Using an API Key -Use the [Azure Portal][azure_portal] to browse to your Text Analytics resource and retrieve an API key, or use the [Azure CLI][azure_cli] snippet below: +Use the [Azure Portal][azure_portal] to browse to your Language resource and retrieve an API key, or use the [Azure CLI][azure_cli] snippet below: **Note:** Sometimes the API key is referred to as a "subscription key" or "subscription API key." @@ -83,9 +83,9 @@ az cognitiveservices account keys list --resource-group ", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); ``` #### Using an Azure Active Directory Credential @@ -97,26 +97,26 @@ or other credential providers provided with the Azure SDK, please install the `@ npm install @azure/identity ``` -You will also need to [register a new AAD application][register_aad_app] and grant access to Text Analytics by assigning the `"Cognitive Services User"` role to your service principal (note: other roles such as `"Owner"` will not grant the necessary permissions, only `"Cognitive Services User"` will suffice to run the examples and the sample code). +You will also need to [register a new AAD application][register_aad_app] and grant access to Language by assigning the `"Cognitive Services User"` role to your service principal (note: other roles such as `"Owner"` will not grant the necessary permissions, only `"Cognitive Services User"` will suffice to run the examples and the sample code). Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`. ```javascript -const { TextAnalyticsClient } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient } = require("@azure/ai-text-analytics"); const { DefaultAzureCredential } = require("@azure/identity"); -const client = new TextAnalyticsClient("", new DefaultAzureCredential()); +const client = new TextAnalysisClient("", new DefaultAzureCredential()); ``` ## Key concepts -### TextAnalyticsClient +### TextAnalysisClient -`TextAnalyticsClient` is the primary interface for developers using the Text Analytics client library. Explore the methods on this client object to understand the different features of the Text Analytics service that you can access. +`TextAnalysisClient` is the primary interface for developers using the Text Analysis client library. Explore the methods on this client object to understand the different features of the Language service that you can access. ### Input -A **document** represents a single unit of input to be analyzed by the predictive models in the Text Analytics service. Operations on `TextAnalyticsClient` take a collection of inputs to be analyzed as a batch. The operation methods have overloads that allow the inputs to be represented as strings, or as objects with attached metadata. +A **document** represents a single unit of input to be analyzed by the predictive models in the Language service. Operations on `TextAnalysisClient` take a collection of inputs to be analyzed as a batch. The operation methods have overloads that allow the inputs to be represented as strings, or as objects with attached metadata. For example, each document can be passed as a string in an array, e.g. @@ -124,7 +124,7 @@ For example, each document can be passed as a string in an array, e.g. const documents = [ "I hated the movie. It was so slow!", "The movie made it into my top ten favorites.", - "What a great movie!" + "What a great movie!", ]; ``` @@ -134,7 +134,7 @@ or, if you wish to pass in a per-item document `id` or `language`/`countryHint`, const textDocumentInputs = [ { id: "1", language: "en", text: "I hated the movie. It was so slow!" }, { id: "2", language: "en", text: "The movie made it into my top ten favorites." }, - { id: "3", language: "en", text: "What a great movie!" } + { id: "3", language: "en", text: "What a great movie!" }, ]; ``` @@ -142,66 +142,56 @@ See [service limitations][data_limits] for the input, including document length ### Return Value -The return value corresponding to a single document is either a successful result or an error object. Each `TextAnalyticsClient` method returns a heterogeneous array of results and errors that correspond to the inputs by index. A text input and its result will have the same index in the input and result collections. The collection may also optionally include information about the input batch and how it was processed in the `statistics` field. +The return value corresponding to a single document is either a successful result or an error object. Each `TextAnalysisClient` method returns a heterogeneous array of results and errors that correspond to the inputs by index. A text input and its result will have the same index in the input and result collections. -An **result**, such as `AnalyzeSentimentResult`, is the result of a Text Analytics operation, containing a prediction or predictions about a single text input. An operation's result type also may optionally include information about the input document and how it was processed. +An **result**, such as `SentimentAnalysisResult`, is the result of a Language operation, containing a prediction or predictions about a single text input. An operation's result type also may optionally include information about the input document and how it was processed. -The **error** object, `TextAnalyticsErrorResult`, indicates that the service encountered an error while processing the document and contains information about the error. +The **error** object, `TextAnalysisErrorResult`, indicates that the service encountered an error while processing the document and contains information about the error. ### Document Error Handling -In the collection returned by an operation, errors are distinguished from successful responses by the presence of the `error` property, which contains the inner `TextAnalyticsError` object if an error was encountered. For successful result objects, this property is _always_ `undefined`. +In the collection returned by an operation, errors are distinguished from successful responses by the presence of the `error` property, which contains the inner `TextAnalysisError` object if an error was encountered. For successful result objects, this property is _always_ `undefined`. For example, to filter out all errors, you could use the following `filter`: ```javascript -const results = await client.analyzeSentiment(documents); +const results = await client.analyze("SentimentAnalysis", documents); const onlySuccessful = results.filter((result) => result.error === undefined); ``` **Note**: TypeScript users can benefit from better type-checking of result and error objects if `compilerOptions.strictNullChecks` is set to `true` in the `tsconfig.json` configuration. For example: ```typescript -const [result] = await client.analyzeSentiment(["Hello world!"]); +const [result] = await client.analyze("SentimentAnalysis", ["Hello world!"]); if (result.error !== undefined) { // In this if block, TypeScript will be sure that the type of `result` is - // `TextAnalyticsError` if compilerOptions.strictNullChecks is enabled in + // `TextAnalysisError` if compilerOptions.strictNullChecks is enabled in // the tsconfig.json console.log(result.error); } ``` -This capability was introduced in TypeScript 3.2, so users of TypeScript 3.1 must cast result values to their corresponding success variant as follows: - -```typescript -const [result] = await client.detectLanguage(["Hello world!"]); - -if (result.error === undefined) { - const { primaryLanguage } = result as DetectLanguageSuccessResult; -} -``` - ## Examples -### Analyze Sentiment +### Sentiment Analysis Analyze sentiment of text to determine if it is positive, negative, neutral, or mixed, including per-sentence sentiment analysis and confidence scores. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "I did not like the restaurant. The food was too spicy.", "The restaurant was decorated beautifully. The atmosphere was unlike any other restaurant I've been to.", - "The food was yummy. :)" + "The food was yummy. :)", ]; async function main() { - const results = await client.analyzeSentiment(documents); + const results = await client.analyze("SentimentAnalysis", documents); for (const result of results) { if (result.error === undefined) { @@ -218,25 +208,25 @@ main(); To get more granular information about the opinions related to aspects of a product/service, also known as Aspect-based Sentiment Analysis in Natural Language Processing (NLP), see a sample on sentiment analysis with opinion mining [here][analyze_sentiment_opinion_mining_sample]. -### Recognize Entities +### Entity Recognition Recognize and categorize entities in text as people, places, organizations, dates/times, quantities, currencies, etc. The `language` parameter is optional. If it is not specified, the default English model will be used. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "Microsoft was founded by Bill Gates and Paul Allen.", "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", - "Jeff bought three dozen eggs because there was a 50% discount." + "Jeff bought three dozen eggs because there was a 50% discount.", ]; async function main() { - const results = await client.recognizeEntities(documents, "en"); + const results = await client.analyze("EntityRecognition", documents, "en"); for (const result of results) { if (result.error === undefined) { @@ -253,19 +243,19 @@ async function main() { main(); ``` -### Recognize PII Entities +### PII Entity Recognition -There is a separate endpoint and operation for recognizing Personally Identifiable Information (PII) in text such as Social Security Numbers, bank account information, credit card numbers, etc. Its usage is very similar to the standard entity recognition above: +There is a separate action for recognizing Personally Identifiable Information (PII) in text such as Social Security Numbers, bank account information, credit card numbers, etc. Its usage is very similar to the standard entity recognition above: ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "The employee's SSN is 555-55-5555.", - "The employee's phone number is (555) 555-5555." + "The employee's phone number is (555) 555-5555.", ]; async function main() { - const results = await client.recognizePiiEntities(documents, "en"); + const results = await client.analyze("PiiEntityRecognition", documents, "en"); for (const result of results) { if (result.error === undefined) { console.log(" -- Recognized PII entities for input", result.id, "--"); @@ -280,23 +270,23 @@ async function main() { main(); ``` -### Recognize Linked Entities +### Entity Linking -A "Linked" entity is one that exists in a knowledge base (such as Wikipedia). The `recognizeLinkedEntities` operation can disambiguate entities by determining which entry in a knowledge base they likely refer to (for example, in a piece of text, does the word "Mars" refer to the planet, or to the Roman god of war). Linked entities contain associated URLs to the knowledge base that provides the definition of the entity. +A "Linked" entity is one that exists in a knowledge base (such as Wikipedia). The `EntityLinking` action can disambiguate entities by determining which entry in a knowledge base they likely refer to (for example, in a piece of text, does the word "Mars" refer to the planet, or to the Roman god of war). Linked entities contain associated URLs to the knowledge base that provides the definition of the entity. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "Microsoft was founded by Bill Gates and Paul Allen.", "Easter Island, a Chilean territory, is a remote volcanic island in Polynesia.", - "I use Azure Functions to develop my product." + "I use Azure Functions to develop my product.", ]; async function main() { - const results = await client.recognizeLinkedEntities(documents, "en"); + const results = await client.analyze("EntityLinking", documents, "en"); for (const result of results) { if (result.error === undefined) { @@ -322,23 +312,23 @@ async function main() { main(); ``` -### Extract Key Phrases +### Key Phrase Extraction Key Phrase extraction identifies the main talking points in a document. For example, given input text "The food was delicious and there were wonderful staff", the service returns "food" and "wonderful staff". ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", "I need to take my cat to the veterinarian.", - "I will travel to South America in the summer." + "I will travel to South America in the summer.", ]; async function main() { - const results = await client.extractKeyPhrases(documents, "en"); + const results = await client.analyze("KeyPhraseExtraction", documents, "en"); for (const result of results) { if (result.error === undefined) { @@ -353,25 +343,25 @@ async function main() { main(); ``` -### Detect Language +### Language Detection Determine the language of a piece of text. -The `countryHint` parameter is optional, but can assist the service in providing correct output if the country of origin is known. If provided, it should be set to an ISO-3166 Alpha-2 two-letter country code (such as "us" for the United States or "jp" for Japan) or to the value `"none"`. If the parameter is not provided, then the default `"us"` (United States) model will be used. If you do not know the country of origin of the document, then the parameter `"none"` should be used, and the Text Analytics service will apply a model that is tuned for an unknown country of origin. +The `countryHint` parameter is optional, but can assist the service in providing correct output if the country of origin is known. If provided, it should be set to an ISO-3166 Alpha-2 two-letter country code (such as "us" for the United States or "jp" for Japan) or to the value `"none"`. If the parameter is not provided, then the default `"us"` (United States) model will be used. If you do not know the country of origin of the document, then the parameter `"none"` should be used, and the Language service will apply a model that is tuned for an unknown country of origin. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "This is written in English.", "Il documento scritto in italiano.", - "Dies ist in deutscher Sprache verfasst." + "Dies ist in deutscher Sprache verfasst.", ]; async function main() { - const results = await client.detectLanguage(documents, "none"); + const results = await client.analyze("LanguageDetection", documents, "none"); for (const result of results) { if (result.error === undefined) { @@ -396,105 +386,356 @@ async function main() { main(); ``` -### Analyze Healthcare Entities +### Healthcare Analysis Healthcare analysis identifies healthcare entities. For example, given input text "Prescribed 100mg ibuprofen, taken twice daily", the service returns "100mg" categorized as Dosage, "ibuprofen" as MedicationName, and "twice daily" as Frequency. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} = require("@azure/ai-text-analytics"); + +const client = new TextAnalysisClient("", new AzureKeyCredential("")); + +const documents = [ + "Prescribed 100mg ibuprofen, taken twice daily.", + "Patient does not suffer from high blood pressure.", +]; + +async function main() { + const actions: AnalyzeBatchAction[] = [ + { + kind: "Healthcare", + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + for await (const actionResult of results) { + if (actionResult.kind !== "Healthcare") { + throw new Error(`Expected a healthcare results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log("\tRecognized Entities:"); + for (const entity of result.entities) { + console.log(`\t- Entity "${entity.text}" of type ${entity.category}`); + if (entity.dataSources.length > 0) { + console.log("\t and it can be referenced in the following data sources:"); + for (const ds of entity.dataSources) { + console.log(`\t\t- ${ds.name} with Entity ID: ${ds.entityId}`); + } + } + } + } + } +} + +main(); +``` + +### Extractive Summarization + +Extractive summarization identifies sentences that summarize the article they belong to. + +```javascript +const { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "Prescribed 100mg ibuprofen, taken twice daily.", - "Patient does not suffer from high blood pressure." + "Patient does not suffer from high blood pressure.", ]; async function main() { - const poller = await client.beginAnalyzeHealthcareEntities(documents); + const actions: AnalyzeBatchAction[] = [ + { + kind: "ExtractiveSummarization", + maxSentenceCount: 2, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); const results = await poller.pollUntilDone(); - for await (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { + for await (const actionResult of results) { + if (actionResult.kind !== "ExtractiveSummarization") { + throw new Error(`Expected extractive summarization results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log("Summary:"); + console.log(result.sentences.map((sentence) => sentence.text).join("\n")); + } + } +} + +main(); +``` + +### Custom Entity Recognition + +Recognize and categorize entities in text as entities using custom entity detection models built using [Azure Language Studio][lang_studio]. + +```javascript +const { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} = require("@azure/ai-text-analytics"); + +const client = new TextAnalysisClient("", new AzureKeyCredential("")); + +const documents = [ + "We love this trail and make the trip every year. The views are breathtaking and well worth the hike! Yesterday was foggy though, so we missed the spectacular views. We tried again today and it was amazing. Everyone in my family liked the trail although it was too challenging for the less athletic among us.", + "Last week we stayed at Hotel Foo to celebrate our anniversary. The staff knew about our anniversary so they helped me organize a little surprise for my partner. The room was clean and with the decoration I requested. It was perfect!", +]; + +async function main() { + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomEntityRecognition", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + for await (const actionResult of results) { + if (actionResult.kind !== "CustomEntityRecognition") { + throw new Error(`Expected a CustomEntityRecognition results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } console.log("\tRecognized Entities:"); for (const entity of result.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + console.log(`\t- Entity "${entity.text}" of type ${entity.category}`); + } + } + } +} + +main(); +``` + +### Custom Single-label Classification + +Classify documents using custom single-label models built using [Azure Language Studio][lang_studio]. + +```javascript +const { TextAnalysisClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); + +const client = new TextAnalysisClient("", new AzureKeyCredential("")); + +const documents = [ + "The plot begins with a large group of characters where everyone thinks that the two main ones should be together but foolish things keep them apart. Misunderstandings, miscommunication, and confusion cause a series of humorous situations.", +]; + +async function main() { + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomSingleLabelClassification", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "CustomSingleLabelClassification") { + throw new Error( + `Expected a CustomSingleLabelClassification results but got: ${actionResult.kind}` + ); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log(`\tClassification: ${result.classification.category}`); + } + } +} + +main(); +``` + +### Custom Multi-label Classification + +Classify documents using custom multi-label models built using [Azure Language Studio][lang_studio]. + +```javascript +const { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} = require("@azure/ai-text-analytics"); + +const client = new TextAnalysisClient("", new AzureKeyCredential("")); + +const documents = [ + "The plot begins with a large group of characters where everyone thinks that the two main ones should be together but foolish things keep them apart. Misunderstandings, miscommunication, and confusion cause a series of humorous situations.", +]; + +async function main() { + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomMultiLabelClassification", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "CustomMultiLabelClassification") { + throw new Error( + `Expected a CustomMultiLabelClassification results but got: ${actionResult.kind}` + ); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log(`\tClassification:`); + for (const classification of result.classifications) { + console.log(`\t\t-category: ${classification.category}`); } - } else console.error("\tError:", result.error); + } } } main(); ``` -### Analyze Actions +### Action Batching -Analyze actions enables the application of multiple analyses (named actions) at once. +Applies multiple actions on each input document in one service request. ```javascript -const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); +const { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient("", new AzureKeyCredential("")); +const client = new TextAnalysisClient("", new AzureKeyCredential("")); const documents = [ "Microsoft was founded by Bill Gates and Paul Allen.", "The employee's SSN is 555-55-5555.", "Easter Island, a Chilean territory, is a remote volcanic island in Polynesia.", - "I use Azure Functions to develop my product." + "I use Azure Functions to develop my product.", ]; async function main() { - const actions = { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }; - const poller = await client.beginAnalyzeActions(documents, actions); - const resultPages = await poller.pollUntilDone(); - for await (const page of resultPages) { - const keyPhrasesAction = page.extractKeyPhrasesResults[0]; - if (!keyPhrasesAction.error) { - for (const doc of keyPhrasesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tKey phrases:"); - for (const phrase of doc.keyPhrases) { - console.log(`\t- ${phrase}`); + const actions: AnalyzeBatchAction[] = [ + { + kind: "EntityRecognition", + modelVersion: "latest", + }, + { + kind: "PiiEntityRecognition", + modelVersion: "latest", + }, + { + kind: "KeyPhraseExtraction", + modelVersion: "latest", + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const actionResults = await poller.pollUntilDone(); + for await (const actionResult of actionResults) { + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + switch (actionResult.kind) { + case "KeyPhraseExtraction": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tKey phrases:"); + for (const phrase of doc.keyPhrases) { + console.log(`\t- ${phrase}`); + } + } else { + console.error("\tError:", doc.error); } - } else { - console.error("\tError:", doc.error); } + break; } - } - - const entitiesAction = page.recognizeEntitiesResults[0]; - if (!entitiesAction.error) { - for (const doc of entitiesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tEntities:"); - for (const entity of doc.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + case "EntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tEntities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); } - } else { - console.error("\tError:", doc.error); } + break; } - } - - const piiEntitiesAction = page.recognizePiiEntitiesResults[0]; - if (!piiEntitiesAction.error) { - for (const doc of piiEntitiesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tPii Entities:"); - for (const entity of doc.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + case "PiiEntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tPii Entities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); } - } else { - console.error("\tError:", doc.error); } + break; + } + default: { + throw new Error(`Unexpected action results: ${actionResult.kind}`); } } } @@ -510,7 +751,7 @@ main(); 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 -const { logger } = require("@azure/logger"); +import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` @@ -539,5 +780,6 @@ If you'd like to contribute to this library, please read the [contributing guide [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/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/main/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts +[data_limits]: https://docs.microsoft.com/azure/cognitive-services/language-service/concepts/data-limits +[analyze_sentiment_opinion_mining_sample]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics/samples-dev/opinionMining.ts +[lang_studio]: https://docs.microsoft.com/azure/cognitive-services/language-service/language-studio diff --git a/sdk/textanalytics/ai-text-analytics/karma.conf.js b/sdk/textanalytics/ai-text-analytics/karma.conf.js index 870ddb71963d..6945d49c82bb 100644 --- a/sdk/textanalytics/ai-text-analytics/karma.conf.js +++ b/sdk/textanalytics/ai-text-analytics/karma.conf.js @@ -52,17 +52,17 @@ module.exports = function (config) { envPreprocessor: [ "TEST_MODE", "ENDPOINT", - "TEXT_ANALYTICS_API_KEY", - "TEXT_ANALYTICS_API_KEY_ALT", + "LANGUAGE_API_KEY", + "LANGUAGE_API_KEY_ALT", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET", "AZURE_TENANT_ID", - "TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_PROJECT_NAME", - "TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_DEPLOYMENT_NAME", - "TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_PROJECT_NAME", - "TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_DEPLOYMENT_NAME", - "TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_PROJECT_NAME", - "TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_DEPLOYMENT_NAME", + "LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME", + "LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME", + "LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_PROJECT_NAME", + "LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_DEPLOYMENT_NAME", + "LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_PROJECT_NAME", + "LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_DEPLOYMENT_NAME", "RECORDINGS_RELATIVE_PATH", ], @@ -131,7 +131,7 @@ module.exports = function (config) { mocha: { // change Karma's debug.html to the mocha web reporter reporter: "html", - timeout: 0, + timeout: "600000", }, }, }); diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index b844845a4adb..6cccd120cac5 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -2,8 +2,8 @@ "name": "@azure/ai-text-analytics", "sdk-type": "client", "author": "Microsoft Corporation", - "description": "An isomorphic client library for the Azure Text Analytics service.", - "version": "5.2.0-beta.3", + "description": "An isomorphic client library for the text analysis features in the Azure Cognitive Language Service.", + "version": "6.0.0-beta.1", "keywords": [ "node", "azure", @@ -44,7 +44,7 @@ "node": ">=12.0.0" }, "//sampleConfiguration": { - "productName": "Azure Text Analytics", + "productName": "Azure Cognitive Language Service", "productSlugs": [ "azure", "azure-cognitive-services", @@ -70,8 +70,8 @@ "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "lint:fix": "eslint README.md package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", - "lint": "eslint README.md package.json api-extractor.json src test", + "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", "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", @@ -86,9 +86,9 @@ "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", "@azure/core-rest-pipeline": "^1.1.0", - "@azure/core-lro": "^2.2.0", + "@azure/core-lro": "^2.3.0", "@azure/core-paging": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.13", + "@azure/core-tracing": "1.0.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..9df893bf4785 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,206 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "687", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "47c0e4cc-6c92-4ed3-8f78-9beefe1198d6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b00fc2df-673d-405d-a8e8-2eddfba1a264", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..1c75fc55e960 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "28a7cd45-791e-4732-91d0-170b5c1e6e0f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5fabc332-5743-4354-bcc0-e7e0d0dece61", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..fb00e869e642 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8ce59276-3604-4af9-8645-08fba2e18240", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3cf22473-2605-41f5-b315-bc75ef044871", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..9b3b56912af8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,86 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fafd1871-fc5a-4b34-9f4c-ae3d70e78af0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "67612adc-b350-4929-b388-89cc9a78c2a2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..d1d600e98c4a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "160", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9ccd8fea-554e-405d-ab04-4e277666861b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "829fe925-fcac-4517-87c2-cb6ef2d649e5", + "Content-Length": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..668d04bf92d3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "691", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "26a9e9c6-0799-4b24-aa14-101568107757", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "66279513-afe4-4f47-8191-60c3bfb4bd3d", + "Content-Length": "1462", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.85 + } + ], + "warnings": [] + }, + { + "id": "5", + "entities": [ + { + "text": "carretera", + "category": "Location", + "offset": 3, + "length": 9, + "confidenceScore": 0.81 + }, + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..82557a7c2326 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,175 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e5e3a50e-d705-407c-abb2-7c32c56ef983", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7eb33b04-2091-4dbd-8ed7-7b623f35cc92", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..9896649626c9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,175 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "03c35fa9-0ae8-4c18-980a-cb7f1e453ec4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "46c1984f-d313-4e9d-8861-e829c41518cd", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..480f4b340a54 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,86 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "780ff4ea-33f8-425b-8e92-b7026234b21a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "af447183-1c31-413b-a2ab-1c57b86c1864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..24b2578e7667 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "164", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "87913822-2166-49f3-9673-b7615e02553d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6ce8590b-3207-4e3f-be1a-92cf9ec652ef", + "Content-Length": "465", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..90678fc61e8f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,137 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "772", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2910f6c5-352f-43d6-9aef-fa4ec7cfd206", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b3b506a0-c70f-4af2-ab5d-07bc177667bd", + "Content-Length": "524", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [ + "last book" + ], + "warnings": [] + }, + { + "id": "5", + "keyPhrases": [ + "Monte Rainier", + "caminos" + ], + "warnings": [] + }, + { + "id": "6", + "keyPhrases": [ + "mucho tr\u00E1fico", + "d\u00EDa", + "carretera", + "ayer" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..6311df9baea2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "cdaea7b4-27b9-4b70-b046-b08270a828da", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "794f3280-ff2a-43ef-bbd6-99b5440b28cd", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..d869a20b41d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "abf31bd5-121e-4744-8128-ad7db6dadd0d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "00ed7454-be0e-425e-8916-eba11810bcfa", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..dc4130aeaa8d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "166", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c159cb20-9967-4a91-a3e9-69c91af8c21e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "38dccc95-e79d-4179-9235-f8d8fd3386db", + "Content-Length": "491", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json new file mode 100644 index 000000000000..bd62aab8c65e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "126", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "eb67f00d-88cc-4528-8cf6-992cf2d305fb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "impossible", + "countryHint": "fr" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e7d102a8-ca6f-45f8-9006-3962a8772ffe", + "Content-Length": "204", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "French", + "iso6391Name": "fr", + "confidenceScore": 1.0 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json new file mode 100644 index 000000000000..4fe8b0ecc323 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -0,0 +1,136 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "712", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8c136595-6946-4b7d-b580-f6d0a65652b4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "mx" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "89141dcc-82ac-49cb-bbcf-b7f4aef481ae", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json new file mode 100644 index 000000000000..e729edbebf1f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json @@ -0,0 +1,112 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "567", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f0a32b71-834c-47f3-8690-c70282b44391", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "countryHint": "us" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bfa5e19d-a93a-48f7-91b5-861ece341d48", + "Content-Length": "517", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json new file mode 100644 index 000000000000..3d482a7841c2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -0,0 +1,140 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "800", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5a99ace5-2c03-4b97-984c-9f78f7cf76ed", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!", + "countryHint": "none" + }, + { + "id": "2", + "text": "Unfortunately, it rained during my entire trip to Seattle. I didn\u0027t even get to visit the Space Needle", + "countryHint": "none" + }, + { + "id": "3", + "text": "I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.", + "countryHint": "none" + }, + { + "id": "4", + "text": "I didn\u0027t like the last book I read at all.", + "countryHint": "none" + }, + { + "id": "5", + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.", + "countryHint": "none" + }, + { + "id": "6", + "text": "La carretera estaba atascada. Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d6486f19-2aa3-4550-b087-1c2cc1aa08c4", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json new file mode 100644 index 000000000000..d6ee660e9e87 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "162", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5ae85d1b-389e-411e-8f75-bbb611b9c5a5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I use Azure Functions to develop my service.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dc4e3802-62b8-4a7a-b291-2f150bef65c9", + "Content-Length": "206", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "English", + "iso6391Name": "en", + "confidenceScore": 0.95 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json new file mode 100644 index 000000000000..d6b98042c167 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "133", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fc41aa29-a060-4a5c-a7be-9efa7f100337", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "hello", + "countryHint": "invalidcountry" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6a7b0c1b-0281-4c9a-9d93-91b61a7d9c34", + "Content-Length": "325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json new file mode 100644 index 000000000000..bfd863ad6663 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json @@ -0,0 +1,84 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "185", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bf0ad3b5-12d9-4c85-aa50-67d03468ec36", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I work at Microsoft and my phone number is 333-333-3333", + "language": "en" + } + ] + }, + "parameters": { + "domain": "phi" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "695dfe81-b7fd-4053-9e73-78270bf4247f", + "Content-Length": "403", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "I work at ********* and my phone number is ************", + "id": "0", + "entities": [ + { + "text": "Microsoft", + "category": "Organization", + "offset": 10, + "length": 9, + "confidenceScore": 0.94 + }, + { + "text": "333-333-3333", + "category": "PhoneNumber", + "offset": 43, + "length": 12, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json new file mode 100644 index 000000000000..c1facf5f263f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json @@ -0,0 +1,79 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "45debc39-86d3-4802-a587-caff19cd997d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "28f0f255-8439-4f3b-b58b-331ed40f0aa7", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..48e0208995b4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,138 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "694", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d032bb98-e417-46d0-916f-3444bed24beb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "51b4fab0-8199-415e-991c-60a7dd9d7c29", + "Content-Length": "1142", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "51" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", + "id": "5", + "entities": [ + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..e8f1927a3acb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,118 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9404c30b-39fb-4b06-8a73-555b9eb10f71", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "785311fe-6c61-4ef7-89d6-57fcb62590e9", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..7982033a0f20 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,118 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "70c70caf-3414-442e-9c03-7b2a705baf78", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d56176eb-188f-47a7-a422-d370e052b240", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json new file mode 100644 index 000000000000..615e8fef13f4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -0,0 +1,75 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "159", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e1c0d4b3-2ab7-400c-ab8d-cacec348c363", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Your Social Security Number is 859-98-0987.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "379b304d-d41a-427a-8f1d-3a62c13c1ade", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json new file mode 100644 index 000000000000..688a4831fab2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json @@ -0,0 +1,156 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "158", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e9251312-68ba-461f-a408-812d743077d0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3cbc3166-2961-4077-970b-4dc6afd11081", + "Content-Length": "389", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "Patient name is *** and SSN is ***********", + "id": "0", + "entities": [ + { + "text": "Joe", + "category": "Person", + "offset": 16, + "length": 3, + "confidenceScore": 0.78 + }, + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 31, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + }, + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "16493044-d675-482d-885f-af7359aed052", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1db5ad7e-61da-4563-a4a2-3a6e55a50749", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..82b3db43fd97 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "167", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "98cdbd2f-b3be-4dcc-8e7b-72517633524d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cff6aeeb-2bcf-4a09-9d75-d6816ac77dfd", + "Content-Length": "435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json new file mode 100644 index 000000000000..b805172ea520 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "06b9d2ab-6b52-4539-a295-0eb87e6729ed", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b2b4cd04-e5c7-4c17-b38d-80dba4fd99ff", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..9412a0dc3c2a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "73613ec5-f7ba-47d2-a1f7-9c51757be417", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8556f83b-de8c-404f-a05d-1d9d3646a496", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "19" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json new file mode 100644 index 000000000000..5771f27b9249 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json @@ -0,0 +1,246 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "73117db7-3520-4ca1-9baf-fa8135f58378", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "027aeaf1-15eb-417f-a364-065b0fc19300", + "Content-Length": "2355", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "20" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "offset": 0, + "length": 73, + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos." + } + ], + "warnings": [] + }, + { + "id": "6", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.07, + "neutral": 0.15, + "negative": 0.78 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.05, + "negative": 0.94 + }, + "offset": 0, + "length": 30, + "text": "La carretera estaba atascada. " + }, + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.12, + "neutral": 0.26, + "negative": 0.62 + }, + "offset": 30, + "length": 35, + "text": "Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json new file mode 100644 index 000000000000..bf195e7a732e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json @@ -0,0 +1,88 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "151", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "de4febf3-b261-4896-80b1-004667b17ebc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "today is a hot day", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "107190d4-58bf-4159-add3-4a0d45e94a8a", + "Content-Length": "405", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "offset": 0, + "length": 18, + "text": "today is a hot day", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json new file mode 100644 index 000000000000..5cca4fedefc1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json @@ -0,0 +1,132 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b4cd1299-4410-4a82-9222-991bce6f8f41", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "654c0ba6-dbce-492a-966b-61d4d86c99da", + "Content-Length": "1009", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": 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": 53, + "length": 9, + "text": "beautiful", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} 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/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json new file mode 100644 index 000000000000..5a53f9c8b95e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -0,0 +1,709 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "703", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "61ba1da6-b5ce-41a4-8a69-7cabef6f59fa", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "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" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d2a891a6-8113-4119-bda3-bc25a8bf0067", + "Content-Length": "7827", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", + "Date": "Fri, 06 May 2022 20:18:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "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": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "offset": 0, + "length": 26, + "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": 0.99, + "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.03, + "neutral": 0.0, + "negative": 0.97 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.0, + "negative": 0.97 + }, + "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" + }, + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + }, + { + "sentiment": "positive", + "confidenceScores": { + "positive": 1.0, + "negative": 0.0 + }, + "offset": 65, + "length": 5, + "text": "rooms", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + } + ], + "assessments": [ + { + "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": 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": 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": 1.0, + "negative": 0.0 + }, + "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.99, + "negative": 0.01 + }, + "offset": 14, + "length": 12, + "text": "unobstructed", + "isNegated": false + } + ] + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "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": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "offset": 0, + "length": 19, + "text": "The toilet smelled.", + "targets": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 4, + "length": 6, + "text": "toilet", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/6/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 11, + "length": 7, + "text": "smelled", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json new file mode 100644 index 000000000000..2ea34a2d230b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json @@ -0,0 +1,196 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "592", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b80fcdf6-7a18-4353-b3b5-7341059832af", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "15522814-e4de-42ac-8f3e-97248508d9d7", + "Content-Length": "1737", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t 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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json new file mode 100644 index 000000000000..5130560a4f4b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "135", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7785e737-2a17-4c0d-8f98-3e6100965268", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Hello world!", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cacdddc0-e166-4c63-8bb4-429cc770ea81", + "Content-Length": "446", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json new file mode 100644 index 000000000000..d9a3b65395fc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "657f60e3-a070-4e99-be6b-ae48f35cc4c1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "50221a80-ad00-432b-9aaf-1b08744252e6", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json new file mode 100644 index 000000000000..57386cb4b674 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "171", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1788dbec-9f74-47f9-a514-a6460a03ef07", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61cf0aa9-bf99-44bd-adc0-db4139d4ca91", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json new file mode 100644 index 000000000000..dda1e7ed4500 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "612e269a-8181-46ea-b060-e6119bce562f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc8278d3-cbc1-44a9-8bcf-c803af01c2b9", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..37f8b78a3c90 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7300b022-dba3-460b-a45b-7c7e86d0b07a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1724ce6e-6258-4d6e-acea-8f4307647e6e", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json new file mode 100644 index 000000000000..91093d2badf4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "191", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c706e7c-2674-4b48-a0af-1877a20e78b9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "45710165-4b0d-4a34-b43d-b1ae5baecbdf", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..2d06bb6dbcfb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "aaeba0ad-d5a1-4753-8e74-5c63746460cc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0233d585-bdac-4e4c-aeaf-83fa19816deb", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 25, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json new file mode 100644 index 000000000000..cd27bf9dc98d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3017cd3d-ca38-4fb1-ae21-7dd9113fb4e9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f82300e-74b4-455f-9ebd-86c0c110e449", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json new file mode 100644 index 000000000000..0a98e36fa0cf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a24a4524-5970-41b6-8629-5d5475173518", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4922ddff-0b27-4fe8-bce2-cafe832caf21", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json new file mode 100644 index 000000000000..647e416a6b22 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "393", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d9f37de4-3378-4d46-8f79-6b6283aa1ed6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "518495c9-2705-48e0-a6f7-c493b66b8c6b", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "73" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json new file mode 100644 index 000000000000..c07d6f65059f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "81489e4c-cec6-49a8-bb3a-dc52b0d6c9f0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9d4108a-b963-454c-abd5-1b5aa239b8dd", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json new file mode 100644 index 000000000000..5ad6b51d5469 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e6d9f974-f6d9-42bc-b773-9af5a10d231c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "018ccb57-adc8-499e-a01d-7489e7a1e3d0", + "Content-Length": "287", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json new file mode 100644 index 000000000000..5dae73f3ad7a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "875e6193-0e8d-4eee-a82d-427a429547f3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e8da57a2-0f93-4ca1-b9dc-495c49422521", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..935abdc6e42e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "176", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2d4d01db-b854-4ffd-9120-6144ea962cbc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3e8523c9-7843-47d3-8fbd-0d80310b8716", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json new file mode 100644 index 000000000000..652c40eb6003 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "193", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "915eba02-ee77-42f1-9e13-3a3ee5825bdd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "39855b32-ed23-4ddc-a33e-7f2ca7ee7975", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..03b414d2000c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "209", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b5022de8-772a-4603-af31-6fc458ad8b8f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a2a5c5e2-4526-4bbb-a188-803a01015c38", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json new file mode 100644 index 000000000000..143fd9941817 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "04efb0a9-381d-4358-8d94-3c5a4ea7b964", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "28f62fea-0f95-41ae-87ab-78daff57c316", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json new file mode 100644 index 000000000000..0a81659e3243 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "155981a0-1c42-429f-a674-3d0d8dafc6d4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "36eef396-2414-46c0-8b3d-bc426aabcd04", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json new file mode 100644 index 000000000000..7b4e13fd561e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "395", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8cfbf548-6117-4e0d-a215-b985e8f7a714", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae62547e-db6c-4d0d-a2d2-6fab7179c4bb", + "Content-Length": "509", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "62" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json new file mode 100644 index 000000000000..1e27c0f4162f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7e73a50c-8d06-4c30-aeae-22f079a7445c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d6906e1d-85ad-4d68-bc13-b6719d711ef6", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json new file mode 100644 index 000000000000..642015166915 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7d21cb1d-6e4a-45cc-a723-74f8199d07ba", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9f5fd7e-7b3d-4b1c-893f-034810acea70", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json new file mode 100644 index 000000000000..d2ab1e2840b8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "48a6a430-754a-4b9e-bd7e-6986f6a79a83", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b023e180-a5ad-442f-8628-e89e95bbe009", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..211136cbbfd8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "177", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d6c727b7-aab6-406f-b874-7eb92d57c55d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ec7aab6c-b2d2-479e-9537-8cc815845c9e", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json new file mode 100644 index 000000000000..f1f20f05528e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "194", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d34fc70f-f68e-496f-bc2b-e06e4906ff19", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c34f2607-d413-4576-b917-6251acd3c2bc", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..961ee0f77cdc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "210", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "59675fe7-db8e-4727-939c-aa7e56a2314b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "18eb9b58-c120-4131-abd5-8c0a96414120", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json new file mode 100644 index 000000000000..1c33e5074f38 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5fd2acfa-b8a5-4839-99c5-63cee278f7e1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c3b6b2e3-f4eb-481b-a9e9-dfeb74bbca21", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json new file mode 100644 index 000000000000..427e3f3dea41 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "517f22b4-3e3a-4c13-bc8a-eef252974176", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "510b0dcc-4288-4c00-8020-834bcefbe3dd", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json new file mode 100644 index 000000000000..080e026aa744 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "396", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bbd5d84d-a35c-4a20-9bf4-6e287d3d6a70", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ef676662-f9dc-4f82-95b6-93c4e394f796", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:19:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "62" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json new file mode 100644 index 000000000000..d470d66804d3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json @@ -0,0 +1,509 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "482", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "22e45ddf-6ca6-4cd0-a5e8-f46de0b5620b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomEntityRecognition", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "62485506-4e81-427b-90dc-4dbb058be66c", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:17 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/d7fd3b76-c3e5-472f-b393-1a6a0e89d48c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "359" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7fd3b76-c3e5-472f-b393-1a6a0e89d48c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9bfac642-7922-4328-9036-1b5f88c1e16f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "52358733-a00a-403f-a3da-885b3ee7d9bb", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "d7fd3b76-c3e5-472f-b393-1a6a0e89d48c", + "lastUpdateDateTime": "2022-05-07T06:37:17Z", + "createdDateTime": "2022-05-07T06:37:17Z", + "expirationDateTime": "2022-05-08T06:37:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7fd3b76-c3e5-472f-b393-1a6a0e89d48c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dec9c114-f32e-4191-a21d-50e983a9d868", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d42fcf0c-29bf-46be-ba80-044c7343423c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "d7fd3b76-c3e5-472f-b393-1a6a0e89d48c", + "lastUpdateDateTime": "2022-05-07T06:37:17Z", + "createdDateTime": "2022-05-07T06:37:17Z", + "expirationDateTime": "2022-05-08T06:37:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7fd3b76-c3e5-472f-b393-1a6a0e89d48c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "71558ce6-a84f-4488-b5b5-7cff4d450a19", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "20ea08ab-d500-43a7-962e-b55abd557afb", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "d7fd3b76-c3e5-472f-b393-1a6a0e89d48c", + "lastUpdateDateTime": "2022-05-07T06:37:18Z", + "createdDateTime": "2022-05-07T06:37:17Z", + "expirationDateTime": "2022-05-08T06:37:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:18.2017048Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7fd3b76-c3e5-472f-b393-1a6a0e89d48c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dc142a5e-a703-447d-ae90-c54aa18255ca", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "27fb77e3-bcf9-4e9b-a998-75c0b702ae14", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "jobId": "d7fd3b76-c3e5-472f-b393-1a6a0e89d48c", + "lastUpdateDateTime": "2022-05-07T06:37:18Z", + "createdDateTime": "2022-05-07T06:37:17Z", + "expirationDateTime": "2022-05-08T06:37:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:18.2017048Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json new file mode 100644 index 000000000000..a208e01ab6fa --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json @@ -0,0 +1,283 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "489", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "217a724d-a1db-4589-a5f6-d7fb7beb8e8a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomMultiLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "56d2c214-e3b3-4fba-b866-6fc785c913ed", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:22 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/6adb7f76-c7f0-4bad-9bfa-0c6253929491?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6adb7f76-c7f0-4bad-9bfa-0c6253929491?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "563df19d-3960-4711-a4a4-72f0744345a7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5611a076-5840-4c54-aa76-d30a9bdf9c3d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "6adb7f76-c7f0-4bad-9bfa-0c6253929491", + "lastUpdateDateTime": "2022-05-07T06:37:22Z", + "createdDateTime": "2022-05-07T06:37:22Z", + "expirationDateTime": "2022-05-08T06:37:22Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6adb7f76-c7f0-4bad-9bfa-0c6253929491?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7525c43a-e70f-4cdd-8924-9db51d139bd0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ca0ef86b-82bc-4142-a62d-9410f8d6f38d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "6adb7f76-c7f0-4bad-9bfa-0c6253929491", + "lastUpdateDateTime": "2022-05-07T06:37:22Z", + "createdDateTime": "2022-05-07T06:37:22Z", + "expirationDateTime": "2022-05-08T06:37:22Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6adb7f76-c7f0-4bad-9bfa-0c6253929491?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e53ce068-681e-407d-90d5-313cb2f65197", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bdf74701-dace-43d7-b92c-c29170bddbed", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "6adb7f76-c7f0-4bad-9bfa-0c6253929491", + "lastUpdateDateTime": "2022-05-07T06:37:23Z", + "createdDateTime": "2022-05-07T06:37:22Z", + "expirationDateTime": "2022-05-08T06:37:22Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:23.1433404Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6adb7f76-c7f0-4bad-9bfa-0c6253929491?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8e4e43d1-6bba-454f-8181-e19d98e1355a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1a489c59-ff6c-4b11-9b84-f36604caf526", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "6adb7f76-c7f0-4bad-9bfa-0c6253929491", + "lastUpdateDateTime": "2022-05-07T06:37:23Z", + "createdDateTime": "2022-05-07T06:37:22Z", + "expirationDateTime": "2022-05-08T06:37:22Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:23.1433404Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json new file mode 100644 index 000000000000..592529e533ef --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json @@ -0,0 +1,289 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "490", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d5f0c030-7fdc-4c69-96ae-203ae015b56c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomSingleLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6cb5e0b5-462a-4003-8aad-65871267df00", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:20 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c972b790-52e9-4b44-826f-3f03a2ccf92c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "79836c97-5377-4ad0-8630-afc076353b2c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495", + "lastUpdateDateTime": "2022-05-07T06:37:20Z", + "createdDateTime": "2022-05-07T06:37:20Z", + "expirationDateTime": "2022-05-08T06:37:20Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "de897b29-b92f-4213-8f12-c0140454a801", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "413fce72-da4c-4378-a31e-7baa007ee750", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495", + "lastUpdateDateTime": "2022-05-07T06:37:20Z", + "createdDateTime": "2022-05-07T06:37:20Z", + "expirationDateTime": "2022-05-08T06:37:20Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bcab9c6a-137c-441a-978e-ea912604c7d8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e60bac22-a85b-4faa-94a0-c4187d29a23a", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495", + "lastUpdateDateTime": "2022-05-07T06:37:20Z", + "createdDateTime": "2022-05-07T06:37:20Z", + "expirationDateTime": "2022-05-08T06:37:20Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:20.6414208Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d9f75ff1-66c4-42a0-b10b-c7e1dde02c2a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d75239b6-2030-4d51-b4e9-fea39aef001f", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "5a6cdcd2-eb63-4bb8-ad35-e603d1a3d495", + "lastUpdateDateTime": "2022-05-07T06:37:20Z", + "createdDateTime": "2022-05-07T06:37:20Z", + "expirationDateTime": "2022-05-08T06:37:20Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:20.6414208Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json new file mode 100644 index 000000000000..c54a79d9f8d7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json @@ -0,0 +1,711 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "337", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "65bd179b-a5de-4439-91d8-956656165e8f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityLinking", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c3baa26e-ca0f-4106-bce9-5139ce52fba9", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:39 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "171" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "845bcd39-02fb-408c-a8ba-4fc9f9918995", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b57903fd-b81c-4e1e-a086-466fcf52b25b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:40Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9d81b817-392b-44a2-a743-918f35e0b0b7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "435d147d-e46a-400f-afde-a991629e317f", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:40Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4ef4548b-79ee-443e-b6f1-194455fbb6c1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b02d760-134a-4f35-b61c-8a3a252689f5", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:40Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "efac8b5b-ad46-47f6-9005-d47f829ec550", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f722814d-536c-4c78-80fc-0a947a8e251a", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:40Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8f00c35f-2cbb-4ab8-8251-b588c815b134", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e994cf79-86cd-445a-9544-edd921f86413", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:46Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d4a39dc7-99c1-440c-881f-13c9f58344e8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c7366f22-b650-415e-80ca-52266054bd04", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:46Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9e776120-12e3-4a0b-a87e-824e962f8f55", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d4cd8896-9777-4190-97ee-5cf470476962", + "Content-Length": "2433", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "39" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:49Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:49.0681964Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/92f9fbc8-447e-417f-ac46-0bd0429ff0fe?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1dd2e2cd-8621-46fb-8965-dacbaa39ef6c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1cf07bfa-719c-4c44-b908-713c93372ceb", + "Content-Length": "2433", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "69" + }, + "ResponseBody": { + "jobId": "92f9fbc8-447e-417f-ac46-0bd0429ff0fe", + "lastUpdateDateTime": "2022-05-06T20:08:49Z", + "createdDateTime": "2022-05-06T20:08:40Z", + "expirationDateTime": "2022-05-07T20:08:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:49.0681964Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json new file mode 100644 index 000000000000..9b56b256cc18 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json @@ -0,0 +1,383 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "285", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d9b3823b-ebd2-461c-b45d-8fb4f98fa035", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "9dc77946-c003-4848-80ef-4061db55cea3", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:34 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/84d7a8af-363c-400e-8013-ed62c21f1210?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/84d7a8af-363c-400e-8013-ed62c21f1210?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c83f0e9b-42ba-4a11-811b-39f6c1a22861", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "328da3a1-a0fd-4a9a-b5c9-6b3ceba9030d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "84d7a8af-363c-400e-8013-ed62c21f1210", + "lastUpdateDateTime": "2022-05-06T20:08:34Z", + "createdDateTime": "2022-05-06T20:08:34Z", + "expirationDateTime": "2022-05-07T20:08:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/84d7a8af-363c-400e-8013-ed62c21f1210?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "20db20db-8358-4ce5-bbf6-8c6e664d5f71", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4e934573-2420-4489-b407-7eb657d68b54", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "jobId": "84d7a8af-363c-400e-8013-ed62c21f1210", + "lastUpdateDateTime": "2022-05-06T20:08:34Z", + "createdDateTime": "2022-05-06T20:08:34Z", + "expirationDateTime": "2022-05-07T20:08:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/84d7a8af-363c-400e-8013-ed62c21f1210?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c8692c00-11e5-4b01-a5ba-654abc477a34", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2ebb80e2-2df3-4435-b5ee-1c9776191089", + "Content-Length": "1069", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "43" + }, + "ResponseBody": { + "jobId": "84d7a8af-363c-400e-8013-ed62c21f1210", + "lastUpdateDateTime": "2022-05-06T20:08:36Z", + "createdDateTime": "2022-05-06T20:08:34Z", + "expirationDateTime": "2022-05-07T20:08:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:36.4071379Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/84d7a8af-363c-400e-8013-ed62c21f1210?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3ac7e16e-7997-4db6-b5cf-183f1a7c7f16", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7a675ae5-f7a6-4b37-a597-8dbb05ea404f", + "Content-Length": "1069", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "84d7a8af-363c-400e-8013-ed62c21f1210", + "lastUpdateDateTime": "2022-05-06T20:08:36Z", + "createdDateTime": "2022-05-06T20:08:34Z", + "expirationDateTime": "2022-05-07T20:08:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:36.4071379Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json new file mode 100644 index 000000000000..b5a63c4d79de --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json @@ -0,0 +1,416 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11308", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "db675ece-a47f-4c36-a130-73f9e78511bc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "ed8ef06b-2df7-4a84-ba56-cf38cbcf2824", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:04:42 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "197" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bb9ae6d3-a042-43cd-99e9-09296028d860", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a8f09ee4-fd69-4e71-afe4-08eb10747c30", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9a35d409-2b13-49fe-b4f2-66a6b1a7a639", + "lastUpdateDateTime": "2022-05-12T22:04:42Z", + "createdDateTime": "2022-05-12T22:04:42Z", + "expirationDateTime": "2022-05-13T22:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8d96c858-75d0-4cb5-b146-c63e14762711", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7b2e3d89-529a-4a76-b8ac-716b39248e85", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9a35d409-2b13-49fe-b4f2-66a6b1a7a639", + "lastUpdateDateTime": "2022-05-12T22:04:42Z", + "createdDateTime": "2022-05-12T22:04:42Z", + "expirationDateTime": "2022-05-13T22:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4f748778-9944-46e8-9304-9b09de3d966f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f4767e54-b148-47e9-9ba3-801385c1b6d3", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "9a35d409-2b13-49fe-b4f2-66a6b1a7a639", + "lastUpdateDateTime": "2022-05-12T22:04:42Z", + "createdDateTime": "2022-05-12T22:04:42Z", + "expirationDateTime": "2022-05-13T22:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "18380286-74d0-4223-b06e-fb75b36672c4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b7092542-478b-4f63-b033-38fda936bc12", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "9a35d409-2b13-49fe-b4f2-66a6b1a7a639", + "lastUpdateDateTime": "2022-05-12T22:04:46Z", + "createdDateTime": "2022-05-12T22:04:42Z", + "expirationDateTime": "2022-05-13T22:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:46.9584344Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9a35d409-2b13-49fe-b4f2-66a6b1a7a639?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c4bb75c3-20d0-4b0a-aead-9cba7deedb23", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ac2ddc8e-404d-4082-a3ff-b1708a814939", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "74" + }, + "ResponseBody": { + "jobId": "9a35d409-2b13-49fe-b4f2-66a6b1a7a639", + "lastUpdateDateTime": "2022-05-12T22:04:46Z", + "createdDateTime": "2022-05-12T22:04:42Z", + "expirationDateTime": "2022-05-13T22:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:46.9584344Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json new file mode 100644 index 000000000000..d6da94eaa82b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json @@ -0,0 +1,394 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11325", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dc786e46-6c77-42df-b829-c51b854646e6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sentenceCount": 2 + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e7900ef4-64f1-4a84-99c7-83d896ec7231", + "Content-Length": "0", + "Date": "Fri, 13 May 2022 04:44:47 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "202" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "35e24fa2-8e92-4621-ba86-66aea344268c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09458b9d-75d2-49dc-8efd-31e80feb4852", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "c8c9c40c-6051-4a0a-86fd-5068e035f5f6", + "lastUpdateDateTime": "2022-05-13T04:44:47Z", + "createdDateTime": "2022-05-13T04:44:47Z", + "expirationDateTime": "2022-05-14T04:44:47Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4af17d0e-2f54-49b0-b70b-8d867466370e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "edd27fb3-f17a-45ba-9292-aff895666e76", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "c8c9c40c-6051-4a0a-86fd-5068e035f5f6", + "lastUpdateDateTime": "2022-05-13T04:44:47Z", + "createdDateTime": "2022-05-13T04:44:47Z", + "expirationDateTime": "2022-05-14T04:44:47Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "828a6423-dc52-4027-8b6c-a4a1db70db9d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8559a10a-1935-4c35-93d1-975815021680", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "c8c9c40c-6051-4a0a-86fd-5068e035f5f6", + "lastUpdateDateTime": "2022-05-13T04:44:47Z", + "createdDateTime": "2022-05-13T04:44:47Z", + "expirationDateTime": "2022-05-14T04:44:47Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "62058375-da9d-45b1-b7ee-5f8eb7f24f14", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0de4a3d9-0253-482c-bccb-4c165cd1d346", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "47" + }, + "ResponseBody": { + "jobId": "c8c9c40c-6051-4a0a-86fd-5068e035f5f6", + "lastUpdateDateTime": "2022-05-13T04:44:51Z", + "createdDateTime": "2022-05-13T04:44:47Z", + "expirationDateTime": "2022-05-14T04:44:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-13T04:44:51.5290547Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c8c9c40c-6051-4a0a-86fd-5068e035f5f6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d9db9ac7-8464-4d99-8ce9-6f6cb09f3cdf", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "268b51b2-4ba6-4f96-8199-fd7c8d5a5265", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "c8c9c40c-6051-4a0a-86fd-5068e035f5f6", + "lastUpdateDateTime": "2022-05-13T04:44:51Z", + "createdDateTime": "2022-05-13T04:44:47Z", + "expirationDateTime": "2022-05-14T04:44:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-13T04:44:51.5290547Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json new file mode 100644 index 000000000000..5b8146bf987b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json @@ -0,0 +1,465 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11323", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "23061f40-3bc4-42f9-b018-689e0ee9d192", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sortBy": "Rank" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "073d8cbd-b967-4b7e-aab5-6c86551f44ae", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:22:52 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "139" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b8f994b6-e4b2-400f-896a-d68944248e91", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1b334648-c815-42f1-b147-5aa88bfe0e5d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:52Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "62eff5f3-3635-49c2-b8af-782252e3d88e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2580e8b4-399d-48fe-9166-7fa3a9adbe1b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:52Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dcbd7dcc-cd11-4337-9526-8d1ab643a406", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b785e011-2809-4084-803f-6f5a762cfebe", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:52Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "86f1f4e3-8f4c-464e-bdf9-33b9367b1425", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a4fd9cd2-4c20-4b90-a6fb-090b2bb50863", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:52Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "761a7064-8b73-4f3d-8873-ac4b42b9b276", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "97c83979-a45a-4aec-9514-ba1409aaab00", + "Content-Length": "1718", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "42" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:56Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:56.692393Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/47322b15-4a50-4be3-b53e-b0f14a1d822b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7d615311-fb9b-4bdf-90d6-4fd578a66b17", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ad183d08-8ffd-46e1-8c03-94c42a5d0900", + "Content-Length": "1718", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "42" + }, + "ResponseBody": { + "jobId": "47322b15-4a50-4be3-b53e-b0f14a1d822b", + "lastUpdateDateTime": "2022-05-12T22:22:56Z", + "createdDateTime": "2022-05-12T22:22:52Z", + "expirationDateTime": "2022-05-13T22:22:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:56.692393Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json new file mode 100644 index 000000000000..73e9a5c6664e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json @@ -0,0 +1,2484 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "392", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bba693af-0b82-4faf-a37f-069f9b17b37f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f5a3a939-c76d-4862-a4c6-8136d1e8611b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:16 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/4194366e-e997-4718-9ac3-166f1566b811?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "174" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4194366e-e997-4718-9ac3-166f1566b811?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "985f53fa-f6fa-48a5-bb3e-36e68a39d0fd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "443e4187-df5a-4e10-8bcb-72cda7ba8cfc", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "4194366e-e997-4718-9ac3-166f1566b811", + "lastUpdateDateTime": "2022-05-06T20:09:16Z", + "createdDateTime": "2022-05-06T20:09:16Z", + "expirationDateTime": "2022-05-07T20:09:16Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4194366e-e997-4718-9ac3-166f1566b811?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "20b03852-153d-48e9-b80b-0f9355f2adc7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "44802355-a817-4f92-bb33-b5ffb40c887b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "4194366e-e997-4718-9ac3-166f1566b811", + "lastUpdateDateTime": "2022-05-06T20:09:16Z", + "createdDateTime": "2022-05-06T20:09:16Z", + "expirationDateTime": "2022-05-07T20:09:16Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4194366e-e997-4718-9ac3-166f1566b811?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "97c26895-8504-4889-9765-0259350246fd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "800de3aa-1574-4149-88b3-75c226da57e7", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "4194366e-e997-4718-9ac3-166f1566b811", + "lastUpdateDateTime": "2022-05-06T20:09:17Z", + "createdDateTime": "2022-05-06T20:09:16Z", + "expirationDateTime": "2022-05-07T20:09:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:17.5437993Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4194366e-e997-4718-9ac3-166f1566b811?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "41bb73de-69ef-4e5d-825c-263a87cf8b5f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ad58954e-f3f9-44b7-b969-c600f60c7350", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "jobId": "4194366e-e997-4718-9ac3-166f1566b811", + "lastUpdateDateTime": "2022-05-06T20:09:17Z", + "createdDateTime": "2022-05-06T20:09:16Z", + "expirationDateTime": "2022-05-07T20:09:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:17.5437993Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json new file mode 100644 index 000000000000..9f5fe1c43a7a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json @@ -0,0 +1,5588 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "413", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "128721df-9651-4b8f-a3d9-7cab6e3cef60", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "fhirVersion": "4.0.1" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "aed2ee0f-daf6-45c1-b885-47e28acdeaae", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:19 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/0688cfd1-7776-4968-b4b1-12b3a7cced04?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "166" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0688cfd1-7776-4968-b4b1-12b3a7cced04?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d210185d-99dd-4003-9e4d-bd429c692d2a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "91e0b667-55d9-4dbf-8ca7-b213a08fc348", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "0688cfd1-7776-4968-b4b1-12b3a7cced04", + "lastUpdateDateTime": "2022-05-06T20:09:19Z", + "createdDateTime": "2022-05-06T20:09:19Z", + "expirationDateTime": "2022-05-07T20:09:19Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0688cfd1-7776-4968-b4b1-12b3a7cced04?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "33008475-c8a8-4099-aec8-f0d963d172da", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fd189a4e-dd10-4edd-b54b-77abe1dd0393", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "0688cfd1-7776-4968-b4b1-12b3a7cced04", + "lastUpdateDateTime": "2022-05-06T20:09:19Z", + "createdDateTime": "2022-05-06T20:09:19Z", + "expirationDateTime": "2022-05-07T20:09:19Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0688cfd1-7776-4968-b4b1-12b3a7cced04?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "701f4812-4af7-4e07-91f9-1ee0de53f572", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "23f36fa3-0104-43fd-9280-063a59ea83bc", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "70" + }, + "ResponseBody": { + "jobId": "0688cfd1-7776-4968-b4b1-12b3a7cced04", + "lastUpdateDateTime": "2022-05-06T20:09:20Z", + "createdDateTime": "2022-05-06T20:09:19Z", + "expirationDateTime": "2022-05-07T20:09:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:20.9832869Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "0a5116e8-4ec0-4fd4-8162-ea1ff8979a16", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:0a5116e8-4ec0-4fd4-8162-ea1ff8979a16" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/882be560-7dfc-453e-b5b9-a707d35b1abc", + "resource": { + "resourceType": "Composition", + "id": "882be560-7dfc-453e-b5b9-a707d35b1abc", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/74eb66ce-177e-48ea-bce5-5562e2340f58", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/64996b48-e46e-4322-b743-a7521667cae1", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/74eb66ce-177e-48ea-bce5-5562e2340f58", + "resource": { + "resourceType": "Practitioner", + "id": "74eb66ce-177e-48ea-bce5-5562e2340f58", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "resource": { + "resourceType": "Patient", + "id": "20db7b04-a996-4510-9a8a-291c4508558e", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "resource": { + "resourceType": "Encounter", + "id": "72e2c338-661b-4f86-9e0a-fdffb53293be", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/4bc9e55d-f556-446e-b96c-7baf85ecab68", + "resource": { + "resourceType": "Observation", + "id": "4bc9e55d-f556-446e-b96c-7baf85ecab68", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/64996b48-e46e-4322-b743-a7521667cae1", + "resource": { + "resourceType": "List", + "id": "64996b48-e46e-4322-b743-a7521667cae1", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/4bc9e55d-f556-446e-b96c-7baf85ecab68", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "92c28b39-14eb-4c72-b2d2-409fc06d1f5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:92c28b39-14eb-4c72-b2d2-409fc06d1f5f" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/aa0fd6a9-8f05-4634-96af-1e0f810a03ef", + "resource": { + "resourceType": "Composition", + "id": "aa0fd6a9-8f05-4634-96af-1e0f810a03ef", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/47e734f6-c92d-4527-a0ab-95fbcd759038", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "resource": { + "resourceType": "Practitioner", + "id": "9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "resource": { + "resourceType": "Patient", + "id": "96c488fe-f684-43c9-82c2-8c976b9aa194", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "resource": { + "resourceType": "Encounter", + "id": "b528121d-630e-4cf4-958e-dafdfd411971", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/5f411e15-035e-43a4-8bde-45d043a1c41d", + "resource": { + "resourceType": "MedicationStatement", + "id": "5f411e15-035e-43a4-8bde-45d043a1c41d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "context": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/47e734f6-c92d-4527-a0ab-95fbcd759038", + "resource": { + "resourceType": "List", + "id": "47e734f6-c92d-4527-a0ab-95fbcd759038", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/5f411e15-035e-43a4-8bde-45d043a1c41d", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "036b6d7d-e654-4a06-a636-c3165067b27e", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:036b6d7d-e654-4a06-a636-c3165067b27e" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/37206fe8-27b2-45f6-b5d7-da5045c7a967", + "resource": { + "resourceType": "Composition", + "id": "37206fe8-27b2-45f6-b5d7-da5045c7a967", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "resource": { + "resourceType": "Practitioner", + "id": "e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "resource": { + "resourceType": "Patient", + "id": "891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "resource": { + "resourceType": "Encounter", + "id": "fc370502-1323-44b2-9c74-3880564cdad1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "resource": { + "resourceType": "Condition", + "id": "186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/e2669b02-530f-4433-ab4b-3eed01a1d1db", + "resource": { + "resourceType": "Observation", + "id": "e2669b02-530f-4433-ab4b-3eed01a1d1db", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/32ba28a4-88d4-4b84-8695-44795864bf94", + "resource": { + "resourceType": "MedicationStatement", + "id": "32ba28a4-88d4-4b84-8695-44795864bf94", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "context": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "resource": { + "resourceType": "List", + "id": "cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/e2669b02-530f-4433-ab4b-3eed01a1d1db", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/32ba28a4-88d4-4b84-8695-44795864bf94", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0688cfd1-7776-4968-b4b1-12b3a7cced04?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e02d9a2e-73bf-4a9f-8ad1-7ad89e4f8b65", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bd123a93-66a0-4db7-9303-474b98c44ba4", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "0688cfd1-7776-4968-b4b1-12b3a7cced04", + "lastUpdateDateTime": "2022-05-06T20:09:20Z", + "createdDateTime": "2022-05-06T20:09:19Z", + "expirationDateTime": "2022-05-07T20:09:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:20.9832869Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "0a5116e8-4ec0-4fd4-8162-ea1ff8979a16", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:0a5116e8-4ec0-4fd4-8162-ea1ff8979a16" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/882be560-7dfc-453e-b5b9-a707d35b1abc", + "resource": { + "resourceType": "Composition", + "id": "882be560-7dfc-453e-b5b9-a707d35b1abc", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/74eb66ce-177e-48ea-bce5-5562e2340f58", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/64996b48-e46e-4322-b743-a7521667cae1", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/74eb66ce-177e-48ea-bce5-5562e2340f58", + "resource": { + "resourceType": "Practitioner", + "id": "74eb66ce-177e-48ea-bce5-5562e2340f58", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "resource": { + "resourceType": "Patient", + "id": "20db7b04-a996-4510-9a8a-291c4508558e", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "resource": { + "resourceType": "Encounter", + "id": "72e2c338-661b-4f86-9e0a-fdffb53293be", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/4bc9e55d-f556-446e-b96c-7baf85ecab68", + "resource": { + "resourceType": "Observation", + "id": "4bc9e55d-f556-446e-b96c-7baf85ecab68", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/64996b48-e46e-4322-b743-a7521667cae1", + "resource": { + "resourceType": "List", + "id": "64996b48-e46e-4322-b743-a7521667cae1", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/20db7b04-a996-4510-9a8a-291c4508558e", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/72e2c338-661b-4f86-9e0a-fdffb53293be", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/4bc9e55d-f556-446e-b96c-7baf85ecab68", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "92c28b39-14eb-4c72-b2d2-409fc06d1f5f", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:92c28b39-14eb-4c72-b2d2-409fc06d1f5f" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/aa0fd6a9-8f05-4634-96af-1e0f810a03ef", + "resource": { + "resourceType": "Composition", + "id": "aa0fd6a9-8f05-4634-96af-1e0f810a03ef", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/47e734f6-c92d-4527-a0ab-95fbcd759038", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "resource": { + "resourceType": "Practitioner", + "id": "9299ce75-0256-4e2c-8ab6-966dcabd9f04", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "resource": { + "resourceType": "Patient", + "id": "96c488fe-f684-43c9-82c2-8c976b9aa194", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "resource": { + "resourceType": "Encounter", + "id": "b528121d-630e-4cf4-958e-dafdfd411971", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/5f411e15-035e-43a4-8bde-45d043a1c41d", + "resource": { + "resourceType": "MedicationStatement", + "id": "5f411e15-035e-43a4-8bde-45d043a1c41d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "context": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/47e734f6-c92d-4527-a0ab-95fbcd759038", + "resource": { + "resourceType": "List", + "id": "47e734f6-c92d-4527-a0ab-95fbcd759038", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/96c488fe-f684-43c9-82c2-8c976b9aa194", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/b528121d-630e-4cf4-958e-dafdfd411971", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/5f411e15-035e-43a4-8bde-45d043a1c41d", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "036b6d7d-e654-4a06-a636-c3165067b27e", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:036b6d7d-e654-4a06-a636-c3165067b27e" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/37206fe8-27b2-45f6-b5d7-da5045c7a967", + "resource": { + "resourceType": "Composition", + "id": "37206fe8-27b2-45f6-b5d7-da5045c7a967", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "resource": { + "resourceType": "Practitioner", + "id": "e0a6354a-9516-4b74-ad4c-4b03d8ebb26b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "resource": { + "resourceType": "Patient", + "id": "891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "resource": { + "resourceType": "Encounter", + "id": "fc370502-1323-44b2-9c74-3880564cdad1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "resource": { + "resourceType": "Condition", + "id": "186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/e2669b02-530f-4433-ab4b-3eed01a1d1db", + "resource": { + "resourceType": "Observation", + "id": "e2669b02-530f-4433-ab4b-3eed01a1d1db", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/32ba28a4-88d4-4b84-8695-44795864bf94", + "resource": { + "resourceType": "MedicationStatement", + "id": "32ba28a4-88d4-4b84-8695-44795864bf94", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "context": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "resource": { + "resourceType": "List", + "id": "cf9550ec-7eeb-4601-a8d5-d250e9f8c5dd", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/891c5e5b-edbb-4a7d-93e9-87c5cc7dc8d7", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/fc370502-1323-44b2-9c74-3880564cdad1", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/186c3446-3e7f-4a88-a7b2-a4b4f6730305", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/e2669b02-530f-4433-ab4b-3eed01a1d1db", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/32ba28a4-88d4-4b84-8695-44795864bf94", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json new file mode 100644 index 000000000000..3778e7979ab4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json @@ -0,0 +1,311 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "287", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "11402118-c5cc-40f3-9f42-03e29a8019a5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "KeyPhraseExtraction", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6ee576d0-253e-42c1-a6b4-17ab36bb6d1c", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:37 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5cc50294-27ee-4e08-a298-750042cbdee9?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "237" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5cc50294-27ee-4e08-a298-750042cbdee9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a498d7ef-acc3-4f93-8431-1b35bb1eb266", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b034631-ec0f-4e76-8436-1c061376060e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "5cc50294-27ee-4e08-a298-750042cbdee9", + "lastUpdateDateTime": "2022-05-06T20:08:37Z", + "createdDateTime": "2022-05-06T20:08:37Z", + "expirationDateTime": "2022-05-07T20:08:37Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5cc50294-27ee-4e08-a298-750042cbdee9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f4b9665b-7a86-4af2-995a-3ea922e6f726", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d3bd4774-e3da-40b7-a7f5-511517897997", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5cc50294-27ee-4e08-a298-750042cbdee9", + "lastUpdateDateTime": "2022-05-06T20:08:37Z", + "createdDateTime": "2022-05-06T20:08:37Z", + "expirationDateTime": "2022-05-07T20:08:37Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5cc50294-27ee-4e08-a298-750042cbdee9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8fd40624-e6f4-4301-99ab-57d69ad25521", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "90a5992c-9809-4d3c-b969-bfd6fadb6c83", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "5cc50294-27ee-4e08-a298-750042cbdee9", + "lastUpdateDateTime": "2022-05-06T20:08:39Z", + "createdDateTime": "2022-05-06T20:08:37Z", + "expirationDateTime": "2022-05-07T20:08:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:39.4592924Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5cc50294-27ee-4e08-a298-750042cbdee9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "05845163-4e69-4070-89d2-6e29e42b900d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0abaed1a-7092-46ae-b90a-51f5ce8ceeaa", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "5cc50294-27ee-4e08-a298-750042cbdee9", + "lastUpdateDateTime": "2022-05-06T20:08:39Z", + "createdDateTime": "2022-05-06T20:08:37Z", + "expirationDateTime": "2022-05-07T20:08:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:39.4592924Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json new file mode 100644 index 000000000000..75dcff0819a3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json @@ -0,0 +1,517 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "397", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7b4e7e67-6ff7-49c4-a95d-66517de35f37", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "My SSN is 859-98-0987.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + }, + { + "id": "2", + "text": "Is 998.214.865-68 your Brazilian CPF number?", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e20bab1f-e6c1-45d1-a0e2-8ff90911b185", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:50 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "171" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8c971b37-1dc3-4e77-95f4-772497f48ee1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7cfe2884-5ae2-451d-8c72-59e1fc9e80f5", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:51Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "62d608a7-1dbf-4ab0-89d0-1e124188772d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b2bf59b9-ae26-4d30-9989-e7a9a5f21aac", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:51Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8df00f5b-1f73-4032-93f5-82185d5a2e00", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ac511716-2fc6-42d7-a9e4-3b3cc4142063", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:51Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0affb4d4-5a80-495a-a9b7-95d2576c34e0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8701fb4f-7837-426e-9668-7fe925648dcf", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:51Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "685f8373-3aec-4ecd-a648-5c569b35e72d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "53b10894-faa6-4c95-ade4-90da8ec2f9c0", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:51Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fc74ddc1-6a57-4cf5-9ba5-afb5af776654", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b2b833f1-b41a-4eaf-a318-66d81f41d682", + "Content-Length": "1196", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:59Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:59.268577Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537be698-157a-4b37-9fde-30e0c887c693?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "940b8bce-d3b3-4d8e-a62b-adebd5ca73e9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a359e646-9cff-4989-afcd-554aa95266c0", + "Content-Length": "1196", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "537be698-157a-4b37-9fde-30e0c887c693", + "lastUpdateDateTime": "2022-05-06T20:08:59Z", + "createdDateTime": "2022-05-06T20:08:50Z", + "expirationDateTime": "2022-05-07T20:08:50Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:59.268577Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json new file mode 100644 index 000000000000..d15a83b4cb59 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json @@ -0,0 +1,318 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "468", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "757ee594-f1dc-405f-9888-85c1e7ac2c56", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "1d3185d3-75cc-4821-8298-50a93e54e95d", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:00 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5eb56f06-9839-4ce9-85ec-5068a768ee9c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "145" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eb56f06-9839-4ce9-85ec-5068a768ee9c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a249fa5f-8f6c-4515-aa9e-40308e1e7e14", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0a9afce4-466f-466a-be97-4e4e1c92038d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "jobId": "5eb56f06-9839-4ce9-85ec-5068a768ee9c", + "lastUpdateDateTime": "2022-05-06T20:09:00Z", + "createdDateTime": "2022-05-06T20:09:00Z", + "expirationDateTime": "2022-05-07T20:09:00Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eb56f06-9839-4ce9-85ec-5068a768ee9c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "db5be059-8ed8-4914-aa07-3e1491b02ca6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f78421ff-8b27-4142-90d5-d0805395d588", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5eb56f06-9839-4ce9-85ec-5068a768ee9c", + "lastUpdateDateTime": "2022-05-06T20:09:00Z", + "createdDateTime": "2022-05-06T20:09:00Z", + "expirationDateTime": "2022-05-07T20:09:00Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eb56f06-9839-4ce9-85ec-5068a768ee9c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3dd0e709-4a17-4065-ab2e-959f52571025", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8dce067e-9eba-4dfc-88a8-41246fd24a22", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "54" + }, + "ResponseBody": { + "jobId": "5eb56f06-9839-4ce9-85ec-5068a768ee9c", + "lastUpdateDateTime": "2022-05-06T20:09:02Z", + "createdDateTime": "2022-05-06T20:09:00Z", + "expirationDateTime": "2022-05-07T20:09:00Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:02.2591212Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eb56f06-9839-4ce9-85ec-5068a768ee9c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "cae20c0b-e244-4571-b231-8d664827c877", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e8b4d1f-06e5-4d92-a9d6-9078ae1292c6", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "5eb56f06-9839-4ce9-85ec-5068a768ee9c", + "lastUpdateDateTime": "2022-05-06T20:09:02Z", + "createdDateTime": "2022-05-06T20:09:00Z", + "expirationDateTime": "2022-05-07T20:09:00Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:02.2591212Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json new file mode 100644 index 000000000000..84db181833c3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json @@ -0,0 +1,402 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "440", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8f07c5a4-3aa4-40b7-a0ba-87eaef8b1040", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "domain": "phi" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a0e5012f-dc4d-48ea-b583-1afce41462db", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:02 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/2a970eb6-8e81-4f1c-8279-97381be49c00?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "305" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2a970eb6-8e81-4f1c-8279-97381be49c00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "005a9e12-54e6-413f-9832-f92f5f126fb7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4c87001-1926-487e-b012-4f4cbd26f984", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "2a970eb6-8e81-4f1c-8279-97381be49c00", + "lastUpdateDateTime": "2022-05-06T20:09:03Z", + "createdDateTime": "2022-05-06T20:09:02Z", + "expirationDateTime": "2022-05-07T20:09:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2a970eb6-8e81-4f1c-8279-97381be49c00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f2707072-4581-4fee-a6f4-294cd8ab4cba", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae80fb95-51ea-46f9-9040-78450ce49755", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "2a970eb6-8e81-4f1c-8279-97381be49c00", + "lastUpdateDateTime": "2022-05-06T20:09:03Z", + "createdDateTime": "2022-05-06T20:09:02Z", + "expirationDateTime": "2022-05-07T20:09:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2a970eb6-8e81-4f1c-8279-97381be49c00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4ed1dff4-3eb4-444b-b8ba-2805740634b2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cd7747d8-9962-4552-b066-c736e6f0d52e", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "48" + }, + "ResponseBody": { + "jobId": "2a970eb6-8e81-4f1c-8279-97381be49c00", + "lastUpdateDateTime": "2022-05-06T20:09:04Z", + "createdDateTime": "2022-05-06T20:09:02Z", + "expirationDateTime": "2022-05-07T20:09:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:04.6347424Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2a970eb6-8e81-4f1c-8279-97381be49c00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bc8d03f5-e0aa-404a-b644-b9fafb08eb8d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "812d7d24-3f8b-4f68-8aaf-95e2c41d06c0", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "2a970eb6-8e81-4f1c-8279-97381be49c00", + "lastUpdateDateTime": "2022-05-06T20:09:04Z", + "createdDateTime": "2022-05-06T20:09:02Z", + "expirationDateTime": "2022-05-07T20:09:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:04.6347424Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json new file mode 100644 index 000000000000..84d8e9e9b302 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json @@ -0,0 +1,1737 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "740", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "da9860d0-1dc5-423b-ba23-b0d525529f1f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "SentimentAnalysis", + "parameters": { + "modelVersion": "latest", + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "dc3c5a60-7e03-4170-b11b-9191fe5ca1ea", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:05 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "311" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1935e595-f739-471c-a1a6-c945cf8d4d00", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "feead016-673b-4718-bbc6-acf4709180cb", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c583e5b-f893-4f33-abe8-23a41dd2809b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d7a8c469-111c-479f-9df6-0f37a41bc531", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8e141877-8d68-4fca-86d9-6c9985ac5b7a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0a94fdac-3873-4729-aca2-366b1e9e23ec", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9c247b7f-8d3d-474a-b757-a593c097df34", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "62bc0199-f0e9-4d0b-96c3-35a3a9cbe610", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bf74c549-ca4c-41a3-9e0c-fca06b14d8fb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9805d37b-01e8-4024-ac63-633a101f0623", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "920b7204-3816-4031-a7f5-0593dc487395", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9977290-757e-4eba-a361-d57d29c7659b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:05Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6760e005-108a-48a9-9049-e1db131256dd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "182cd264-aa02-4159-a095-27df49f1436f", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "95" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:15Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:15.1092601Z", + "status": "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/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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0c1a6daf-f4ad-4fa7-abfd-eab018248b20?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d98955a6-eadb-4d5f-811e-9a382034763f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "503dbffe-606a-4421-9f1f-043f87a3d336", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98" + }, + "ResponseBody": { + "jobId": "0c1a6daf-f4ad-4fa7-abfd-eab018248b20", + "lastUpdateDateTime": "2022-05-06T20:09:15Z", + "createdDateTime": "2022-05-06T20:09:05Z", + "expirationDateTime": "2022-05-07T20:09:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:15.1092601Z", + "status": "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/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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..7e3b128d9b5e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,936 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "357", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "11422f00-5f63-492f-8206-39105205774f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c75cfe7f-865c-49d7-bec3-85dd7da43ca9", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:42 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "254" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3ef7c3c9-74d2-4c26-adf3-23294399c8ec", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d4991a1-1f91-448e-9173-45c6d5d05389", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:43Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7cf0e003-dbd3-4f44-adab-f800faceab05", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4fdfa15b-91ac-421c-a014-3ba726acee78", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:43Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "32d9a198-be85-4118-8089-4a5aeac43329", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "618e3734-0122-4f66-aec9-dbd46b0178bb", + "Content-Length": "2010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "245" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:45Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:44.9523578Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:45.1950465Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "17f716c1-0265-41bb-8fa0-3bb31a82aa97", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "57a2897e-2cfe-4f81-9096-307e287aedbd", + "Content-Length": "2010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:45Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:44.9523578Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:45.1950465Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8e550a63-b6d0-4c00-9ae0-9c2e75cd0dd2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "baa9f6f1-d70b-4ecc-ae15-5ff24342dce0", + "Content-Length": "2010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "100" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:49Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:44.9523578Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:45.1950465Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7a1a6a76-b00e-414e-8eb7-b150fdba88c2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7c17c4ee-616d-46c8-b83f-b9ea7e58d25b", + "Content-Length": "2879", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "177" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:50Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:50.948377Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:44.9523578Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:45.1950465Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f752eaff-aee0-4515-8c8d-de809b1ccddb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a40d2be1-ced3-4f1a-8ed7-5d95ad12803f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b89ec2cd-1ce9-45ef-bbf6-6a45785e2707", + "Content-Length": "2879", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "154" + }, + "ResponseBody": { + "jobId": "f752eaff-aee0-4515-8c8d-de809b1ccddb", + "lastUpdateDateTime": "2022-05-06T20:09:50Z", + "createdDateTime": "2022-05-06T20:09:43Z", + "expirationDateTime": "2022-05-07T20:09:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:50.948377Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:44.9523578Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:45.1950465Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json new file mode 100644 index 000000000000..de232fa2495c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json @@ -0,0 +1,156 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "06984c9f-f7c7-47ac-af43-2667804d01c0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "163d69da-3bce-4647-8a71-1fd28c4e87d7", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:09 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/f565ba20-80e7-47c6-b37a-61f36627dbda?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "222" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f565ba20-80e7-47c6-b37a-61f36627dbda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "74820645-eade-4d06-ba02-ae4ba93a99fe", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "80733da5-6224-4808-87b3-656a4e943162", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "f565ba20-80e7-47c6-b37a-61f36627dbda", + "lastUpdateDateTime": "2022-05-06T20:11:10Z", + "createdDateTime": "2022-05-06T20:11:09Z", + "expirationDateTime": "2022-05-07T20:11:09Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f565ba20-80e7-47c6-b37a-61f36627dbda:cancel?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b52db92e-b967-404e-83d6-7ee0fb464e31", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c0134cdc-79ff-4333-8ccb-c8eceabee96e", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:09 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/f565ba20-80e7-47c6-b37a-61f36627dbda?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json new file mode 100644 index 000000000000..d08a37d817c3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json @@ -0,0 +1,596 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "296", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b1a45f67-1373-4034-a16f-3345724d0702", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This should fail because we\u0027re passing in an invalid language hint", + "language": "notalanguage" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "8058031b-e542-4f7d-97ce-fb4ee071fc39", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:43 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "195" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8fcfade9-b425-4078-a3b1-195451023305", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2afb6b0f-2402-4ca8-8926-de8c86a82945", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:43Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5a7f7898-1ec0-4278-acf2-636d8640c27d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2252d51e-283b-482b-a20c-705f7d66c184", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:43Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "60bc0442-6f5e-4d00-bd9d-e1aa2fe3be57", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "31b80b6a-3ec8-45e7-97fd-637a69e3dad2", + "Content-Length": "846", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:45Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:45.4020513Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ff845832-e270-4aaa-9286-a8c995c7f9e3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "df037dd7-3ab3-4242-a36d-54e9d34052cb", + "Content-Length": "846", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:45Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:45.4020513Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e804555b-a798-41ee-8006-eecc60885766", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f67a9afa-853f-4225-a9b9-6b0061996c34", + "Content-Length": "846", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "47" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:50Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:45.4020513Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ef1a89c0-dfa9-4d7b-81ff-29d5b52a45c4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "722122a3-75cc-4878-9f36-27ba05c38bdc", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "190" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:51Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:51.2780437Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:50.3470313Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:45.4020513Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a95ee940-b2b4-41f2-b03e-77e459abf5c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1e2d6d27-4197-43e1-9a75-d0212b093c7e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "07d2758e-2d9b-4fdd-a101-99ed80e57c37", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "127" + }, + "ResponseBody": { + "jobId": "a95ee940-b2b4-41f2-b03e-77e459abf5c1", + "lastUpdateDateTime": "2022-05-06T20:10:51Z", + "createdDateTime": "2022-05-06T20:10:43Z", + "expirationDateTime": "2022-05-07T20:10:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:51.2780437Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:50.3470313Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:45.4020513Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json new file mode 100644 index 000000000000..cdd6c4b9c69f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json @@ -0,0 +1,224 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7995fdaf-a70f-4735-81a3-3234b7ee29f0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "displayName": "testJob", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "end" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4cdc7e54-e3b3-4536-8892-f822d6129ade", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:07 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/9e03a4c7-eeb9-489b-9a97-d92ffd524675?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9e03a4c7-eeb9-489b-9a97-d92ffd524675?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "839e8bc7-9de6-4ecf-abce-f5a278dd5aae", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a4f5ffc6-1299-42c3-a306-f85c801dfc38", + "Content-Length": "306", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9e03a4c7-eeb9-489b-9a97-d92ffd524675", + "lastUpdateDateTime": "2022-05-06T20:11:07Z", + "createdDateTime": "2022-05-06T20:11:07Z", + "expirationDateTime": "2022-05-07T20:11:07Z", + "status": "notStarted", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9e03a4c7-eeb9-489b-9a97-d92ffd524675?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "76023547-6094-4036-af48-0eb9881efd96", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3308b1c1-6af8-4d43-a3c9-e82c5dafcc59", + "Content-Length": "306", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9e03a4c7-eeb9-489b-9a97-d92ffd524675", + "lastUpdateDateTime": "2022-05-06T20:11:07Z", + "createdDateTime": "2022-05-06T20:11:07Z", + "expirationDateTime": "2022-05-07T20:11:07Z", + "status": "notStarted", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9e03a4c7-eeb9-489b-9a97-d92ffd524675?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5a9a82ae-b91c-4410-8496-786924574182", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "682fa290-1df3-4027-ba2d-f2d4ed1e179b", + "Content-Length": "845", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "9e03a4c7-eeb9-489b-9a97-d92ffd524675", + "lastUpdateDateTime": "2022-05-06T20:11:09Z", + "createdDateTime": "2022-05-06T20:11:07Z", + "expirationDateTime": "2022-05-07T20:11:07Z", + "status": "succeeded", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:09.438543Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json new file mode 100644 index 000000000000..2ca4fef714bb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json @@ -0,0 +1,579 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "300", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6403c649-520b-4997-b5cf-879cb015547a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "56", + "text": ":)" + }, + { + "id": "0", + "text": ":(" + }, + { + "id": "22", + "text": "w" + }, + { + "id": "19", + "text": ":P" + }, + { + "id": "1", + "text": ":D" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "8c71dd50-09d8-4e40-8561-a0a63aaf2753", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:04 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "322" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0f5dd811-d0eb-43ae-b609-897779a393de", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a05338e7-873b-4e34-9c13-a923c1582a3c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "4bdec786-192a-4e97-8030-5a2f4b7254ae", + "lastUpdateDateTime": "2022-05-06T20:10:04Z", + "createdDateTime": "2022-05-06T20:10:04Z", + "expirationDateTime": "2022-05-07T20:10:04Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "59f1ef97-6507-483b-9a66-c53a96bca9fd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3eaac761-b6c0-4c63-bcf1-3355ca56a662", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "4bdec786-192a-4e97-8030-5a2f4b7254ae", + "lastUpdateDateTime": "2022-05-06T20:10:04Z", + "createdDateTime": "2022-05-06T20:10:04Z", + "expirationDateTime": "2022-05-07T20:10:04Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "83a21db5-0dc0-4f27-b6ca-6631f6d5f186", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f66634a-7596-432b-9080-63474a670cf3", + "Content-Length": "654", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "71" + }, + "ResponseBody": { + "jobId": "4bdec786-192a-4e97-8030-5a2f4b7254ae", + "lastUpdateDateTime": "2022-05-06T20:10:06Z", + "createdDateTime": "2022-05-06T20:10:04Z", + "expirationDateTime": "2022-05-07T20:10:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:06.8783864Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5b90dc0e-43ba-40cf-a902-d853e86af4d5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f4464413-877a-474e-bb47-b31a9d901dcb", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "210" + }, + "ResponseBody": { + "jobId": "4bdec786-192a-4e97-8030-5a2f4b7254ae", + "lastUpdateDateTime": "2022-05-06T20:10:07Z", + "createdDateTime": "2022-05-06T20:10:04Z", + "expirationDateTime": "2022-05-07T20:10:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:06.8783864Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:07.1651815Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:07.2011653Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4bdec786-192a-4e97-8030-5a2f4b7254ae?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a60d1903-bce7-44d7-ad5b-3add3e707cae", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "29cd6e28-e5df-421f-b15e-d82204ca5a66", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "186" + }, + "ResponseBody": { + "jobId": "4bdec786-192a-4e97-8030-5a2f4b7254ae", + "lastUpdateDateTime": "2022-05-06T20:10:07Z", + "createdDateTime": "2022-05-06T20:10:04Z", + "expirationDateTime": "2022-05-07T20:10:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:06.8783864Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:07.1651815Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:07.2011653Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json new file mode 100644 index 000000000000..e785234c3007 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -0,0 +1,1055 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "307", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8ac66d99-bfbc-4040-9725-183de4a1758b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "one" + }, + { + "id": "2", + "text": "two" + }, + { + "id": "3", + "text": "three" + }, + { + "id": "4", + "text": "four" + }, + { + "id": "5", + "text": "five" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "af9dc47f-393e-4ddd-9139-7a662a933faf", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:52 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "368" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dcf640cb-b44a-4590-9553-b39fa63491c6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "db7ceed0-ae0b-4938-b744-4f9e480f5105", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:09:53Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "aaee19ec-939a-4e84-aeca-31748d8a5b22", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "08b1a92a-23bd-45e6-ad96-2ddb480ff336", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:09:53Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c6b4cfe8-61ce-4358-9bca-1c5461c194b4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cc6cea82-fc06-4de2-8848-2f5826130daf", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:09:53Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ffa6cf9a-3d90-4c8f-a069-4b0374a887f4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f0de69d-377d-43d6-91a9-b86ba5df66a1", + "Content-Length": "1170", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "68" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:09:56Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:56.4842186Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "22983c12-d2a7-4b8d-84e5-105af9d04ef4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "92e289a9-28e5-4ffb-8bbd-fcf148420884", + "Content-Length": "1170", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "77" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:09:56Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:56.4842186Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7b68f477-b4c1-4f40-abc9-90db1dac5d16", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8034c3eb-7c1f-46e0-a85e-30bd0ea18556", + "Content-Length": "1555", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:10:01Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:56.4842186Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:01.0093012Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8249ec40-a2c3-4d86-8bf8-b85f2767b3c3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "54f55c72-200f-4511-bbda-89b2fed7e796", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "233" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:10:02Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:56.4842186Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:02.0030578Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:01.0093012Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/66c31274-0298-4b95-9b7f-4c41dd09c74c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4863d7d9-f48b-41c0-b296-9686e677892c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dd50c82d-3820-4756-b920-1547481a1ad1", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "201" + }, + "ResponseBody": { + "jobId": "66c31274-0298-4b95-9b7f-4c41dd09c74c", + "lastUpdateDateTime": "2022-05-06T20:10:02Z", + "createdDateTime": "2022-05-06T20:09:52Z", + "expirationDateTime": "2022-05-07T20:09:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:56.4842186Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:02.0030578Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:01.0093012Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json new file mode 100644 index 000000000000..f04dbc36fd82 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json @@ -0,0 +1,1356 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "1389", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a74dd404-bfa8-4338-9b54-2c2f429f6d8e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "807db03a-637e-4f4f-bb86-273e36b21dde", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:52 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "809" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1a289b6b-d200-4b2e-ac3b-b682fca420ef", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "041d019d-3701-440a-94b8-6f78fc8822dd", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "16204190-3489-4425-acba-e5f35294ed7c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7c6077f9-f721-4922-a417-f9ab50b58776", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "79dcbc19-67eb-43ff-a2d9-2fd63cd1c874", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e3d7bc9a-82ed-4a85-861e-b5557d285416", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3728f374-d87c-4e21-86f1-1e435defc092", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b933eb02-409e-43e8-ba33-8272b6479d6d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f5ec8337-abd7-4b82-b0b7-95d1a1710e1d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "75010e4c-066f-4bb6-a0f3-ce0c18f9f57f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1995c705-b185-4057-922b-917d43e3b33e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "555d2060-6297-499d-8ef8-50c06bf2ad3a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:10:53Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0d341445-3d7e-45b4-a350-eae8c0b6e3c2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "da58761d-bf29-48ef-8f20-cb3c75b7ee70", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:11:03Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9ca94e3e-dfac-4fa0-a7c9-c13c1aa26752", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e6fe0de-f9fe-4cd4-957b-32f6862ab87e", + "Content-Length": "2673", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "426" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:11:05Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:05.0337117Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:04.4201887Z", + "status": "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/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?api-version=2022-04-01-preview\u0026top=10", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "05798336-6a0f-449f-9d28-ad91a0e9f39a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09f25d72-8bd6-4e69-b95d-266a8aa70ba4", + "Content-Length": "1724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "259" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:11:05Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:05.0337117Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:04.4201887Z", + "status": "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/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "987559d8-b988-4152-9cec-fca69a2944b5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4b2b9db3-844f-4bbc-97f6-056bf1e864ca", + "Content-Length": "1743", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "264" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:11:05Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:05.0337117Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:04.4201887Z", + "status": "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/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/030fcb31-de84-440c-abe4-5bffedb86566?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6a0a7c11-03de-4cce-a74f-989061a640e1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c7f3a50c-6c26-4983-a8a6-08d476df2900", + "Content-Length": "1403", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "175" + }, + "ResponseBody": { + "jobId": "030fcb31-de84-440c-abe4-5bffedb86566", + "lastUpdateDateTime": "2022-05-06T20:11:05Z", + "createdDateTime": "2022-05-06T20:10:52Z", + "expirationDateTime": "2022-05-07T20:10:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:05.0337117Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:04.4201887Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json new file mode 100644 index 000000000000..342297f5165b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json @@ -0,0 +1,4314 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "286795e0-e4d0-4e6c-be46-4eee433e15e4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6521573f-68ec-4d48-9129-0844efa7e6bf", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:10 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "221" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "efd3dc93-f25b-41be-9c77-b17824338609", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a3cf3cbc-5c36-4800-a54a-bb45454b05e2", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:10Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0c2c5dd8-8730-4baa-bcdd-b8e5e1f346fc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "555e1ae7-40e6-4d63-a68c-b23bfeacfa32", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:10Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "502bb02a-8388-43b1-8673-cff4035ebf65", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b8b599b5-f39a-42e8-82f3-19747d247f29", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:11Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f0f30241-cd6e-4209-86a1-b2a7a912a1e5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "23a3eb4b-5af5-4263-b02c-07a82196a671", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "118" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:12Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4a468691-5267-4228-9598-96db4b2270a5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e27979d6-948d-4417-9e63-598e5c8cc703", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "127" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:12Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3d95322f-6998-4655-843d-bae7945eafe8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "47e1c4e2-d532-49c0-a93c-bd794d89100f", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "118" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:12Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ef2173b7-4089-473a-9719-47e49e137e21", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3fbcc7af-5e1b-48df-afb9-e1a2dc5a9e65", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:18Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:18.5389742Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "87527698-b700-4a0a-bf6f-98249b28cf92", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0aa75183-5aed-4972-9a03-50beee617385", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "285" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:18Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:18.5389742Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fa5622e2-a77c-4527-843c-4cb3129c80f3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c282d09f-6d3c-4b92-b023-c0277929f0eb", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:18Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:18.5389742Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/061cdda5-b41d-45b3-9411-f5f22e46cf71?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d18a4c82-b68e-48b3-84ad-3f82d87ff577", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e58b5ab8-53ad-4e36-a6e6-6abcde4f3cc9", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "154" + }, + "ResponseBody": { + "jobId": "061cdda5-b41d-45b3-9411-f5f22e46cf71", + "lastUpdateDateTime": "2022-05-06T20:11:18Z", + "createdDateTime": "2022-05-06T20:11:10Z", + "expirationDateTime": "2022-05-07T20:11:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:11.2166664Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.5872382Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:12.6294471Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:18.5389742Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..e4a39a5ee5b2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,812 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "417", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0a9794ad-2772-40a4-b087-d15a2b37e9ac", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "9bbf0494-3c28-4963-97b5-5bb8cd5bd108", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:33 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "239" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "49703288-f775-4bda-bebb-627a0a867a0f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "31398043-0fb1-415f-8f6d-8274d88a4c91", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:33Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a0c2c6fb-29df-4967-aa5e-02c7dba9566a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "32f1df02-2f93-4c11-9041-1686d1fb5d66", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:33Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5163808b-5a01-4574-9990-167673a499d4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0f70be76-510f-42b4-af67-92c87e71b379", + "Content-Length": "1137", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "60" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:35Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:35.8322396Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "07c02bc1-b2ca-4fd6-8190-2b4032ed54dd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "48966c73-eed4-40bd-afdc-d4e865cadfcd", + "Content-Length": "1137", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "103" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:35Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:35.8322396Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1e217b4d-351e-48e6-ad7a-c84066907131", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "33b8f1b5-c4ab-436a-a0e1-28f0427d480a", + "Content-Length": "1137", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:35Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:35.8322396Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0b6975dc-ae2e-420f-815a-0774b44215be", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f5d0c3f0-f538-480d-8189-e9e8adeaef76", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:42Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:35.8322396Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:42.1540398Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:42.0146937Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/427a83e5-1f2d-495c-a9c5-9dd27345397a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "922ccc21-8ecd-4020-b228-5e81c4e8c10b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b8c3b581-2f61-4226-865e-25ba1703e967", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142" + }, + "ResponseBody": { + "jobId": "427a83e5-1f2d-495c-a9c5-9dd27345397a", + "lastUpdateDateTime": "2022-05-06T20:09:42Z", + "createdDateTime": "2022-05-06T20:09:33Z", + "expirationDateTime": "2022-05-07T20:09:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:35.8322396Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:42.1540398Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:09:42.0146937Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json new file mode 100644 index 000000000000..50aa2b008287 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json @@ -0,0 +1,1218 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "376", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0858fdb8-9a6a-439f-9e83-3a371e3a8b4b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": ":)", + "language": "en" + }, + { + "id": "1", + "text": ":(", + "language": "en" + }, + { + "id": "2", + "text": "", + "language": "en" + }, + { + "id": "3", + "text": ":P", + "language": "en" + }, + { + "id": "4", + "text": ":D", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "41b5f516-41cb-4138-9ec2-61e27f9075c7", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:09 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "339" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1867bff7-9376-4131-a155-5f67a2da85fe", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fec929d9-5cde-4efc-b4bd-5b33b7a77a2e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:10Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "cf04d287-87f8-48e2-8e8c-7786b7e2691c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e850b129-8308-4413-97da-f4cd90184687", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:10Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8dbdfc21-ea2a-43aa-9764-63956ba169a7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "708a1f45-9014-4864-bfc7-23de1d7e454a", + "Content-Length": "2025", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "146" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:12Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.2524872Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.3195285Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "33a503b9-3584-4886-8723-a13ce1fe41d0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7071d8b0-6284-441b-948e-f975613c029b", + "Content-Length": "2025", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:12Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.2524872Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.3195285Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "354643d7-f928-4216-aa86-6afd3890e48e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "72e5793b-f097-4b41-a44e-13625619fda0", + "Content-Length": "2025", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:12Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.2524872Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.3195285Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5b02693a-7468-4569-bb82-4f5bf2fd8730", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f02e006c-44e4-4511-a160-f315289f02c3", + "Content-Length": "2869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:18Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.2524872Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.3195285Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:18.3364526Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d1de6f3-99fa-47a5-862e-9f07c713b5e0?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ceda96c2-e5f5-47e9-ba15-4a2922356529", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2fc746bc-ca5a-45ca-b2e0-d8b543c7350c", + "Content-Length": "2869", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "162" + }, + "ResponseBody": { + "jobId": "5d1de6f3-99fa-47a5-862e-9f07c713b5e0", + "lastUpdateDateTime": "2022-05-06T20:10:18Z", + "createdDateTime": "2022-05-06T20:10:09Z", + "expirationDateTime": "2022-05-07T20:10:09Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.2524872Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:12.3195285Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:18.3364526Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json new file mode 100644 index 000000000000..c35c19417744 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json @@ -0,0 +1,324 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "28ec978f-bc47-4a6e-8d41-9f6de92ee002", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "taskName": "action1", + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "taskName": "action2", + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "796960df-74e5-4209-ab07-558505174c78", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:09:31 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/9f13f4e2-9106-42da-b139-9dc70b4f7a24?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9f13f4e2-9106-42da-b139-9dc70b4f7a24?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "448af883-b4ea-45f6-9f96-feebb4eeaaf9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7890bf91-0210-420d-b642-a33fae56b9c3", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9f13f4e2-9106-42da-b139-9dc70b4f7a24", + "lastUpdateDateTime": "2022-05-06T20:09:31Z", + "createdDateTime": "2022-05-06T20:09:30Z", + "expirationDateTime": "2022-05-07T20:09:30Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9f13f4e2-9106-42da-b139-9dc70b4f7a24?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a58fa9b4-fe41-499e-b88e-097899b6fd74", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aaffacd4-1ab9-4487-967f-957d7b277e43", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "jobId": "9f13f4e2-9106-42da-b139-9dc70b4f7a24", + "lastUpdateDateTime": "2022-05-06T20:09:31Z", + "createdDateTime": "2022-05-06T20:09:30Z", + "expirationDateTime": "2022-05-07T20:09:30Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9f13f4e2-9106-42da-b139-9dc70b4f7a24?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f3e29fd0-1b67-4b99-a6f6-7ac043bd87bc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "92919d95-0a72-4425-930f-1134352436cb", + "Content-Length": "841", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "56" + }, + "ResponseBody": { + "jobId": "9f13f4e2-9106-42da-b139-9dc70b4f7a24", + "lastUpdateDateTime": "2022-05-06T20:09:32Z", + "createdDateTime": "2022-05-06T20:09:30Z", + "expirationDateTime": "2022-05-07T20:09:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:09:32.7416707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:09:32.753371Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9f13f4e2-9106-42da-b139-9dc70b4f7a24?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e834a1a5-0e4a-4a28-83da-37e025ddc9fd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aad5d8d4-8a37-4c0e-8794-71e2d76a41b9", + "Content-Length": "841", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:09:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "9f13f4e2-9106-42da-b139-9dc70b4f7a24", + "lastUpdateDateTime": "2022-05-06T20:09:32Z", + "createdDateTime": "2022-05-06T20:09:30Z", + "expirationDateTime": "2022-05-07T20:09:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:09:32.7416707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:09:32.753371Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json new file mode 100644 index 000000000000..9b8defd88869 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json @@ -0,0 +1,799 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "320", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "15480713-e8c0-42a8-b5b2-3284dcbe2169", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I will go to the park." + }, + { + "id": "2", + "text": "Este es un document escrito en Espa\u00F1ol." + }, + { + "id": "3", + "text": "\u732B\u306F\u5E78\u305B" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f3b5511e-c970-4e89-b504-b8720aea6893", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:33 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "225" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "288b38b9-4b4a-4549-b012-a28856948a7b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "53d09470-4beb-46f4-9f6a-81ebe9a6f4f8", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:34Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a4d16152-e44e-4aa5-9e84-c016effafabe", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "96e13cb2-eff3-4e85-b40a-8de3c2642d4c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:34Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ea714f73-0bbc-4847-ba84-90789f02f0cf", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fd607caf-3f79-413b-9ea2-f2153a2a8753", + "Content-Length": "1045", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "123" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:36Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3171146Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3927356Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1fdb1ff7-1342-466a-86a0-5b1f5e3fdfaa", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f3f5670a-c5fb-4df3-8c34-6301fe3e4a43", + "Content-Length": "1045", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:36Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3171146Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3927356Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8f9f1fe8-530a-4bc7-9930-dbd08a865734", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "43290d63-a065-438f-93bb-af8d8f6c48be", + "Content-Length": "1045", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "92" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:36Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3171146Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3927356Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4e0b2005-f154-4ba4-879b-ffa256a80c0c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a64f1dd4-efcb-4276-ab8b-71e58c854409", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "163" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:42Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:42.4426166Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3171146Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3927356Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e86252f1-a0bb-4b10-bd7e-03475ea8d65a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "616a233e-fda5-4e46-9d71-7395eec395d7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "72069723-1658-4154-8b22-1a5a27276058", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "129" + }, + "ResponseBody": { + "jobId": "e86252f1-a0bb-4b10-bd7e-03475ea8d65a", + "lastUpdateDateTime": "2022-05-06T20:10:42Z", + "createdDateTime": "2022-05-06T20:10:34Z", + "expirationDateTime": "2022-05-07T20:10:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:42.4426166Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3171146Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:36.3927356Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..29cff326b2c6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json @@ -0,0 +1,804 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d17a8d57-d7c9-494c-9473-4961be5345d7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7a1fc3ba-4e9d-46a3-8935-f099ccd8d08a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:19 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "294" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0afca016-3b2d-45a8-9171-cda902fa85a3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "59f72e2a-f3c3-467a-a246-5322669663c9", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:19Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "108ee59f-efc8-47b2-86ae-303433585f8c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "96fb1529-39c8-4d08-ae0d-8467b6ea364e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:19Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "52ec9d3b-4d03-4bf4-8612-af6b1fa8872f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "93c997be-ade2-429c-bf2d-7d4a9b25dca0", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "94" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:21Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9297165Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9082305Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "42078e30-5405-411f-8f47-669e0d3b08d7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7dd09a8d-92fb-40a1-94e3-e381f70751ee", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "121" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:21Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9297165Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9082305Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e665722c-5f60-49a9-882a-d97e342bf3a8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8c490745-9663-46c6-81e9-47fde7986bdd", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:21Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9297165Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9082305Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "59c4da52-bc10-464c-9ce6-c67196904d98", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "306a6116-f8ad-4aa1-ade2-efdfc112b3ad", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "133" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:27Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:27.7016314Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9297165Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9082305Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b47e75f8-a759-4f0e-ac49-b7a1c58de497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "402e8055-07aa-411a-a3ff-014753532d35", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "006f57f6-adb0-48ee-b7b7-b6f8a2051e17", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "165" + }, + "ResponseBody": { + "jobId": "b47e75f8-a759-4f0e-ac49-b7a1c58de497", + "lastUpdateDateTime": "2022-05-06T20:10:27Z", + "createdDateTime": "2022-05-06T20:10:19Z", + "expirationDateTime": "2022-05-07T20:10:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:27.7016314Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9297165Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:21.9082305Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json new file mode 100644 index 000000000000..122e7af175b7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json @@ -0,0 +1,598 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "42fdc773-4edb-4ce0-9535-b283396d59a0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b4e310bd-c515-4be7-87ca-e4c414cee9b9", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:10:29 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "236" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9a23e3df-8ed2-4850-a02c-408ea37bf491", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "84f99d3a-0958-43fb-93e6-bfffce0ea582", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "5d524aaa-a372-4764-be12-9d5b47fda8c3", + "lastUpdateDateTime": "2022-05-06T20:10:29Z", + "createdDateTime": "2022-05-06T20:10:29Z", + "expirationDateTime": "2022-05-07T20:10:29Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dd5ea6ca-2686-4efe-a0de-9318d42a6b70", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1d5c5e79-1979-4856-9de5-45488b436763", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "jobId": "5d524aaa-a372-4764-be12-9d5b47fda8c3", + "lastUpdateDateTime": "2022-05-06T20:10:29Z", + "createdDateTime": "2022-05-06T20:10:29Z", + "expirationDateTime": "2022-05-07T20:10:29Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bd49e8b3-65b8-4fdb-a86b-75db7575af96", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ef17bb8d-fe8d-46a4-8521-213f953adc8c", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "185" + }, + "ResponseBody": { + "jobId": "5d524aaa-a372-4764-be12-9d5b47fda8c3", + "lastUpdateDateTime": "2022-05-06T20:10:31Z", + "createdDateTime": "2022-05-06T20:10:29Z", + "expirationDateTime": "2022-05-07T20:10:29Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.3019072Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.2126148Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c04192f5-e024-4a76-bad3-ba4f282ff06c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "228b1145-f555-4e0d-a7ba-83777e932496", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157" + }, + "ResponseBody": { + "jobId": "5d524aaa-a372-4764-be12-9d5b47fda8c3", + "lastUpdateDateTime": "2022-05-06T20:10:31Z", + "createdDateTime": "2022-05-06T20:10:29Z", + "expirationDateTime": "2022-05-07T20:10:29Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.3019072Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.4592405Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.2126148Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d524aaa-a372-4764-be12-9d5b47fda8c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "19bc7b95-e665-4ccb-8eba-e75b75873b24", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "802fdc30-f50e-41a1-873b-26ed6af6033f", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:10:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130" + }, + "ResponseBody": { + "jobId": "5d524aaa-a372-4764-be12-9d5b47fda8c3", + "lastUpdateDateTime": "2022-05-06T20:10:31Z", + "createdDateTime": "2022-05-06T20:10:29Z", + "expirationDateTime": "2022-05-07T20:10:29Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.3019072Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.4592405Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:10:31.2126148Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json new file mode 100644 index 000000000000..1d57962e76ae --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json @@ -0,0 +1,65 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "125", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "91439928-47bc-4b45-a3a4-cfb827b6c6e1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "652b1d17-30fd-4b4d-ba36-778e7e62e81c", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Document text is empty." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json new file mode 100644 index 000000000000..535eab2cd5f3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json @@ -0,0 +1,290 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "5239", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6582ad55-31a6-445c-a58d-39b9b730ae17", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "27fe0021-d1f2-47f5-9090-cc85eff2e133", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:21 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/7e2e6309-dc15-470f-97e8-ed723d1ee269?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "193" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e2e6309-dc15-470f-97e8-ed723d1ee269?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "534223cf-c62f-4230-9e4d-ff36835252cf", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6a2a65e5-5683-4d9a-bd82-9fb928cfa2c4", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "7e2e6309-dc15-470f-97e8-ed723d1ee269", + "lastUpdateDateTime": "2022-05-06T20:11:22Z", + "createdDateTime": "2022-05-06T20:11:21Z", + "expirationDateTime": "2022-05-07T20:11:21Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e2e6309-dc15-470f-97e8-ed723d1ee269?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a0dc84c3-d7e3-4423-a5cc-51ac135df602", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c16d2200-a7a5-49c1-b1c6-c77a71f33b32", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "7e2e6309-dc15-470f-97e8-ed723d1ee269", + "lastUpdateDateTime": "2022-05-06T20:11:22Z", + "createdDateTime": "2022-05-06T20:11:21Z", + "expirationDateTime": "2022-05-07T20:11:21Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e2e6309-dc15-470f-97e8-ed723d1ee269?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d8dc7642-02be-40af-b730-9e7a4e9be165", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "24b474fe-1976-461c-b115-d44f54659c41", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "jobId": "7e2e6309-dc15-470f-97e8-ed723d1ee269", + "lastUpdateDateTime": "2022-05-06T20:11:23Z", + "createdDateTime": "2022-05-06T20:11:21Z", + "expirationDateTime": "2022-05-07T20:11:21Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:23.3923167Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e2e6309-dc15-470f-97e8-ed723d1ee269?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "65de878a-cf2f-43d1-bff6-cf30cb24872b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "07aaca7e-25c2-4325-a035-e5ddf9ecaeb3", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "jobId": "7e2e6309-dc15-470f-97e8-ed723d1ee269", + "lastUpdateDateTime": "2022-05-06T20:11:23Z", + "createdDateTime": "2022-05-06T20:11:21Z", + "expirationDateTime": "2022-05-07T20:11:21Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:23.3923167Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json new file mode 100644 index 000000000000..ecd209506210 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json @@ -0,0 +1,69 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "198", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a43a82bf-7bf0-41e2-9a42-7114971243b9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "8bb3fe80-c6a7-4f16-8985-90bdffa4d82c", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "InvalidTask in AnalyzeInput", + "innererror": { + "code": "InvalidRequestBodyFormat", + "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json new file mode 100644 index 000000000000..a55207cc7578 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json @@ -0,0 +1,67 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ef234cc8-0e7e-4fc7-bedf-ff2f000cab8a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "bad" + } + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "b190c715-73f3-4bdd-9e66-fef3b4b21d15", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:37:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "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." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json new file mode 100644 index 000000000000..deafe45fbb0d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json @@ -0,0 +1,2560 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "710471", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "04ffbe9a-4520-4ddb-8a88-282369b9a477", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 413, + "ResponseHeaders": { + "apim-request-id": "0ccc6937-f8fc-4cbb-82eb-9eab98152001", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "24" + }, + "ResponseBody": { + "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: 125000" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json new file mode 100644 index 000000000000..c59bc601100f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json @@ -0,0 +1,190 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "1345", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3a1dacbe-6bf7-49cc-8cc7-82a8f42d2831", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": "random text", + "language": "en" + }, + { + "id": "25", + "text": "random text", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "294b5a9e-d572-48d4-9df3-0f1053afdb60", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 25 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json new file mode 100644 index 000000000000..bbacc6999d6d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json @@ -0,0 +1,298 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8ff02d08-aeec-43e6-b8e7-3f105626be00", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "987d386d-62d5-48d8-864d-af8def575bf3", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:23 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/7e1e9c90-bd66-4b75-b391-82ec9f54d29a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "104" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e1e9c90-bd66-4b75-b391-82ec9f54d29a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "83e97c67-8285-4120-bb0a-9ea5dc090460", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bb9c7a39-039f-405f-b1d8-864afec9d5a2", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "7e1e9c90-bd66-4b75-b391-82ec9f54d29a", + "lastUpdateDateTime": "2022-05-06T20:11:24Z", + "createdDateTime": "2022-05-06T20:11:24Z", + "expirationDateTime": "2022-05-07T20:11:24Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e1e9c90-bd66-4b75-b391-82ec9f54d29a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d46b8ced-ae80-4547-ae95-00c98fb171cc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fde3fac5-23da-40c5-b69a-df482ff9e46e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "7e1e9c90-bd66-4b75-b391-82ec9f54d29a", + "lastUpdateDateTime": "2022-05-06T20:11:24Z", + "createdDateTime": "2022-05-06T20:11:24Z", + "expirationDateTime": "2022-05-07T20:11:24Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e1e9c90-bd66-4b75-b391-82ec9f54d29a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "be54ebf1-081d-415a-a26c-fa1c1620f2cb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "70e11904-bb65-46e1-95c7-db45f241c0cf", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "7e1e9c90-bd66-4b75-b391-82ec9f54d29a", + "lastUpdateDateTime": "2022-05-06T20:11:26Z", + "createdDateTime": "2022-05-06T20:11:24Z", + "expirationDateTime": "2022-05-07T20:11:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:26.2270092Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7e1e9c90-bd66-4b75-b391-82ec9f54d29a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "da1fde8b-75aa-4907-b664-e1a9ef70e399", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ee57666f-9b92-4170-bee8-3c627c206293", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "7e1e9c90-bd66-4b75-b391-82ec9f54d29a", + "lastUpdateDateTime": "2022-05-06T20:11:26Z", + "createdDateTime": "2022-05-06T20:11:24Z", + "expirationDateTime": "2022-05-07T20:11:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:26.2270092Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json new file mode 100644 index 000000000000..fa7e179e20f3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -0,0 +1,544 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "205", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4c9e9db7-ce6b-4be1-adce-991ff962bd04", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "51ca40aa-789d-4f96-b1ca-6cfcaa81641f", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:28 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/774d8c94-d4e3-44d3-88f9-53f89b7f1d5b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/774d8c94-d4e3-44d3-88f9-53f89b7f1d5b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "456f2e23-54ea-479f-949d-5a17d8fe7a6f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "45037cec-3442-4dc4-8323-c05918faddca", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "774d8c94-d4e3-44d3-88f9-53f89b7f1d5b", + "lastUpdateDateTime": "2022-05-06T20:11:29Z", + "createdDateTime": "2022-05-06T20:11:29Z", + "expirationDateTime": "2022-05-07T20:11:29Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/774d8c94-d4e3-44d3-88f9-53f89b7f1d5b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e440baab-33a4-43d4-8656-5ec9adf4cad9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "527c4f2c-023e-4be8-8238-4ddfa8d4743d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "774d8c94-d4e3-44d3-88f9-53f89b7f1d5b", + "lastUpdateDateTime": "2022-05-06T20:11:29Z", + "createdDateTime": "2022-05-06T20:11:29Z", + "expirationDateTime": "2022-05-07T20:11:29Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/774d8c94-d4e3-44d3-88f9-53f89b7f1d5b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b661752d-e5d1-4dc8-98a8-562cb79aa74f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d9088419-dcb0-4c59-a113-f810d757c869", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "774d8c94-d4e3-44d3-88f9-53f89b7f1d5b", + "lastUpdateDateTime": "2022-05-06T20:11:30Z", + "createdDateTime": "2022-05-06T20:11:29Z", + "expirationDateTime": "2022-05-07T20:11:29Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:30.2779919Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/774d8c94-d4e3-44d3-88f9-53f89b7f1d5b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "204202d7-28b8-4d24-9025-8680356adc1c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3a77b8e2-2b54-4f44-9e62-949864adc77a", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "jobId": "774d8c94-d4e3-44d3-88f9-53f89b7f1d5b", + "lastUpdateDateTime": "2022-05-06T20:11:30Z", + "createdDateTime": "2022-05-06T20:11:29Z", + "expirationDateTime": "2022-05-07T20:11:29Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:30.2779919Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json new file mode 100644 index 000000000000..bb4dae7dea20 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -0,0 +1,544 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "202", + "Content-Type": "application/json", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "29fa0014-45c7-4149-b1be-0a458ffc1f4b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "3e1860b0-2a95-4586-9ebc-37fd8d1acaab", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:11:26 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/73b7ba59-f896-46cd-940b-72b10a8d66ee?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/73b7ba59-f896-46cd-940b-72b10a8d66ee?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6fcb4e4e-032a-429f-a9e3-09c26da672f6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "abb02cd9-dfb2-4031-a3e5-b53f3ddbe8c2", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "73b7ba59-f896-46cd-940b-72b10a8d66ee", + "lastUpdateDateTime": "2022-05-06T20:11:27Z", + "createdDateTime": "2022-05-06T20:11:27Z", + "expirationDateTime": "2022-05-07T20:11:27Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/73b7ba59-f896-46cd-940b-72b10a8d66ee?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e4e51e73-0dbd-4248-a742-402cbc1cb20a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "58736fec-ac03-47ba-ba1f-4ad10cdf4354", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "73b7ba59-f896-46cd-940b-72b10a8d66ee", + "lastUpdateDateTime": "2022-05-06T20:11:27Z", + "createdDateTime": "2022-05-06T20:11:27Z", + "expirationDateTime": "2022-05-07T20:11:27Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/73b7ba59-f896-46cd-940b-72b10a8d66ee?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e4ab4aa0-7b37-4ce8-8ab8-3d3303e005c0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6d106dd5-bbc5-4416-9c96-643a6eee71a8", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "73b7ba59-f896-46cd-940b-72b10a8d66ee", + "lastUpdateDateTime": "2022-05-06T20:11:27Z", + "createdDateTime": "2022-05-06T20:11:27Z", + "expirationDateTime": "2022-05-07T20:11:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:27.9099653Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/73b7ba59-f896-46cd-940b-72b10a8d66ee?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7b548c52-4f1b-4ec9-af47-0df4fd3cf3d3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "87cb108f-6a63-41ea-b3e7-c954a2a5267b", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:11:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "73b7ba59-f896-46cd-940b-72b10a8d66ee", + "lastUpdateDateTime": "2022-05-06T20:11:27Z", + "createdDateTime": "2022-05-06T20:11:27Z", + "expirationDateTime": "2022-05-07T20:11:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:11:27.9099653Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} 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 deleted file mode 100644 index 54150754a658..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000333-0000000000000668-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a268af09-9de6-4770-9200-d3d847a955f4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "490bf34e-c754-45b1-a69e-872b3cb4d2a2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:14:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "159" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 00bd935add56..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000334-0000000000000672-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ef20ef36-cb68-4d0f-997a-4a1a34ce1743", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5063203a-b917-43d0-bf0a-388698cada38", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:14:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9ab9d0e4a8d8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000338-0000000000000688-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e9fde97c-5ec1-4c76-a13d-b58bf2146bec", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "74fd7f3c-73e7-418d-95c4-e0dda625c4ad", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:14:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "191" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 659ea4b59539..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "84", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000340-0000000000000696-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "64d58734-763d-4e11-b7ca-f83fb6b8948a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "The food and service is not good", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ee9e0c32-ddf5-4b35-b9c6-0534170e7d84", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:14:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "126" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 20a7dab0d264..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "70", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000341-0000000000000700-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a1e4dc12-3f09-4a94-a292-a0d32e025898", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "today is a hot day", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5c52462b-3221-44a4-98c5-a91b26a04bc2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:14:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "144" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 36d2fa2b0843..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "126", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000339-0000000000000692-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dcdce423-b9e1-4e8b-8e6e-40f0de18dd31", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c67a46fc-7322-407b-8ba9-dfd4f7a6576b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:14:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "149" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 82e5eaf46437..000000000000 --- 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 +++ /dev/null @@ -1,709 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "622", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000336-0000000000000680-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "58351ea2-3fd2-475e-adc8-ba7f18d4c0ce", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b126827c-1168-41b3-b31b-3d8ec2f4db33", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", - "Date": "Fri, 18 Feb 2022 19:14:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "158" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c8a4548ed910..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "531", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000337-0000000000000684-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "261f69a3-5209-4694-9c77-e8c627587f63", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ab20fa24-21c1-4fc5-8bb5-3b6b7cc1de6b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:14:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "127" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f1e7cbab8b93..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000335-0000000000000676-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2c03e27f-33ef-4c17-9191-b45d4ece2277", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Hello world!", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9f0baaeb-8724-4331-b10f-7e2ef0479525", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b307ab35ae2a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "65", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000343-0000000000000708-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9d3e25c2-8882-44df-a097-24eda94972b4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "impossible", - "countryHint": "fr" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b9d7e886-7b87-4b37-9d76-c1246ef6a28a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "French", - "iso6391Name": "fr", - "confidenceScore": 1.0 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 10ebe8aab832..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "651", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000347-0000000000000724-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "67f76b21-9e3c-49c0-ae47-223fd23d1088", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "mx" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0f91afe5-84c3-4e57-accc-0344bb56e944", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:15:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 2fe1ecdd256c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "506", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000342-0000000000000704-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "209676ca-0504-415e-83b3-7b59001f42f4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "countryHint": "us" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e8d2dfa7-6aa1-4db5-971a-a6fbed3f9aec", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 739e2a518f59..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "715", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000345-0000000000000716-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "11a4b92f-b017-48c0-9315-62aab725a9b5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "66410d43-47d0-4984-9355-72fb48e54f4b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:15:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d9b4cfa641ed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "97", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000344-0000000000000712-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7e0a4ebc-5390-4f8c-a07e-0db5e2ba5ed6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I use Azure Functions to develop my service.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "55f14caa-210d-4051-9c68-a3e55c2567ed", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "English", - "iso6391Name": "en", - "confidenceScore": 0.95 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 4b5819c5ac84..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "72", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000346-0000000000000720-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2c602c2a-d5ee-4918-9517-af13599158cf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "hello", - "countryHint": "invalidcountry" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4b80adf9-303d-41a6-b6ff-1e17fae714e5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 136aea93b109..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000356-0000000000000760-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4b2ee02e-8e23-4efa-aaaf-a9951cfdfcb7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6f932c22-ac5d-44a1-9edd-09f4f0c7b461", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:15:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "4", - "keyPhrases": [ - "last book" - ], - "warnings": [] - }, - { - "id": "5", - "keyPhrases": [ - "Monte Rainier", - "caminos" - ], - "warnings": [] - }, - { - "id": "6", - "keyPhrases": [ - "mucho tr\u00E1fico", - "d\u00EDa", - "carretera", - "ayer" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 79e5471b1cd6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000354-0000000000000752-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8e3ba2bf-51fe-4439-9fd9-3c38c21923ba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eb53a1db-3ddf-484d-b963-41867a1064b2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9eed308243b3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000353-0000000000000748-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "89fad7cf-9e41-46ff-bbb1-4d81a42be3f6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b94265c3-0944-468f-8efb-5c86a719b359", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f6c746acf495..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000355-0000000000000756-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dd267bea-28c8-4baf-ac6b-51539ff166ae", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ad53e98b-4a36-47c5-9a9b-8b64e5221df9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 4e21bb401ece..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000351-0000000000000740-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "246b16e5-87db-4c00-9433-581c74c7daae", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "115e67cf-d69e-48a2-95d3-e0c0099d9ea3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:15:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.85 - } - ], - "warnings": [] - }, - { - "id": "5", - "entities": [ - { - "text": "carretera", - "category": "Location", - "offset": 3, - "length": 9, - "confidenceScore": 0.81 - }, - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 47b1156966b5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000349-0000000000000732-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "91b659a5-e64d-4e59-891a-a0e724750355", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "20cd8460-c577-4792-a509-85c764882251", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index fc8437a848fc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000348-0000000000000728-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff1b7c05-f25e-4221-ab9b-d4bb00192dab", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27291a9f-2270-4df6-9c6a-8b3d0006ce23", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c30054f0f72e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000352-0000000000000744-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "056ae29a-8911-4b86-af70-cbd901fddfeb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "59dad432-dbed-4b93-b5f3-1564b59941ab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 37d9456f1c7c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000350-0000000000000736-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f24cb1e6-ecf8-4575-9176-3491ab13c026", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "09890baa-8d0f-4f20-a99a-ecf15589e0e0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index aa7c40bbd1b7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000370-0000000000000814-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "31d88147-e995-4237-a9bf-ba89096f6517", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9206f103-31d2-45bd-be16-65866eb9a836", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:15:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b6b76d3ad406..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000368-0000000000000806-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "415e381c-36ee-415f-9dea-584499b3a37d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a2cfb7cc-1e18-4800-b027-120a0b2db9c4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 98bd864e4465..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000367-0000000000000802-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "47a04d20-cd65-41af-8a01-7fa15cf127ed", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "11d2d519-c862-426a-a7c2-0abe19cb58c5", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "23" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d10e2ac1e44f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000371-0000000000000818-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "61fcd737-ae17-435b-9281-1f8fdd360448", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "01037aba-be95-4870-9a18-ad08d40d86f2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8942f76f8e16..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000369-0000000000000810-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eb03810c-0092-4683-a50c-ca1ca77f887a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0e8c792a-c450-4279-9315-8ff5e5dc20ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6234c7674592..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026domain=PHI", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "107", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000363-0000000000000788-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d5508f02-dc8c-4293-b381-35c52bfa7a32", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I work at Microsoft and my phone number is 333-333-3333", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "494e919f-aeb8-4290-9f37-357adb9b642f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "I work at ********* and my phone number is ************", - "id": "0", - "entities": [ - { - "text": "Microsoft", - "category": "Organization", - "offset": 10, - "length": 9, - "confidenceScore": 0.94 - }, - { - "text": "333-333-3333", - "category": "PhoneNumber", - "offset": 43, - "length": 12, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c988a53714b8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000364-0000000000000792-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6916d3b4-1a4f-4912-b61c-1e1844256bb5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bcbfa694-b3a9-4cee-a60b-93dd54088a77", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9d3e7618b02d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000362-0000000000000784-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8c4120b1-5ad2-45f0-af10-0e251d66b178", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f3e2d404-4d45-4c4e-835c-363b6f7fbf17", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:15:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", - "id": "5", - "entities": [ - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6b72b876b72c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000359-0000000000000772-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bf14c7f2-dcc4-4b2b-8c99-9e3b733e3269", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "74880c9c-1fa9-4cb1-b56e-633cd71b26cd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 89cbd5da50a2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000358-0000000000000768-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ad4dede2-2ce2-4ba2-8d6b-dab77bed053a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "15ae0adc-456d-4696-9afd-07c0bfd242e9", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:15:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c12e510899ed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "95", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000360-0000000000000776-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e4f45d13-0115-4c86-aed7-6ef32d486eac", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Your Social Security Number is 859-98-0987.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "567624d2-4f41-4d9f-98fc-f10db42dcf4b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 1d4e129f7df0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "16", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000357-0000000000000764-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c53da496-5a1c-4667-a187-ce7e41967390", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "cfb88e89-2ac7-4c7f-83dd-8c814469141f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid Request.", - "innererror": { - "code": "MissingInputRecords", - "message": "Missing input records." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 792ed6087d5c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000365-0000000000000796-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0e9fb810-9edd-46eb-b024-ce62c4da32fc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6934ba00-c50b-46b8-b52e-051e88471e4a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "Patient name is *** and SSN is ***********", - "id": "0", - "entities": [ - { - "text": "Joe", - "category": "Person", - "offset": 16, - "length": 3, - "confidenceScore": 0.78 - }, - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 31, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000366-0000000000000798-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "41ed2ca9-73a9-4239-ba6e-9de83e25dd48", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "90f6d743-ba94-4b83-8005-c484874a1af1", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6d908527c678..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000361-0000000000000780-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bffa6b4d-b8a4-4d39-b788-8c87354ea56a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0be3a9bc-639b-49f1-830a-3e929ccd13cd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 346c8bdcc9c6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000376-0000000000000838-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8f59a19b-24be-4df6-a23f-62464deb6f20", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c16d4953-2fb5-45a9-9d68-1927a5bfd7cb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6a983de04162..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000377-0000000000000842-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5e7bd053-81f6-4237-8aa8-174563eff505", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "77b6900a-dc8f-4b9a-9aec-d673e1d3d3ed", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 872b116a33d9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000372-0000000000000822-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6dac3fe4-5b5b-4e21-b3c2-dffe7d017b5f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "767dac38-cd2f-4168-b324-456a466cc645", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 179f1f99be8a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000373-0000000000000826-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e26220a1-319e-4a06-9566-b3dc22f48fd3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b396610-c20b-4380-b882-dd17867831f7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 183373a2a196..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000374-0000000000000830-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "17964623-6c5b-4bee-8fd9-8c60feece73e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bb6ebdce-58ff-4154-8d8c-141e1e5cac4f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 6c69ee1f0031..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000375-0000000000000834-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "999d373e-5197-412a-bc06-1b08e179fe05", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "11274f01-8440-4071-af54-20cd62094873", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 25, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7b65bee25016..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000378-0000000000000846-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8f1fc889-a97d-452d-bffd-38ce6c4505b9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e7920bcc-a1af-42d9-90f1-b0ebf89833e3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 317ef7ec5958..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000379-0000000000000850-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "657db6fe-86ae-4938-a1fc-9cb7771adb75", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c3769754-0b3e-4adf-9b3d-c4c661eaf871", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 3fdc4b292636..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000380-0000000000000854-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d77e3fdb-fb16-475e-89f4-81f3fa01e55a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f34b6cb4-f37a-4748-ab33-6cd67c247789", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "65" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b55bbcecc595..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000394-0000000000000910-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "57920077-dd42-46eb-a33c-0ff9aa22ff7a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a8d143e8-1ce2-4a10-b201-4c90bc702424", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 05c8304ba18d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000395-0000000000000914-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "39cdbf38-0609-4e58-84a2-c9b016495191", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dd71487c-5200-4da8-8a4d-394118ee42f8", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6200330e0045..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000390-0000000000000894-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "db2592e2-4ee7-4f41-982e-6fd8e2af4647", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "635bbe84-000f-450a-9422-edb7482763a2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ea95e05c7391..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000391-0000000000000898-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d08ebb15-36fa-4a80-9a61-58dad0680262", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cd915e19-c129-4ef9-831c-bd31629acdd4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 0b7040cfcd1d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000392-0000000000000902-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "920655de-41a7-4bb8-995f-d016a56e3e7c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a76188df-85bc-4fd1-8df2-0a352dc6f323", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 38a8d31d0bda..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000393-0000000000000906-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7eb23982-30fe-47b6-8b53-05d13582c7bc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "070ec09a-ae67-452c-b7c5-0a72d7ae0d36", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7927d95913d3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000396-0000000000000918-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ae62a94c-930e-49d8-840d-c363982731a6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "973d6448-f2b6-4dfb-bcd1-002d91c02934", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 027373497892..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000397-0000000000000922-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff4c5f8b-ec85-43cf-b3a5-ae63ce13344a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "003cd8db-ae3b-472e-b64f-c376177ea893", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 428589107dc5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000398-0000000000000926-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "493683b2-26b3-48e1-9b8f-c24bf3382127", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0e562330-1e83-4865-9ea3-9ce825c6b365", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 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": "62" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 10d1132b163a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000385-0000000000000874-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b4a463be-c8c8-408d-94cb-5c3f581ed9c2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5af52c4c-fedd-486a-b540-14cbfe9f8b3c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 3c0615fba553..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000386-0000000000000878-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "58e0d40c-da90-49d4-a226-55c2c2dcbacf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "143f85cb-4388-462b-a57f-157d590cc3bc", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 01fd42956f6a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000381-0000000000000858-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b50a4e0a-aa1b-4b3a-a90c-2323960f757a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "38b6242e-fae1-45d3-adfc-14eea1e79341", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index e7860859f029..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000382-0000000000000862-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9e4ac89d-d28b-4a98-a217-c8c39c498e67", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4be7da97-2e15-4dc4-acd3-25e84fc8fdac", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 5a35c9887fad..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000383-0000000000000866-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3ffc696c-2439-4ec3-8837-4345cf94da18", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a8136d8d-1591-402a-97b0-51f46da9731c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 7068e983bc1f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000384-0000000000000870-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5bce7f04-ecfd-4379-af4d-19255937d114", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eb59add3-5a5e-4c26-bf63-23429988cf49", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 189d88106dbc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000387-0000000000000882-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dbe64a7c-409e-470f-8622-a5a7302daa26", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1073200d-57af-43c7-87b8-90a26b97e7bf", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 3607692afd99..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000388-0000000000000886-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "203609a6-c310-4355-ad3a-d6c042ec24f3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "be57a2de-528e-4fe2-997f-dc5b80fe2d61", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index abee4cf1383b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000389-0000000000000890-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "21445ad9-17d6-46c1-b4d7-0a040c39ef87", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c40fb7b-e0e6-496d-8371-f9210e4cc8c7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:15:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 90a1fee7d49c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,955 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "497", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000474-0000000000001106-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4a1bea89-fbfc-4521-87ea-52863224dd8f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "15d03a5b-176c-45fa-bdda-c8fffa66dbf4", - "Date": "Fri, 18 Feb 2022 19:16:51 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "391" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000475-0000000000001108-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "75fdac8e-2ee6-42fe-9680-313454ed8581", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b2b95f59-ffb1-4201-b4c4-fd29f2fb535e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:52Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000476-0000000000001110-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bef218ac-245d-43c7-9a53-aaf17e752ab0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9d77ec1b-0343-40aa-ad04-3db7bceed3c7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:52Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000477-0000000000001112-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "becf96db-c6cb-45e3-bbca-529fb51f3772", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fcac4894-c915-4922-b006-0345ff976ddf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "329" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:54Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:53.9539762Z", - "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": "2022-02-18T19:16:54.3151103Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000478-0000000000001114-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c0f238c5-e9a0-421d-92c4-d36a5828f9f6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e83365b5-a824-443a-b056-785050998fdd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "96" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:54Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:53.9539762Z", - "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": "2022-02-18T19:16:54.3151103Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000479-0000000000001116-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "78690d16-01cd-466c-9d96-ea6c3dd2b27b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "290add15-0250-47ba-82b8-4e9a211c8e93", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "189" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:54Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:53.9539762Z", - "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": "2022-02-18T19:16:54.3151103Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000480-0000000000001118-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e2ff0256-d952-4fd8-9d66-856e88eba922", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ad0d7cc9-2bc0-4600-87c4-29bfe2f3cf9c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "342" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:59Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:53.9539762Z", - "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": "2022-02-18T19:16:59.7961718Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:54.3151103Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/28e595bf-1a2e-47a9-be6d-59474a4f0fe5?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000481-0000000000001120-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cd279187-7727-46b8-96a0-a0191707a3e0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "19a42fed-c5a8-4b4c-9517-3acea182956a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "229" - }, - "ResponseBody": { - "jobId": "28e595bf-1a2e-47a9-be6d-59474a4f0fe5", - "lastUpdateDateTime": "2022-02-18T19:16:59Z", - "createdDateTime": "2022-02-18T19:16:52Z", - "expirationDateTime": "2022-02-19T19:16:52Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:53.9539762Z", - "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": "2022-02-18T19:16:59.7961718Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:54.3151103Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 5928c65af8e9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "186", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000465-0000000000001084-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bbc6fefa-7ca4-49be-a17f-25dcf0b1fc0a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "c2a9c221-7e38-406b-8ac1-afef5b930443", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Document text is empty." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json deleted file mode 100644 index 764d4292b0ff..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "268", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000564-0000000000001312-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "052fe595-6c78-44e7-aaaf-e92346e91ed9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "67dc087f-e35c-44e8-a19f-ab3970cd41ac", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "InvalidTask in AnalyzeInput", - "innererror": { - "code": "InvalidRequestBodyFormat", - "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 712325c28e90..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json +++ /dev/null @@ -1,748 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "510", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000510-0000000000001188-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "62e6571d-9f0f-4c3c-9c99-9d45f661ede0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e2a9decb-852a-4a26-aa23-754ae5ca7df5", - "Date": "Fri, 18 Feb 2022 19:17:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "208" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000511-0000000000001190-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3b212055-77f1-4cee-b2e8-1b951bedbf4d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6a05769e-bc29-469f-aa48-d019f8236af0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:36Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000512-0000000000001192-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cf24f4d6-8ebb-4b52-ab6a-a1d1ca2f5365", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e27a8061-0cde-485d-8313-e28d19db7e4f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:36Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000513-0000000000001194-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "60d19ace-a518-46e3-be5c-facb5f67cf51", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0cf3a13f-af8b-411c-ad90-c77c638f3ec5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:38Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:38.0326183Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000514-0000000000001196-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d0443536-1aae-48e9-8df4-0959e4ecf748", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "078c484e-1db8-49eb-abc3-db6a1effc605", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:38Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:38.0326183Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000515-0000000000001198-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5fe6a7d8-6805-4e84-8500-5c72d431c56a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "93bf9b7d-a7db-4ba5-98b8-65eef5c13dcc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "64" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:38Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:38.0326183Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000516-0000000000001200-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e1e6b8c2-27ef-4e93-880a-9e207ef57a2c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4dda8213-b823-4f93-a14e-86ba7dc1c978", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "140" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:43Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:43.8202251Z", - "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": "2022-02-18T19:17:43.832734Z", - "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": "2022-02-18T19:17:38.0326183Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a1bb2bd-a773-4432-b38f-095c760b54e0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000517-0000000000001202-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ed798c89-1415-49dd-83fa-43373f4d2954", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3b6396df-b8ee-4317-af85-79c3f4e5aa82", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "179" - }, - "ResponseBody": { - "jobId": "1a1bb2bd-a773-4432-b38f-095c760b54e0", - "lastUpdateDateTime": "2022-02-18T19:17:43Z", - "createdDateTime": "2022-02-18T19:17:36Z", - "expirationDateTime": "2022-02-19T19:17:36Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:43.8202251Z", - "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": "2022-02-18T19:17:43.832734Z", - "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": "2022-02-18T19:17:38.0326183Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8c565f89ef9d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json +++ /dev/null @@ -1,442 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "247", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000555-0000000000001290-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "202dd06e-0800-48f7-99d0-0cca516a9dc0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "UnicodeCodePoint" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "59995332-c859-4613-9e58-6ba0434d1925", - "Date": "Fri, 18 Feb 2022 19:18:29 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000556-0000000000001292-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "712128d1-3e11-445b-8372-74a343891cbb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5df0ccec-5c22-4ac9-b3bc-8b89448935f2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "7" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:29Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000557-0000000000001294-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bc938814-2874-4afe-a0f4-babc2ea101c4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f309c216-260f-4dbc-9f04-22bc13d90b3e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:29Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000558-0000000000001296-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e25db0f3-405e-46bb-9bb9-72d2fdde0b4b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c9430d4-70a6-44ad-be4c-226df183fde7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:29Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000559-0000000000001298-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d66db91b-31e2-4e34-b62f-f5b47a0e9098", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7ec87816-4a0d-4894-bfe7-6fd5a130e4e7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:29Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000560-0000000000001300-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "27b359e8-d0b0-486f-a5a8-9d020df432cd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7300e9d6-cf79-4e77-868d-4ed42beac602", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:29Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000561-0000000000001302-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8c4c2d0f-968b-451c-a3eb-ede429b1d369", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "75e64df2-e33b-4d5e-b2eb-8e8b73268d38", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:37Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:37.5832307Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f6ae2e4c-2240-406c-98ac-9a538772ff45?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000562-0000000000001304-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c44cbf2e-e3c6-43c1-97b0-759c2abb6c36", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c0e7b1cd-983a-4550-b51a-07ca1b817275", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "f6ae2e4c-2240-406c-98ac-9a538772ff45", - "lastUpdateDateTime": "2022-02-18T19:18:37Z", - "createdDateTime": "2022-02-18T19:18:29Z", - "expirationDateTime": "2022-02-19T19:18:29Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:37.5832307Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f2e2db9a7f81..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json +++ /dev/null @@ -1,402 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "436", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000526-0000000000001224-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "21a0d088-6bad-42f7-be25-56308d4a2351", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re 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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "38efaa1e-9fb9-4e53-bef0-22716e3a106e", - "Date": "Fri, 18 Feb 2022 19:17:56 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5d77ea6c-719f-4afc-a5de-f9b1d5a14df7", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "175" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5d77ea6c-719f-4afc-a5de-f9b1d5a14df7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000527-0000000000001226-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3cf52eac-e1e3-4adc-b877-b6cb7d62d36c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f6bbe8d-beb8-4cfc-815b-ec84deb99357", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "5d77ea6c-719f-4afc-a5de-f9b1d5a14df7", - "lastUpdateDateTime": "2022-02-18T19:17:56Z", - "createdDateTime": "2022-02-18T19:17:56Z", - "expirationDateTime": "2022-02-19T19:17:56Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5d77ea6c-719f-4afc-a5de-f9b1d5a14df7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000528-0000000000001228-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d6d3dcb4-a70b-4d52-9f01-463aecd16904", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c88b17c-f41d-4f7d-8c02-fe804ca56bf4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "5d77ea6c-719f-4afc-a5de-f9b1d5a14df7", - "lastUpdateDateTime": "2022-02-18T19:17:56Z", - "createdDateTime": "2022-02-18T19:17:56Z", - "expirationDateTime": "2022-02-19T19:17:56Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5d77ea6c-719f-4afc-a5de-f9b1d5a14df7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000529-0000000000001230-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2970c135-df31-40df-8694-653fd60b0224", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "95df47c2-e0c0-435a-b9cd-83eabef81b8b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "88" - }, - "ResponseBody": { - "jobId": "5d77ea6c-719f-4afc-a5de-f9b1d5a14df7", - "lastUpdateDateTime": "2022-02-18T19:17:58Z", - "createdDateTime": "2022-02-18T19:17:56Z", - "expirationDateTime": "2022-02-19T19:17:56Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:58.3715282Z", - "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": "2022-02-18T19:17:58.3351715Z", - "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": "2022-02-18T19:17:58.2344164Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5d77ea6c-719f-4afc-a5de-f9b1d5a14df7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000530-0000000000001232-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff73a8d2-d87a-4ac8-87c6-cf51eec0325a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "95147bfd-f66e-433b-acd2-ab4aedef6151", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" - }, - "ResponseBody": { - "jobId": "5d77ea6c-719f-4afc-a5de-f9b1d5a14df7", - "lastUpdateDateTime": "2022-02-18T19:17:58Z", - "createdDateTime": "2022-02-18T19:17:56Z", - "expirationDateTime": "2022-02-19T19:17:56Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:58.3715282Z", - "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": "2022-02-18T19:17:58.3351715Z", - "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": "2022-02-18T19:17:58.2344164Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 19a7bfb890a7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "190", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000563-0000000000001308-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "16484651-42c4-44b9-b36c-aec8103f300b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "bad", - "stringIndexType": "TextElement_v8" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "8e094ac2-43c7-409b-aba0-161324280ed4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "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." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 315d602a07d9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "71c6a91d-d5e5-4a8f-b796-8c851ce08806", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "displayName": "testJob", - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "eaeea269-6996-468f-9e10-cd60e781a172", - "Date": "Fri, 18 Feb 2022 19:38:48 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5ed03f0-8841-4135-a398-fb2556258486", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5ed03f0-8841-4135-a398-fb2556258486?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1c66fb1c-7087-48f2-9678-ad6ce0e1cb67", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4bde9743-70f2-4c24-b5fb-ed95a9483c8b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "f5ed03f0-8841-4135-a398-fb2556258486", - "lastUpdateDateTime": "2022-02-18T19:38:49Z", - "createdDateTime": "2022-02-18T19:38:48Z", - "expirationDateTime": "2022-02-19T19:38:48Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5ed03f0-8841-4135-a398-fb2556258486?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "50bd94b5-e5f9-430f-baf6-2c4622ba06f1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "375686ce-aae3-400a-9ee1-a0e8613afeef", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "f5ed03f0-8841-4135-a398-fb2556258486", - "lastUpdateDateTime": "2022-02-18T19:38:49Z", - "createdDateTime": "2022-02-18T19:38:48Z", - "expirationDateTime": "2022-02-19T19:38:48Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5ed03f0-8841-4135-a398-fb2556258486?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3ff2bef8-ba70-4a00-b149-9b4b9688565d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "340aa257-b367-43a2-a6a3-fefc11644bca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "f5ed03f0-8841-4135-a398-fb2556258486", - "lastUpdateDateTime": "2022-02-18T19:38:50Z", - "createdDateTime": "2022-02-18T19:38:48Z", - "expirationDateTime": "2022-02-19T19:38:48Z", - "status": "succeeded", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:38:50.6516702Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 10f22e72bc35..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json +++ /dev/null @@ -1,847 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "440", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000490-0000000000001142-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ed2cd1f3-67a5-4f52-a50c-1b488a92daba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "92a3a175-d693-44d6-9649-dbf3c6aa659e", - "Date": "Fri, 18 Feb 2022 19:17:13 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "272" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000491-0000000000001144-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "78dd532b-31c0-45c1-9ade-9b68af66fe96", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b0869f86-4e49-470e-8287-cecbc0ef0ee4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:13Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000492-0000000000001146-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5e64c959-8fab-407d-b2c8-e745deb062d6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "587c907a-acba-4a81-942b-9b6dcb721580", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:14Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000493-0000000000001148-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "43082125-2c7c-47eb-9548-e6647ede8aff", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c66dfa44-5086-4464-a80c-c15e2d5ee00a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "103" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:15Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:15.5116339Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000494-0000000000001150-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4d2dbe66-2463-4d58-979c-2167f8de4d73", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bb7b3943-ecb9-439a-b55c-82b63ce2fb80", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "121" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:16Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:15.5116339Z", - "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": "2022-02-18T19:17:16.7616029Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000495-0000000000001152-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7d9aa42e-a91d-4b65-b7ed-80340ca9a882", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e3f6df88-ff50-43b7-bb39-eeceed0a3944", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:16Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:15.5116339Z", - "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": "2022-02-18T19:17:16.7616029Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000496-0000000000001154-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4c665106-4c0a-453e-8fb7-876d42a117b7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1cbdf683-ef5f-4cbf-9727-5363e735f0a0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "537" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:22Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:15.5116339Z", - "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": "2022-02-18T19:17:16.7616029Z", - "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": "2022-02-18T19:17:22.1652146Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0aa0adb3-e163-4358-b956-443d76fa0d81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000497-0000000000001156-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dd18a7ba-208a-44d8-937a-3781fec2ad05", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a03f294e-d6de-40cc-9b95-def7fa043e18", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "174" - }, - "ResponseBody": { - "jobId": "0aa0adb3-e163-4358-b956-443d76fa0d81", - "lastUpdateDateTime": "2022-02-18T19:17:22Z", - "createdDateTime": "2022-02-18T19:17:13Z", - "expirationDateTime": "2022-02-19T19:17:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:15.5116339Z", - "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": "2022-02-18T19:17:16.7616029Z", - "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": "2022-02-18T19:17:22.1652146Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 283823efc197..000000000000 --- 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 +++ /dev/null @@ -1,948 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "447", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000482-0000000000001124-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e3db88c8-34e1-42bc-baee-f35223502e97", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fc33a4f7-f697-40de-9b9b-5256091b5de6", - "Date": "Fri, 18 Feb 2022 19:17:02 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "364" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000483-0000000000001126-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "32cb62ee-88b8-40a1-bfc6-d08c95e6e929", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7ebe63b0-b3e8-424d-86f1-1807672c73cd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:03Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000484-0000000000001128-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d1b6d3eb-8a67-44ed-9740-2c8adef66da9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a609ebf6-eec8-4e39-8941-c17a9468035d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:03Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000485-0000000000001130-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "414ecf27-446e-4e52-9103-030787177e04", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4c0b23b8-764b-42f8-a370-9ad86cfbf0ee", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:03Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000486-0000000000001132-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f059e385-5737-4606-9d47-258f742fbca8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dcf2cc41-a8b5-4ba1-97dd-a9e5a9e2b6bf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "227" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:06Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:06.3129691Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000487-0000000000001134-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "90bd1561-2913-4146-aa30-59306ce610b0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bcacf00a-5618-4bbe-a50f-f528254f82d3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "173" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:09Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:06.3129691Z", - "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": "2022-02-18T19:17:08.2940938Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000488-0000000000001136-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0119e49f-35c5-4bdd-99c5-1fde96acc889", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "30514c13-78de-4632-920f-6d139f1ce61f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "220" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:11Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:06.3129691Z", - "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": "2022-02-18T19:17:08.2940938Z", - "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": "2022-02-18T19:17:11.3972976Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5472bfde-91c4-4955-bf25-2f9937599c26?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000489-0000000000001138-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5ed919ff-1b14-49be-9a51-c082f4b435be", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c8c5746d-92e8-4ad8-ab48-eed5d64aa9cf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "220" - }, - "ResponseBody": { - "jobId": "5472bfde-91c4-4955-bf25-2f9937599c26", - "lastUpdateDateTime": "2022-02-18T19:17:11Z", - "createdDateTime": "2022-02-18T19:17:03Z", - "expirationDateTime": "2022-02-19T19:17:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:06.3129691Z", - "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": "2022-02-18T19:17:08.2940938Z", - "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": "2022-02-18T19:17:11.3972976Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f7b57ec7da09..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json +++ /dev/null @@ -1,1674 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "1471", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000531-0000000000001236-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9a5d38c5-9339-4452-81c9-a5a00d956bf8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "d2f02967-9870-4b14-9705-d5ece061999b", - "Date": "Fri, 18 Feb 2022 19:18:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "682" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000532-0000000000001238-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b3411b31-af8c-48b5-a7b4-9df86d6cc476", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1d132f5d-91c4-4259-adfa-81f95c1672f1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:00Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000533-0000000000001240-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "76990695-752f-49eb-a6b0-9ff86d6642be", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "55576184-49c9-45eb-87c8-a58929a39de0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:00Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000534-0000000000001242-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "26fa4a41-968d-4af6-9312-436b58ff76ce", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d3b5f312-c03d-414a-89c8-ac935df2fdc2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:00Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000535-0000000000001244-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "76f5a92d-8672-48f0-8c2d-dc59ceb99177", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d3b7ac27-31a8-4ca0-b1d1-8d4e7deb4cb1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:00Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000536-0000000000001246-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "528268fd-acd8-4469-a2ed-006b0776b76a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c7e1f954-bcd1-4b9d-be3e-f7de7ae909f9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:06Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000537-0000000000001248-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "55f446a2-e43a-4ec9-aba2-d04e47baf01f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7532e285-32c1-4b34-a9a9-1a2540837b88", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "385" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:08Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:08.620137Z", - "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.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000538-0000000000001250-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d3ac8573-01b5-471c-842f-e0044e59b76e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5b052f19-2a57-4391-83a3-02e6923fc0ac", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "304" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:11Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:08.620137Z", - "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.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000539-0000000000001252-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3a1a028c-91f7-4025-866c-21abea4df739", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b11da95c-a8d3-4c67-9922-24b1070d2388", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "366" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:11Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:11.8457016Z", - "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": "2022-02-18T19:18:08.620137Z", - "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.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$top=10\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000540-0000000000001254-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "757d683e-5971-49dd-89f8-1496d1b3ef80", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1597149b-2bd7-4f3e-8116-91fea4e36352", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "342" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:11Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:11.8457016Z", - "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": "2022-02-18T19:18:08.620137Z", - "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.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=10\u0026$top=10\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=10\u0026$top=10\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000541-0000000000001256-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bc01730c-5140-4d15-9333-633882eeb866", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3d514905-bcdf-4a3e-9606-a278a997a346", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "270" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:11Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:11.8457016Z", - "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": "2022-02-18T19:18:08.620137Z", - "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.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5f4726ac-136a-4b65-992c-448b4066bc92?$skip=20\u0026$top=5\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000542-0000000000001258-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "57ee5df2-12a1-4896-8948-94090e785cc7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "15e98def-feb2-4ec9-bc99-0da5da519bbf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "172" - }, - "ResponseBody": { - "jobId": "5f4726ac-136a-4b65-992c-448b4066bc92", - "lastUpdateDateTime": "2022-02-18T19:18:11Z", - "createdDateTime": "2022-02-18T19:17:59Z", - "expirationDateTime": "2022-02-19T19:17:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:11.8457016Z", - "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": "2022-02-18T19:18:08.620137Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 2ec3794b0598..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "286", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000543-0000000000001262-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8d8c8111-0586-4302-8beb-442ca48cac6b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0d3b0499-9fc2-4d5c-ac00-7db3bbc35633", - "Date": "Fri, 18 Feb 2022 19:18:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "128" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000544-0000000000001264-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "882e4b82-e9a2-409e-a6ee-6f7f1e3cce25", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9ab74fe7-af68-4766-bd22-a619b216b17b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:16Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000545-0000000000001266-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a3ffc402-95e3-4cfa-8156-f9a696902793", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cdfdf40e-c07b-4a01-b74e-9ae36aef8c59", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:16Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000546-0000000000001268-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f3e14057-9c81-4174-8fd5-1f915aedca55", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6cdaa7df-cdfb-44f8-9a11-f8e0125a4913", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:16Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000547-0000000000001270-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c0d4f038-9940-4788-bb7c-06d8ab1af2de", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "816ecf64-9ea1-42bc-8657-853d9eb1cde3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:16Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000548-0000000000001272-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f2a3e331-6730-4e20-ae0d-315ad720339e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b9cbd72-f7b2-4a0f-889e-493ca4e74a24", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:16Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000549-0000000000001274-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ffad9408-c1c0-4870-a16c-732acd035366", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b7c0bd52-c63f-49df-abe0-a18f9f7f5e89", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:23Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:23.9600452Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cc1998a3-dd7d-44df-b82d-713f2034c040?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000550-0000000000001276-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c2271906-580a-46cd-b238-04f4b5c5e6f2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f02d101-c688-4323-bbbd-df18a46e079f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "71" - }, - "ResponseBody": { - "jobId": "cc1998a3-dd7d-44df-b82d-713f2034c040", - "lastUpdateDateTime": "2022-02-18T19:18:23Z", - "createdDateTime": "2022-02-18T19:18:16Z", - "expirationDateTime": "2022-02-19T19:18:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:23.9600452Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json deleted file mode 100644 index c4d52b266616..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "484", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "89b25741-5d9b-409e-ae8f-29f6a32da9b3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customMultiClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2b214b10-e667-4853-9807-744ec4dd64a0", - "Date": "Fri, 18 Feb 2022 19:31:58 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ffa49107-67c7-4ab1-9dcc-33476e886190", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "247" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ffa49107-67c7-4ab1-9dcc-33476e886190?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9a714eed-254b-4bc0-b134-97a9cb202d30", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b94b2f7c-69ac-4aa2-a839-da7bd4abca4b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "ffa49107-67c7-4ab1-9dcc-33476e886190", - "lastUpdateDateTime": "2022-02-18T19:31:59Z", - "createdDateTime": "2022-02-18T19:31:59Z", - "expirationDateTime": "2022-02-19T19:31:59Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ffa49107-67c7-4ab1-9dcc-33476e886190?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e821eb3b-1e0a-4773-883b-ecb9de73c845", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "50d14ef3-ec49-4f06-aedb-534137fa29b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "ffa49107-67c7-4ab1-9dcc-33476e886190", - "lastUpdateDateTime": "2022-02-18T19:31:59Z", - "createdDateTime": "2022-02-18T19:31:59Z", - "expirationDateTime": "2022-02-19T19:31:59Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ffa49107-67c7-4ab1-9dcc-33476e886190?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "98b0d9c5-a24b-4530-a209-82ae68162558", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "91e8e73c-7594-4170-ba03-de355f30414e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:32:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "ffa49107-67c7-4ab1-9dcc-33476e886190", - "lastUpdateDateTime": "2022-02-18T19:31:59Z", - "createdDateTime": "2022-02-18T19:31:59Z", - "expirationDateTime": "2022-02-19T19:31:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:59.9268054Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ffa49107-67c7-4ab1-9dcc-33476e886190?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "28bc73d5-654e-498b-8b12-b05ea63d4f27", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bc810672-76c4-47e2-81b5-637f95e8c499", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:32:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "jobId": "ffa49107-67c7-4ab1-9dcc-33476e886190", - "lastUpdateDateTime": "2022-02-18T19:31:59Z", - "createdDateTime": "2022-02-18T19:31:59Z", - "expirationDateTime": "2022-02-19T19:31:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:59.9268054Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json deleted file mode 100644 index 20cb8c089c33..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "485", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "78713852-054a-4766-acf7-78f2baa0731c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customSingleClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "78b73591-30af-48c2-b4fa-a6209a84322d", - "Date": "Fri, 18 Feb 2022 19:31:57 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "243" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b4f0d541-a477-4e83-9170-831a0c5c5d38", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c6cfaf6f-4756-42e2-a31b-4664e84d758c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16", - "lastUpdateDateTime": "2022-02-18T19:31:57Z", - "createdDateTime": "2022-02-18T19:31:57Z", - "expirationDateTime": "2022-02-19T19:31:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0f6a7f58-c358-4372-b9fe-885a5af1bbbb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6d508a14-bc50-4c1b-bf5f-c844df07bd34", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "jobId": "dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16", - "lastUpdateDateTime": "2022-02-18T19:31:58Z", - "createdDateTime": "2022-02-18T19:31:57Z", - "expirationDateTime": "2022-02-19T19:31:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:58.0986762Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "35d9fd1c-e848-4a64-9391-cd7f5423fa0f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6221042-d3a9-4648-a8d7-e6e46b36ea21", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "jobId": "dccc7c16-a6d8-46ec-a9cf-dac38d1a8b16", - "lastUpdateDateTime": "2022-02-18T19:31:58Z", - "createdDateTime": "2022-02-18T19:31:57Z", - "expirationDateTime": "2022-02-19T19:31:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:58.0986762Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json deleted file mode 100644 index f250c9c3f76c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json +++ /dev/null @@ -1,461 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "516", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "789201b0-272d-488b-8a15-0ac7a9d06dc0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customEntityRecognitionTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "95fa5b23-daa8-44ad-baf9-e7bc88f73a7d", - "Date": "Fri, 18 Feb 2022 19:31:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0a8c4052-95c9-45ea-b090-a783a7c57074", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "200" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0a8c4052-95c9-45ea-b090-a783a7c57074?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8b3163f2-2130-4688-9de2-d8c13d8906ba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b5b348ea-f6e4-4fdc-b75b-5d3b738620cb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "0a8c4052-95c9-45ea-b090-a783a7c57074", - "lastUpdateDateTime": "2022-02-18T19:31:55Z", - "createdDateTime": "2022-02-18T19:31:55Z", - "expirationDateTime": "2022-02-19T19:31:55Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0a8c4052-95c9-45ea-b090-a783a7c57074?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "88658856-4f64-4a84-8251-1ed39d29cd3e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c83e2f50-c7a0-4bd0-bfb8-d08471eb81bb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "0a8c4052-95c9-45ea-b090-a783a7c57074", - "lastUpdateDateTime": "2022-02-18T19:31:56Z", - "createdDateTime": "2022-02-18T19:31:55Z", - "expirationDateTime": "2022-02-19T19:31:55Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:56.068069Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0a8c4052-95c9-45ea-b090-a783a7c57074?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3f49bbcc-5555-407e-8eed-997dec254b6a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b364af73-30b0-4ebd-a2ff-876104fd546d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "497" - }, - "ResponseBody": { - "jobId": "0a8c4052-95c9-45ea-b090-a783a7c57074", - "lastUpdateDateTime": "2022-02-18T19:31:56Z", - "createdDateTime": "2022-02-18T19:31:55Z", - "expirationDateTime": "2022-02-19T19:31:55Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:56.068069Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c51e0fee1fb6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json +++ /dev/null @@ -1,572 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "346", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000438-0000000000001022-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "00ee3533-2a8c-4eb6-a1ad-e6dbaf065b96", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "9856b420-96f0-482b-8607-1dfb9702382a", - "Date": "Fri, 18 Feb 2022 19:16:12 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000439-0000000000001024-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "68c34e3c-7026-4fc3-9c1f-1ad3ffe8199c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3a24d070-f34c-45ed-b6d7-e7d4988386ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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" - }, - "ResponseBody": { - "jobId": "f5628004-65d4-48dc-a26f-800e17e6601b", - "lastUpdateDateTime": "2022-02-18T19:16:12Z", - "createdDateTime": "2022-02-18T19:16:12Z", - "expirationDateTime": "2022-02-19T19:16:12Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000440-0000000000001026-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5428e29c-a034-4cb5-907f-11c4ec81a759", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b8c3d7ea-4081-4244-bab4-362cafcabf18", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "f5628004-65d4-48dc-a26f-800e17e6601b", - "lastUpdateDateTime": "2022-02-18T19:16:12Z", - "createdDateTime": "2022-02-18T19:16:12Z", - "expirationDateTime": "2022-02-19T19:16:12Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000441-0000000000001028-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d44d31b6-7a5e-4f99-8221-af9a6f8f1128", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ae2002ef-ea8f-4c3d-9999-674ad12f71c9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "f5628004-65d4-48dc-a26f-800e17e6601b", - "lastUpdateDateTime": "2022-02-18T19:16:12Z", - "createdDateTime": "2022-02-18T19:16:12Z", - "expirationDateTime": "2022-02-19T19:16:12Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000442-0000000000001030-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b80c476e-7036-4503-bf94-ba4003263aa1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fc21d5ba-5859-48b3-a2dc-9266c9d613dc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "62" - }, - "ResponseBody": { - "jobId": "f5628004-65d4-48dc-a26f-800e17e6601b", - "lastUpdateDateTime": "2022-02-18T19:16:16Z", - "createdDateTime": "2022-02-18T19:16:12Z", - "expirationDateTime": "2022-02-19T19:16:12Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:16.7872391Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f5628004-65d4-48dc-a26f-800e17e6601b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000443-0000000000001032-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "36303c47-a83a-4cf4-a283-d908f3306d4b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8814f0db-dde9-4b4d-a693-cfe342848bb8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "f5628004-65d4-48dc-a26f-800e17e6601b", - "lastUpdateDateTime": "2022-02-18T19:16:16Z", - "createdDateTime": "2022-02-18T19:16:12Z", - "expirationDateTime": "2022-02-19T19:16:12Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:16.7872391Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c694add19d66..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json +++ /dev/null @@ -1,540 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "471", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000432-0000000000001008-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3f48ba29-5d82-4cd8-8143-6f4800821e36", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u00FCndet.", - "language": "de" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e1d86b6d-f50d-4844-83d8-2d17b6fcba05", - "Date": "Fri, 18 Feb 2022 19:16:07 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "232" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000433-0000000000001010-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5ec1a8f5-8ec0-4fc2-8f6a-6f88a01d7d47", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1452beb2-4817-45e1-aa9c-b365e7846e00", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "0d3ac030-7377-49eb-b793-f904323460d6", - "lastUpdateDateTime": "2022-02-18T19:16:07Z", - "createdDateTime": "2022-02-18T19:16:06Z", - "expirationDateTime": "2022-02-19T19:16:06Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000434-0000000000001012-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "69e72960-6f37-41c6-9bfe-5e4b6da6473c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d85e21aa-1419-4085-9528-9e5a366a373f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "0d3ac030-7377-49eb-b793-f904323460d6", - "lastUpdateDateTime": "2022-02-18T19:16:07Z", - "createdDateTime": "2022-02-18T19:16:06Z", - "expirationDateTime": "2022-02-19T19:16:06Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000435-0000000000001014-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a0a169fd-4f76-4f48-b161-bc53c0ea59fb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "03db4ae9-acb1-4c73-84c9-3d27d61a444a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "jobId": "0d3ac030-7377-49eb-b793-f904323460d6", - "lastUpdateDateTime": "2022-02-18T19:16:07Z", - "createdDateTime": "2022-02-18T19:16:06Z", - "expirationDateTime": "2022-02-19T19:16:06Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000436-0000000000001016-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "99c0e098-3ac6-4194-85a8-fc3d697ceb91", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "96c48a32-5019-4a50-ad35-cebdf6a19ad7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "50" - }, - "ResponseBody": { - "jobId": "0d3ac030-7377-49eb-b793-f904323460d6", - "lastUpdateDateTime": "2022-02-18T19:16:10Z", - "createdDateTime": "2022-02-18T19:16:06Z", - "expirationDateTime": "2022-02-19T19:16:06Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:10.1006686Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/0d3ac030-7377-49eb-b793-f904323460d6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000437-0000000000001018-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8e9d64e1-e8ee-4a65-91f7-8949eecf8fac", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8ca99fa1-74be-4115-bc93-89d4bd42944c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "67" - }, - "ResponseBody": { - "jobId": "0d3ac030-7377-49eb-b793-f904323460d6", - "lastUpdateDateTime": "2022-02-18T19:16:10Z", - "createdDateTime": "2022-02-18T19:16:06Z", - "expirationDateTime": "2022-02-19T19:16:06Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:10.1006686Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 5ac3b8acf399..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json +++ /dev/null @@ -1,433 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "319", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000420-0000000000000980-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "60f4d8b6-f819-47b0-a815-bf025a0ab54a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "327521a6-62a9-4758-bf05-8aae04721eab", - "Date": "Fri, 18 Feb 2022 19:15:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "151" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000421-0000000000000982-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c30636de-b7c0-48de-af6c-6b05d0a1c3f9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c2f0441-3d85-4c65-92ab-d5bad81e40bb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "d9731276-65ac-4212-83b7-63ce4df8ee54", - "lastUpdateDateTime": "2022-02-18T19:15:56Z", - "createdDateTime": "2022-02-18T19:15:56Z", - "expirationDateTime": "2022-02-19T19:15:56Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000422-0000000000000984-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3980583a-618c-4369-badf-1fb44a28f0ac", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a16e9534-df2e-4dc8-9dbe-bde93dcee3df", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "6" - }, - "ResponseBody": { - "jobId": "d9731276-65ac-4212-83b7-63ce4df8ee54", - "lastUpdateDateTime": "2022-02-18T19:15:56Z", - "createdDateTime": "2022-02-18T19:15:56Z", - "expirationDateTime": "2022-02-19T19:15:56Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000423-0000000000000986-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1fdaeff5-7228-4166-8214-bffd22ff60a9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "85ad5ae1-51c6-482b-9980-27d13977805b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "d9731276-65ac-4212-83b7-63ce4df8ee54", - "lastUpdateDateTime": "2022-02-18T19:15:56Z", - "createdDateTime": "2022-02-18T19:15:56Z", - "expirationDateTime": "2022-02-19T19:15:56Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000424-0000000000000988-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "34973d26-643e-47b1-ab7f-a5a2da98894c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47b2e676-c256-46ac-810d-095b16de67fc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "64" - }, - "ResponseBody": { - "jobId": "d9731276-65ac-4212-83b7-63ce4df8ee54", - "lastUpdateDateTime": "2022-02-18T19:15:59Z", - "createdDateTime": "2022-02-18T19:15:56Z", - "expirationDateTime": "2022-02-19T19:15:56Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:15:59.2743537Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/d9731276-65ac-4212-83b7-63ce4df8ee54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000425-0000000000000990-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8d4fb0c1-142a-4470-8d5d-776a1a32ac0d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c94cbbae-8c60-4a48-a7a3-2e3e97ecc717", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "d9731276-65ac-4212-83b7-63ce4df8ee54", - "lastUpdateDateTime": "2022-02-18T19:15:59Z", - "createdDateTime": "2022-02-18T19:15:56Z", - "expirationDateTime": "2022-02-19T19:15:56Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:15:59.2743537Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json deleted file mode 100644 index ba2240248d0a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "11477", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000414-0000000000000966-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dff52787-b64b-41f3-bb3d-de6151c1df8c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", - "language": "en" - }, - { - "id": "1", - "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", - "language": "en" - } - ] - }, - "tasks": { - "extractiveSummarizationTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit", - "sentenceCount": 5, - "sortBy": "Offset" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a4869afb-1996-4bf7-9697-2ce624e3979a", - "Date": "Fri, 18 Feb 2022 19:15:50 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000415-0000000000000968-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "92419b67-53f0-421e-af82-d049c0ea4ccc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4e46ae6f-4af8-4ac5-8729-0eaba74a43aa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "lastUpdateDateTime": "2022-02-18T19:15:50Z", - "createdDateTime": "2022-02-18T19:15:50Z", - "expirationDateTime": "2022-02-19T19:15:50Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000416-0000000000000970-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b4a725fb-50bf-433e-873a-252bed5d9685", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "30d3b407-8bce-4094-9710-e7b1fa52f363", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "lastUpdateDateTime": "2022-02-18T19:15:51Z", - "createdDateTime": "2022-02-18T19:15:50Z", - "expirationDateTime": "2022-02-19T19:15:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000417-0000000000000972-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3a895ea5-467a-493a-ba5f-a26e8c161137", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4694f954-e318-4fb8-ab9b-962ed2a6da34", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "lastUpdateDateTime": "2022-02-18T19:15:51Z", - "createdDateTime": "2022-02-18T19:15:50Z", - "expirationDateTime": "2022-02-19T19:15:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000418-0000000000000974-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bdc43ab9-4c79-4ac0-8e7c-69faca1c9501", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5d02ce72-29f8-4431-92ee-fa3d2fcf6efe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "56" - }, - "ResponseBody": { - "jobId": "b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "lastUpdateDateTime": "2022-02-18T19:15:54Z", - "createdDateTime": "2022-02-18T19:15:50Z", - "expirationDateTime": "2022-02-19T19:15:50Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:15:54.1324861Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b94c4107-4f24-4ce7-88b8-7d8cae991fa0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000419-0000000000000976-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6b099936-a1a0-4837-85c5-660e7c55aa71", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9cd63d45-8b76-476c-b4f2-4d969eb64e85", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:15:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "48" - }, - "ResponseBody": { - "jobId": "b94c4107-4f24-4ce7-88b8-7d8cae991fa0", - "lastUpdateDateTime": "2022-02-18T19:15:54Z", - "createdDateTime": "2022-02-18T19:15:50Z", - "expirationDateTime": "2022-02-19T19:15:50Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:15:54.1324861Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 05343c83dd78..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "287", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000426-0000000000000994-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fb251d9f-8b61-4206-9d8f-5d82e2466802", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "daf37e60-e746-4980-af58-7318ef3e06d0", - "Date": "Fri, 18 Feb 2022 19:16:01 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000427-0000000000000996-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "865037ab-63cd-4f36-a86d-808c98813e02", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b8901243-b170-446f-a1ef-6e7b95b1b898", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "7" - }, - "ResponseBody": { - "jobId": "53efccb7-a4af-434d-903d-4bc1505d20b1", - "lastUpdateDateTime": "2022-02-18T19:16:01Z", - "createdDateTime": "2022-02-18T19:16:01Z", - "expirationDateTime": "2022-02-19T19:16:01Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000428-0000000000000998-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e11f820e-4362-4c16-9a5a-66078a6a39fb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6ed1cae7-bb08-48b1-a7f6-07057b23faa5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "53efccb7-a4af-434d-903d-4bc1505d20b1", - "lastUpdateDateTime": "2022-02-18T19:16:01Z", - "createdDateTime": "2022-02-18T19:16:01Z", - "expirationDateTime": "2022-02-19T19:16:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000429-0000000000001000-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e5bf3ffd-8792-4e38-8f1a-64e95b568cbd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fba40fd3-706f-4b19-b406-fb5110a86a4b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "53efccb7-a4af-434d-903d-4bc1505d20b1", - "lastUpdateDateTime": "2022-02-18T19:16:01Z", - "createdDateTime": "2022-02-18T19:16:01Z", - "expirationDateTime": "2022-02-19T19:16:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000430-0000000000001002-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bb6ddc48-18f3-417a-9f2a-8ab2332ff96a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dcca4a40-4538-425a-a48c-b0335902653f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "61" - }, - "ResponseBody": { - "jobId": "53efccb7-a4af-434d-903d-4bc1505d20b1", - "lastUpdateDateTime": "2022-02-18T19:16:04Z", - "createdDateTime": "2022-02-18T19:16:01Z", - "expirationDateTime": "2022-02-19T19:16:01Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:04.5728879Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/53efccb7-a4af-434d-903d-4bc1505d20b1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000431-0000000000001004-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cbf8d15a-1246-4c83-9101-39f4df44d2cc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0122662a-46bf-4a1b-84ce-67a7ab272d7b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "53efccb7-a4af-434d-903d-4bc1505d20b1", - "lastUpdateDateTime": "2022-02-18T19:16:04Z", - "createdDateTime": "2022-02-18T19:16:01Z", - "expirationDateTime": "2022-02-19T19:16:01Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:04.5728879Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 42194d389bc4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "383", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000444-0000000000001036-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1e72fc40-3654-470c-bd63-5dc3879f052b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c7728052-c02e-43c6-ac38-61617d754847", - "Date": "Fri, 18 Feb 2022 19:16:16 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000445-0000000000001038-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0ff1c116-9503-4c86-a8cb-db70f861d379", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e137bdda-ba70-49d2-b998-1e0dbe9a4199", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ae18a652-8ab3-4b53-8d83-bae98b92076b", - "lastUpdateDateTime": "2022-02-18T19:16:17Z", - "createdDateTime": "2022-02-18T19:16:17Z", - "expirationDateTime": "2022-02-19T19:16:17Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000446-0000000000001040-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a3bd8496-b69d-44c6-9702-852fdfa448f7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5c4f8578-5672-4068-b2a1-fd0ced034505", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "ae18a652-8ab3-4b53-8d83-bae98b92076b", - "lastUpdateDateTime": "2022-02-18T19:16:17Z", - "createdDateTime": "2022-02-18T19:16:17Z", - "expirationDateTime": "2022-02-19T19:16:17Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000447-0000000000001042-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3f12e97c-c619-410f-a7cd-73612ee0e9d6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e619fb89-178c-4264-bd29-e4d6b2ba8553", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ae18a652-8ab3-4b53-8d83-bae98b92076b", - "lastUpdateDateTime": "2022-02-18T19:16:18Z", - "createdDateTime": "2022-02-18T19:16:17Z", - "expirationDateTime": "2022-02-19T19:16:17Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000448-0000000000001044-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "210c34e3-2f15-47b7-af69-3a5b592ce2ae", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a22156cb-fe0e-4705-a79b-e56b3559b7ba", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "73" - }, - "ResponseBody": { - "jobId": "ae18a652-8ab3-4b53-8d83-bae98b92076b", - "lastUpdateDateTime": "2022-02-18T19:16:21Z", - "createdDateTime": "2022-02-18T19:16:17Z", - "expirationDateTime": "2022-02-19T19:16:17Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:21.208675Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ae18a652-8ab3-4b53-8d83-bae98b92076b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000449-0000000000001046-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e7fe9f4d-928c-419f-aba1-0e293c207bff", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a57df2d8-d971-4280-8bec-aec89aa0608b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" - }, - "ResponseBody": { - "jobId": "ae18a652-8ab3-4b53-8d83-bae98b92076b", - "lastUpdateDateTime": "2022-02-18T19:16:21Z", - "createdDateTime": "2022-02-18T19:16:17Z", - "expirationDateTime": "2022-02-19T19:16:17Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:21.208675Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 62348f52b0a1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json +++ /dev/null @@ -1,366 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "470", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000450-0000000000001050-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8cf57fb2-48c0-4088-8e8a-8296a6aecb1e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "19ee7ba8-8e87-4a29-aff5-1f1963161be7", - "Date": "Fri, 18 Feb 2022 19:16:23 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "170" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000451-0000000000001052-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b1bb89de-e043-444e-a766-cf6e524bfe93", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c54cd73c-1f57-4a18-b6c9-0d0c3964de05", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "lastUpdateDateTime": "2022-02-18T19:16:23Z", - "createdDateTime": "2022-02-18T19:16:23Z", - "expirationDateTime": "2022-02-19T19:16:23Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000452-0000000000001054-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fe459066-fd75-4a54-8cb2-fb99b3b15635", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "281e817d-07eb-46ce-a980-8977d81e9908", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "lastUpdateDateTime": "2022-02-18T19:16:23Z", - "createdDateTime": "2022-02-18T19:16:23Z", - "expirationDateTime": "2022-02-19T19:16:23Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000453-0000000000001056-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4b04963b-5fb8-4972-9421-1f8c37518571", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6d1a572a-0bae-456c-8e4a-5087c5f89f42", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "lastUpdateDateTime": "2022-02-18T19:16:23Z", - "createdDateTime": "2022-02-18T19:16:23Z", - "expirationDateTime": "2022-02-19T19:16:23Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000454-0000000000001058-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "19cedb4e-a744-4cb9-880e-10f6a86c1a74", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "308bb725-82b0-43c8-a96a-87da1f1e8c1b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "46" - }, - "ResponseBody": { - "jobId": "fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "lastUpdateDateTime": "2022-02-18T19:16:26Z", - "createdDateTime": "2022-02-18T19:16:23Z", - "expirationDateTime": "2022-02-19T19:16:23Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:26.2105034Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe66d1e8-e539-48d2-b6e6-9b75835c216b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000455-0000000000001060-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "aef9a1f0-d686-403a-b8f9-b85d4586716b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aea6dbc2-958e-4a91-9d48-2d2a12b8e293", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "fe66d1e8-e539-48d2-b6e6-9b75835c216b", - "lastUpdateDateTime": "2022-02-18T19:16:26Z", - "createdDateTime": "2022-02-18T19:16:23Z", - "expirationDateTime": "2022-02-19T19:16:23Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:26.2105034Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9497aaae4f4a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json +++ /dev/null @@ -1,1739 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "749", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000456-0000000000001064-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6b18a7c4-4671-4378-8229-ea98f12b32db", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2a9096dd-2987-49f7-908d-aa34ac5e226d", - "Date": "Fri, 18 Feb 2022 19:16:28 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "290" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000457-0000000000001066-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7bb1bcb3-76f6-4fe7-a2e2-2f97ec7e67cb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "98e8977a-a678-48d7-b1c8-bf5afbcc6332", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:28Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000458-0000000000001068-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dc6efb0a-ea4c-4ba9-83b8-08cb50fac897", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8cbdcdad-a334-49a2-864f-338586c7df9d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:29Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000459-0000000000001070-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6976a71e-bd33-4ab0-bfc2-89a293559693", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0976f7d2-f16c-4ecb-b17a-59209f2bf7e1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:29Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000460-0000000000001072-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a1facdb4-247c-4999-9300-3bdd9956e548", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e0e1867d-9b0f-47f4-ac76-76d4a6fd94df", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:29Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000461-0000000000001074-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bd76c4fd-3484-4fd3-a56b-8f33042dda5a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "137df18a-5208-45ef-863e-a020ccdcb528", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:29Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000462-0000000000001076-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f3274fd6-b001-42d5-a445-dcff663d462f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a5c4d135-3c92-4fc9-82cc-10beb6677a56", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "68" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:29Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000463-0000000000001078-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c970a0a0-4239-4e83-95bf-c8be55778ba0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "877dc094-6cf8-4443-91d2-ede0aa946e76", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "83" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:37Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:37.7944844Z", - "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/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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000464-0000000000001080-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "98e62e2d-5d36-4f75-b445-1a1acd113365", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7f73aa56-341f-41ab-a22b-93700f3ce881", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" - }, - "ResponseBody": { - "jobId": "a6a94fc4-bbc8-4067-a9c7-9281c5da7ea0", - "lastUpdateDateTime": "2022-02-18T19:16:37Z", - "createdDateTime": "2022-02-18T19:16:28Z", - "expirationDateTime": "2022-02-19T19:16:28Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:37.7944844Z", - "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/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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 248c645cf7b2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,849 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "557", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000466-0000000000001088-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "11059e79-2272-4c87-9e8c-6312da171a66", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5aba3d70-4fa3-47a3-a3de-a91035da0363", - "Date": "Fri, 18 Feb 2022 19:16:41 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "339" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000467-0000000000001090-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a8baf950-2b5c-4dd7-964e-8a0a221c0af1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "39c33a93-35f2-4e78-b38c-7543102034ef", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:42Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000468-0000000000001092-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9cfd113f-755f-4e9d-ae3c-ab72568a3bac", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "be6b3ae1-73df-4c4a-9442-4787b859c661", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "8" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:42Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000469-0000000000001094-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dbc6c64d-11cb-48f3-a7cc-36ce4a5e3aa5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "50c99623-96dc-49a4-977a-27f6c34aae60", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "40" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:42Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000470-0000000000001096-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5360136c-af02-45c7-9e12-5c7ef98a0784", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b1723cc-ed07-48b9-9088-417bb3c0f364", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "152" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:45Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:45.0815594Z", - "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": "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": "2022-02-18T19:16:44.7700715Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000471-0000000000001098-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4fda83f1-c278-407a-b56d-be624d7ea8cb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cea8ab64-9dae-4988-89f8-36b58fb15c64", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "104" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:45Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:45.0815594Z", - "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": "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": "2022-02-18T19:16:44.7700715Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000472-0000000000001100-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "47256056-5d43-4b6c-823e-b25899585b9a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fd9d9589-7eaf-4b1c-bc04-679c436752d7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:49Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:49.4519097Z", - "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": "2022-02-18T19:16:45.0815594Z", - "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": "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": "2022-02-18T19:16:44.7700715Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fa00c72-772d-47ea-9f76-41e7d2910920?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000473-0000000000001102-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0d39b484-5e76-47d3-abce-15a7b9c5563c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2d5d1203-ce76-4db7-b7c1-e85aee65d45f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:16:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "142" - }, - "ResponseBody": { - "jobId": "5fa00c72-772d-47ea-9f76-41e7d2910920", - "lastUpdateDateTime": "2022-02-18T19:16:49Z", - "createdDateTime": "2022-02-18T19:16:41Z", - "expirationDateTime": "2022-02-19T19:16:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:16:49.4519097Z", - "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": "2022-02-18T19:16:45.0815594Z", - "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": "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": "2022-02-18T19:16:44.7700715Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json deleted file mode 100644 index 8a3215dff53c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000565-0000000000001316-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "372eef55-0399-43a1-a8c5-1eb993cb9961", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action1" - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action2" - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "20445fcd-e0ea-48f2-8a23-ed8acf95d7ab", - "Date": "Fri, 18 Feb 2022 19:18:40 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1e6b92af-3ed9-4604-9921-79ff04f60323", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "181" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1e6b92af-3ed9-4604-9921-79ff04f60323?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000566-0000000000001318-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c72aabfb-f0b9-4e6a-814c-60415a4484b5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "89f58d18-15c5-46f8-8151-44cd9dee632c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "9" - }, - "ResponseBody": { - "jobId": "1e6b92af-3ed9-4604-9921-79ff04f60323", - "lastUpdateDateTime": "2022-02-18T19:18:40Z", - "createdDateTime": "2022-02-18T19:18:40Z", - "expirationDateTime": "2022-02-19T19:18:40Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1e6b92af-3ed9-4604-9921-79ff04f60323?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000567-0000000000001320-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bd2c5c8d-29f1-43ed-8c02-0a50fd7edb8c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6b68ac8e-faa4-416f-87a6-c784a2ee3368", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "11" - }, - "ResponseBody": { - "jobId": "1e6b92af-3ed9-4604-9921-79ff04f60323", - "lastUpdateDateTime": "2022-02-18T19:18:40Z", - "createdDateTime": "2022-02-18T19:18:40Z", - "expirationDateTime": "2022-02-19T19:18:40Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1e6b92af-3ed9-4604-9921-79ff04f60323?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000568-0000000000001322-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "72e635fd-8064-4ea5-af7b-00479855707f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d41e9b69-fa6b-4044-ab8a-d8e13b63d2a6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "63" - }, - "ResponseBody": { - "jobId": "1e6b92af-3ed9-4604-9921-79ff04f60323", - "lastUpdateDateTime": "2022-02-18T19:18:42Z", - "createdDateTime": "2022-02-18T19:18:40Z", - "expirationDateTime": "2022-02-19T19:18:40Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:42.6294364Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:18:42.5941492Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1e6b92af-3ed9-4604-9921-79ff04f60323?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000569-0000000000001324-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cac06ead-538c-4d7e-a6e4-4209a782bbc0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5113111d-8fca-4331-8d9c-6ab88fb2ddd2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "53" - }, - "ResponseBody": { - "jobId": "1e6b92af-3ed9-4604-9921-79ff04f60323", - "lastUpdateDateTime": "2022-02-18T19:18:42Z", - "createdDateTime": "2022-02-18T19:18:40Z", - "expirationDateTime": "2022-02-19T19:18:40Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:18:42.6294364Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:18:42.5941492Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index fc2784030ec8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json +++ /dev/null @@ -1,845 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "460", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000518-0000000000001206-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f620caea-1d44-47b9-8c5d-ab1add5793a9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "parameters": { - "model-version": "latest" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b5f1327c-a32f-4acc-b612-f37c2fd80855", - "Date": "Fri, 18 Feb 2022 19:17:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "212" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000519-0000000000001208-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "322d721e-6a43-4978-9fc1-fc0ff13e7ba6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e4031740-9c76-42de-84b1-1ec3ba8e8586", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:46Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000520-0000000000001210-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0139a82d-3003-458d-9182-29b833a526de", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47039b6d-eba4-499e-ae93-c966e889dacf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:46Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000521-0000000000001212-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "040f2593-f6b6-4e4e-b5aa-ca45eb786843", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2dfbe880-4468-4c26-8d71-c000dc607070", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "123" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:48Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.3925236Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.4116415Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000522-0000000000001214-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "901f19d7-dbd5-4509-bf1e-bffa67e6176d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e2dd9981-b1c2-4c46-8cf3-468cd1e32f8d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "99" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:48Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.3925236Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.4116415Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000523-0000000000001216-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "47ccc77b-e205-4378-abee-2496db09e5a6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6395671a-0396-430e-8ab2-5a7e04b172b1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "216" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:48Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.3925236Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.4116415Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000524-0000000000001218-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ca2b83c5-f168-4238-acc8-5a0647ac8d7f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9fb22b6c-2a9a-4422-a74c-f73be7805a4a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "218" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:54Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.3925236Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.4116415Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:54.1245746Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fbfba59f-87fc-4909-ad74-ad0c27a17b5a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000525-0000000000001220-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d34d2962-7c64-4427-8d61-9a5ce0346b91", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4b03b081-dce5-43f1-a868-dc57df595d4e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148" - }, - "ResponseBody": { - "jobId": "fbfba59f-87fc-4909-ad74-ad0c27a17b5a", - "lastUpdateDateTime": "2022-02-18T19:17:54Z", - "createdDateTime": "2022-02-18T19:17:46Z", - "expirationDateTime": "2022-02-19T19:17:46Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.3925236Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:48.4116415Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:54.1245746Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index e01c2d853295..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,615 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000498-0000000000001160-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "90cbc500-8f60-4dd8-a4a7-eead0e4ba454", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "53db14f7-f362-45b3-9c89-bfe79af35a16", - "Date": "Fri, 18 Feb 2022 19:17:23 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "236" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000499-0000000000001162-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ef3025c4-7f0a-4919-a0f8-b74029e61bed", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "540e7222-61cf-433e-888b-fef95caa40a4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "18713c92-d03d-4812-8967-2ca9565be894", - "lastUpdateDateTime": "2022-02-18T19:17:24Z", - "createdDateTime": "2022-02-18T19:17:24Z", - "expirationDateTime": "2022-02-19T19:17:24Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000500-0000000000001164-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bbacf2c3-7972-41d6-8f85-cf45a3e66f3a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "739bad1c-ac88-4c38-8ca0-8a3adb63fb29", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "18713c92-d03d-4812-8967-2ca9565be894", - "lastUpdateDateTime": "2022-02-18T19:17:24Z", - "createdDateTime": "2022-02-18T19:17:24Z", - "expirationDateTime": "2022-02-19T19:17:24Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000501-0000000000001166-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1541f1ec-77ce-48d3-96dd-da0e294995cc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9baf6a23-2b56-42a3-b153-ba7fa255b5d7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "117" - }, - "ResponseBody": { - "jobId": "18713c92-d03d-4812-8967-2ca9565be894", - "lastUpdateDateTime": "2022-02-18T19:17:26Z", - "createdDateTime": "2022-02-18T19:17:24Z", - "expirationDateTime": "2022-02-19T19:17:24Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:26.358315Z", - "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": "2022-02-18T19:17:26.6666298Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000502-0000000000001168-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6bec7539-f53f-4e8d-9434-06791dbd5c6d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0f9601f8-1196-4ab6-b644-4d031245bb42", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "190" - }, - "ResponseBody": { - "jobId": "18713c92-d03d-4812-8967-2ca9565be894", - "lastUpdateDateTime": "2022-02-18T19:17:27Z", - "createdDateTime": "2022-02-18T19:17:24Z", - "expirationDateTime": "2022-02-19T19:17:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:26.358315Z", - "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": "2022-02-18T19:17:27.4037063Z", - "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": "2022-02-18T19:17:26.6666298Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18713c92-d03d-4812-8967-2ca9565be894?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000503-0000000000001170-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b2b95ac4-3aa8-481f-bd92-ed084fd6373e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a570818f-0e8d-4788-aa71-6552cce7a806", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "177" - }, - "ResponseBody": { - "jobId": "18713c92-d03d-4812-8967-2ca9565be894", - "lastUpdateDateTime": "2022-02-18T19:17:27Z", - "createdDateTime": "2022-02-18T19:17:24Z", - "expirationDateTime": "2022-02-19T19:17:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:26.358315Z", - "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": "2022-02-18T19:17:27.4037063Z", - "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": "2022-02-18T19:17:26.6666298Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 448595518d8c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json +++ /dev/null @@ -1,571 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000504-0000000000001174-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2140aba2-08a3-4017-966b-186ad648d887", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5f130822-96b4-4dff-bcd7-831b55fcbea5", - "Date": "Fri, 18 Feb 2022 19:17:29 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "226" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000505-0000000000001176-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a80db447-37ac-47c7-b335-0d2c1ddc5f3a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b6f174c-b2bf-42a3-9671-0fac67c2fe19", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "lastUpdateDateTime": "2022-02-18T19:17:30Z", - "createdDateTime": "2022-02-18T19:17:30Z", - "expirationDateTime": "2022-02-19T19:17:30Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000506-0000000000001178-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c1683f6e-b6c5-4c0d-997c-526f1534c4c1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b09ce5c7-15f3-4650-b414-9f50214eb7c2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "lastUpdateDateTime": "2022-02-18T19:17:30Z", - "createdDateTime": "2022-02-18T19:17:30Z", - "expirationDateTime": "2022-02-19T19:17:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000507-0000000000001180-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "71247946-1d6a-4d86-bb02-47b2b46efe30", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "791fc6a9-3fde-4818-a516-5d91f2df6256", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "lastUpdateDateTime": "2022-02-18T19:17:32Z", - "createdDateTime": "2022-02-18T19:17:30Z", - "expirationDateTime": "2022-02-19T19:17:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:32.4978278Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000508-0000000000001182-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0d6b9b06-758e-402e-879f-31e010a24a1a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2060b685-3357-45e2-a807-8c5f39c276ec", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "150" - }, - "ResponseBody": { - "jobId": "2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "lastUpdateDateTime": "2022-02-18T19:17:33Z", - "createdDateTime": "2022-02-18T19:17:30Z", - "expirationDateTime": "2022-02-19T19:17:30Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:32.9741843Z", - "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": "2022-02-18T19:17:33.1135787Z", - "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": "2022-02-18T19:17:32.4978278Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b30d32f-d3e2-4217-8492-eff3f4f53c5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000509-0000000000001184-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c3dae333-515c-4d92-8fdf-f27759235f57", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "05287e45-4864-41cd-b7e5-f43b83ed01b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:17:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "185" - }, - "ResponseBody": { - "jobId": "2b30d32f-d3e2-4217-8492-eff3f4f53c5d", - "lastUpdateDateTime": "2022-02-18T19:17:33Z", - "createdDateTime": "2022-02-18T19:17:30Z", - "expirationDateTime": "2022-02-19T19:17:30Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:17:32.9741843Z", - "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": "2022-02-18T19:17:33.1135787Z", - "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": "2022-02-18T19:17:32.4978278Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 85657fc132b8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "116", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000646-0000000000001514-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7cbe17be-eab4-41c1-af4d-0e843ade105b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "" - }, - { - "id": "2", - "text": "I did not like the hotel we stayed at.", - "language": "english" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a8b3c0ed-1500-4098-be1b-76befb31153a", - "Date": "Fri, 18 Feb 2022 19:19:40 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/83cc3a33-47a7-4556-8fe1-094e8c887978", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "103" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/83cc3a33-47a7-4556-8fe1-094e8c887978?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000647-0000000000001516-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f5e99676-84ed-4895-8519-36a0d79681d4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ff2b8df4-33c2-4d59-93fd-f2da2b371d3a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "jobId": "83cc3a33-47a7-4556-8fe1-094e8c887978", - "lastUpdateDateTime": "2022-02-18T19:19:41Z", - "createdDateTime": "2022-02-18T19:19:41Z", - "expirationDateTime": "2022-02-19T19:19:41Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/83cc3a33-47a7-4556-8fe1-094e8c887978?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000648-0000000000001518-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eb842eec-9c11-42e9-887a-e07e05d1d98a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "86997d5b-2fb5-4043-94da-f0cb3b54f361", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "83cc3a33-47a7-4556-8fe1-094e8c887978", - "lastUpdateDateTime": "2022-02-18T19:19:41Z", - "createdDateTime": "2022-02-18T19:19:41Z", - "expirationDateTime": "2022-02-19T19:19:41Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/83cc3a33-47a7-4556-8fe1-094e8c887978?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000649-0000000000001520-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "892d8fd5-8635-4def-8d94-f33654c9096c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f8ea1c2-f608-48f4-8a7f-62849cf959db", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "83cc3a33-47a7-4556-8fe1-094e8c887978", - "lastUpdateDateTime": "2022-02-18T19:19:42Z", - "createdDateTime": "2022-02-18T19:19:41Z", - "expirationDateTime": "2022-02-19T19:19:41Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/83cc3a33-47a7-4556-8fe1-094e8c887978?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000650-0000000000001522-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "29644a5c-53cf-41db-ba81-5f69be58188e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1af77338-1823-4075-8670-7c2ad616939b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "64" - }, - "ResponseBody": { - "jobId": "83cc3a33-47a7-4556-8fe1-094e8c887978", - "lastUpdateDateTime": "2022-02-18T19:19:42Z", - "createdDateTime": "2022-02-18T19:19:41Z", - "expirationDateTime": "2022-02-19T19:19:41Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c1ec04ade3ed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json +++ /dev/null @@ -1,301 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "180", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000590-0000000000001376-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9faeb105-35e2-4fdb-b7c0-d346a03ad169", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3b4b9061-34ec-4c78-a115-e682776e5ae0", - "Date": "Fri, 18 Feb 2022 19:18:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/76de7732-c8ac-456e-bd94-3957f4e81dcf", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/76de7732-c8ac-456e-bd94-3957f4e81dcf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000591-0000000000001378-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f252b407-bf1c-45c3-b1ba-27e656a64862", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9640024b-6db9-4580-8f5e-c87747c9cce6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "76de7732-c8ac-456e-bd94-3957f4e81dcf", - "lastUpdateDateTime": "2022-02-18T19:18:59Z", - "createdDateTime": "2022-02-18T19:18:59Z", - "expirationDateTime": "2022-02-19T19:18:59Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/76de7732-c8ac-456e-bd94-3957f4e81dcf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000592-0000000000001380-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7f57c32a-d2c8-4add-9a09-7daca26c9189", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6db7180a-1db4-47ec-8c87-9499da6b9043", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "76de7732-c8ac-456e-bd94-3957f4e81dcf", - "lastUpdateDateTime": "2022-02-18T19:18:59Z", - "createdDateTime": "2022-02-18T19:18:59Z", - "expirationDateTime": "2022-02-19T19:18:59Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/76de7732-c8ac-456e-bd94-3957f4e81dcf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000593-0000000000001382-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3a13612b-9ea2-416f-91c1-46676d178cf2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f019cdf7-cc14-48d9-8da5-4a4d4b1d7f89", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" - }, - "ResponseBody": { - "jobId": "76de7732-c8ac-456e-bd94-3957f4e81dcf", - "lastUpdateDateTime": "2022-02-18T19:19:00Z", - "createdDateTime": "2022-02-18T19:18:59Z", - "expirationDateTime": "2022-02-19T19:18:59Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/76de7732-c8ac-456e-bd94-3957f4e81dcf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000594-0000000000001384-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a4d93786-0092-4e54-86cb-a2d906fbece5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c276c6e0-7dd5-423d-9ed5-84fa8790073e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "84" - }, - "ResponseBody": { - "jobId": "76de7732-c8ac-456e-bd94-3957f4e81dcf", - "lastUpdateDateTime": "2022-02-18T19:19:00Z", - "createdDateTime": "2022-02-18T19:18:59Z", - "expirationDateTime": "2022-02-19T19:18:59Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json deleted file mode 100644 index e234b01bf974..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json +++ /dev/null @@ -1,287 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "5157", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000651-0000000000001526-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "16c1043c-f6eb-4e29-bd23-b05128d4b7ba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "3", - "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fcf40def-a7c8-46df-ace4-9e0275c3d787", - "Date": "Fri, 18 Feb 2022 19:19:44 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "115" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000652-0000000000001528-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "46f00012-2ee8-4668-8e41-a4397a2a851c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5d530a01-3f32-4541-8e04-2a701ad04e85", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "275c3830-0830-4611-8389-9b88b34b4f27", - "lastUpdateDateTime": "2022-02-18T19:19:45Z", - "createdDateTime": "2022-02-18T19:19:45Z", - "expirationDateTime": "2022-02-19T19:19:45Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000653-0000000000001530-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "07aaa4dd-7daf-42d4-a495-0ab6b63b49a4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "009a77dc-7c8b-406a-8e2b-7067adff21c1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "275c3830-0830-4611-8389-9b88b34b4f27", - "lastUpdateDateTime": "2022-02-18T19:19:45Z", - "createdDateTime": "2022-02-18T19:19:45Z", - "expirationDateTime": "2022-02-19T19:19:45Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000654-0000000000001532-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "823a9a02-f639-424b-8d9b-408543628308", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d4cc1b01-b7d9-4873-a90a-f777c2d30baf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "275c3830-0830-4611-8389-9b88b34b4f27", - "lastUpdateDateTime": "2022-02-18T19:19:45Z", - "createdDateTime": "2022-02-18T19:19:45Z", - "expirationDateTime": "2022-02-19T19:19:45Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000655-0000000000001534-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ed9e8856-e9a3-4045-b24d-5aced8e7a40a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "de1b6db1-1f2f-4c20-bdb5-82030a383d95", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "275c3830-0830-4611-8389-9b88b34b4f27", - "lastUpdateDateTime": "2022-02-18T19:19:47Z", - "createdDateTime": "2022-02-18T19:19:45Z", - "expirationDateTime": "2022-02-19T19:19:45Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/275c3830-0830-4611-8389-9b88b34b4f27?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000656-0000000000001536-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7cb9a323-9565-49b0-a3f6-599f7bcdcfcf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8054e774-2a30-47d1-9245-5bbb4b3152a6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "275c3830-0830-4611-8389-9b88b34b4f27", - "lastUpdateDateTime": "2022-02-18T19:19:47Z", - "createdDateTime": "2022-02-18T19:19:45Z", - "expirationDateTime": "2022-02-19T19:19:45Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 02995c0d52f1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_cancelled.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000658-0000000000001544-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d4caa0b0-38a1-4f04-8464-2d71521b729b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "7e488874-1423-4400-908c-7f9407779513", - "Date": "Fri, 18 Feb 2022 19:19:51 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5724c868-d625-48a9-90fd-02b2b20d99b3", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "199" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5724c868-d625-48a9-90fd-02b2b20d99b3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000659-0000000000001546-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c8060772-a2c6-4dae-8e1c-2a33977e934c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3b090910-15ab-4bf5-b992-9085062ecb80", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "5724c868-d625-48a9-90fd-02b2b20d99b3", - "lastUpdateDateTime": "2022-02-18T19:19:51Z", - "createdDateTime": "2022-02-18T19:19:51Z", - "expirationDateTime": "2022-02-19T19:19:51Z", - "status": "notStarted", - "errors": [] - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index bdaa0c5cb3ab..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_document_warnings.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "76", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000597-0000000000001396-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cd8aaa70-f489-4f61-b3da-304f4d527623", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This won\u0027t actually create a warning :\u0027(" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "bc09d62e-d8b8-42b9-843d-3f0fcda05591", - "Date": "Fri, 18 Feb 2022 19:19:04 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5eeb59ce-be80-4ed7-8450-d27cfa4ea280", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "128" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5eeb59ce-be80-4ed7-8450-d27cfa4ea280?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000598-0000000000001398-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "adc3e22c-2eb0-42b8-b8d6-3af251d9999f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bd534b0a-05a8-499c-8928-e9f3c1106101", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "5eeb59ce-be80-4ed7-8450-d27cfa4ea280", - "lastUpdateDateTime": "2022-02-18T19:19:04Z", - "createdDateTime": "2022-02-18T19:19:04Z", - "expirationDateTime": "2022-02-19T19:19:04Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5eeb59ce-be80-4ed7-8450-d27cfa4ea280?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000599-0000000000001400-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "583b16cf-5f78-4fb1-82c6-163d1b79dea7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "667b6318-0ef9-4af2-a9d9-5eaa571c7d6d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "5eeb59ce-be80-4ed7-8450-d27cfa4ea280", - "lastUpdateDateTime": "2022-02-18T19:19:04Z", - "createdDateTime": "2022-02-18T19:19:04Z", - "expirationDateTime": "2022-02-19T19:19:04Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5eeb59ce-be80-4ed7-8450-d27cfa4ea280?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000600-0000000000001402-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "06651a4c-193a-40b0-ac65-88048c075b9b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6c478b07-8a0f-4756-8f88-bda0d44da163", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "5eeb59ce-be80-4ed7-8450-d27cfa4ea280", - "lastUpdateDateTime": "2022-02-18T19:19:05Z", - "createdDateTime": "2022-02-18T19:19:04Z", - "expirationDateTime": "2022-02-19T19:19:04Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5eeb59ce-be80-4ed7-8450-d27cfa4ea280?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000601-0000000000001404-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2fbe4855-7c55-4614-aede-ea7fbb08bfdd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f806b1fb-b7e2-4149-a47c-f5dce7cbbf16", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "5eeb59ce-be80-4ed7-8450-d27cfa4ea280", - "lastUpdateDateTime": "2022-02-18T19:19:05Z", - "createdDateTime": "2022-02-18T19:19:04Z", - "expirationDateTime": "2022-02-19T19:19:04Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json deleted file mode 100644 index 6dca5eda8aeb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "106", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000657-0000000000001540-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "06cd22a3-2ae1-43d9-8920-8b8a20069568", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "hello world" - }, - { - "id": "1", - "text": "I did not like the hotel we stayed at." - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "4fa60d5e-9c92-4a95-ab10-451a58bdbc5e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocument", - "message": "Request contains duplicated Ids. Make sure each document has a unique Id." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 2efc6da0e719..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_entity_assertions.json +++ /dev/null @@ -1,1619 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "157", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000575-0000000000001340-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ae8888cc-c5a5-474e-8550-9e379cb7513e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c8f4de49-44ec-4c4b-81cf-cc3542a43b76", - "Date": "Fri, 18 Feb 2022 19:18:47 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "95" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000576-0000000000001342-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0ff68869-da2d-4e02-9e72-84dcb70ad505", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7194b0e7-ea06-4f57-9957-9d4926d2502d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6", - "lastUpdateDateTime": "2022-02-18T19:18:48Z", - "createdDateTime": "2022-02-18T19:18:48Z", - "expirationDateTime": "2022-02-19T19:18:48Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000577-0000000000001344-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f09c8d5f-f728-492f-94c8-f8e180727fc3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5677753a-eba5-4c02-a3ca-0f6da2b85a03", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6", - "lastUpdateDateTime": "2022-02-18T19:18:48Z", - "createdDateTime": "2022-02-18T19:18:48Z", - "expirationDateTime": "2022-02-19T19:18:48Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000578-0000000000001346-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "94056dff-5e17-4918-827f-f758fb411af8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "23aa02c4-3035-4399-abd7-be13bcff4264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "46" - }, - "ResponseBody": { - "jobId": "dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6", - "lastUpdateDateTime": "2022-02-18T19:18:48Z", - "createdDateTime": "2022-02-18T19:18:48Z", - "expirationDateTime": "2022-02-19T19:18:48Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000579-0000000000001348-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "77c79a3f-d64e-450a-8aaa-0eb1af4393ec", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7d650db6-6aed-48c6-b84f-03f7703bb0ff", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "660" - }, - "ResponseBody": { - "jobId": "dd105a1a-dd5b-4f7d-bdfb-4e9048e555a6", - "lastUpdateDateTime": "2022-02-18T19:18:48Z", - "createdDateTime": "2022-02-18T19:18:48Z", - "expirationDateTime": "2022-02-19T19:18:48Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d0afcda2ec4d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json +++ /dev/null @@ -1,499 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000667-0000000000001568-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "df794912-c278-4cc4-9f7f-0fc192a58947", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "31961934-4103-48d9-a725-8908ed0c52ed", - "Date": "Fri, 18 Feb 2022 19:19:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/0a070a10-e141-45e6-8f9f-4a8b9c40a3db", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/0a070a10-e141-45e6-8f9f-4a8b9c40a3db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000668-0000000000001570-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0f9a2858-a9fe-4490-932c-f02987668734", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6ed328f-4b89-4a49-857f-089e670e2d4e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "0a070a10-e141-45e6-8f9f-4a8b9c40a3db", - "lastUpdateDateTime": "2022-02-18T19:19:59Z", - "createdDateTime": "2022-02-18T19:19:59Z", - "expirationDateTime": "2022-02-19T19:19:59Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/0a070a10-e141-45e6-8f9f-4a8b9c40a3db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000669-0000000000001572-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d13818ab-c8c9-4047-896f-835cdd5b1596", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "436b4701-6160-4493-a8ff-9767c9afe1fa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "0a070a10-e141-45e6-8f9f-4a8b9c40a3db", - "lastUpdateDateTime": "2022-02-18T19:19:59Z", - "createdDateTime": "2022-02-18T19:19:59Z", - "expirationDateTime": "2022-02-19T19:19:59Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/0a070a10-e141-45e6-8f9f-4a8b9c40a3db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000670-0000000000001574-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "45183867-a14c-432c-95f9-7a344da9f80e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0cf7a3f1-43f2-4e5a-bb00-57c0107267e9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:20:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "jobId": "0a070a10-e141-45e6-8f9f-4a8b9c40a3db", - "lastUpdateDateTime": "2022-02-18T19:19:59Z", - "createdDateTime": "2022-02-18T19:19:59Z", - "expirationDateTime": "2022-02-19T19:19: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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/0a070a10-e141-45e6-8f9f-4a8b9c40a3db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000671-0000000000001576-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "09918f84-1516-4929-bf67-dd2586821e5b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "092c6bb3-f1aa-4d00-b650-b3d5303610e8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:20:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "113" - }, - "ResponseBody": { - "jobId": "0a070a10-e141-45e6-8f9f-4a8b9c40a3db", - "lastUpdateDateTime": "2022-02-18T19:19:59Z", - "createdDateTime": "2022-02-18T19:19:59Z", - "expirationDateTime": "2022-02-19T19:19: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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index fd1b42fbfe68..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json +++ /dev/null @@ -1,499 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000662-0000000000001556-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2d4da2aa-6356-4963-9142-fa5c5b3c29a7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "83d0c237-48e5-4e23-ba37-3951727b103f", - "Date": "Fri, 18 Feb 2022 19:19:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "127" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000663-0000000000001558-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6d572f9e-287e-425c-bcb3-0792792852e3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b6ad7797-2694-481a-a95a-458f3a459b63", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0", - "lastUpdateDateTime": "2022-02-18T19:19:55Z", - "createdDateTime": "2022-02-18T19:19:55Z", - "expirationDateTime": "2022-02-19T19:19:55Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000664-0000000000001560-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2ab995dc-ae5c-49c3-8f92-8f5b81c69bd8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5b768d88-b955-42dd-8144-80b6c6e63030", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0", - "lastUpdateDateTime": "2022-02-18T19:19:55Z", - "createdDateTime": "2022-02-18T19:19:55Z", - "expirationDateTime": "2022-02-19T19:19:55Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000665-0000000000001562-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fac30de9-7d01-468a-a91e-3f8524d46e5e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ab558bea-f3a6-4849-a317-03d6596a257d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "jobId": "91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0", - "lastUpdateDateTime": "2022-02-18T19:19:56Z", - "createdDateTime": "2022-02-18T19:19:55Z", - "expirationDateTime": "2022-02-19T19:19:55Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000666-0000000000001564-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "be8ef3e7-a438-4435-80bc-1313320fa6ee", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6eba9edd-c479-4cf5-aeec-b5ef393760dc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "91ffc43a-9f7c-4fa8-8fc9-e76d2aa23ff0", - "lastUpdateDateTime": "2022-02-18T19:19:56Z", - "createdDateTime": "2022-02-18T19:19:55Z", - "expirationDateTime": "2022-02-19T19:19:55Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6266e02c7237..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_documents.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000580-0000000000001352-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "76794c8e-bea7-4b6f-abab-6145ada7e6ae", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "18eb5c80-2fda-4679-84e3-72b0af484e3d", - "Date": "Fri, 18 Feb 2022 19:18:52 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/28b6221a-da15-40c4-b997-2efa1edf9071", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "350" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/28b6221a-da15-40c4-b997-2efa1edf9071?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000581-0000000000001354-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "601446c6-d5e7-4b0f-9951-fee3696a88b5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "03fe379d-d02f-469b-9e10-77461a3de7b9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "28b6221a-da15-40c4-b997-2efa1edf9071", - "lastUpdateDateTime": "2022-02-18T19:18:52Z", - "createdDateTime": "2022-02-18T19:18:52Z", - "expirationDateTime": "2022-02-19T19:18:52Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/28b6221a-da15-40c4-b997-2efa1edf9071?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000582-0000000000001356-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1fe2ae91-ce0c-4e5f-9190-add11ccd366c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "72adf74a-5323-4b68-b933-792f12705218", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "28b6221a-da15-40c4-b997-2efa1edf9071", - "lastUpdateDateTime": "2022-02-18T19:18:52Z", - "createdDateTime": "2022-02-18T19:18:52Z", - "expirationDateTime": "2022-02-19T19:18:52Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/28b6221a-da15-40c4-b997-2efa1edf9071?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000583-0000000000001358-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "16f1cda1-b082-4ac8-9255-1d4097b3cbfd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a484244c-621c-4470-85ff-7e19f5ebcfc3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "28b6221a-da15-40c4-b997-2efa1edf9071", - "lastUpdateDateTime": "2022-02-18T19:18:52Z", - "createdDateTime": "2022-02-18T19:18:52Z", - "expirationDateTime": "2022-02-19T19:18:52Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/28b6221a-da15-40c4-b997-2efa1edf9071?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000584-0000000000001360-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0a688ca8-f73a-46f8-b23d-1210030fe63b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6a334b73-ba97-441d-bfd1-c92d0fcb8b08", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "47" - }, - "ResponseBody": { - "jobId": "28b6221a-da15-40c4-b997-2efa1edf9071", - "lastUpdateDateTime": "2022-02-18T19:18:52Z", - "createdDateTime": "2022-02-18T19:18:52Z", - "expirationDateTime": "2022-02-19T19:18:52Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7c6f8eca4cd8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_strings.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000570-0000000000001328-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5deccd50-d9fa-4c4c-b34d-616198eaec43", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "759556ac-264d-430c-93d1-539b7b4d4aed", - "Date": "Fri, 18 Feb 2022 19:18:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1336255c-7bcc-40f7-8cd4-2c51d4407e1e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "101" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1336255c-7bcc-40f7-8cd4-2c51d4407e1e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000571-0000000000001330-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "932ebc9e-4c4e-4231-bdd8-474d49658f0e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1ee6d48a-1d77-4aa4-b327-fb12986cfd0c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1336255c-7bcc-40f7-8cd4-2c51d4407e1e", - "lastUpdateDateTime": "2022-02-18T19:18:44Z", - "createdDateTime": "2022-02-18T19:18:44Z", - "expirationDateTime": "2022-02-19T19:18:44Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1336255c-7bcc-40f7-8cd4-2c51d4407e1e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000572-0000000000001332-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "68971525-f1dc-4132-b4ed-b8d0147d4a19", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "afd15817-94a3-47c4-bf90-0b0d8733981a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "1336255c-7bcc-40f7-8cd4-2c51d4407e1e", - "lastUpdateDateTime": "2022-02-18T19:18:44Z", - "createdDateTime": "2022-02-18T19:18:44Z", - "expirationDateTime": "2022-02-19T19:18:44Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1336255c-7bcc-40f7-8cd4-2c51d4407e1e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000573-0000000000001334-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "22a32633-a8e5-4c11-84df-151b74917a02", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0dc92d5a-1a60-4423-b483-f7f6274c2688", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "63" - }, - "ResponseBody": { - "jobId": "1336255c-7bcc-40f7-8cd4-2c51d4407e1e", - "lastUpdateDateTime": "2022-02-18T19:18:45Z", - "createdDateTime": "2022-02-18T19:18:44Z", - "expirationDateTime": "2022-02-19T19:18:44Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1336255c-7bcc-40f7-8cd4-2c51d4407e1e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000574-0000000000001336-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f34b3196-7547-4ca8-bb77-00c3bdf2db2e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "354ec87a-7fa3-4c7e-9b53-bc87bcb95194", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "39" - }, - "ResponseBody": { - "jobId": "1336255c-7bcc-40f7-8cd4-2c51d4407e1e", - "lastUpdateDateTime": "2022-02-18T19:18:45Z", - "createdDateTime": "2022-02-18T19:18:44Z", - "expirationDateTime": "2022-02-19T19:18:44Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7e7aaba9567a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000636-0000000000001490-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "65ce4587-5ce3-473c-afa3-65a28d0e9168", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ed04f4ad-43be-49d4-94ac-7edbbc2cf9c0", - "Date": "Fri, 18 Feb 2022 19:19:33 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ac37eb54-afca-4f0e-bbb8-233499eb9161", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "127" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ac37eb54-afca-4f0e-bbb8-233499eb9161?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000637-0000000000001492-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f8d4d4bc-a685-4da0-892b-13d40a781d2e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "178d381a-b002-48cb-9258-2199f46e0885", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "ac37eb54-afca-4f0e-bbb8-233499eb9161", - "lastUpdateDateTime": "2022-02-18T19:19:34Z", - "createdDateTime": "2022-02-18T19:19:34Z", - "expirationDateTime": "2022-02-19T19:19:34Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ac37eb54-afca-4f0e-bbb8-233499eb9161?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000638-0000000000001494-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c1a93442-8c36-4517-bfda-7649f97e100e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f1c40a79-53ea-4827-8038-dd43c5c28220", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "ac37eb54-afca-4f0e-bbb8-233499eb9161", - "lastUpdateDateTime": "2022-02-18T19:19:34Z", - "createdDateTime": "2022-02-18T19:19:34Z", - "expirationDateTime": "2022-02-19T19:19:34Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ac37eb54-afca-4f0e-bbb8-233499eb9161?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000639-0000000000001496-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1dd37c7d-663f-4482-a9a5-3bbb37e49119", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3432e811-b6c4-48dc-8804-3069daeb8805", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "jobId": "ac37eb54-afca-4f0e-bbb8-233499eb9161", - "lastUpdateDateTime": "2022-02-18T19:19:34Z", - "createdDateTime": "2022-02-18T19:19:34Z", - "expirationDateTime": "2022-02-19T19:19:34Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ac37eb54-afca-4f0e-bbb8-233499eb9161?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000640-0000000000001498-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3e9cbd44-42f5-4cc1-8a37-ec834d1dbb3e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f3ce9254-9169-482d-811e-6d37e195c390", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "241" - }, - "ResponseBody": { - "jobId": "ac37eb54-afca-4f0e-bbb8-233499eb9161", - "lastUpdateDateTime": "2022-02-18T19:19:34Z", - "createdDateTime": "2022-02-18T19:19:34Z", - "expirationDateTime": "2022-02-19T19:19:34Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 844c909b4711..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000641-0000000000001502-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2489dce7-42a6-488c-b6af-bb4da0f9216b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b60f6553-ceaf-4288-a8e7-bc75e8f6d46f", - "Date": "Fri, 18 Feb 2022 19:19:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/35e7e33a-241b-4f25-af0f-bb20a344d44d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "139" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/35e7e33a-241b-4f25-af0f-bb20a344d44d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000642-0000000000001504-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "be156acc-fe06-48ab-a560-a3adbb0a9f57", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fa377dc3-e48d-4b51-a6b1-f3ec512d1a43", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "7" - }, - "ResponseBody": { - "jobId": "35e7e33a-241b-4f25-af0f-bb20a344d44d", - "lastUpdateDateTime": "2022-02-18T19:19:37Z", - "createdDateTime": "2022-02-18T19:19:37Z", - "expirationDateTime": "2022-02-19T19:19:37Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/35e7e33a-241b-4f25-af0f-bb20a344d44d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000643-0000000000001506-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "db31ff91-1de7-4007-aaa9-0ae110ff38e3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a06808cb-0413-4df3-88aa-a7b44a38f4fb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 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": "7" - }, - "ResponseBody": { - "jobId": "35e7e33a-241b-4f25-af0f-bb20a344d44d", - "lastUpdateDateTime": "2022-02-18T19:19:37Z", - "createdDateTime": "2022-02-18T19:19:37Z", - "expirationDateTime": "2022-02-19T19:19:37Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/35e7e33a-241b-4f25-af0f-bb20a344d44d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000644-0000000000001508-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "68090c4a-bda5-4911-8258-b06bdd54fa06", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a91c342c-7452-4944-98bb-e178db0f8e6a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "35e7e33a-241b-4f25-af0f-bb20a344d44d", - "lastUpdateDateTime": "2022-02-18T19:19:38Z", - "createdDateTime": "2022-02-18T19:19:37Z", - "expirationDateTime": "2022-02-19T19:19: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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/35e7e33a-241b-4f25-af0f-bb20a344d44d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000645-0000000000001510-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "363cc91e-d164-4ed3-9302-fce2d5ba0702", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a40e3eb4-e9dd-486e-b4d5-7564e6b36e92", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "35e7e33a-241b-4f25-af0f-bb20a344d44d", - "lastUpdateDateTime": "2022-02-18T19:19:38Z", - "createdDateTime": "2022-02-18T19:19:37Z", - "expirationDateTime": "2022-02-19T19:19: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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 052787bb1a14..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_operation_metadata.json +++ /dev/null @@ -1,557 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1bcace23-8518-4440-a810-781c84226c52", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a344b89f-be45-473f-907b-0fc372064eb7", - "Date": "Fri, 18 Feb 2022 19:46:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bae19fd0-0c36-43a7-825a-fd6e5947362b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bae19fd0-0c36-43a7-825a-fd6e5947362b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "265bdcda-8de2-4b2d-a697-c3d010d36528", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "36ab7280-edfe-4177-bcb2-45ef04b683eb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "bae19fd0-0c36-43a7-825a-fd6e5947362b", - "lastUpdateDateTime": "2022-02-18T19:46:47Z", - "createdDateTime": "2022-02-18T19:46:47Z", - "expirationDateTime": "2022-02-19T19:46:47Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bae19fd0-0c36-43a7-825a-fd6e5947362b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b430c7cf-96ed-4a4d-b897-4af2985d4546", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6b116ec4-c6e0-47c2-8ca8-cbcc90f57de4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "bae19fd0-0c36-43a7-825a-fd6e5947362b", - "lastUpdateDateTime": "2022-02-18T19:46:47Z", - "createdDateTime": "2022-02-18T19:46:47Z", - "expirationDateTime": "2022-02-19T19:46:47Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bae19fd0-0c36-43a7-825a-fd6e5947362b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "704d13ba-69b0-43ba-b813-8ae35f64ad4f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f17bcd9a-0831-463d-bdc8-aed6d656a600", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "48" - }, - "ResponseBody": { - "jobId": "bae19fd0-0c36-43a7-825a-fd6e5947362b", - "lastUpdateDateTime": "2022-02-18T19:46:47Z", - "createdDateTime": "2022-02-18T19:46:47Z", - "expirationDateTime": "2022-02-19T19:46:47Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b1ec4b9a0a01..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "139", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000602-0000000000001408-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d81344c5-49ec-4aca-b8aa-139bd09d991f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "one" - }, - { - "id": "2", - "text": "two" - }, - { - "id": "3", - "text": "three" - }, - { - "id": "4", - "text": "four" - }, - { - "id": "5", - "text": "five" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "328f3e67-27f3-4559-ac88-fbf88cc6b72b", - "Date": "Fri, 18 Feb 2022 19:19:07 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e5eca2da-c51e-4e52-9c30-79c05bf05259", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "219" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e5eca2da-c51e-4e52-9c30-79c05bf05259?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000603-0000000000001410-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2d83b746-af9a-4ea5-8af5-6c9214530dba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "750624e6-7af1-437c-9ecb-752c115e5c36", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "e5eca2da-c51e-4e52-9c30-79c05bf05259", - "lastUpdateDateTime": "2022-02-18T19:19:08Z", - "createdDateTime": "2022-02-18T19:19:08Z", - "expirationDateTime": "2022-02-19T19:19:08Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e5eca2da-c51e-4e52-9c30-79c05bf05259?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000604-0000000000001412-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "62c73754-4ecf-4d1b-852e-f414f2c7ba3d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6aa0d14c-7d72-4f41-9d90-c8af2430e5b5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "e5eca2da-c51e-4e52-9c30-79c05bf05259", - "lastUpdateDateTime": "2022-02-18T19:19:08Z", - "createdDateTime": "2022-02-18T19:19:08Z", - "expirationDateTime": "2022-02-19T19:19:08Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e5eca2da-c51e-4e52-9c30-79c05bf05259?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000605-0000000000001414-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "63faa907-88fd-4308-b942-96b06e2ff272", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "19732fe0-3b03-4af2-8fee-b8c3c4ee27f1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "96" - }, - "ResponseBody": { - "jobId": "e5eca2da-c51e-4e52-9c30-79c05bf05259", - "lastUpdateDateTime": "2022-02-18T19:19:09Z", - "createdDateTime": "2022-02-18T19:19:08Z", - "expirationDateTime": "2022-02-19T19:19:08Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e5eca2da-c51e-4e52-9c30-79c05bf05259?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000606-0000000000001416-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e048646a-f435-4738-88bc-21af281d2d69", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "270b83ca-c9a6-4578-99b8-ab1c82faf223", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "121" - }, - "ResponseBody": { - "jobId": "e5eca2da-c51e-4e52-9c30-79c05bf05259", - "lastUpdateDateTime": "2022-02-18T19:19:09Z", - "createdDateTime": "2022-02-18T19:19:08Z", - "expirationDateTime": "2022-02-19T19:19:08Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ec29daf3b53f..000000000000 --- 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 +++ /dev/null @@ -1,312 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000607-0000000000001420-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2dc580ee-2357-4db2-acd0-a7f746cce5e4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ddef383f-41c0-4a14-8f0e-e627e08d4d12", - "Date": "Fri, 18 Feb 2022 19:19:11 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/635c1be5-381b-4abb-a908-999564dee29c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "380" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/635c1be5-381b-4abb-a908-999564dee29c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000608-0000000000001422-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c8defa8f-fa4c-444c-ba3c-bfe6ff2edd27", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d7d96b8e-7918-48d5-b493-5a6079168fdb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "635c1be5-381b-4abb-a908-999564dee29c", - "lastUpdateDateTime": "2022-02-18T19:19:12Z", - "createdDateTime": "2022-02-18T19:19:11Z", - "expirationDateTime": "2022-02-19T19:19:11Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/635c1be5-381b-4abb-a908-999564dee29c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000609-0000000000001424-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bb36e450-2ef5-4f81-a284-8977a5c3f7e0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "24dffd1f-59df-4eb9-8006-27ed38bb3ec9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "635c1be5-381b-4abb-a908-999564dee29c", - "lastUpdateDateTime": "2022-02-18T19:19:12Z", - "createdDateTime": "2022-02-18T19:19:11Z", - "expirationDateTime": "2022-02-19T19:19:11Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/635c1be5-381b-4abb-a908-999564dee29c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000610-0000000000001426-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff90ef9b-a0f2-4d55-a9c9-92f036e6af54", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "06b632a2-c27f-42b7-883e-b322de38d4e8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66" - }, - "ResponseBody": { - "jobId": "635c1be5-381b-4abb-a908-999564dee29c", - "lastUpdateDateTime": "2022-02-18T19:19:13Z", - "createdDateTime": "2022-02-18T19:19:11Z", - "expirationDateTime": "2022-02-19T19:19:11Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/635c1be5-381b-4abb-a908-999564dee29c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000611-0000000000001428-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a7d93453-0a2c-4133-ba5a-fa7850b94e79", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5db7c429-4588-4b6f-ab45-16fe9a68c7b9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "103" - }, - "ResponseBody": { - "jobId": "635c1be5-381b-4abb-a908-999564dee29c", - "lastUpdateDateTime": "2022-02-18T19:19:13Z", - "createdDateTime": "2022-02-18T19:19:11Z", - "expirationDateTime": "2022-02-19T19:19:11Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7517cb0ba335..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_payload_too_large.json +++ /dev/null @@ -1,2553 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "710405", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000596-0000000000001392-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9f82e240-cea5-46ae-a5b4-643cdb6a1c71", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", - "language": "en" - } - ] - }, - "StatusCode": 413, - "ResponseHeaders": { - "apim-request-id": "a1f7a73f-11de-46cc-8b43-9a803fe6d092", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "21" - }, - "ResponseBody": { - "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" - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 54eb5c0964b9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json +++ /dev/null @@ -1,251 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?model-version=latest\u0026stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000612-0000000000001432-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "04cdca64-a68f-4c72-97aa-1288e609174f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a9605a3d-1a31-4539-8cf7-cbf5f8b90672", - "Date": "Fri, 18 Feb 2022 19:19:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ad07279a-f020-4c7f-8a0b-f2334973d897", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "203" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ad07279a-f020-4c7f-8a0b-f2334973d897?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000613-0000000000001434-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9bcd08fc-705e-42e4-acf0-beab3dc603a5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3b875c0c-c677-48bc-bee6-4283d7deca90", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ad07279a-f020-4c7f-8a0b-f2334973d897", - "lastUpdateDateTime": "2022-02-18T19:19:15Z", - "createdDateTime": "2022-02-18T19:19:15Z", - "expirationDateTime": "2022-02-19T19:19:15Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ad07279a-f020-4c7f-8a0b-f2334973d897?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000614-0000000000001436-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f0587a59-1221-4bd9-866a-26b02de88d40", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0515f708-a05e-44cd-864a-fbd89ba880b1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ad07279a-f020-4c7f-8a0b-f2334973d897", - "lastUpdateDateTime": "2022-02-18T19:19:16Z", - "createdDateTime": "2022-02-18T19:19:15Z", - "expirationDateTime": "2022-02-19T19:19:15Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ad07279a-f020-4c7f-8a0b-f2334973d897?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000615-0000000000001438-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b2a4bd31-9a22-433e-8fce-60bf73d00e5e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d1676b12-9f5c-4622-ae4c-223903f3a327", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" - }, - "ResponseBody": { - "jobId": "ad07279a-f020-4c7f-8a0b-f2334973d897", - "lastUpdateDateTime": "2022-02-18T19:19:16Z", - "createdDateTime": "2022-02-18T19:19:15Z", - "expirationDateTime": "2022-02-19T19:19:15Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b9a0937c63d1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "226", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000585-0000000000001364-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b03170b7-03f5-4331-a35b-fa7f3d629f99", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ab1e7b93-de15-4a6e-9885-517a52300b00", - "Date": "Fri, 18 Feb 2022 19:18:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c3919048-ab73-4ec9-9d09-06f4eed09e49", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "177" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c3919048-ab73-4ec9-9d09-06f4eed09e49?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000586-0000000000001366-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5af0741c-efed-48e2-8491-4fe089e1d470", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "62e746de-a897-425e-afb0-6abe331f9023", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "c3919048-ab73-4ec9-9d09-06f4eed09e49", - "lastUpdateDateTime": "2022-02-18T19:18:55Z", - "createdDateTime": "2022-02-18T19:18:55Z", - "expirationDateTime": "2022-02-19T19:18:55Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c3919048-ab73-4ec9-9d09-06f4eed09e49?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000587-0000000000001368-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "68f4d230-3b38-419e-839c-cd0e276616c5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fec10029-7694-42a4-8557-6a865fab3a23", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c3919048-ab73-4ec9-9d09-06f4eed09e49", - "lastUpdateDateTime": "2022-02-18T19:18:56Z", - "createdDateTime": "2022-02-18T19:18:55Z", - "expirationDateTime": "2022-02-19T19:18:55Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c3919048-ab73-4ec9-9d09-06f4eed09e49?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000588-0000000000001370-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0c7ca59b-9591-41fa-8129-a1a98dcf6d14", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "533f4dac-0b52-498a-9ac3-188e56261a95", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "c3919048-ab73-4ec9-9d09-06f4eed09e49", - "lastUpdateDateTime": "2022-02-18T19:18:56Z", - "createdDateTime": "2022-02-18T19:18:55Z", - "expirationDateTime": "2022-02-19T19:18:55Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c3919048-ab73-4ec9-9d09-06f4eed09e49?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000589-0000000000001372-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "69078981-2de9-40d3-beb5-295b50a65a03", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c503947b-9546-4f90-820b-db627a4ea4ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:18:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "jobId": "c3919048-ab73-4ec9-9d09-06f4eed09e49", - "lastUpdateDateTime": "2022-02-18T19:18:56Z", - "createdDateTime": "2022-02-18T19:18:55Z", - "expirationDateTime": "2022-02-19T19:18:55Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json deleted file mode 100644 index 3a877cffe598..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "544", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000595-0000000000001388-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff3f4350-b54d-4efd-90ff-bee01b253aa9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "739cfa41-8ef3-480f-8682-b658318df625", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 10 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 0c9338c1a69b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000621-0000000000001454-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "07717d01-473d-412f-9167-8bdb7633d8c2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "70f492ee-9921-4b65-a010-3734129aad94", - "Date": "Fri, 18 Feb 2022 19:19:22 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2bcf9ef6-37cc-4c49-bc4a-ab8317efd454", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "170" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2bcf9ef6-37cc-4c49-bc4a-ab8317efd454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000622-0000000000001456-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f8559f05-ee64-4ba2-a266-1358246dc561", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b0795915-18d3-4093-8088-e3c503cb6c43", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "2bcf9ef6-37cc-4c49-bc4a-ab8317efd454", - "lastUpdateDateTime": "2022-02-18T19:19:22Z", - "createdDateTime": "2022-02-18T19:19:22Z", - "expirationDateTime": "2022-02-19T19:19:22Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2bcf9ef6-37cc-4c49-bc4a-ab8317efd454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000623-0000000000001458-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8e7ef625-4fb4-45e5-8165-226ad6c65f11", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b3180418-d766-4cd2-99c2-63ad14bf6e3a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "2bcf9ef6-37cc-4c49-bc4a-ab8317efd454", - "lastUpdateDateTime": "2022-02-18T19:19:22Z", - "createdDateTime": "2022-02-18T19:19:22Z", - "expirationDateTime": "2022-02-19T19:19:22Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2bcf9ef6-37cc-4c49-bc4a-ab8317efd454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000624-0000000000001460-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7653376e-9880-449a-9d44-12ab750ff1cc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0ce7c1f0-0df7-46aa-98e6-4072cb3fc854", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "2bcf9ef6-37cc-4c49-bc4a-ab8317efd454", - "lastUpdateDateTime": "2022-02-18T19:19:23Z", - "createdDateTime": "2022-02-18T19:19:22Z", - "expirationDateTime": "2022-02-19T19:19:22Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2bcf9ef6-37cc-4c49-bc4a-ab8317efd454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000625-0000000000001462-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0d769d8b-54bc-4ac7-b285-c90738bf1bca", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e36418f5-10ba-4a88-98cb-e6acace4f08f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "2bcf9ef6-37cc-4c49-bc4a-ab8317efd454", - "lastUpdateDateTime": "2022-02-18T19:19:23Z", - "createdDateTime": "2022-02-18T19:19:22Z", - "expirationDateTime": "2022-02-19T19:19:22Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index adf83581ef9f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "202", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000626-0000000000001466-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "44237cea-b512-4672-8435-f79b90d68064", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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." - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "737c4d5b-1924-4991-9117-a17c0eeb862c", - "Date": "Fri, 18 Feb 2022 19:19:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c250c1c9-61a4-4ea9-9067-d594ceef4397", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c250c1c9-61a4-4ea9-9067-d594ceef4397?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000627-0000000000001468-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a141e7bb-bbb6-4c4d-9545-0aa7639fb3cc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2df7500e-568b-4643-84e7-0966a96ff048", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c250c1c9-61a4-4ea9-9067-d594ceef4397", - "lastUpdateDateTime": "2022-02-18T19:19:26Z", - "createdDateTime": "2022-02-18T19:19:26Z", - "expirationDateTime": "2022-02-19T19:19:26Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c250c1c9-61a4-4ea9-9067-d594ceef4397?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000628-0000000000001470-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b007b942-851e-49a3-9b88-59db130e4a7e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d4c498c0-3528-477d-8c60-bb13b96a6370", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "c250c1c9-61a4-4ea9-9067-d594ceef4397", - "lastUpdateDateTime": "2022-02-18T19:19:26Z", - "createdDateTime": "2022-02-18T19:19:26Z", - "expirationDateTime": "2022-02-19T19:19:26Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c250c1c9-61a4-4ea9-9067-d594ceef4397?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000629-0000000000001472-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "638b0785-16c1-4472-b418-4120f7ce7ed4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ca7c08dc-9688-4c16-ae94-583f4893494d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "94" - }, - "ResponseBody": { - "jobId": "c250c1c9-61a4-4ea9-9067-d594ceef4397", - "lastUpdateDateTime": "2022-02-18T19:19:27Z", - "createdDateTime": "2022-02-18T19:19:26Z", - "expirationDateTime": "2022-02-19T19:19:26Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c250c1c9-61a4-4ea9-9067-d594ceef4397?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000630-0000000000001474-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6386bb1a-ffd4-417f-9a81-51cf56cba743", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6632b894-070c-425b-ae25-03323057c663", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "c250c1c9-61a4-4ea9-9067-d594ceef4397", - "lastUpdateDateTime": "2022-02-18T19:19:27Z", - "createdDateTime": "2022-02-18T19:19:26Z", - "expirationDateTime": "2022-02-19T19:19:26Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c75e99ebcb9e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000616-0000000000001442-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "60a597c0-0dc8-4606-b9ca-abf5ad26728f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "23aaa99a-cee3-4eb1-b7e6-fe2dd00b356d", - "Date": "Fri, 18 Feb 2022 19:19:18 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d92ff068-5fbf-47bb-9559-a8f47781d654", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "215" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d92ff068-5fbf-47bb-9559-a8f47781d654?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000617-0000000000001444-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7b4dd6af-b57d-4547-8c7c-efd132f131a9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2adcc4b7-e839-4330-a5f3-64c564d96412", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "d92ff068-5fbf-47bb-9559-a8f47781d654", - "lastUpdateDateTime": "2022-02-18T19:19:19Z", - "createdDateTime": "2022-02-18T19:19:19Z", - "expirationDateTime": "2022-02-19T19:19:19Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d92ff068-5fbf-47bb-9559-a8f47781d654?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000618-0000000000001446-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7e0293a1-e4d4-4cfc-853f-a97df86255c1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e07b8dbf-af76-43e1-96c2-68fb5072565d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "d92ff068-5fbf-47bb-9559-a8f47781d654", - "lastUpdateDateTime": "2022-02-18T19:19:19Z", - "createdDateTime": "2022-02-18T19:19:19Z", - "expirationDateTime": "2022-02-19T19:19:19Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d92ff068-5fbf-47bb-9559-a8f47781d654?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000619-0000000000001448-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "66625464-fadd-4b48-aa24-d570229fa5cc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9ceaac4f-ff77-4a2d-a6cb-01135d0b207c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "74" - }, - "ResponseBody": { - "jobId": "d92ff068-5fbf-47bb-9559-a8f47781d654", - "lastUpdateDateTime": "2022-02-18T19:19:20Z", - "createdDateTime": "2022-02-18T19:19:19Z", - "expirationDateTime": "2022-02-19T19:19:19Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d92ff068-5fbf-47bb-9559-a8f47781d654?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000620-0000000000001450-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3b38236e-040d-4a9b-b8cd-3c1f816a1134", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e9cc43a5-197a-45c3-bac3-97c7b7efecb2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "d92ff068-5fbf-47bb-9559-a8f47781d654", - "lastUpdateDateTime": "2022-02-18T19:19:20Z", - "createdDateTime": "2022-02-18T19:19:19Z", - "expirationDateTime": "2022-02-19T19:19:19Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9aacda782357..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/json", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000631-0000000000001478-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "13a5c65d-e60c-4885-905a-756a8aa39403", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "I should take my cat to the veterinarian." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e407c0ec-21e8-489a-9aa8-033e50424980", - "Date": "Fri, 18 Feb 2022 19:19:30 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2012c33f-d153-4007-a54c-67ff7bdd7f81", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2012c33f-d153-4007-a54c-67ff7bdd7f81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000632-0000000000001480-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3109b49f-be7f-4963-92ba-098e3e9f1169", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "25cf911c-032f-42e2-90aa-c9901429bf2d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "2012c33f-d153-4007-a54c-67ff7bdd7f81", - "lastUpdateDateTime": "2022-02-18T19:19:30Z", - "createdDateTime": "2022-02-18T19:19:30Z", - "expirationDateTime": "2022-02-19T19:19:30Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2012c33f-d153-4007-a54c-67ff7bdd7f81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000633-0000000000001482-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3e121aa1-eaeb-4134-91ca-8a9542bd6173", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "521afe32-0ec9-4a88-82ce-a39ad493a045", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "2012c33f-d153-4007-a54c-67ff7bdd7f81", - "lastUpdateDateTime": "2022-02-18T19:19:30Z", - "createdDateTime": "2022-02-18T19:19:30Z", - "expirationDateTime": "2022-02-19T19:19:30Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2012c33f-d153-4007-a54c-67ff7bdd7f81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000634-0000000000001484-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "12e2980f-f630-475e-a236-eab4ceee412f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "35ca1b1f-e74b-46f2-ad63-b97e293d0755", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "2012c33f-d153-4007-a54c-67ff7bdd7f81", - "lastUpdateDateTime": "2022-02-18T19:19:30Z", - "createdDateTime": "2022-02-18T19:19:30Z", - "expirationDateTime": "2022-02-19T19:19:30Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2012c33f-d153-4007-a54c-67ff7bdd7f81?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000635-0000000000001486-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0a1cb876-359e-4bf5-b93f-43bd9bac32c8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a39377be-31a3-410e-9fa8-449d0fa47259", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:19:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "91" - }, - "ResponseBody": { - "jobId": "2012c33f-d153-4007-a54c-67ff7bdd7f81", - "lastUpdateDateTime": "2022-02-18T19:19:30Z", - "createdDateTime": "2022-02-18T19:19:30Z", - "expirationDateTime": "2022-02-19T19:19:30Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..8b6f39755ae5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,206 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "687", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0cdae2a4-6144-4fef-b4b1-43a2e492dfae", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "54394417-0d4a-4483-9833-03bbbb2b49d9", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..c90f34f7a9d6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "357fb6cf-6124-41e2-b2ad-264797260599", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "df899154-ecfd-4b92-8964-b8dfb62d2d38", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..acd4a858511c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2539be36-8c4d-450a-a6f9-b1abb6f83bd9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "81b412ee-b1f4-4c5a-abf7-95ca18c26814", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "20" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..45b8b46a6b97 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,86 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "85c802f2-6624-4f00-9c12-4699836b54fb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "2e0aa04c-863d-4b8c-86bc-6069c4001538", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..475abbad597b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "160", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "92905838-28b0-4c83-80d3-1ea200787b9e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2e1aab52-5e67-4639-b636-43eee98953cd", + "Content-Length": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..ffc383499acb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,201 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "691", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7941205f-2ae8-4408-9699-0ad1ee38b577", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0fe87ce9-f488-4ed8-aaf3-07fd8a2b3180", + "Content-Length": "1462", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.85 + } + ], + "warnings": [] + }, + { + "id": "5", + "entities": [ + { + "text": "carretera", + "category": "Location", + "offset": 3, + "length": 9, + "confidenceScore": 0.81 + }, + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..108d7d495ee4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,175 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ea44ba95-530c-47e6-bc23-7fb263c53a97", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "37220ebc-68dc-4c3c-8357-8206673dac63", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..fabf77505291 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,175 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e58594da-0d3c-44a0-968d-1c5a5e150f1d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5aa1e85f-0395-4c33-80aa-c37297f3924c", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..3e4402c0e2e0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,86 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2cdb3dbe-703a-4e27-af9c-284339302a9e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "0686c80b-627b-4a19-99f4-8d4224fb87a6", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..6156d60323ec --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "164", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2aa8e7bd-70e0-4308-8143-19268fc1c2e5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fd11c75f-ab37-435b-9ae9-0a109034f971", + "Content-Length": "465", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..2dfb8a0a2ff0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,137 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "772", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ac965b8a-fbd0-44c8-af9f-6372c7302ff3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ab9f618-d61e-4167-8b75-91a45efa6fab", + "Content-Length": "524", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [ + "last book" + ], + "warnings": [] + }, + { + "id": "5", + "keyPhrases": [ + "Monte Rainier", + "caminos" + ], + "warnings": [] + }, + { + "id": "6", + "keyPhrases": [ + "mucho tr\u00E1fico", + "d\u00EDa", + "carretera", + "ayer" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..1a164e06fd4f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8eaf5ef5-750e-49bd-b14e-0a6093eaac65", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "578de498-5327-4c3f-9a1f-450a5550b28d", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..9226a38ae024 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "45510254-b797-4071-91ef-d4f67ef41a6a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "91688f50-96e6-48ae-af21-535c3ee96f90", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..964c7c5b5a38 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "166", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "21126fe1-b705-4405-ae74-edcea3e75244", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7da1e55f-2e0c-4fa1-a955-b214b352dc21", + "Content-Length": "491", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json new file mode 100644 index 000000000000..485d1943f2e5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "126", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "22e8cf80-cac7-4b9c-9b04-293b17a8f901", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "impossible", + "countryHint": "fr" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7035211d-a0f0-4e00-bcbc-ca29f3e4e5a2", + "Content-Length": "204", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "French", + "iso6391Name": "fr", + "confidenceScore": 1.0 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json new file mode 100644 index 000000000000..781f30f851bb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -0,0 +1,136 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "712", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "473983ca-4542-4b1e-b6ba-f510b8c3f0f9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "mx" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7414b3b8-29da-4096-b35a-66a024ef7269", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json new file mode 100644 index 000000000000..cae6bc1467cc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json @@ -0,0 +1,112 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "567", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "13c5973f-ae7d-4d20-928c-9a9c80fe3d94", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "countryHint": "us" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ecdb4a0c-6cad-40ad-949a-b6e64248179f", + "Content-Length": "517", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json new file mode 100644 index 000000000000..7c114db1bc55 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -0,0 +1,140 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "800", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4dc73a06-5344-49dc-a5d1-a97c1afa96c5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!", + "countryHint": "none" + }, + { + "id": "2", + "text": "Unfortunately, it rained during my entire trip to Seattle. I didn\u0027t even get to visit the Space Needle", + "countryHint": "none" + }, + { + "id": "3", + "text": "I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.", + "countryHint": "none" + }, + { + "id": "4", + "text": "I didn\u0027t like the last book I read at all.", + "countryHint": "none" + }, + { + "id": "5", + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.", + "countryHint": "none" + }, + { + "id": "6", + "text": "La carretera estaba atascada. Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "04dab47d-f373-4cdb-9265-c8afae1d33f5", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json new file mode 100644 index 000000000000..ccdce501ffd2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "162", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5d0b2541-5a9c-41d2-b963-641489b8a986", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I use Azure Functions to develop my service.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e43ce5ad-aa97-465a-a991-05af1973f7fc", + "Content-Length": "206", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "English", + "iso6391Name": "en", + "confidenceScore": 0.95 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} 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_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json new file mode 100644 index 000000000000..96a6295fe81e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "133", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fc7527da-cf40-4b0d-9777-5619b1d2b6d1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "hello", + "countryHint": "invalidcountry" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "839f135c-5dfa-4096-9fc0-cd6d128fb12e", + "Content-Length": "325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json new file mode 100644 index 000000000000..2dc8a9d36581 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json @@ -0,0 +1,84 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "185", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "089eba3b-860c-4882-9b6f-f54257f0f0bf", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I work at Microsoft and my phone number is 333-333-3333", + "language": "en" + } + ] + }, + "parameters": { + "domain": "phi" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3de2d960-a791-4617-b8d0-3cb007776199", + "Content-Length": "403", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "I work at ********* and my phone number is ************", + "id": "0", + "entities": [ + { + "text": "Microsoft", + "category": "Organization", + "offset": 10, + "length": 9, + "confidenceScore": 0.94 + }, + { + "text": "333-333-3333", + "category": "PhoneNumber", + "offset": 43, + "length": 12, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json new file mode 100644 index 000000000000..f88aabfaca45 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json @@ -0,0 +1,79 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "695331e7-6a55-4fb7-8a76-ef52189fbeea", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2f2bf390-7dee-4509-b100-e3ca95519ae6", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..26e932591593 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,138 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "694", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ba0ff9ed-4a5b-4308-834a-d82b0f812802", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7cba146e-e217-4281-ac17-9844176e8ad9", + "Content-Length": "1142", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", + "id": "5", + "entities": [ + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..e57c0dd422be --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,118 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8e8a7bb2-4ee2-456b-88b0-7bbd939f9b04", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7f7b9a87-9a39-4fe0-a206-0e7f8ca771a0", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..037af253af38 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,118 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a9a107fb-9e55-413c-817c-d5fb1523d4cd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4fde1d38-1084-4bb4-a299-a945236c9020", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json new file mode 100644 index 000000000000..a13b78a8f807 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -0,0 +1,75 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "159", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d7ef4ae9-7f74-4f82-b930-8121b9d379bb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Your Social Security Number is 859-98-0987.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5248657f-5d88-4097-9109-de7545f9a087", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json new file mode 100644 index 000000000000..ceb67161320e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json @@ -0,0 +1,156 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "158", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6e88a735-5d0b-41f2-8a45-96e2e965c87a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "40c3241a-b2e9-47c8-a6de-d9cbe03ea145", + "Content-Length": "389", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "Patient name is *** and SSN is ***********", + "id": "0", + "entities": [ + { + "text": "Joe", + "category": "Person", + "offset": 16, + "length": 3, + "confidenceScore": 0.78 + }, + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 31, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + }, + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "58a959d7-0103-437b-bcd0-4b2ab19a40ed", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "949ac289-27ca-492e-9e58-9e3e209b18ae", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..4b9507fe2fbb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "167", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6bcb4fb4-8f06-4df9-a33b-ea00c23d84a4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "035cb3a6-591e-4ee7-a3ec-dfc4c960345d", + "Content-Length": "435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json new file mode 100644 index 000000000000..53074c01cbd9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "58f2e073-d06e-40e3-bb21-9f8772cf65dc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "432d05ed-f18c-4bb1-9e75-bb8214706c8d", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..578956db35a3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fc86d084-cb2d-4226-be66-0f381ba2a15b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "179274a8-44f0-4f10-b9dd-63eaced1d209", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json new file mode 100644 index 000000000000..1b4832d24b15 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json @@ -0,0 +1,246 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c9fa2b2-102f-44e2-94cf-dedcdc2f2da2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2f68973f-4890-4703-bf00-4488ea29f384", + "Content-Length": "2355", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "20" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "offset": 0, + "length": 73, + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos." + } + ], + "warnings": [] + }, + { + "id": "6", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.07, + "neutral": 0.15, + "negative": 0.78 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.05, + "negative": 0.94 + }, + "offset": 0, + "length": 30, + "text": "La carretera estaba atascada. " + }, + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.12, + "neutral": 0.26, + "negative": 0.62 + }, + "offset": 30, + "length": 35, + "text": "Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json new file mode 100644 index 000000000000..8baf440120f5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json @@ -0,0 +1,88 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "151", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ea933a45-223d-4b17-9c97-7ffd7162ed2c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "today is a hot day", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b2e1cccd-61fc-4cb7-8f84-4c05241e40c4", + "Content-Length": "405", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "offset": 0, + "length": 18, + "text": "today is a hot day", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json new file mode 100644 index 000000000000..8e2f2c739a84 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json @@ -0,0 +1,132 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f6edb4dd-5d9b-400e-ad73-d8948f34d583", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0f552481-9ef8-495e-a1ae-4823941c3838", + "Content-Length": "1009", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": 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": 53, + "length": 9, + "text": "beautiful", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json new file mode 100644 index 000000000000..1ade1d492e05 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -0,0 +1,709 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "703", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d239f036-0ae2-491e-91f2-4fc5ba7ccf6c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "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" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5e5c393a-4373-45b2-926c-5ae515263bf0", + "Content-Length": "7827", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "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": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "offset": 0, + "length": 26, + "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": 0.99, + "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.03, + "neutral": 0.0, + "negative": 0.97 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.0, + "negative": 0.97 + }, + "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" + }, + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + }, + { + "sentiment": "positive", + "confidenceScores": { + "positive": 1.0, + "negative": 0.0 + }, + "offset": 65, + "length": 5, + "text": "rooms", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + } + ], + "assessments": [ + { + "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": 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": 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": 1.0, + "negative": 0.0 + }, + "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.99, + "negative": 0.01 + }, + "offset": 14, + "length": 12, + "text": "unobstructed", + "isNegated": false + } + ] + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "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": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "offset": 0, + "length": 19, + "text": "The toilet smelled.", + "targets": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 4, + "length": 6, + "text": "toilet", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/6/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 11, + "length": 7, + "text": "smelled", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json new file mode 100644 index 000000000000..d7ad540b4294 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json @@ -0,0 +1,196 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "592", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "03f419fc-24fc-4f88-a086-5e0a5fee137a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4b7fff64-8eb6-4856-bb16-3b060c8ca662", + "Content-Length": "1737", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t 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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json new file mode 100644 index 000000000000..e5d5a6ce7520 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json @@ -0,0 +1,71 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "135", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d7b210cc-02b8-4993-8d61-85a7f355a410", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Hello world!", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e2dcf7d5-8407-45cf-a54e-b75bed061109", + "Content-Length": "446", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:18:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json new file mode 100644 index 000000000000..fa35be1de6ac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "be648a0d-6135-47ef-b5cc-8b3f425e33d5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9a1a947c-19ba-476f-860d-923af6d5eda3", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json new file mode 100644 index 000000000000..490cdef5c4b2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "171", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b332963b-dc8f-480e-807a-f2497c99207b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7aaf49c0-b939-47b4-9436-9c8389333c49", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "39" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json new file mode 100644 index 000000000000..399c8a0e32de --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e45a1f88-a8c2-4a8f-95d3-17581d486fe2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "24973990-b9b6-429b-89a6-78e83e9ee8f0", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..a66ffd80e774 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a5ce1e90-b3ed-49a1-b87a-b02f10a22bff", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bf3e1cd6-844a-4343-80e7-c20e03d9e87e", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json new file mode 100644 index 000000000000..f35a58e212dc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "191", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8585d753-8c69-4a89-9193-6da1017047a6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7fe71153-340b-41c2-9985-1057d51e8eba", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..1ba01c343062 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "27f0122f-51c3-402a-80cf-c96fc1801fe8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b75a43e4-16fc-4c57-9e59-a27902cb296a", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "41" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 25, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json new file mode 100644 index 000000000000..45176371d22b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ddc116f6-d34c-481d-b40d-59e22f22e4ac", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d436ee3f-d404-4f97-b8cd-9cca9648bb06", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json new file mode 100644 index 000000000000..928d5d768b6c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9a045b10-50ee-4017-8d17-5a4e7b6ab241", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "579cdd35-cbc2-45e0-8409-f6e3e245f893", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json new file mode 100644 index 000000000000..0a95c9a2e6e4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "393", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7824e303-838e-442d-b8b7-f05213435cac", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "afc37093-113e-4668-a7dd-9158ad767632", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json new file mode 100644 index 000000000000..4ae6bf552312 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7853b613-dae0-43a2-a02f-83e2feb0191f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "12b2bbbc-546f-439d-aa96-ef03250599f1", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json new file mode 100644 index 000000000000..e730a96d968e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0e103ea6-426f-4e10-8da7-1f036000dc10", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "133a2d46-f49c-4fc9-9e6a-62ecb47aaf32", + "Content-Length": "287", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json new file mode 100644 index 000000000000..e2970e4ddb2e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "67e7245c-98e1-4148-bc0a-d6d5e02bf30a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b53b816b-898f-4922-ac46-02752cb6fad2", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..1f36fa6390ff --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "176", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "40b63f3a-4da0-46ee-9e71-f87662a04304", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "714ab131-655e-4cae-87bb-4e590de527ee", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json new file mode 100644 index 000000000000..56cbaf13b4ac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "193", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6d7f2111-6474-4bb6-9804-d34d3238a000", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6bc6802c-50ab-4b4d-9396-fc6fc0db4b97", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..0f622e7e29f2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "209", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ed34c27c-8080-460e-9ef8-1a2e7d62052b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6de58fba-8f4b-431b-a954-83d4bca64df0", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json new file mode 100644 index 000000000000..412fe8429075 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b3f9f2fc-e35c-4d24-8f8c-4045b92dd91c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0e69764c-b73e-4fb3-aa86-5351fe9abe17", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json new file mode 100644 index 000000000000..b01202910233 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "792448bf-2968-4e35-976a-c44cf2943c65", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8674c538-bf23-4cbf-93e2-18ddca1f12a1", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json new file mode 100644 index 000000000000..191c54c8e649 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "395", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f363b3f0-e51d-47fa-ab53-19a3407e99bb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fa6a2849-173c-41e6-b529-e08c8252dd41", + "Content-Length": "509", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "65" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json new file mode 100644 index 000000000000..efc891b500a1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1f6a6a96-89a3-4999-93f1-181f658f2757", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9e1395bb-3c00-4f17-93dc-c3b722feb354", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json new file mode 100644 index 000000000000..119a481e4f76 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0f6115d6-c1aa-47b6-a5fd-3db0a5210985", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ffb8fac9-35da-48b9-bf06-eb069a1167cb", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json new file mode 100644 index 000000000000..f34974bffaaa --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e7149419-7ee9-45c6-8a0e-c42d9b2205da", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3db4b611-8a28-42bc-b574-38c2e07738d2", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..03ab103a6c6a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "177", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "137877ff-108d-404c-bef8-c15fd011973c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "14a9d385-9c84-43be-a70f-35ac4bd19e76", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json new file mode 100644 index 000000000000..8f16641eb698 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "194", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c8a43c3-6596-4150-a735-bef9a3814d2b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2a635d05-3ad5-4f11-b338-2a03640eda31", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "64" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..91d8b1908ea0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "210", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "927f99c2-7a80-45ce-ba02-b67ddda0452e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bf757e9a-7a23-4dab-bcbe-4018204a6ed7", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json new file mode 100644 index 000000000000..4f6002602422 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "18630364-cd54-467e-8c5e-0f7be74913d9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c14851e-6a04-48d2-ad46-073f989b699d", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json new file mode 100644 index 000000000000..689442140d4b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6096ce39-85ea-4531-8b20-ae970e3cb603", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "08d2f6c2-823a-4d4a-b11f-fea12f0fc331", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json new file mode 100644 index 000000000000..2eb45aae09ac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "396", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a92b8d56-d784-4fcb-b0c3-4c2b6e7a70f2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b098e99e-88a9-4958-a79b-4fd485bd767e", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "65" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json new file mode 100644 index 000000000000..f4f45eb9ceb7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json @@ -0,0 +1,509 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "482", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fa0504ce-3245-4bdf-8c8d-c2c1668fdb62", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomEntityRecognition", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "50595925-cef5-4263-9de8-c8d563afa57c", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:08 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/aa876a04-3a41-446e-a98a-c4512fb44f05?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "178" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/aa876a04-3a41-446e-a98a-c4512fb44f05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7c5d8256-7c8f-45b4-a3a3-267a9a4a20a0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e895e15d-9909-472b-a8bb-09abd48bc696", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "aa876a04-3a41-446e-a98a-c4512fb44f05", + "lastUpdateDateTime": "2022-05-07T06:37:09Z", + "createdDateTime": "2022-05-07T06:37:09Z", + "expirationDateTime": "2022-05-08T06:37:09Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/aa876a04-3a41-446e-a98a-c4512fb44f05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e1b3a300-3bda-4c5f-ac0d-39a4ef9eed75", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ecd171fd-7292-414b-9b62-6a73dd5b116f", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "aa876a04-3a41-446e-a98a-c4512fb44f05", + "lastUpdateDateTime": "2022-05-07T06:37:09Z", + "createdDateTime": "2022-05-07T06:37:09Z", + "expirationDateTime": "2022-05-08T06:37:09Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/aa876a04-3a41-446e-a98a-c4512fb44f05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8558794d-f740-4b11-a3c0-2b902f437100", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "584c7285-27f7-46ea-a21e-e4621a133783", + "Content-Length": "1968", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "aa876a04-3a41-446e-a98a-c4512fb44f05", + "lastUpdateDateTime": "2022-05-07T06:37:10Z", + "createdDateTime": "2022-05-07T06:37:09Z", + "expirationDateTime": "2022-05-08T06:37:09Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:10.184341Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/aa876a04-3a41-446e-a98a-c4512fb44f05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "815076a9-5557-421b-b09a-40bc36893447", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e01247f9-c3a6-4b1d-8e91-dc650889e15c", + "Content-Length": "1968", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "aa876a04-3a41-446e-a98a-c4512fb44f05", + "lastUpdateDateTime": "2022-05-07T06:37:10Z", + "createdDateTime": "2022-05-07T06:37:09Z", + "expirationDateTime": "2022-05-08T06:37:09Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:10.184341Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json new file mode 100644 index 000000000000..09cad5cc4245 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json @@ -0,0 +1,283 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "489", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ce37f832-8419-4d64-a060-b1b2efb8e798", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomMultiLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "36d78275-becb-42e4-bc30-25b4caa1d871", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:13 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/01b8905b-79ce-48d2-9d08-50b8ebcabcf2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "206" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/01b8905b-79ce-48d2-9d08-50b8ebcabcf2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0c346905-b56c-40b9-9f0d-758a67466085", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "08ed314c-f1e0-441d-97d6-3ca809cc3ebb", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "jobId": "01b8905b-79ce-48d2-9d08-50b8ebcabcf2", + "lastUpdateDateTime": "2022-05-07T06:37:14Z", + "createdDateTime": "2022-05-07T06:37:14Z", + "expirationDateTime": "2022-05-08T06:37:14Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/01b8905b-79ce-48d2-9d08-50b8ebcabcf2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "294594bb-8e74-4e33-babc-dc2c313dfcb8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b3dd389-0a0c-4ae6-9cde-4aa5ece790fc", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "82" + }, + "ResponseBody": { + "jobId": "01b8905b-79ce-48d2-9d08-50b8ebcabcf2", + "lastUpdateDateTime": "2022-05-07T06:37:14Z", + "createdDateTime": "2022-05-07T06:37:14Z", + "expirationDateTime": "2022-05-08T06:37:14Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/01b8905b-79ce-48d2-9d08-50b8ebcabcf2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "80af513f-ef97-48e4-81e8-a90fecc332d3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "04e2ae0e-96ba-44e8-97fd-452f2e65fae7", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "01b8905b-79ce-48d2-9d08-50b8ebcabcf2", + "lastUpdateDateTime": "2022-05-07T06:37:15Z", + "createdDateTime": "2022-05-07T06:37:14Z", + "expirationDateTime": "2022-05-08T06:37:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:15.0992984Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/01b8905b-79ce-48d2-9d08-50b8ebcabcf2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b45e1bd6-4f5e-4aaa-9b81-79506266c7c3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "03ce9a60-1831-42c6-b87d-fab4862c36f1", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "01b8905b-79ce-48d2-9d08-50b8ebcabcf2", + "lastUpdateDateTime": "2022-05-07T06:37:15Z", + "createdDateTime": "2022-05-07T06:37:14Z", + "expirationDateTime": "2022-05-08T06:37:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:15.0992984Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json new file mode 100644 index 000000000000..58e9837958ed --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json @@ -0,0 +1,289 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "490", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5c8fb754-a8e4-434a-a29b-d387ba3b685f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomSingleLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e9b01310-21b4-4989-9a08-e8dcaa44a473", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:37:11 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/189ee0aa-f4f2-4790-b5f3-34c5e36825bc?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "237" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/189ee0aa-f4f2-4790-b5f3-34c5e36825bc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b7236b90-b7e9-4df4-b3ce-38ace9f4bf98", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6a9dcdc7-a884-4e0e-b500-342839c45bbd", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "189ee0aa-f4f2-4790-b5f3-34c5e36825bc", + "lastUpdateDateTime": "2022-05-07T06:37:12Z", + "createdDateTime": "2022-05-07T06:37:12Z", + "expirationDateTime": "2022-05-08T06:37:12Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/189ee0aa-f4f2-4790-b5f3-34c5e36825bc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1041170c-d275-426f-8d70-8176b15e2381", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b6c983d-602d-445f-aed9-98a864bdb04d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "jobId": "189ee0aa-f4f2-4790-b5f3-34c5e36825bc", + "lastUpdateDateTime": "2022-05-07T06:37:12Z", + "createdDateTime": "2022-05-07T06:37:12Z", + "expirationDateTime": "2022-05-08T06:37:12Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/189ee0aa-f4f2-4790-b5f3-34c5e36825bc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "135620a6-2c4b-436b-855e-394a662cd8ca", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6109baca-788f-45df-bb15-8b555b6cf42c", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "jobId": "189ee0aa-f4f2-4790-b5f3-34c5e36825bc", + "lastUpdateDateTime": "2022-05-07T06:37:12Z", + "createdDateTime": "2022-05-07T06:37:12Z", + "expirationDateTime": "2022-05-08T06:37:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:12.8064931Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/189ee0aa-f4f2-4790-b5f3-34c5e36825bc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "87f07a96-6cc0-4179-8c34-3ac07bc01540", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3d5c455d-2b15-4450-80fc-2680d4df8cde", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:37:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "189ee0aa-f4f2-4790-b5f3-34c5e36825bc", + "lastUpdateDateTime": "2022-05-07T06:37:12Z", + "createdDateTime": "2022-05-07T06:37:12Z", + "expirationDateTime": "2022-05-08T06:37:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:37:12.8064931Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json new file mode 100644 index 000000000000..4c896a3bfe37 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json @@ -0,0 +1,570 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "337", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "aa555511-5e81-4a0d-8f08-6d41ae4bb580", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityLinking", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e508575b-9d86-4180-9ec1-534d6cb780d8", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:09 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "195" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f22b80eb-9993-43f9-978e-0edebd0469bc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "706a0482-6f26-478c-a6e0-742bfdaf13b7", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b4da4732-27f4-490d-babd-b2d58d9547a6", + "lastUpdateDateTime": "2022-05-06T20:06:10Z", + "createdDateTime": "2022-05-06T20:06:10Z", + "expirationDateTime": "2022-05-07T20:06:10Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "76055bbe-79d0-49d4-af23-cfde5b8b99e5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "512eac9a-0bf9-47b4-b2ef-8474622e4b5c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "b4da4732-27f4-490d-babd-b2d58d9547a6", + "lastUpdateDateTime": "2022-05-06T20:06:10Z", + "createdDateTime": "2022-05-06T20:06:10Z", + "expirationDateTime": "2022-05-07T20:06:10Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "136e2757-4c18-429b-b0dc-ccde5e373d52", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3881ebab-9ac5-4643-8fe2-4761dedc291e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "b4da4732-27f4-490d-babd-b2d58d9547a6", + "lastUpdateDateTime": "2022-05-06T20:06:10Z", + "createdDateTime": "2022-05-06T20:06:10Z", + "expirationDateTime": "2022-05-07T20:06:10Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3a997b4e-a7a2-42d9-8c47-eb54f4448e87", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "408ff1ed-d8b4-43f0-9d65-e2bbc2cb2698", + "Content-Length": "2432", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "b4da4732-27f4-490d-babd-b2d58d9547a6", + "lastUpdateDateTime": "2022-05-06T20:06:13Z", + "createdDateTime": "2022-05-06T20:06:10Z", + "expirationDateTime": "2022-05-07T20:06:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:13.195132Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b4da4732-27f4-490d-babd-b2d58d9547a6?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "22873dac-f88c-4edd-a567-f1591ad35d67", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a3ed6213-32bd-444c-bbcf-6a4583e50f02", + "Content-Length": "2432", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "jobId": "b4da4732-27f4-490d-babd-b2d58d9547a6", + "lastUpdateDateTime": "2022-05-06T20:06:13Z", + "createdDateTime": "2022-05-06T20:06:10Z", + "expirationDateTime": "2022-05-07T20:06:10Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:13.195132Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json new file mode 100644 index 000000000000..704f9df91a88 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json @@ -0,0 +1,430 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "285", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f5830e02-40d0-455c-af25-480bc050a9c5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "42d787a2-b3b2-4b20-93f7-e350b236432d", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:59 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "215" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "82021b0f-da86-47fb-84eb-350a1a99deeb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4a96a3b7-1317-4de0-9f38-0720f99f5503", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "b7942da4-60bf-4084-9f22-bd1ea305d467", + "lastUpdateDateTime": "2022-05-06T20:06:00Z", + "createdDateTime": "2022-05-06T20:05:59Z", + "expirationDateTime": "2022-05-07T20:05:59Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "877dd476-194e-49ca-b00b-bd39c6550b3e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7c927599-40a1-4bd0-9baf-0ce9b2de822e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "b7942da4-60bf-4084-9f22-bd1ea305d467", + "lastUpdateDateTime": "2022-05-06T20:06:00Z", + "createdDateTime": "2022-05-06T20:05:59Z", + "expirationDateTime": "2022-05-07T20:05:59Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "25bf4ca5-6967-4623-94e6-9f2712024a02", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "18285c36-27f7-40d0-a79e-57e58606c03f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b7942da4-60bf-4084-9f22-bd1ea305d467", + "lastUpdateDateTime": "2022-05-06T20:06:00Z", + "createdDateTime": "2022-05-06T20:05:59Z", + "expirationDateTime": "2022-05-07T20:05:59Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7c9e9fea-39c2-4a29-88ef-f1f2cb494f9a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e96daa8c-dbb4-47d5-ad32-b69c0d4564e4", + "Content-Length": "1069", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "b7942da4-60bf-4084-9f22-bd1ea305d467", + "lastUpdateDateTime": "2022-05-06T20:06:02Z", + "createdDateTime": "2022-05-06T20:05:59Z", + "expirationDateTime": "2022-05-07T20:05:59Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:02.6370221Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7942da4-60bf-4084-9f22-bd1ea305d467?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c88959e0-e614-4a5b-be89-aeffdc4f99a4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "eba25c53-86ae-4bfc-b321-ef513f49e03a", + "Content-Length": "1069", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130" + }, + "ResponseBody": { + "jobId": "b7942da4-60bf-4084-9f22-bd1ea305d467", + "lastUpdateDateTime": "2022-05-06T20:06:02Z", + "createdDateTime": "2022-05-06T20:05:59Z", + "expirationDateTime": "2022-05-07T20:05:59Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:02.6370221Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json new file mode 100644 index 000000000000..15f3ce74054b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json @@ -0,0 +1,416 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "11308", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c140fd39-a530-40a5-a2db-65bfcd7d6ad9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d06dd73a-14d6-420e-88a1-20b21b42bcf5", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:04:37 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "267" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "276e27f0-6d5c-455c-8d4b-5d3854e65076", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "94829b98-3716-4287-9b59-e524a43a10bf", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "cad6dd91-d4a5-477b-8280-3a98d02164b0", + "lastUpdateDateTime": "2022-05-12T22:04:37Z", + "createdDateTime": "2022-05-12T22:04:37Z", + "expirationDateTime": "2022-05-13T22:04:37Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f34c515b-8949-4c26-879d-353dfc3f511c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61bb0c20-60ae-4f9c-8210-9b282b4256ee", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "cad6dd91-d4a5-477b-8280-3a98d02164b0", + "lastUpdateDateTime": "2022-05-12T22:04:37Z", + "createdDateTime": "2022-05-12T22:04:37Z", + "expirationDateTime": "2022-05-13T22:04:37Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "df12ed49-1369-45d6-8e65-52c09920a5a5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "53dc5ecd-ca42-403a-b54b-6a9d272c376b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "cad6dd91-d4a5-477b-8280-3a98d02164b0", + "lastUpdateDateTime": "2022-05-12T22:04:38Z", + "createdDateTime": "2022-05-12T22:04:37Z", + "expirationDateTime": "2022-05-13T22:04:37Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4689f69b-5d0d-4a39-a8b6-df72afe38588", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1d2a126f-4c60-4597-a23d-70e83f13b85d", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "47" + }, + "ResponseBody": { + "jobId": "cad6dd91-d4a5-477b-8280-3a98d02164b0", + "lastUpdateDateTime": "2022-05-12T22:04:40Z", + "createdDateTime": "2022-05-12T22:04:37Z", + "expirationDateTime": "2022-05-13T22:04:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:40.8665046Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cad6dd91-d4a5-477b-8280-3a98d02164b0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d22019a1-4f56-4200-9593-c6dc652161c0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0bc5b7ea-832e-439d-b48e-45a546c1b467", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "cad6dd91-d4a5-477b-8280-3a98d02164b0", + "lastUpdateDateTime": "2022-05-12T22:04:40Z", + "createdDateTime": "2022-05-12T22:04:37Z", + "expirationDateTime": "2022-05-13T22:04:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:40.8665046Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json new file mode 100644 index 000000000000..c1f19017bf8d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json @@ -0,0 +1,394 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "11325", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2a2cc2e3-46ed-4ecd-a980-3b57b48d14c4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sentenceCount": 2 + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "41a3ffc8-2628-454b-b449-cf0e5caee0b6", + "Content-Length": "0", + "Date": "Fri, 13 May 2022 04:44:41 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0d76ed9e-9fab-48b3-8592-0b62f51a3cca", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "13614546-05cd-477c-90a3-e92ab33d0759", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "69" + }, + "ResponseBody": { + "jobId": "063540a0-caff-45af-9ed6-557956270a5e", + "lastUpdateDateTime": "2022-05-13T04:44:42Z", + "createdDateTime": "2022-05-13T04:44:42Z", + "expirationDateTime": "2022-05-14T04:44:42Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "38c150dc-18c6-4083-b7a6-eacd521d41ae", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c334d8a-f7a3-4296-baf5-ba60ed243454", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "063540a0-caff-45af-9ed6-557956270a5e", + "lastUpdateDateTime": "2022-05-13T04:44:42Z", + "createdDateTime": "2022-05-13T04:44:42Z", + "expirationDateTime": "2022-05-14T04:44:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0378842f-32cc-4826-a7ae-012fd6934b2c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6f9eeecd-fb92-4ccf-9cab-ee673effc34d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "063540a0-caff-45af-9ed6-557956270a5e", + "lastUpdateDateTime": "2022-05-13T04:44:42Z", + "createdDateTime": "2022-05-13T04:44:42Z", + "expirationDateTime": "2022-05-14T04:44:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9e7aaf98-a064-47d1-b3d9-da27e7fe4dd9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61815a44-bba1-4820-8234-23c57cd82760", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "063540a0-caff-45af-9ed6-557956270a5e", + "lastUpdateDateTime": "2022-05-13T04:44:46Z", + "createdDateTime": "2022-05-13T04:44:42Z", + "expirationDateTime": "2022-05-14T04:44:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-13T04:44:46.4089355Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/063540a0-caff-45af-9ed6-557956270a5e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "460641d5-42a7-4ee8-bb22-6434d132b4a2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e9426f9b-755d-4e55-a6f0-2f4e43cbc55c", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 04:44:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "jobId": "063540a0-caff-45af-9ed6-557956270a5e", + "lastUpdateDateTime": "2022-05-13T04:44:46Z", + "createdDateTime": "2022-05-13T04:44:42Z", + "expirationDateTime": "2022-05-14T04:44:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-13T04:44:46.4089355Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json new file mode 100644 index 000000000000..8f9c942d1d5f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json @@ -0,0 +1,418 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "11323", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8a9be006-ff2a-45ca-aa10-bc4fd8650eac", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sortBy": "Rank" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c41720f3-4e1f-45ee-a4a5-6f9440e0d38e", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:22:46 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "236" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "df3e2c77-5fc2-4686-a335-450ba139e52f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f06934d0-d709-4e85-bd87-7c065305ba5f", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "3ae53855-77fd-4942-a89a-093e8ed0d2c3", + "lastUpdateDateTime": "2022-05-12T22:22:46Z", + "createdDateTime": "2022-05-12T22:22:46Z", + "expirationDateTime": "2022-05-13T22:22:46Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3b6af1db-ee12-405d-b221-83c462c1ac90", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1773c0af-e3ca-4ad5-a83a-385fce890057", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "3ae53855-77fd-4942-a89a-093e8ed0d2c3", + "lastUpdateDateTime": "2022-05-12T22:22:47Z", + "createdDateTime": "2022-05-12T22:22:46Z", + "expirationDateTime": "2022-05-13T22:22:46Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1c7f2179-9b8f-4496-a534-4ba63b325ce3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "700a3d30-dd15-4547-9f06-dada6d8468c5", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "3ae53855-77fd-4942-a89a-093e8ed0d2c3", + "lastUpdateDateTime": "2022-05-12T22:22:47Z", + "createdDateTime": "2022-05-12T22:22:46Z", + "expirationDateTime": "2022-05-13T22:22:46Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "06740c94-0611-4f9b-98e0-3f483bce2f6f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c0b27ee2-a5d5-48f6-99f3-fb9e7cbdf901", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "70" + }, + "ResponseBody": { + "jobId": "3ae53855-77fd-4942-a89a-093e8ed0d2c3", + "lastUpdateDateTime": "2022-05-12T22:22:50Z", + "createdDateTime": "2022-05-12T22:22:46Z", + "expirationDateTime": "2022-05-13T22:22:46Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:50.7630841Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3ae53855-77fd-4942-a89a-093e8ed0d2c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "00855110-0734-442f-9f68-8623cd46cd41", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e525a62c-dfe9-4cf5-9555-ff30ec459f86", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "59" + }, + "ResponseBody": { + "jobId": "3ae53855-77fd-4942-a89a-093e8ed0d2c3", + "lastUpdateDateTime": "2022-05-12T22:22:50Z", + "createdDateTime": "2022-05-12T22:22:46Z", + "expirationDateTime": "2022-05-13T22:22:46Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:50.7630841Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json new file mode 100644 index 000000000000..cdf0452cb8a4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json @@ -0,0 +1,2484 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "392", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "96e21a75-7c21-4429-bcfa-6753a50ca53f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "2ae728ea-f165-4f78-b72e-2641b4b51549", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:34 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/afcddd2c-7ddf-4e33-bb06-3634056c03cd?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "205" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/afcddd2c-7ddf-4e33-bb06-3634056c03cd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "891cc1ab-f644-4a20-a258-060b2f3cbad6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ff15ea3c-1da1-4206-b992-8afde150ca12", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "jobId": "afcddd2c-7ddf-4e33-bb06-3634056c03cd", + "lastUpdateDateTime": "2022-05-06T20:06:34Z", + "createdDateTime": "2022-05-06T20:06:34Z", + "expirationDateTime": "2022-05-07T20:06:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/afcddd2c-7ddf-4e33-bb06-3634056c03cd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4e76e412-fca9-411d-8516-02364899a9ef", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e0f96319-e52d-4302-9ed7-230becbffd50", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "afcddd2c-7ddf-4e33-bb06-3634056c03cd", + "lastUpdateDateTime": "2022-05-06T20:06:34Z", + "createdDateTime": "2022-05-06T20:06:34Z", + "expirationDateTime": "2022-05-07T20:06:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/afcddd2c-7ddf-4e33-bb06-3634056c03cd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2794cb1e-fe50-4b4f-99b2-9265afb47ad5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7f1df311-d79b-4376-a8cc-5ac9b8811f25", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98" + }, + "ResponseBody": { + "jobId": "afcddd2c-7ddf-4e33-bb06-3634056c03cd", + "lastUpdateDateTime": "2022-05-06T20:06:34Z", + "createdDateTime": "2022-05-06T20:06:34Z", + "expirationDateTime": "2022-05-07T20:06:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:34.9595862Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/afcddd2c-7ddf-4e33-bb06-3634056c03cd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8fa392d3-7250-4d29-a5d1-3c0ad3dc182d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "50bc8e81-56b0-4c84-8119-4deb0e2b9782", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "afcddd2c-7ddf-4e33-bb06-3634056c03cd", + "lastUpdateDateTime": "2022-05-06T20:06:34Z", + "createdDateTime": "2022-05-06T20:06:34Z", + "expirationDateTime": "2022-05-07T20:06:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:34.9595862Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json new file mode 100644 index 000000000000..90ccd4152af0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json @@ -0,0 +1,5588 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "413", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9d305014-d7ae-4162-bdb4-625ef2b9d4e2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "fhirVersion": "4.0.1" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "20285fbb-4668-466c-9781-5d8b361d7a88", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:36 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/20cd2985-6811-4d7a-9087-18f4e7499d9e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "167" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/20cd2985-6811-4d7a-9087-18f4e7499d9e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "99c022b3-3e92-42a5-b537-3e46f915bbdd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d74a597f-1a2d-4f41-9846-b250d80005fd", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "20cd2985-6811-4d7a-9087-18f4e7499d9e", + "lastUpdateDateTime": "2022-05-06T20:06:36Z", + "createdDateTime": "2022-05-06T20:06:36Z", + "expirationDateTime": "2022-05-07T20:06:36Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/20cd2985-6811-4d7a-9087-18f4e7499d9e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c311f4a4-2942-4b75-ab5c-dd8e72c89e96", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7b5812b2-8e66-4343-9155-71e4e0182d30", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "20cd2985-6811-4d7a-9087-18f4e7499d9e", + "lastUpdateDateTime": "2022-05-06T20:06:36Z", + "createdDateTime": "2022-05-06T20:06:36Z", + "expirationDateTime": "2022-05-07T20:06:36Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/20cd2985-6811-4d7a-9087-18f4e7499d9e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b0b80c56-5c1e-4a3b-96a6-35ca1793c43b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2aba4248-524b-4c24-a414-d87c4330bcb8", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "57" + }, + "ResponseBody": { + "jobId": "20cd2985-6811-4d7a-9087-18f4e7499d9e", + "lastUpdateDateTime": "2022-05-06T20:06:37Z", + "createdDateTime": "2022-05-06T20:06:36Z", + "expirationDateTime": "2022-05-07T20:06:36Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:37.9920781Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "602ebc05-b32e-4b9c-b27a-0a9de6bfb0ac", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:602ebc05-b32e-4b9c-b27a-0a9de6bfb0ac" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/2ce406a1-bcf6-4cbb-919c-85280dac2d96", + "resource": { + "resourceType": "Composition", + "id": "2ce406a1-bcf6-4cbb-919c-85280dac2d96", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "resource": { + "resourceType": "Practitioner", + "id": "4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "resource": { + "resourceType": "Patient", + "id": "f506b190-bbe4-41da-bb76-bd526f642ed5", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "resource": { + "resourceType": "Encounter", + "id": "9f606072-2020-4c24-a168-4031f067fcc0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/82702fc3-0b2e-44f7-96e2-10858df5fdce", + "resource": { + "resourceType": "Observation", + "id": "82702fc3-0b2e-44f7-96e2-10858df5fdce", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "resource": { + "resourceType": "List", + "id": "bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/82702fc3-0b2e-44f7-96e2-10858df5fdce", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "3cff7d88-bd57-44b3-9174-241e3d39f616", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:3cff7d88-bd57-44b3-9174-241e3d39f616" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/9bc202d9-563a-4df7-b74b-3bb861354f82", + "resource": { + "resourceType": "Composition", + "id": "9bc202d9-563a-4df7-b74b-3bb861354f82", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/48959fef-e275-41ee-930f-91e20a87d9b3", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/48959fef-e275-41ee-930f-91e20a87d9b3", + "resource": { + "resourceType": "Practitioner", + "id": "48959fef-e275-41ee-930f-91e20a87d9b3", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "resource": { + "resourceType": "Patient", + "id": "d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "resource": { + "resourceType": "Encounter", + "id": "27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/12517312-1ab5-4953-b295-c9d2226f5a4a", + "resource": { + "resourceType": "MedicationStatement", + "id": "12517312-1ab5-4953-b295-c9d2226f5a4a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "context": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "resource": { + "resourceType": "List", + "id": "c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/12517312-1ab5-4953-b295-c9d2226f5a4a", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "3d9fd6ac-3c02-42b7-9487-ee9890471abb", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:3d9fd6ac-3c02-42b7-9487-ee9890471abb" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/668f37f5-c798-4c09-af4f-d4a21a7f0241", + "resource": { + "resourceType": "Composition", + "id": "668f37f5-c798-4c09-af4f-d4a21a7f0241", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "resource": { + "resourceType": "Practitioner", + "id": "1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "resource": { + "resourceType": "Patient", + "id": "36ff1b88-4846-4211-bfff-a51e232e12f6", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "resource": { + "resourceType": "Encounter", + "id": "1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/c387a9b2-1095-48e1-9478-de662d3151d0", + "resource": { + "resourceType": "Condition", + "id": "c387a9b2-1095-48e1-9478-de662d3151d0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/91be6385-a16e-429c-8c21-18fc725e7899", + "resource": { + "resourceType": "Observation", + "id": "91be6385-a16e-429c-8c21-18fc725e7899", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "resource": { + "resourceType": "MedicationStatement", + "id": "655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "context": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "resource": { + "resourceType": "List", + "id": "4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/c387a9b2-1095-48e1-9478-de662d3151d0", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/91be6385-a16e-429c-8c21-18fc725e7899", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/20cd2985-6811-4d7a-9087-18f4e7499d9e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7195591f-a15e-462e-8cc0-41382716cc25", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "96bddd9b-b608-4830-93bf-5f29c0d09caf", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "20cd2985-6811-4d7a-9087-18f4e7499d9e", + "lastUpdateDateTime": "2022-05-06T20:06:37Z", + "createdDateTime": "2022-05-06T20:06:36Z", + "expirationDateTime": "2022-05-07T20:06:36Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:37.9920781Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "602ebc05-b32e-4b9c-b27a-0a9de6bfb0ac", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:602ebc05-b32e-4b9c-b27a-0a9de6bfb0ac" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/2ce406a1-bcf6-4cbb-919c-85280dac2d96", + "resource": { + "resourceType": "Composition", + "id": "2ce406a1-bcf6-4cbb-919c-85280dac2d96", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "resource": { + "resourceType": "Practitioner", + "id": "4bb5053d-a8e0-4850-9aac-e21acb61fd9e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "resource": { + "resourceType": "Patient", + "id": "f506b190-bbe4-41da-bb76-bd526f642ed5", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "resource": { + "resourceType": "Encounter", + "id": "9f606072-2020-4c24-a168-4031f067fcc0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/82702fc3-0b2e-44f7-96e2-10858df5fdce", + "resource": { + "resourceType": "Observation", + "id": "82702fc3-0b2e-44f7-96e2-10858df5fdce", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "resource": { + "resourceType": "List", + "id": "bcce0d13-9f40-413d-a6c3-ea47ff7e63cc", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f506b190-bbe4-41da-bb76-bd526f642ed5", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9f606072-2020-4c24-a168-4031f067fcc0", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/82702fc3-0b2e-44f7-96e2-10858df5fdce", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "3cff7d88-bd57-44b3-9174-241e3d39f616", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:3cff7d88-bd57-44b3-9174-241e3d39f616" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/9bc202d9-563a-4df7-b74b-3bb861354f82", + "resource": { + "resourceType": "Composition", + "id": "9bc202d9-563a-4df7-b74b-3bb861354f82", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/48959fef-e275-41ee-930f-91e20a87d9b3", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/48959fef-e275-41ee-930f-91e20a87d9b3", + "resource": { + "resourceType": "Practitioner", + "id": "48959fef-e275-41ee-930f-91e20a87d9b3", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "resource": { + "resourceType": "Patient", + "id": "d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "resource": { + "resourceType": "Encounter", + "id": "27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/12517312-1ab5-4953-b295-c9d2226f5a4a", + "resource": { + "resourceType": "MedicationStatement", + "id": "12517312-1ab5-4953-b295-c9d2226f5a4a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "context": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "resource": { + "resourceType": "List", + "id": "c90e2dbe-7a04-4515-a1ba-50b209ae1505", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/d0b72341-a397-4df5-85ce-6cc09cc9f0b6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/27b4f1f5-9b27-4e97-a382-343442f2bc1c", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/12517312-1ab5-4953-b295-c9d2226f5a4a", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "3d9fd6ac-3c02-42b7-9487-ee9890471abb", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:3d9fd6ac-3c02-42b7-9487-ee9890471abb" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/668f37f5-c798-4c09-af4f-d4a21a7f0241", + "resource": { + "resourceType": "Composition", + "id": "668f37f5-c798-4c09-af4f-d4a21a7f0241", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "resource": { + "resourceType": "Practitioner", + "id": "1352a91f-3010-49b1-ae3b-1a34e8e4a5b4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "resource": { + "resourceType": "Patient", + "id": "36ff1b88-4846-4211-bfff-a51e232e12f6", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "resource": { + "resourceType": "Encounter", + "id": "1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/c387a9b2-1095-48e1-9478-de662d3151d0", + "resource": { + "resourceType": "Condition", + "id": "c387a9b2-1095-48e1-9478-de662d3151d0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/91be6385-a16e-429c-8c21-18fc725e7899", + "resource": { + "resourceType": "Observation", + "id": "91be6385-a16e-429c-8c21-18fc725e7899", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "resource": { + "resourceType": "MedicationStatement", + "id": "655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "context": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "resource": { + "resourceType": "List", + "id": "4ab98bbd-d970-4eba-bc97-ea882ef0a49b", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/36ff1b88-4846-4211-bfff-a51e232e12f6", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1bf06e10-330f-455c-a60a-f4c0dde3d70c", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/c387a9b2-1095-48e1-9478-de662d3151d0", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/91be6385-a16e-429c-8c21-18fc725e7899", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/655e22c1-e46f-4ea5-afa1-cf891b8fd907", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json new file mode 100644 index 000000000000..7aa7d3c3e899 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "287", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b06206a6-8109-4d9a-ac55-a6968a4c7f4e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "KeyPhraseExtraction", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "70fc69e4-c1fa-4b01-a4ec-fd6663c90d34", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:05 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "178" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b5db861b-cdd4-41e9-a645-3ff5e465380b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b0f00d55-706e-4396-ad4c-927c8dbcd8a6", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "2856de37-2915-46de-9d77-7650098a772c", + "lastUpdateDateTime": "2022-05-06T20:06:05Z", + "createdDateTime": "2022-05-06T20:06:05Z", + "expirationDateTime": "2022-05-07T20:06:05Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "20ca6b62-35ce-4938-84b8-23e0fccdb92b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "789b3db4-cf06-4fc3-8c8a-7ed4e37e3fab", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "2856de37-2915-46de-9d77-7650098a772c", + "lastUpdateDateTime": "2022-05-06T20:06:05Z", + "createdDateTime": "2022-05-06T20:06:05Z", + "expirationDateTime": "2022-05-07T20:06:05Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c3aa7648-e684-4e48-ac99-4bcee0cd3ece", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "00c1c25c-51d4-4309-b231-96c8e682a802", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "2856de37-2915-46de-9d77-7650098a772c", + "lastUpdateDateTime": "2022-05-06T20:06:06Z", + "createdDateTime": "2022-05-06T20:06:05Z", + "expirationDateTime": "2022-05-07T20:06:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "15285894-17f7-4008-98d1-0f87ccdc75b6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e2868e44-ea4b-40c9-bd0a-87e658af4df2", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "2856de37-2915-46de-9d77-7650098a772c", + "lastUpdateDateTime": "2022-05-06T20:06:08Z", + "createdDateTime": "2022-05-06T20:06:05Z", + "expirationDateTime": "2022-05-07T20:06:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:08.8110437Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2856de37-2915-46de-9d77-7650098a772c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "9de203c0-10c3-4c7a-b48c-c9981dd70370", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8db254dd-87ff-43df-b6f8-c7ccedfc782b", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144" + }, + "ResponseBody": { + "jobId": "2856de37-2915-46de-9d77-7650098a772c", + "lastUpdateDateTime": "2022-05-06T20:06:08Z", + "createdDateTime": "2022-05-06T20:06:05Z", + "expirationDateTime": "2022-05-07T20:06:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:08.8110437Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json new file mode 100644 index 000000000000..c7bb080f57ec --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json @@ -0,0 +1,376 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "397", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7f21fd6f-ae5b-4fe2-a1b5-440dfb81ddbe", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "My SSN is 859-98-0987.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + }, + { + "id": "2", + "text": "Is 998.214.865-68 your Brazilian CPF number?", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cd14b0e5-0348-49cd-b1d1-392f5ebdb973", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:14 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/d72aee48-c077-4b54-a60f-bfce4c12aaa2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "210" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d72aee48-c077-4b54-a60f-bfce4c12aaa2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bc5a1835-426e-4f0e-88be-8cb3807934df", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4f60615e-d1ed-4e81-8b79-3966e9b8c352", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "d72aee48-c077-4b54-a60f-bfce4c12aaa2", + "lastUpdateDateTime": "2022-05-06T20:06:15Z", + "createdDateTime": "2022-05-06T20:06:14Z", + "expirationDateTime": "2022-05-07T20:06:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d72aee48-c077-4b54-a60f-bfce4c12aaa2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e2343fed-7b1c-4e63-a2cc-344266328788", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5dee5bc6-4a86-42bf-8d36-ab031f70219b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "d72aee48-c077-4b54-a60f-bfce4c12aaa2", + "lastUpdateDateTime": "2022-05-06T20:06:15Z", + "createdDateTime": "2022-05-06T20:06:14Z", + "expirationDateTime": "2022-05-07T20:06:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d72aee48-c077-4b54-a60f-bfce4c12aaa2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0dd14cd9-5681-4c5f-8801-dd38ddcde194", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "42002498-9427-4993-8353-392095fb4eab", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "149" + }, + "ResponseBody": { + "jobId": "d72aee48-c077-4b54-a60f-bfce4c12aaa2", + "lastUpdateDateTime": "2022-05-06T20:06:16Z", + "createdDateTime": "2022-05-06T20:06:14Z", + "expirationDateTime": "2022-05-07T20:06:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:16.7273098Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d72aee48-c077-4b54-a60f-bfce4c12aaa2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6672ef9e-1c1c-4799-9ab8-690e46a5ad0b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a9cf06da-a3ec-448d-8532-406fff511880", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "52" + }, + "ResponseBody": { + "jobId": "d72aee48-c077-4b54-a60f-bfce4c12aaa2", + "lastUpdateDateTime": "2022-05-06T20:06:16Z", + "createdDateTime": "2022-05-06T20:06:14Z", + "expirationDateTime": "2022-05-07T20:06:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:16.7273098Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json new file mode 100644 index 000000000000..710f5e629009 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json @@ -0,0 +1,318 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "468", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5718372f-6287-4f7f-a265-b624aa8d441f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c5e17aa1-e990-4ac9-af21-5911e82e0a61", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:17 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e8004f8a-6e25-40ac-89ab-9a274e3a200a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "163" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e8004f8a-6e25-40ac-89ab-9a274e3a200a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "441add70-fa90-414e-8e94-15f381906b77", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4c3d79e9-9e1f-47c4-ab69-abaea63c5f80", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "e8004f8a-6e25-40ac-89ab-9a274e3a200a", + "lastUpdateDateTime": "2022-05-06T20:06:17Z", + "createdDateTime": "2022-05-06T20:06:17Z", + "expirationDateTime": "2022-05-07T20:06:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e8004f8a-6e25-40ac-89ab-9a274e3a200a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5edd2b22-f0f6-47fa-9834-f064cfaf7089", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "45b1314e-c422-4f75-b311-dace02e74826", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e8004f8a-6e25-40ac-89ab-9a274e3a200a", + "lastUpdateDateTime": "2022-05-06T20:06:17Z", + "createdDateTime": "2022-05-06T20:06:17Z", + "expirationDateTime": "2022-05-07T20:06:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e8004f8a-6e25-40ac-89ab-9a274e3a200a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ac604d36-b0de-4d96-ac29-705cae2d5c29", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c56463c0-6bcb-4d85-a985-a45b50626244", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "e8004f8a-6e25-40ac-89ab-9a274e3a200a", + "lastUpdateDateTime": "2022-05-06T20:06:19Z", + "createdDateTime": "2022-05-06T20:06:17Z", + "expirationDateTime": "2022-05-07T20:06:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:19.8383622Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e8004f8a-6e25-40ac-89ab-9a274e3a200a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ea009824-84df-4cbc-80ee-761d5becbbab", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b6916ad8-63a7-45d0-ac94-c9f41c00702c", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "e8004f8a-6e25-40ac-89ab-9a274e3a200a", + "lastUpdateDateTime": "2022-05-06T20:06:19Z", + "createdDateTime": "2022-05-06T20:06:17Z", + "expirationDateTime": "2022-05-07T20:06:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:19.8383622Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json new file mode 100644 index 000000000000..d8d4be156fd8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json @@ -0,0 +1,402 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "440", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2f692974-9371-4826-a160-4a87591bef56", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "domain": "phi" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "9ff269e9-eab3-4b79-a126-3095e526f7a8", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:19 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "268" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c76dc8e9-f8b6-41b1-ab7c-1bd4b0f09173", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "247ec185-9418-4005-aad3-a0507fef6b4b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f", + "lastUpdateDateTime": "2022-05-06T20:06:20Z", + "createdDateTime": "2022-05-06T20:06:20Z", + "expirationDateTime": "2022-05-07T20:06:20Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c4ac8265-733e-454f-a9dd-31cbfebca467", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9c089eef-25f6-4800-bef1-27afa75bdf15", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f", + "lastUpdateDateTime": "2022-05-06T20:06:20Z", + "createdDateTime": "2022-05-06T20:06:20Z", + "expirationDateTime": "2022-05-07T20:06:20Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8f01028b-ba18-4fe6-ba7c-1b238d95888b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2dc7f93f-cd6e-4ceb-84af-c25b0a6b53c3", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f", + "lastUpdateDateTime": "2022-05-06T20:06:22Z", + "createdDateTime": "2022-05-06T20:06:20Z", + "expirationDateTime": "2022-05-07T20:06:20Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:22.4243028Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2f7427d1-bce2-4d50-99bd-5def70ea53fd", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "988dd739-e26b-4b7a-baca-e603193f2819", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "47" + }, + "ResponseBody": { + "jobId": "6ca2ccdf-6a0d-4fd9-a816-1e45ee1ac80f", + "lastUpdateDateTime": "2022-05-06T20:06:22Z", + "createdDateTime": "2022-05-06T20:06:20Z", + "expirationDateTime": "2022-05-07T20:06:20Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:22.4243028Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json new file mode 100644 index 000000000000..ab3c9c351dc1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json @@ -0,0 +1,1737 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "740", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "abc2d223-5358-467a-aa91-12660c198f23", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "SentimentAnalysis", + "parameters": { + "modelVersion": "latest", + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a77779c9-8b03-4780-9f39-5f97c3d5fff2", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:22 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "259" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "38e39bae-b1d8-420c-9136-f9b2f9ad504f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "77de2bf4-484e-4dfb-9f89-4956b1b2bffe", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5a568550-6008-45c1-a421-7bf4bb127c59", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a002c25d-dd3f-4e16-b74e-60b301802387", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "950e8fcf-927e-437a-9756-9de16a70c6ad", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4d30cb27-6e8c-4fbd-9c64-b3fb5cd2467a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2b05204e-a91f-4ddc-99fe-d9c87da8f51c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "08702f1e-6241-4456-88af-a54c17507fae", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "cb5426e3-0ed2-4d6d-bc5d-9755abddc5a9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ddc4c170-9d51-474c-b31f-951e3c36404d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ba2d7eca-a854-4a9f-bf51-157568456c17", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2a318f7a-8417-4e8f-9a73-e3dff00d4eb6", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:23Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2f43c65d-4607-4254-8a99-4d0e33c5b868", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2d6d8bcf-1bc4-48c8-810e-df873df0add5", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "98" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:31Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:31.7140009Z", + "status": "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/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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e505a2da-2537-4808-87a3-5ff6aa098761?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5b67d861-9592-4266-abc5-1f4c17e70dd7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "91f4a7e5-2123-44b9-9c24-abe7942e5a07", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "97" + }, + "ResponseBody": { + "jobId": "e505a2da-2537-4808-87a3-5ff6aa098761", + "lastUpdateDateTime": "2022-05-06T20:06:31Z", + "createdDateTime": "2022-05-06T20:06:23Z", + "expirationDateTime": "2022-05-07T20:06:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:31.7140009Z", + "status": "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/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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..21627f05ba21 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,892 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "357", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b2ae3926-e8a0-46c9-8a42-187370ae638f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "1f57cffe-f38b-4ec0-a6c1-b67b94f9424a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:57 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "281" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "13f6f2f6-655c-4f78-b894-2288f0e592dc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cc44089a-2a0d-459c-94e8-226544cb6083", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:06:58Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8db9683a-265f-4cfc-90f9-a3e7a8e17d6d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cc404462-162d-42da-b134-7eb14723babb", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:06:58Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "47d4c175-c8c0-4f20-82b5-0b21e8b0b41b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3f1b41b8-037b-4e68-827d-ae6c2ad90e64", + "Content-Length": "1116", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:07:00Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.4690188Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8026302b-1fc7-4c2a-852f-d68eb7cf6a44", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d3030f7-c757-4786-a8a4-e76468f29474", + "Content-Length": "2010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:07:00Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.4690188Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.8126955Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b6ee357f-7b41-40d0-82cc-5c534c7a3210", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "405d87f4-7f05-41c7-8e05-cf6b703b811f", + "Content-Length": "2010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "100" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:07:00Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.4690188Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.8126955Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5b501554-d2bc-473f-bd4b-5eecea172e37", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d40785c3-33f7-4373-a73a-4cb472442ccc", + "Content-Length": "2879", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:07:06Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:06.728752Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.4690188Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.8126955Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e5d33bba-eb4d-4b16-bb59-1da865e60d55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0e2da80d-c6de-49aa-a5de-4ae4dbea780b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3bf49e7a-dd07-4f68-a674-bd7a9dc5be52", + "Content-Length": "2879", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138" + }, + "ResponseBody": { + "jobId": "e5d33bba-eb4d-4b16-bb59-1da865e60d55", + "lastUpdateDateTime": "2022-05-06T20:07:06Z", + "createdDateTime": "2022-05-06T20:06:58Z", + "expirationDateTime": "2022-05-07T20:06:58Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:06.728752Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.4690188Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:00.8126955Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json new file mode 100644 index 000000000000..47eb3b465fcd --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json @@ -0,0 +1,156 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6e99e3bf-8170-41e2-826f-bf7f502657f8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b3dfffd9-68b9-412f-9d0c-3516c2ca964a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:12 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/00979b89-62ed-4d74-9029-7f62af5de62b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "226" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/00979b89-62ed-4d74-9029-7f62af5de62b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "52af061c-2deb-4556-9aa2-9c1cfdf4fecb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "833bc432-b840-4ef6-90bd-f0e48a78ff0c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "00979b89-62ed-4d74-9029-7f62af5de62b", + "lastUpdateDateTime": "2022-05-06T20:08:13Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/00979b89-62ed-4d74-9029-7f62af5de62b:cancel?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "0", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7d6c8b61-9e49-46c5-8042-16ae2939cc2c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7bcf9cd6-3e67-4989-95dd-849ee6412e33", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:12 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/00979b89-62ed-4d74-9029-7f62af5de62b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "19" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json new file mode 100644 index 000000000000..05d862ac2046 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json @@ -0,0 +1,527 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "296", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5fae5996-48d1-4446-a63d-f4c3f6916dee", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This should fail because we\u0027re passing in an invalid language hint", + "language": "notalanguage" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "49ed6279-65a5-48c7-b962-00dfeb4b613e", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:43 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "231" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "37063326-df0b-4844-925c-12fb094899c8", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "caf10731-51fc-45e3-9645-70458ef498ba", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:44Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dd4a0645-56e5-4a9a-a8e5-f38b1e27af98", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2e8b387a-4e2f-4a9f-9346-8469bc46310d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:44Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b0ad3ad4-6e8c-4b3c-a2c3-f08c541a8fb6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a97e79ea-2f90-4302-805a-f549d76efdde", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:44Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c7a10c9c-671e-4015-b062-6ca564b4fdeb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4b2a787e-a9b0-447e-9bce-11b0e107f800", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:44Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c37e5621-1c6b-4813-a4e8-ac9b9e01f712", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09724582-002f-44f5-bf41-6de2611fd498", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:50Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8a89be44-e725-4619-a1d1-2bc6a9cd8285", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bf6715b8-55d0-4b08-8480-3bb52e47ff07", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "88" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:52Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.0256451Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.0180931Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.2471458Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a07d20e0-def0-4097-b478-f8b010c5addc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c77e1d87-d664-4e5e-bd9a-45e79c4c0539", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c1753b45-f0c9-4d17-995b-4d472cd13c98", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "105" + }, + "ResponseBody": { + "jobId": "a07d20e0-def0-4097-b478-f8b010c5addc", + "lastUpdateDateTime": "2022-05-06T20:07:52Z", + "createdDateTime": "2022-05-06T20:07:44Z", + "expirationDateTime": "2022-05-07T20:07:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.0256451Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.0180931Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:52.2471458Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json new file mode 100644 index 000000000000..c8f43e31135d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json @@ -0,0 +1,224 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6908f7a9-7404-4a99-b8ff-2f12dead9687", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "displayName": "testJob", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "end" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cdccd131-e45f-405f-8102-86a01e856fd4", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:10 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b7af97f4-c4ca-4723-82bf-1509d710556c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "145" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7af97f4-c4ca-4723-82bf-1509d710556c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7d6ddc7e-5057-44b7-969b-fb4608ea211d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2187c813-07b8-4c65-b461-ec6ad428d43d", + "Content-Length": "306", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b7af97f4-c4ca-4723-82bf-1509d710556c", + "lastUpdateDateTime": "2022-05-06T20:08:10Z", + "createdDateTime": "2022-05-06T20:08:10Z", + "expirationDateTime": "2022-05-07T20:08:10Z", + "status": "notStarted", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7af97f4-c4ca-4723-82bf-1509d710556c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b19985f2-a2c2-45c8-8ccf-22c378119da4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d690017-dedb-48cd-8938-987a621d5c61", + "Content-Length": "306", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "b7af97f4-c4ca-4723-82bf-1509d710556c", + "lastUpdateDateTime": "2022-05-06T20:08:10Z", + "createdDateTime": "2022-05-06T20:08:10Z", + "expirationDateTime": "2022-05-07T20:08:10Z", + "status": "notStarted", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b7af97f4-c4ca-4723-82bf-1509d710556c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ae097ed8-e05d-46eb-8b57-fc429a848f8f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d4b6000-129e-45eb-9bb7-57c2d181ef0d", + "Content-Length": "846", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "b7af97f4-c4ca-4723-82bf-1509d710556c", + "lastUpdateDateTime": "2022-05-06T20:08:12Z", + "createdDateTime": "2022-05-06T20:08:10Z", + "expirationDateTime": "2022-05-07T20:08:10Z", + "status": "succeeded", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:12.3554077Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json new file mode 100644 index 000000000000..429d748ffc2a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json @@ -0,0 +1,542 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "300", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "17958413-ba82-40ab-8776-27489cdc27fa", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "56", + "text": ":)" + }, + { + "id": "0", + "text": ":(" + }, + { + "id": "22", + "text": "w" + }, + { + "id": "19", + "text": ":P" + }, + { + "id": "1", + "text": ":D" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "86f56d7f-26ed-4afc-9b27-d51523a64dcf", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:12 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "323" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6651a64c-4de5-4775-b81e-bd988f6e82ab", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4daf7a2f-e20c-4bbd-93a8-418c0b9e1100", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "jobId": "f45bf842-436e-4d9a-998a-553ebaa66b7e", + "lastUpdateDateTime": "2022-05-06T20:07:13Z", + "createdDateTime": "2022-05-06T20:07:12Z", + "expirationDateTime": "2022-05-07T20:07:12Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "025f64f7-c8b0-46f5-b29d-0ad733a2afe7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9a3c7197-f3b9-4916-8968-12561c87c6da", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "f45bf842-436e-4d9a-998a-553ebaa66b7e", + "lastUpdateDateTime": "2022-05-06T20:07:13Z", + "createdDateTime": "2022-05-06T20:07:12Z", + "expirationDateTime": "2022-05-07T20:07:12Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6ed2362a-1c50-4a4b-a305-cb12a5bc605c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ebaeae99-dce1-4551-9911-76728737fa00", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "f45bf842-436e-4d9a-998a-553ebaa66b7e", + "lastUpdateDateTime": "2022-05-06T20:07:13Z", + "createdDateTime": "2022-05-06T20:07:12Z", + "expirationDateTime": "2022-05-07T20:07:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4ae4dd32-b371-4db4-b7f4-ba5ad85a5a91", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a7d94134-5d4f-468f-8bde-bc9a1c1d2ae0", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "180" + }, + "ResponseBody": { + "jobId": "f45bf842-436e-4d9a-998a-553ebaa66b7e", + "lastUpdateDateTime": "2022-05-06T20:07:16Z", + "createdDateTime": "2022-05-06T20:07:12Z", + "expirationDateTime": "2022-05-07T20:07:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:16.1853444Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:16.3255585Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:15.6217046Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f45bf842-436e-4d9a-998a-553ebaa66b7e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dea0c3e8-54f2-4ed8-9645-ee8afbd7a634", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "00aa00ec-b86e-4abd-a675-e58b6542619f", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "200" + }, + "ResponseBody": { + "jobId": "f45bf842-436e-4d9a-998a-553ebaa66b7e", + "lastUpdateDateTime": "2022-05-06T20:07:16Z", + "createdDateTime": "2022-05-06T20:07:12Z", + "expirationDateTime": "2022-05-07T20:07:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:16.1853444Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:16.3255585Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:15.6217046Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json new file mode 100644 index 000000000000..352b0f2246b6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -0,0 +1,674 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "307", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "96f2ea77-626d-4e21-a17e-5abd0d3fc214", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "one" + }, + { + "id": "2", + "text": "two" + }, + { + "id": "3", + "text": "three" + }, + { + "id": "4", + "text": "four" + }, + { + "id": "5", + "text": "five" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f82ad48a-d45e-4baf-ac58-d1aea5dd015c", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:07 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "303" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "39b8f164-94ee-48e5-8e49-b5ead182c6aa", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f15c3049-a153-4909-9a3d-804b37e048cf", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "a4d4240d-535f-41c0-bbd8-d835a1cdd1d7", + "lastUpdateDateTime": "2022-05-06T20:07:07Z", + "createdDateTime": "2022-05-06T20:07:07Z", + "expirationDateTime": "2022-05-07T20:07:07Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2489db84-13f7-414f-9057-0045fc266d7c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "216ca174-21f8-43f3-bbdb-13bf35fbbe97", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "a4d4240d-535f-41c0-bbd8-d835a1cdd1d7", + "lastUpdateDateTime": "2022-05-06T20:07:07Z", + "createdDateTime": "2022-05-06T20:07:07Z", + "expirationDateTime": "2022-05-07T20:07:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "43966cf4-18eb-4e5b-979b-bd6c4493da84", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f178aef5-6848-40c4-95c1-9791d83aefde", + "Content-Length": "763", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "76" + }, + "ResponseBody": { + "jobId": "a4d4240d-535f-41c0-bbd8-d835a1cdd1d7", + "lastUpdateDateTime": "2022-05-06T20:07:09Z", + "createdDateTime": "2022-05-06T20:07:07Z", + "expirationDateTime": "2022-05-07T20:07:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:09.7558402Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d80154ed-99f6-486e-a1ee-ed6429c7939c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d135856e-6c4a-486e-9069-0469f928e319", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "217" + }, + "ResponseBody": { + "jobId": "a4d4240d-535f-41c0-bbd8-d835a1cdd1d7", + "lastUpdateDateTime": "2022-05-06T20:07:10Z", + "createdDateTime": "2022-05-06T20:07:07Z", + "expirationDateTime": "2022-05-07T20:07:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:10.9376881Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:09.7558402Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:10.1416852Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4d4240d-535f-41c0-bbd8-d835a1cdd1d7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "81e40f91-8a4e-4f5b-825d-ad31dce26691", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "80068d80-152f-4a9e-b1e2-b6dd035bc85a", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "194" + }, + "ResponseBody": { + "jobId": "a4d4240d-535f-41c0-bbd8-d835a1cdd1d7", + "lastUpdateDateTime": "2022-05-06T20:07:10Z", + "createdDateTime": "2022-05-06T20:07:07Z", + "expirationDateTime": "2022-05-07T20:07:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:10.9376881Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:09.7558402Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:10.1416852Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json new file mode 100644 index 000000000000..6d586fbbf6d0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json @@ -0,0 +1,1855 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "1389", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4b5edb63-8150-4dbe-9410-ed4084bfbbcb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d31cec72-85e0-417d-9b52-b12fd8d9b7d1", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:53 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1156" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c8c3a681-9b81-4028-be5b-53a7a9084931", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16a532e0-88b6-4d25-8881-2eaafb6cf18d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:54Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6ae7a4ed-a422-4c33-ac9e-b98c921768db", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b1284059-1384-428e-906a-8aef659b9d77", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:54Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "77cf3ef3-998f-45b2-bf8a-238e456ee048", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d1b3483-f3b0-4962-81db-1f0f53b10bcb", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:54Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bbf40615-82cb-449a-8dc5-89b315ef319e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "368b801a-f0de-4f13-adaa-81aea37d434f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:54Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "fe2d055a-6fa7-4395-86ee-68cb6d977609", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e9c56dc9-7979-440a-91eb-1317a12ff60a", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "221" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:59Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "47a2ab25-5883-4fef-9f79-068e174c7953", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2ea8bdfd-8155-4bce-85a9-a0ae19ed6107", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "213" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:59Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "0c4e78cf-7123-49d5-87b5-93c121ab8c03", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "994f72e3-f6bd-4b4b-8f8b-0dc6778c8702", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:07:59Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "86c48695-dd72-4f27-ac26-e49fca78dfd2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d59d5598-1140-4a6a-8f8e-2c9fff703e1c", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "229" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:08:06Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "41ec0a98-c988-4645-8390-7371fcf1d62e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "71d36caf-0a46-4377-aafc-3972a2f71b09", + "Content-Length": "2673", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "433" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:08:07Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:07.3678199Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?api-version=2022-04-01-preview\u0026top=10", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "929629f6-41a2-432c-a21a-76de598a4672", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3f0d3151-37e9-42f8-a3e3-8ed1ce7815ac", + "Content-Length": "1724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "265" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:08:07Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:07.3678199Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "868a22f5-97b2-49e6-8547-42245526b8cc", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5a95713c-d2a9-4e7b-bf26-eb8168a3b134", + "Content-Length": "1743", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "229" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:08:07Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:07.3678199Z", + "status": "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/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8b4fe4a8-baa5-47e3-8a1b-6d46b9c36bae", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f361deb4-d97c-44db-9c73-e1f0ef4ba178", + "Content-Length": "1403", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148" + }, + "ResponseBody": { + "jobId": "93af6dd6-ec1d-467c-a61c-8ce4ff64e0c4", + "lastUpdateDateTime": "2022-05-06T20:08:07Z", + "createdDateTime": "2022-05-06T20:07:53Z", + "expirationDateTime": "2022-05-07T20:07:53Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:59.7839096Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:07.3678199Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json new file mode 100644 index 000000000000..f20947f9e139 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json @@ -0,0 +1,4035 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ef70b2d0-5c06-4f49-b7e9-bfea513a33bb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "95f47a46-33b1-4808-a835-97c869c87ba1", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:12 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "215" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "911593e9-d4de-44fd-8bd7-2f0fecb47d70", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cbfccdfc-168e-4193-9381-2c219ef23a5d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:13Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "dcf4f2b7-5fba-4d8d-a2a6-e9c6bc046e1c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "39963846-ebf6-482e-b206-74ba402ba2b0", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:13Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ada016ba-b924-4a16-8d5f-6f8d434fa3e9", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "93d46993-ef4c-4292-b36c-b8391bf4e052", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:13Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f37757ed-cf7a-49d5-84ca-061bcd418eb0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "38e30a56-513b-4beb-9024-62629624ee86", + "Content-Length": "4308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:14Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 3, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5fc69153-e9ae-4887-bcd5-e5db041b89ab", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "524c6d12-a7dd-4aa7-a2e2-66c9327f0b84", + "Content-Length": "4308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "42" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:14Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 3, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "801c1243-b57a-426d-a0f6-30ecccf3515e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cdef193a-d855-4ed6-b13a-25f2de550f5b", + "Content-Length": "4308", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:19Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 3, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f47ad8ea-8bb1-4ee9-a17d-c895d69a6e2e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0479f3c3-1464-455f-bcc9-06c32a5e1ecf", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "141" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:21Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.2949145Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:20.9970786Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.330212Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a3937ac7-1bcd-45a0-92dd-214886a0c002", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "523c372d-8a7e-4330-bf3b-058194260ce4", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "129" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:21Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.2949145Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:20.9970786Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.330212Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "337610a4-37ee-4f56-b741-8e6fe47f9d31", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0c51344d-8654-4dc2-a415-af065b89cb7e", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:21Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.2949145Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:20.9970786Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.330212Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/cc20a6cb-dbef-4b58-88a4-3a158192782d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7f34bf89-8c09-4237-9b95-a4c0c65d36e2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d92288e1-b16c-41d6-844f-a7a0e14d8b27", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152" + }, + "ResponseBody": { + "jobId": "cc20a6cb-dbef-4b58-88a4-3a158192782d", + "lastUpdateDateTime": "2022-05-06T20:08:21Z", + "createdDateTime": "2022-05-06T20:08:13Z", + "expirationDateTime": "2022-05-07T20:08:13Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:14.1186848Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.2949145Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:20.9970786Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:21.330212Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..7821b5f74fce --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,524 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "417", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5719b01b-2916-42d6-b125-f29077028787", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d46b38a3-7097-4b9d-a756-44a7e61c7b60", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:54 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/8d317d2e-1adb-4161-82cc-9c560a1047c4?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "228" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8d317d2e-1adb-4161-82cc-9c560a1047c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2bfadc93-a215-4f08-8d60-46d3baee17b7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5185fe99-12a3-47e4-91eb-f89d92e81f30", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "8d317d2e-1adb-4161-82cc-9c560a1047c4", + "lastUpdateDateTime": "2022-05-06T20:06:55Z", + "createdDateTime": "2022-05-06T20:06:55Z", + "expirationDateTime": "2022-05-07T20:06:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8d317d2e-1adb-4161-82cc-9c560a1047c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "12922cfd-669d-4667-9b70-e37f548163c6", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "791100b7-6208-4452-9583-77038b57d8d7", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "8d317d2e-1adb-4161-82cc-9c560a1047c4", + "lastUpdateDateTime": "2022-05-06T20:06:55Z", + "createdDateTime": "2022-05-06T20:06:55Z", + "expirationDateTime": "2022-05-07T20:06:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8d317d2e-1adb-4161-82cc-9c560a1047c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4f1d3dd6-1d57-4ca2-842b-eab33f61bcaf", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c229c347-f1f9-4154-8b4c-bf5e090f3e0d", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134" + }, + "ResponseBody": { + "jobId": "8d317d2e-1adb-4161-82cc-9c560a1047c4", + "lastUpdateDateTime": "2022-05-06T20:06:57Z", + "createdDateTime": "2022-05-06T20:06:55Z", + "expirationDateTime": "2022-05-07T20:06:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.4778481Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.4607151Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.7292241Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8d317d2e-1adb-4161-82cc-9c560a1047c4?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bdd78da9-a0dd-4d87-856c-4ca2c052ab12", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "184c65a7-64cb-4cbe-aa0e-f7cba78605dd", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138" + }, + "ResponseBody": { + "jobId": "8d317d2e-1adb-4161-82cc-9c560a1047c4", + "lastUpdateDateTime": "2022-05-06T20:06:57Z", + "createdDateTime": "2022-05-06T20:06:55Z", + "expirationDateTime": "2022-05-07T20:06:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.4778481Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.4607151Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:06:57.7292241Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json new file mode 100644 index 000000000000..f5f58a68e6a4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json @@ -0,0 +1,1141 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "376", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "11b15c65-9111-465e-a954-e8fc993c1c41", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": ":)", + "language": "en" + }, + { + "id": "1", + "text": ":(", + "language": "en" + }, + { + "id": "2", + "text": "", + "language": "en" + }, + { + "id": "3", + "text": ":P", + "language": "en" + }, + { + "id": "4", + "text": ":D", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "50a28501-43d0-4d8b-bea8-f9c53c227813", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:17 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "295" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5d289a79-0965-4dcd-8066-0e50dbc0df2e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "da8ef723-4c7d-4aad-bd09-133bf438ae70", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:18Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "73fe97bf-ab61-4021-9fc1-72c8802520c0", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fce2ae8e-ab03-4d94-8d19-0029489ef56b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:18Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1e9114b4-a189-4956-9a77-4f932af79b67", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "be06bd06-a3e6-4bbb-9574-ff7785c334aa", + "Content-Length": "1110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "68" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:19Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:19.9902602Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e9fd61dc-1ffc-4f7b-9333-9fc7ef42028d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16d5bd05-4ccd-4deb-b8e1-a1e69e09e4b4", + "Content-Length": "1952", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:20Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:19.9902602Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:20.5415948Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "73f7d495-9fec-4202-9bf3-dc87b9b783cb", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7021665d-40a3-41a5-8a81-65038851cdee", + "Content-Length": "1952", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "196" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:20Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:19.9902602Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:20.5415948Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a81e9946-8597-4d96-8b9e-b499687313ce", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1b5455e1-f9ab-49c6-b9cd-0305ca1666eb", + "Content-Length": "2868", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "190" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:25Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:19.9902602Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:25.329126Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:20.5415948Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c16194d9-f7ea-40e3-8422-5ffaa700d6e3?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "db8bbdb4-7d6e-4133-9f71-1ec34d3da33b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae1e6bea-7c14-4578-8e4c-099633a58ca5", + "Content-Length": "2868", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "173" + }, + "ResponseBody": { + "jobId": "c16194d9-f7ea-40e3-8422-5ffaa700d6e3", + "lastUpdateDateTime": "2022-05-06T20:07:25Z", + "createdDateTime": "2022-05-06T20:07:17Z", + "expirationDateTime": "2022-05-07T20:07:17Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:19.9902602Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:25.329126Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:20.5415948Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json new file mode 100644 index 000000000000..5d52227d93e0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json @@ -0,0 +1,522 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c068c43c-4b53-4d52-ac89-4c3a550bc7d4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "taskName": "action1", + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "taskName": "action2", + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5fbafa8a-b13a-44b7-b987-5c396f550ce6", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:06:46 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "deb776ab-7a87-4d72-8472-e441a551d585", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "db52fe34-8440-4593-9cc0-e6f8eb3959a8", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:46Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7c33e8cb-81ad-4324-a691-136304ba3dc2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cee76992-888b-4bb6-b2e4-cdae21deb404", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:46Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b943f26a-8bd1-48a5-b2b3-ec2521e01f77", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e192f3ca-a666-4acf-ae38-6874a739bb12", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:48Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:06:48.5772606Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "e6e1b20a-b191-4247-8cd0-d4139d6750a5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "496457c8-e700-4759-ad46-e49151f05479", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:48Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:06:48.5772606Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5137e2d0-0d66-460a-b101-848edd9fb255", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7c818a1e-4065-4b6e-8c19-8d6f923df3d1", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:48Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:06:48.5772606Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3444b2d2-db24-469b-a82e-e864e0844bc2", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "39dd2fc1-d122-4a4c-8db0-608bed4598a2", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "68" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:54Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:06:48.5772606Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:06:54.8010069Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/200d54e4-af16-4ffb-aa5b-9806afb91a3c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "284a1284-f24d-4efd-a13b-070e2a2972a3", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d9ea291-1ca9-4a3c-8bf3-9bb37423458d", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:06:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63" + }, + "ResponseBody": { + "jobId": "200d54e4-af16-4ffb-aa5b-9806afb91a3c", + "lastUpdateDateTime": "2022-05-06T20:06:54Z", + "createdDateTime": "2022-05-06T20:06:46Z", + "expirationDateTime": "2022-05-07T20:06:46Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:06:48.5772606Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:06:54.8010069Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json new file mode 100644 index 000000000000..39ca76bf9548 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json @@ -0,0 +1,826 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "320", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "96a34588-2deb-45ef-84f5-b6c242b14dee", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I will go to the park." + }, + { + "id": "2", + "text": "Este es un document escrito en Espa\u00F1ol." + }, + { + "id": "3", + "text": "\u732B\u306F\u5E78\u305B" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6df653e4-d3a2-48c9-8e05-7519d0554ee6", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:35 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "204" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "392a9ae5-d8ea-4084-84f8-d4c0a44c4972", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8bd19158-bb02-4ea9-9239-474322753ef7", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:35Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "4c0bb447-9d18-47a1-9bbb-32d6f7f61e7b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "eeb881d3-8c7b-424c-a426-01c000bc749c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:35Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c1c413e-df6c-48c8-b331-f49563daf46b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "832d30ee-5129-4d38-93af-d085c6cad009", + "Content-Length": "1166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "97" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:37Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0166944Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0969997Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "5e508fb6-8ef5-4359-8f3b-fc156a58cdff", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "60c0ba4b-77c6-41f7-bf00-6b4a63b6a1a0", + "Content-Length": "1166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "118" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:37Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0166944Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0969997Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ee6e0cf5-3521-4934-9584-48353e31cd52", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0fcba4b7-84ad-42f4-b19b-b18dc0177681", + "Content-Length": "1166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "103" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:37Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0166944Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0969997Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "ac2819a3-25ec-4fa8-810d-d3456cf1950e", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b604e9fe-fd75-4edb-a270-cbdea9d8a543", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:43Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0166944Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0969997Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:43.5764358Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/645d9cb9-2f60-4517-92c2-65da2a367568?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a80e137e-3218-4f08-a860-70902334c53d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "346f2fc7-d9da-4e50-922e-08a7f210a270", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155" + }, + "ResponseBody": { + "jobId": "645d9cb9-2f60-4517-92c2-65da2a367568", + "lastUpdateDateTime": "2022-05-06T20:07:43Z", + "createdDateTime": "2022-05-06T20:07:35Z", + "expirationDateTime": "2022-05-07T20:07:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0166944Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:37.0969997Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:43.5764358Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..e929a95df778 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json @@ -0,0 +1,584 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "489cfda6-5391-41f9-b1fa-b9806071135b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d0a6339b-3973-4f86-81c8-04f2cee1d1c2", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:26 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "255" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "82196e69-b594-4b7b-bae3-f012c10a2184", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bfccd4af-5d72-4ba3-9b44-e697ed5f0602", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "5d18a294-e20a-47c8-9072-1e2b28942d3e", + "lastUpdateDateTime": "2022-05-06T20:07:27Z", + "createdDateTime": "2022-05-06T20:07:27Z", + "expirationDateTime": "2022-05-07T20:07:27Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "59ce1242-2e91-410d-bb6b-ed416227423f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a5f0dba1-eeb7-4eee-a786-2308a3dbbaf6", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5d18a294-e20a-47c8-9072-1e2b28942d3e", + "lastUpdateDateTime": "2022-05-06T20:07:27Z", + "createdDateTime": "2022-05-06T20:07:27Z", + "expirationDateTime": "2022-05-07T20:07:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "80c25d33-c84e-4265-a3b3-3401f11ec117", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6cd53a98-c81d-484e-9da3-057eb8c456fd", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "117" + }, + "ResponseBody": { + "jobId": "5d18a294-e20a-47c8-9072-1e2b28942d3e", + "lastUpdateDateTime": "2022-05-06T20:07:29Z", + "createdDateTime": "2022-05-06T20:07:27Z", + "expirationDateTime": "2022-05-07T20:07:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.4669244Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.3534378Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "7d6982b6-88d1-4d0c-87ce-f5c6603bc00f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d7abeffb-a917-44a2-b572-2a37c87cfb1d", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134" + }, + "ResponseBody": { + "jobId": "5d18a294-e20a-47c8-9072-1e2b28942d3e", + "lastUpdateDateTime": "2022-05-06T20:07:30Z", + "createdDateTime": "2022-05-06T20:07:27Z", + "expirationDateTime": "2022-05-07T20:07:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:30.4418374Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.4669244Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.3534378Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5d18a294-e20a-47c8-9072-1e2b28942d3e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "50b0bfd1-e4f5-4808-aca1-6feb37700046", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bba760fb-cfc9-4063-9a3e-6444d87fd817", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143" + }, + "ResponseBody": { + "jobId": "5d18a294-e20a-47c8-9072-1e2b28942d3e", + "lastUpdateDateTime": "2022-05-06T20:07:30Z", + "createdDateTime": "2022-05-06T20:07:27Z", + "expirationDateTime": "2022-05-07T20:07:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:30.4418374Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.4669244Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:29.3534378Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json new file mode 100644 index 000000000000..a4827ad6dc13 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json @@ -0,0 +1,474 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "62d4517e-87a6-4699-b851-d95d9e342d99", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "002b1be2-4be6-40d6-a714-01ea230f6bdc", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:07:32 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/af6f06d7-a28c-4e5a-a083-0c30c58d9148?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "380" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/af6f06d7-a28c-4e5a-a083-0c30c58d9148?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "175fc42c-3f6c-459e-938f-c8afa2ff1e39", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "243d0d4c-c3ae-4f88-95ab-3f996f332496", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "af6f06d7-a28c-4e5a-a083-0c30c58d9148", + "lastUpdateDateTime": "2022-05-06T20:07:32Z", + "createdDateTime": "2022-05-06T20:07:32Z", + "expirationDateTime": "2022-05-07T20:07:32Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/af6f06d7-a28c-4e5a-a083-0c30c58d9148?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "c85f6168-11ca-46d8-a245-d62b0bc10244", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8807833f-4832-4971-988a-526953f2743b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "af6f06d7-a28c-4e5a-a083-0c30c58d9148", + "lastUpdateDateTime": "2022-05-06T20:07:32Z", + "createdDateTime": "2022-05-06T20:07:32Z", + "expirationDateTime": "2022-05-07T20:07:32Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/af6f06d7-a28c-4e5a-a083-0c30c58d9148?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "12422adb-b517-4a9b-a19e-8f2226f0636b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b8d2ad22-44b4-47de-bccf-7be96974ce45", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137" + }, + "ResponseBody": { + "jobId": "af6f06d7-a28c-4e5a-a083-0c30c58d9148", + "lastUpdateDateTime": "2022-05-06T20:07:34Z", + "createdDateTime": "2022-05-06T20:07:32Z", + "expirationDateTime": "2022-05-07T20:07:32Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.2689121Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.2917742Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.4652197Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/af6f06d7-a28c-4e5a-a083-0c30c58d9148?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "920254a5-d0e7-4866-9e38-591c7feeee9c", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b49ea21d-53b1-4fe5-a8ad-2e51358c170e", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:07:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143" + }, + "ResponseBody": { + "jobId": "af6f06d7-a28c-4e5a-a083-0c30c58d9148", + "lastUpdateDateTime": "2022-05-06T20:07:34Z", + "createdDateTime": "2022-05-06T20:07:32Z", + "expirationDateTime": "2022-05-07T20:07:32Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.2689121Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.2917742Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:07:34.4652197Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json new file mode 100644 index 000000000000..9ac3e14d5f67 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json @@ -0,0 +1,65 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "125", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3121c416-8c75-48ed-a16f-5bf37aefe5be", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "b88cfcc4-7583-4a0c-a115-aff4fcd2b0fb", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Document text is empty." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json new file mode 100644 index 000000000000..52e5b0010640 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json @@ -0,0 +1,290 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "5239", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "628ba8e8-3bf8-4991-9dd8-62dc54547f76", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6b472647-5594-4c37-8108-ea81e4c15990", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:23 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b115a33d-75fb-4a8c-a4fc-78b64805d2f2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "160" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b115a33d-75fb-4a8c-a4fc-78b64805d2f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bd062086-2480-4087-8200-d19b29f0c72d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c2fd4191-3c2c-4730-b4fc-c92bbd0a8406", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b115a33d-75fb-4a8c-a4fc-78b64805d2f2", + "lastUpdateDateTime": "2022-05-06T20:08:23Z", + "createdDateTime": "2022-05-06T20:08:23Z", + "expirationDateTime": "2022-05-07T20:08:23Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b115a33d-75fb-4a8c-a4fc-78b64805d2f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a608972d-8fdf-4c60-b381-14d14ce5b139", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ddb282f9-f25e-415d-b77f-e65a3403236a", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "b115a33d-75fb-4a8c-a4fc-78b64805d2f2", + "lastUpdateDateTime": "2022-05-06T20:08:23Z", + "createdDateTime": "2022-05-06T20:08:23Z", + "expirationDateTime": "2022-05-07T20:08:23Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b115a33d-75fb-4a8c-a4fc-78b64805d2f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "834ea888-5d73-41fd-bdf6-739b4808a852", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5c710a3e-305b-4b87-9218-dfac60f86b3c", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "b115a33d-75fb-4a8c-a4fc-78b64805d2f2", + "lastUpdateDateTime": "2022-05-06T20:08:25Z", + "createdDateTime": "2022-05-06T20:08:23Z", + "expirationDateTime": "2022-05-07T20:08:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:25.7761032Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b115a33d-75fb-4a8c-a4fc-78b64805d2f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "32bad3e6-998d-416a-8c7a-844b6338a84a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f82a25b9-01d9-4f52-b670-e0c79692ba57", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "b115a33d-75fb-4a8c-a4fc-78b64805d2f2", + "lastUpdateDateTime": "2022-05-06T20:08:25Z", + "createdDateTime": "2022-05-06T20:08:23Z", + "expirationDateTime": "2022-05-07T20:08:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:25.7761032Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json new file mode 100644 index 000000000000..bf9b578b2577 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json @@ -0,0 +1,69 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "198", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "2c339868-e1c2-430b-a567-b8c5de41a0a1", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "1f00560a-4e58-4301-96f3-b6384eef094d", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "4" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "InvalidTask in AnalyzeInput", + "innererror": { + "code": "InvalidRequestBodyFormat", + "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json new file mode 100644 index 000000000000..3b8445474a9c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json @@ -0,0 +1,67 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "07c10705-379b-47d5-893e-43690b92fd79", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "bad" + } + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "d8d982f3-3aad-48f1-aa86-242d68a3506c", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:37:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "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." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json new file mode 100644 index 000000000000..553c29cc3ba7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json @@ -0,0 +1,2560 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "710471", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "07b5d70c-d207-429c-9fb5-15b3d0900bff", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 413, + "ResponseHeaders": { + "apim-request-id": "1d546fb5-1591-4981-b5a5-32986244e406", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "223" + }, + "ResponseBody": { + "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: 125000" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json new file mode 100644 index 000000000000..5cb57e3fff21 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json @@ -0,0 +1,190 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "1345", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a557284a-116c-4617-90b2-de30a4099262", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "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": "random text", + "language": "en" + }, + { + "id": "25", + "text": "random text", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "6ef413c6-9b12-463b-bd67-c1db1626d242", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 25 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json new file mode 100644 index 000000000000..d4241936739a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json @@ -0,0 +1,298 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "a7d0f5f4-beeb-4132-bb01-9bd0fd2ecc0d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "89768212-d204-493b-bb6e-4410f5eb580a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:25 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/099bfbc7-925d-4af4-8771-78b3181fb1fd?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "241" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/099bfbc7-925d-4af4-8771-78b3181fb1fd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "f8ad1225-5457-450f-ba56-ef4ad0e7789b", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4023acfc-edcc-48b5-8b73-d48cc4b9fbb6", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "099bfbc7-925d-4af4-8771-78b3181fb1fd", + "lastUpdateDateTime": "2022-05-06T20:08:26Z", + "createdDateTime": "2022-05-06T20:08:26Z", + "expirationDateTime": "2022-05-07T20:08:26Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/099bfbc7-925d-4af4-8771-78b3181fb1fd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "3c5041f0-5c82-41ba-a387-e6113ae43cd4", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3174e27f-2984-4f32-8c29-6c3312dca431", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "099bfbc7-925d-4af4-8771-78b3181fb1fd", + "lastUpdateDateTime": "2022-05-06T20:08:26Z", + "createdDateTime": "2022-05-06T20:08:26Z", + "expirationDateTime": "2022-05-07T20:08:26Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/099bfbc7-925d-4af4-8771-78b3181fb1fd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "df2573df-ed4e-4e8b-9262-98a36c8c065d", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "227fcdec-af02-4a85-8b92-c48f0902df7f", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "jobId": "099bfbc7-925d-4af4-8771-78b3181fb1fd", + "lastUpdateDateTime": "2022-05-06T20:08:28Z", + "createdDateTime": "2022-05-06T20:08:26Z", + "expirationDateTime": "2022-05-07T20:08:26Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:28.2881196Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/099bfbc7-925d-4af4-8771-78b3181fb1fd?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "1a27b321-91e2-4a9e-8fab-90ae9aa54b55", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1e3a1a82-8925-45ee-8452-530965bd76b5", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "099bfbc7-925d-4af4-8771-78b3181fb1fd", + "lastUpdateDateTime": "2022-05-06T20:08:28Z", + "createdDateTime": "2022-05-06T20:08:26Z", + "expirationDateTime": "2022-05-07T20:08:26Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:28.2881196Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json new file mode 100644 index 000000000000..50f780a89f56 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -0,0 +1,544 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "205", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "977b58db-5cb7-4d2a-9426-65474663e115", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e34509ad-c87f-45db-937c-23d3da584f9d", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:30 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/89d3184d-6847-44db-a958-e8554664bdb1?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89d3184d-6847-44db-a958-e8554664bdb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "b530c30f-5e1b-46f8-baf8-1b42fcef7f87", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a29b1031-dbb0-4f4b-9928-dd6081a2dd7f", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "89d3184d-6847-44db-a958-e8554664bdb1", + "lastUpdateDateTime": "2022-05-06T20:08:31Z", + "createdDateTime": "2022-05-06T20:08:31Z", + "expirationDateTime": "2022-05-07T20:08:31Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89d3184d-6847-44db-a958-e8554664bdb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "d58736ce-19d0-465e-9ed5-250834b35513", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0c27bfe7-4883-4428-8279-65e7c62be21a", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "89d3184d-6847-44db-a958-e8554664bdb1", + "lastUpdateDateTime": "2022-05-06T20:08:31Z", + "createdDateTime": "2022-05-06T20:08:31Z", + "expirationDateTime": "2022-05-07T20:08:31Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89d3184d-6847-44db-a958-e8554664bdb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bf9842a5-bdb9-4754-836b-729b11e65089", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "adb7cc22-f684-4c22-a772-ca14152dea79", + "Content-Length": "1786", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "jobId": "89d3184d-6847-44db-a958-e8554664bdb1", + "lastUpdateDateTime": "2022-05-06T20:08:32Z", + "createdDateTime": "2022-05-06T20:08:31Z", + "expirationDateTime": "2022-05-07T20:08:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:32.149503Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89d3184d-6847-44db-a958-e8554664bdb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "af74e009-698b-407b-99e2-6456b259b9e7", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dc0acb8b-ff08-4881-8daa-e462aa49821d", + "Content-Length": "1786", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "89d3184d-6847-44db-a958-e8554664bdb1", + "lastUpdateDateTime": "2022-05-06T20:08:32Z", + "createdDateTime": "2022-05-06T20:08:31Z", + "expirationDateTime": "2022-05-07T20:08:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:32.149503Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json new file mode 100644 index 000000000000..e8515ab23c60 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -0,0 +1,544 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "Content-Length": "202", + "Content-Type": "application/json", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "6ccedfc8-fe7e-40fd-be91-acefffd24253", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "2a260e14-0f78-4c1a-9a0b-c3b980d5a5e9", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:08:28 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/23284095-171a-47b8-91b4-3e6a3ddae45d?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "126" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23284095-171a-47b8-91b4-3e6a3ddae45d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "522e300d-243a-4547-ba4b-dd77f4337b4f", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0df0156e-7e11-41de-8e01-a44737ca6379", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "23284095-171a-47b8-91b4-3e6a3ddae45d", + "lastUpdateDateTime": "2022-05-06T20:08:28Z", + "createdDateTime": "2022-05-06T20:08:28Z", + "expirationDateTime": "2022-05-07T20:08:28Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23284095-171a-47b8-91b4-3e6a3ddae45d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "db5782af-1176-4e6b-8857-fa3ecdc2037a", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8a87a339-2deb-43e9-935c-ce85b5b9f273", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "23284095-171a-47b8-91b4-3e6a3ddae45d", + "lastUpdateDateTime": "2022-05-06T20:08:28Z", + "createdDateTime": "2022-05-06T20:08:28Z", + "expirationDateTime": "2022-05-07T20:08:28Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23284095-171a-47b8-91b4-3e6a3ddae45d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "bee3830c-eed4-4446-a130-cd5d3815da41", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "824e879b-76b0-4b7d-af87-0ac6b96d6625", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "jobId": "23284095-171a-47b8-91b4-3e6a3ddae45d", + "lastUpdateDateTime": "2022-05-06T20:08:29Z", + "createdDateTime": "2022-05-06T20:08:28Z", + "expirationDateTime": "2022-05-07T20:08:28Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:29.0771197Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23284095-171a-47b8-91b4-3e6a3ddae45d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate, br", + "Accept-Language": "en-US", + "Connection": "keep-alive", + "ocp-apim-subscription-key": "api_key", + "Referer": "http://localhost:9876/", + "sec-ch-ua": "", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "", + "Sec-Fetch-Dest": "empty", + "Sec-Fetch-Mode": "cors", + "Sec-Fetch-Site": "same-site", + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/100.0.4889.0 Safari/537.36", + "x-ms-client-request-id": "8cdece79-ff86-4b95-9b80-fcb8a94cade5", + "x-ms-useragent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 OS/Linuxx86_64" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b3b10b0d-bcd4-4e46-a58e-d9fe9e26f0a1", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:08:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "23284095-171a-47b8-91b4-3e6a3ddae45d", + "lastUpdateDateTime": "2022-05-06T20:08:29Z", + "createdDateTime": "2022-05-06T20:08:28Z", + "expirationDateTime": "2022-05-07T20:08:28Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:08:29.0771197Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json deleted file mode 100644 index 862c64c778ec..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000001-0000000000000002-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a884d8c8-ccc1-4a6f-b5fc-5c6ca72a817d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c4f8f5cf-cacf-4ba5-b825-71031f26c7f3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "153" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f61043cc077e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000002-0000000000000004-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b49cdb59-b3a3-4463-b97a-b6819e3770a7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e7347206-5feb-4fab-a7ac-bc7d20d10242", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "171" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index bcb4da7575c7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000006-0000000000000012-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8ac8d797-66e3-4271-8f44-930eb32ba681", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "63f23684-719f-4ebc-b6c9-5a76fb9ab29f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:10:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "446" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a4395f2efdf2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "84", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000008-0000000000000016-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a1802d39-7b93-49d7-b06e-e3a18955e9ee", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "The food and service is not good", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b89e4f99-d4b3-4b2b-86a7-ab21d8fc2b54", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "113" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7b0cf97b1097..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "70", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000009-0000000000000018-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8f3bcf08-07ef-4190-8e51-5113986e83bd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "today is a hot day", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cb5abff2-e1f0-4cd2-b288-a10405fdc668", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "144" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9808184562b3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "126", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000007-0000000000000014-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "581942dc-c0ae-4272-9534-56dd5e76a724", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "36fe914f-7beb-4cac-bb60-0b5aa947e73b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "182" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index cc10f5982544..000000000000 --- 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 +++ /dev/null @@ -1,709 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "622", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000004-0000000000000008-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "860c2ea2-e758-4def-8675-b49311209800", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "129c8030-28ab-40d6-8476-c3794f200dc3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", - "Date": "Fri, 18 Feb 2022 19:10:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d5eaef5b7aca..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "531", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000005-0000000000000010-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1cbe19ef-e424-40df-bf74-bfb3aef5de88", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "de13be66-7fa9-49c5-b69b-c3105b1d1860", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "214" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d3b8a6e9406e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000003-0000000000000006-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "391307b3-baec-4f6d-92eb-55d1a16cc77d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Hello world!", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e115077e-053d-4921-ad6b-d40989232cce", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json deleted file mode 100644 index 77d94bc6933d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "65", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000011-0000000000000022-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1b3b2744-273d-45a4-a444-434513a5ca95", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "impossible", - "countryHint": "fr" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9577c548-56e9-4184-9588-bcaeebdf0a21", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "French", - "iso6391Name": "fr", - "confidenceScore": 1.0 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d413ce89e55d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "651", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000015-0000000000000030-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cbdcdd54-c5c7-4dde-9a4d-805cbb737da9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "mx" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "044df7dd-e261-401f-ab6c-6b6921b93085", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:10:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 21b952186cbd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "506", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000010-0000000000000020-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "66fd7ed5-5da7-4293-a198-255a781e1e19", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "countryHint": "us" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e9841164-7764-496d-baa5-f17a1497c2d4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9aacbd051a0b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "715", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000013-0000000000000026-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "524b5966-8f07-4a8e-9e56-5a90a5614124", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bd728e3f-a593-4b40-b21e-e26df90cae17", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:10:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d7562306abf9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "97", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000012-0000000000000024-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "74e33967-4173-45e8-b558-b027ff002e2f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I use Azure Functions to develop my service.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af3748af-90ba-4e56-9232-a435fe8faec8", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "English", - "iso6391Name": "en", - "confidenceScore": 0.95 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index e09409544dd2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "72", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000014-0000000000000028-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7398fac8-34e7-48ef-923b-bb716ca9de48", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "hello", - "countryHint": "invalidcountry" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "26e9d9f4-f1b0-418e-9520-04aeb0448a9c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d3a86e1a838f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000024-0000000000000048-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c11e6aa6-3df9-44c9-b3be-6365bf1a8ec3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c09f558-6540-4537-8537-4ae5736dcbfe", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:10:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "16" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "4", - "keyPhrases": [ - "last book" - ], - "warnings": [] - }, - { - "id": "5", - "keyPhrases": [ - "Monte Rainier", - "caminos" - ], - "warnings": [] - }, - { - "id": "6", - "keyPhrases": [ - "mucho tr\u00E1fico", - "d\u00EDa", - "carretera", - "ayer" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9e98a8783a76..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000022-0000000000000044-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "69e85826-51fe-4548-a89a-2383005b0db3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a63219ca-b168-40ff-b949-fc2cce2d162e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "16" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index db20271730d4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000021-0000000000000042-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ce0c1aa0-713f-404c-9927-ec5e921d2c27", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f22ece82-ed63-423a-8e5d-9c1cfbc05f94", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f464d13e58fe..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000023-0000000000000046-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "af47ad74-dbe7-4502-8c8d-1997b076329a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3d55bdfa-5c7c-46dd-946e-5e9db1a8b043", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8d9a43af2543..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000019-0000000000000038-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "13d1c2f0-0201-4b85-a8a4-c9d28d86defe", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b9a742a-317c-45c3-9485-0db8a6a5d872", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:10:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.85 - } - ], - "warnings": [] - }, - { - "id": "5", - "entities": [ - { - "text": "carretera", - "category": "Location", - "offset": 3, - "length": 9, - "confidenceScore": 0.81 - }, - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 77d04b6c98e0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000017-0000000000000034-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ab17ecdf-dc58-461b-9c68-95b150a0dfa3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "80c07799-9650-4b9f-a74b-ebf8e096ef8d", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 0bdd7e4ecb05..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000016-0000000000000032-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a135e4b3-91a6-40e4-9482-24f3b53ed386", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f2f03219-db45-41de-9218-3b58491424e8", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9d61d61334bc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000020-0000000000000040-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c343ab38-6d51-43c7-b038-d8c6897e2b4d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "ffcc98cf-3108-497b-ac73-2165e1543023", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 99ba9eb4f1a9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000018-0000000000000036-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5363acd0-7dac-47d8-9ea7-aef2e57e0c4b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eb524646-4946-4da6-b520-8aa0d217f995", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ad8c0669b46d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000038-0000000000000076-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7ec72b31-249c-43b5-8447-9b69b63d199f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7bb6d4a9-a58c-4f05-a8cc-9f28147b2abb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:10:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "88" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 36ac11a58dfb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000036-0000000000000072-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e0a0fb0c-9a7b-4032-acc1-56eb24550f5f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6f0d59e6-f596-4518-a92d-e73bf977359b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 54b84006661d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000035-0000000000000070-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "778214ab-9bed-4147-b6e9-f76122b8c20a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "55ad8a02-40d5-4756-8609-a6b2bfbb9e3a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index de938d35da51..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000039-0000000000000078-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5dc28bbc-135c-46b1-b6a3-035df3e3f122", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "f06c9199-f751-4768-8a55-586285f883b7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 064f2ed13f92..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000037-0000000000000074-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "572c4bd7-064c-424a-85fd-7dced4a663f1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b4326299-79ef-4d90-b002-96f28f90f147", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ab117cccd4e0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026domain=PHI", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "107", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000031-0000000000000062-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2352320e-e4b7-43d1-900b-7fd34339c698", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I work at Microsoft and my phone number is 333-333-3333", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f23cc1cb-46e3-4a6c-979d-4f6ad64ec52f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "I work at ********* and my phone number is ************", - "id": "0", - "entities": [ - { - "text": "Microsoft", - "category": "Organization", - "offset": 10, - "length": 9, - "confidenceScore": 0.94 - }, - { - "text": "333-333-3333", - "category": "PhoneNumber", - "offset": 43, - "length": 12, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a17f2d496f2a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000032-0000000000000064-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6e0f399e-820b-468e-b6c4-fad33ba48d85", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a49e676f-228d-4be3-aab6-fec833d99c3b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 98d6195a5353..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000030-0000000000000060-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "442fb905-04ee-4d13-ae77-e7dbb32cb490", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c74b8bd8-36a2-4705-b034-d65b2d4bb7bd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:10:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", - "id": "5", - "entities": [ - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b03e3fd19804..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000027-0000000000000054-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d17173f7-16f7-4da8-9daf-9117c8d42dd9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "75c4e80d-ecd0-4c92-9855-25d4a23d268b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b816c4f86ad2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000026-0000000000000052-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f18b0f88-be13-4042-a3ad-42c3bfeef2a4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "faf908a4-d125-4e21-983a-15f0e7280151", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:10:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a2ac04d8c267..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "95", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000028-0000000000000056-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fed46b4a-7a7e-43b9-b495-71d2e5f693ab", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Your Social Security Number is 859-98-0987.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "963e0171-6bba-459f-a935-7f157b41bbb4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index fbfaa563f505..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "16", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000025-0000000000000050-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d204edec-ca82-4ecd-9baf-ca06db86540d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "c6d1f91d-6446-4ffa-b9b1-e06ef7bc64e5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid Request.", - "innererror": { - "code": "MissingInputRecords", - "message": "Missing input records." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7b59007ab0a3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000033-0000000000000066-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fb17c632-c786-49d4-af10-8881bd35a139", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3223877f-7405-4587-957b-3d50d80edfc5", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "Patient name is *** and SSN is ***********", - "id": "0", - "entities": [ - { - "text": "Joe", - "category": "Person", - "offset": 16, - "length": 3, - "confidenceScore": 0.78 - }, - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 31, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000034-0000000000000068-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1e78c60b-ce96-451d-a19a-7b7ad25e8a05", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2093faf1-8c21-4f2a-8a2a-0dce5bbddb64", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "23" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c11b4a67a6a1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000029-0000000000000058-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f024f9f4-5a89-4b7b-a437-3287293f8dd5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "18d5dd45-f887-463d-bc59-9546b051d4fa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:10:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c384e860ae9c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000044-0000000000000088-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0994537b-ed41-4024-af61-55eba711bbb1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "59240380-a96a-4803-8436-1f7b0373c900", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 07b23daba452..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000045-0000000000000090-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4479d767-04d4-484a-b733-d227c0cee7d8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f60a6f79-3a10-40ab-9d0c-afba69195499", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a316dcbd0d57..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000040-0000000000000080-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "83dc9d29-7c73-4416-ba83-3e01e599dfc9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "89e1c6e1-04dd-44cd-a0db-1ba8b95101fb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 4609c58fbc34..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000041-0000000000000082-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "435b7fc9-175b-44fa-81a8-583a34adff0f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9bbc26fd-e93b-45dc-a019-04b4b0193f1e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index e5713b2622e3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000042-0000000000000084-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "38e7ec3d-4e1a-41d0-848a-bd3f3bbbc7f3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2691c8b2-1ef3-4a0c-952d-3b392741caa9", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 07a00c845d0a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000043-0000000000000086-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "538b2586-b5cd-4d61-852e-6afedf32dff2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "83391f7d-001b-42df-9b3c-72fc4557e59b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 25, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8793be28ed21..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000046-0000000000000092-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "18eb9a5e-693b-4d98-9477-d8c789195010", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3800c8df-700e-47d2-83c3-fc7572ea3d1b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9ceb09a04c9f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000047-0000000000000094-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ded548d7-4683-45fa-bd04-9cca46883cbf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "98413a01-9d4f-4bb6-8ad7-0b908d964d6e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 35ea76727d69..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000048-0000000000000096-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4daa774a-1064-4730-a7f3-a535f083c020", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "edefffb2-7e00-465a-a43f-2e68f1838121", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "73" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c501444d9498..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000062-0000000000000124-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8bd0bd98-b71e-4e26-bb5c-ff9d343f206a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6c0d9b54-eb2f-40d5-9da7-e7c0cb8ea02e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 599ab6185924..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000063-0000000000000126-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d20b4310-2174-43a3-b1d3-9bddf1f297d1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fc15286a-99ed-4174-8239-9ee26295e00f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 9c5570014afe..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000058-0000000000000116-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "565d0b7a-602d-4848-9d9b-f9e35fc04ee2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3b984a8b-0918-48fd-9381-29da4f1e96ff", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "22" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f1ba44251122..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000059-0000000000000118-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e5b2af08-1f64-437a-902c-941e6fbf906b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b717ad5c-aec1-491e-9f77-ec2a6cc05250", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index fb573b80b239..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000060-0000000000000120-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3f541d2b-e747-451a-b58f-3806f6e5ad9e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b7fa4af-ea2b-4692-bc31-363955892eb3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index bb54b5743326..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000061-0000000000000122-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7e7b1c3c-7182-4bc9-a791-e752f6f08ece", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a6d5db85-de78-4209-92a3-5b270763da42", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 09da61571135..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000064-0000000000000128-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bd4724d1-6e3a-452a-82eb-d073750fe16b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "914d0f22-cba2-47db-ae26-a100f0c26bbd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index cf50b1a9581f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000065-0000000000000130-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8f80a41b-5725-4db8-bf11-863f8f7c37ec", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d7685b40-2658-4acb-a358-4da8c84424c3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 40f8b7ffd01a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000066-0000000000000132-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5ce677d6-173b-4452-83ba-3bcf496401d7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "94976778-f994-4c83-90e6-c2bfd60d78f9", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7c2c171ff140..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000053-0000000000000106-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0bf37572-37c1-49ac-8fc8-e8ca8b2eb00d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f7827435-76e7-4695-96af-088ee97c4958", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 32adffb2986d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000054-0000000000000108-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b0c8c757-da70-4d55-b6c1-40d441a396f0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "be56b8ac-d025-4054-817a-00b8ab9d2429", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 562240a35e3a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000049-0000000000000098-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "21b31d15-219a-4c18-973d-b2a194ee4686", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d1985ecf-1016-414a-af9b-5a2a53be3deb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index bed2ea4ec6ee..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000050-0000000000000100-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c5f8f467-c3e1-478b-b3ae-5a3a701a882e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e8d91887-ced2-468a-8b5e-e31c7c9f10de", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "22" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index acdde2bb8255..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000051-0000000000000102-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "98c8acd4-bbdc-423b-8985-0222137297a8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2ed58c4f-58c8-4206-b55e-e2da8fa70c39", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index a5be081781f4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000052-0000000000000104-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "008d6937-90b3-43a4-ae63-b34b703c3c91", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "df79e04b-69da-48fb-967f-d1b6e6937c1e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 41f3ed33e259..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000055-0000000000000110-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8537d53e-08de-4b6a-9c10-c671fa4b576b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "543cd1d5-ef08-47cd-adcb-01db18e548fe", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a4d15cb4ab79..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000056-0000000000000112-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d139ee55-5781-4145-8393-4843662f5006", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "113ac1ac-7481-4cc6-b50a-888e33b3e8fd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index e9cddaede73e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000057-0000000000000114-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6f0d00c4-d66f-423e-8a29-8ac8e0b474be", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a6e493e1-6e24-49ba-ab55-de919457e39c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:10:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index dcf4d68817d7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,910 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "497", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000135-0000000000000270-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "60f48d87-7180-4e7b-bd96-6d091057a0db", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4839e01f-8f10-47e8-a86b-cf5f156e47f2", - "Date": "Fri, 18 Feb 2022 19:11:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "244" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000136-0000000000000272-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b07f948e-f4f7-4d79-a7e1-9b3aa43778c0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "76c59497-0470-4e4e-b6b7-4b907ae3e5c3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:50Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000137-0000000000000274-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d70ba2bb-b1b5-40c1-accd-5143e3637c89", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5c1d39a6-2b93-416f-bf5c-9df5dedd381b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:50Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000138-0000000000000276-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ef224de9-72bf-414b-94ae-de359a1195be", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5a90a440-b1f8-41a0-81b4-f9a916d4085f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "93" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:52Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:52.3956598Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000139-0000000000000278-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f664820c-7557-4d73-aeb5-bccb38d738d4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6000fdac-b503-4027-8397-bce8b68e64bf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "104" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:53Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:52.3956598Z", - "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": "2022-02-18T19:11:53.1592003Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000140-0000000000000280-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "750572a1-0675-4b18-b872-257229c7b808", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f9987982-53b0-4714-b486-7f55a91e477b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "361" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:56Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:52.3956598Z", - "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": "2022-02-18T19:11:53.1592003Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000141-0000000000000282-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "66e4e48a-9c90-4b9a-a2e1-57aa9ba159a4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6ddcee15-1430-4849-8d16-4a2a180918d7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "152" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:58Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:52.3956598Z", - "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": "2022-02-18T19:11:53.1592003Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:58.4539536Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/10d0cd1d-140f-4c06-a3a0-3dc7eb973454?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000142-0000000000000284-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "90a6126a-873a-4700-9f51-dadd0691c90a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b016d8a0-bcd9-46a6-8342-fcbc3b555dc2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": { - "jobId": "10d0cd1d-140f-4c06-a3a0-3dc7eb973454", - "lastUpdateDateTime": "2022-02-18T19:11:58Z", - "createdDateTime": "2022-02-18T19:11:50Z", - "expirationDateTime": "2022-02-19T19:11:50Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:52.3956598Z", - "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": "2022-02-18T19:11:53.1592003Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:58.4539536Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 3de908be575b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "186", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000128-0000000000000256-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8b319320-1940-463b-9a88-bfd3bc1b2323", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "2c408e5a-0a62-46a8-ad15-347fbb54b25a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Document text is empty." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json deleted file mode 100644 index 76e15f794702..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "268", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000225-0000000000000450-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "99f33333-d1ea-4a50-9132-0394f1b13aaf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "8efc7142-e6c8-467a-bb56-8c2e2d31edb9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "InvalidTask in AnalyzeInput", - "innererror": { - "code": "InvalidRequestBodyFormat", - "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6567893ac318..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json +++ /dev/null @@ -1,931 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "510", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000169-0000000000000338-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "66700cb5-bed4-48b0-8527-77cee9b0bb51", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c519d53b-469f-4d5d-9ac6-0b3ebf1eb2f7", - "Date": "Fri, 18 Feb 2022 19:12:30 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "218" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000170-0000000000000340-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eb2c9f50-c37d-4867-a71f-091f4419fd5a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c3639663-4e57-44fa-8a0d-cac58fa21f4b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:30Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000171-0000000000000342-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "57a6cdb1-88f5-45d1-be64-b3cbe6b801f0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b3e88552-96a6-444d-8de3-534b0c61e71c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:30Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000172-0000000000000344-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "01aa7b70-23a9-4b23-a02a-83985b34dc6f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e4cb4d38-4ee0-41cb-a096-b8d3caed5365", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "50" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:32Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000173-0000000000000346-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cd597814-05e8-4ac5-9d84-b6620bd8e24f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b3b079a8-48ba-4f68-884b-a02687f21acd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "82" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:32Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000174-0000000000000348-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4aebc712-afeb-4923-9477-e4a1a563efc2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "80945d02-9500-47f7-ac7e-be1a502244f3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:32Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000175-0000000000000350-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "59787549-fb58-4546-91aa-efc0a0f00f78", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0b5103ba-43b0-4f9b-bb44-784ad2ac7c4e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:38Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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": "2022-02-18T19:12:38.4074565Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000176-0000000000000352-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "296670e1-b5dd-401c-84b8-91a27c0cb0b7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b378f4bb-79d7-4937-8971-2856a429ff10", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "169" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:39Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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": "2022-02-18T19:12:38.4074565Z", - "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": "2022-02-18T19:12:39.6178927Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/785a446b-9e5d-4529-8f87-6a41f0dedfc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000177-0000000000000354-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a9e385c1-fe34-49dc-9efb-c97067dfcd10", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e408b299-b274-40aa-8dfd-680eec50f932", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "577" - }, - "ResponseBody": { - "jobId": "785a446b-9e5d-4529-8f87-6a41f0dedfc2", - "lastUpdateDateTime": "2022-02-18T19:12:39Z", - "createdDateTime": "2022-02-18T19:12:30Z", - "expirationDateTime": "2022-02-19T19:12:30Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:32.2562629Z", - "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": "2022-02-18T19:12:38.4074565Z", - "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": "2022-02-18T19:12:39.6178927Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 7c0de1f5f589..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json +++ /dev/null @@ -1,442 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "247", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000216-0000000000000432-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6e193f03-987c-4a87-9458-74b0fe046e72", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "UnicodeCodePoint" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e81b8ab0-e8bf-4d9c-8bc5-caa4ced79a13", - "Date": "Fri, 18 Feb 2022 19:13:27 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "107" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000217-0000000000000434-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "90288ee8-1b2e-46bf-b816-eab5ffe96032", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "86d1ca4f-7a9b-484b-8756-e3b67d3777fe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:27Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000218-0000000000000436-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ff55002d-a9a8-4287-a9b3-d51527d25961", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8498849f-2b2e-4446-a7b9-6da60f10120c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:27Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000219-0000000000000438-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6dd84616-9164-47bc-8707-a1c66a639146", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a9e087bf-2b7f-4da2-888e-c6c7d665d917", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:27Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000220-0000000000000440-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2eb4b158-e7b5-4643-a8b7-82b4fd69d2b2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "937629f6-76dc-44eb-a781-d22493000402", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:27Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000221-0000000000000442-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "13af1339-4e90-4731-9ace-53f870518d1e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9122cad0-85cc-46b7-a52b-d9d30e2e9625", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:27Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000222-0000000000000444-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e2f59969-6fb0-43a7-96fe-c4388b250209", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2b5972ba-ccee-408a-8f7f-7542d561020f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:34Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:34.0250164Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/91be2ba8-97b4-44be-8e63-76d44edeed19?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000223-0000000000000446-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3ca00aff-409a-4036-b394-d968c13bff25", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cdcd3c40-c07a-4ef0-a378-d2ce2bbd2a9b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" - }, - "ResponseBody": { - "jobId": "91be2ba8-97b4-44be-8e63-76d44edeed19", - "lastUpdateDateTime": "2022-02-18T19:13:34Z", - "createdDateTime": "2022-02-18T19:13:27Z", - "expirationDateTime": "2022-02-19T19:13:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:34.0250164Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index d7db5c00080a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json +++ /dev/null @@ -1,402 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "436", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000189-0000000000000378-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9640444f-68b1-4b9f-87d6-dd48806b68e7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re 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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "124326b7-1474-4dfc-b926-604e6de323d8", - "Date": "Fri, 18 Feb 2022 19:12:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/397b3093-d9e5-445b-8681-86458b80e92c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "160" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/397b3093-d9e5-445b-8681-86458b80e92c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000190-0000000000000380-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a37f6db4-83b0-4618-83fd-a45cafd301e7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c52e3bfe-da36-4e6f-bfcf-3f54d077ed77", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "397b3093-d9e5-445b-8681-86458b80e92c", - "lastUpdateDateTime": "2022-02-18T19:13:00Z", - "createdDateTime": "2022-02-18T19:12:59Z", - "expirationDateTime": "2022-02-19T19:12:59Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/397b3093-d9e5-445b-8681-86458b80e92c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000191-0000000000000382-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "26ec3197-682f-4a3d-b97c-1258a61e98dc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9bd51842-521a-4f34-adf2-ca899120cac8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "jobId": "397b3093-d9e5-445b-8681-86458b80e92c", - "lastUpdateDateTime": "2022-02-18T19:13:00Z", - "createdDateTime": "2022-02-18T19:12:59Z", - "expirationDateTime": "2022-02-19T19:12:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/397b3093-d9e5-445b-8681-86458b80e92c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000192-0000000000000384-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "71bb95c4-660a-485c-8969-713574d6dbca", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "67574522-062b-4c8f-a98b-39580998e84f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "106" - }, - "ResponseBody": { - "jobId": "397b3093-d9e5-445b-8681-86458b80e92c", - "lastUpdateDateTime": "2022-02-18T19:13:01Z", - "createdDateTime": "2022-02-18T19:12:59Z", - "expirationDateTime": "2022-02-19T19:12:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:01.521691Z", - "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": "2022-02-18T19:13:01.4605975Z", - "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": "2022-02-18T19:13:01.6527263Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/397b3093-d9e5-445b-8681-86458b80e92c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000193-0000000000000386-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "710929d2-ffbd-45b2-ac8a-b3abcb474c28", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "85c150f1-83cf-4185-9f79-cff15ed845f8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "92" - }, - "ResponseBody": { - "jobId": "397b3093-d9e5-445b-8681-86458b80e92c", - "lastUpdateDateTime": "2022-02-18T19:13:01Z", - "createdDateTime": "2022-02-18T19:12:59Z", - "expirationDateTime": "2022-02-19T19:12:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:01.521691Z", - "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": "2022-02-18T19:13:01.4605975Z", - "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": "2022-02-18T19:13:01.6527263Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 124ddbbaa0fa..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "190", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000224-0000000000000448-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e443f5b9-5ca0-4592-a7b4-59027fce776a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "bad", - "stringIndexType": "TextElement_v8" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "f51511f2-881c-48f9-9ef9-84d15b0f0ee2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "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." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 14271442820f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json +++ /dev/null @@ -1,286 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "236fa80d-8638-4d66-9afb-d0a025d7211a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "displayName": "testJob", - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "20b97394-64ce-430e-af85-af98bd015f0d", - "Date": "Fri, 18 Feb 2022 19:38:42 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/82169336-2250-40e6-8358-4a7538a96e12", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "179" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/82169336-2250-40e6-8358-4a7538a96e12?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ece06a23-7915-4d02-9014-22066a73af49", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6cdffd37-82ba-4fad-bce8-fcc1aab3d3a0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "82169336-2250-40e6-8358-4a7538a96e12", - "lastUpdateDateTime": "2022-02-18T19:38:43Z", - "createdDateTime": "2022-02-18T19:38:43Z", - "expirationDateTime": "2022-02-19T19:38:43Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/82169336-2250-40e6-8358-4a7538a96e12?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "da8a666c-0917-415e-ba02-a870767b1957", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b2a83e47-f763-4b49-82ba-f52570b9b5db", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "82169336-2250-40e6-8358-4a7538a96e12", - "lastUpdateDateTime": "2022-02-18T19:38:43Z", - "createdDateTime": "2022-02-18T19:38:43Z", - "expirationDateTime": "2022-02-19T19:38:43Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/82169336-2250-40e6-8358-4a7538a96e12?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0086bc6e-7813-4518-8f44-f0ba7b1262a4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "078d117c-d6bb-4f75-b0b7-3420a2d6fa70", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" - }, - "ResponseBody": { - "jobId": "82169336-2250-40e6-8358-4a7538a96e12", - "lastUpdateDateTime": "2022-02-18T19:38:43Z", - "createdDateTime": "2022-02-18T19:38:43Z", - "expirationDateTime": "2022-02-19T19:38:43Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/82169336-2250-40e6-8358-4a7538a96e12?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "09271dfb-2010-4ccd-831c-6380f779b9c9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ecb71f53-faaf-4712-bcff-2d56f499718a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "82169336-2250-40e6-8358-4a7538a96e12", - "lastUpdateDateTime": "2022-02-18T19:38:46Z", - "createdDateTime": "2022-02-18T19:38:43Z", - "expirationDateTime": "2022-02-19T19:38:43Z", - "status": "succeeded", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:38:46.7349086Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 1b267e463ec4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json +++ /dev/null @@ -1,595 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "440", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000149-0000000000000298-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "93d7cf3e-29ff-41d2-870c-a7ecd9a911c1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0db23e87-7b14-40b0-bf21-02dcf9731ed5", - "Date": "Fri, 18 Feb 2022 19:12:08 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "316" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000150-0000000000000300-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d1baac69-bc9a-4de2-9c5e-2c7891a911cd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "24f34b91-93a8-4a42-907c-89bbac1a3f66", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "lastUpdateDateTime": "2022-02-18T19:12:08Z", - "createdDateTime": "2022-02-18T19:12:07Z", - "expirationDateTime": "2022-02-19T19:12:07Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000151-0000000000000302-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3de1ddef-3053-4e0a-bffd-63df14fc6902", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "52ff1b4c-6f8b-4458-aac7-4afd406d18d4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "lastUpdateDateTime": "2022-02-18T19:12:08Z", - "createdDateTime": "2022-02-18T19:12:07Z", - "expirationDateTime": "2022-02-19T19:12:07Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000152-0000000000000304-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c093fd54-8679-4859-b17d-913e5cfc2560", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "86d2618e-d942-44d2-b087-0d2f4d13d2c0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "83" - }, - "ResponseBody": { - "jobId": "f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "lastUpdateDateTime": "2022-02-18T19:12:10Z", - "createdDateTime": "2022-02-18T19:12:07Z", - "expirationDateTime": "2022-02-19T19:12:07Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:10.1654652Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000153-0000000000000306-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7ce88b32-c7c3-4fe4-9e5a-8d3b7ddd947b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4514b601-78fb-428e-a1fa-2a37cee1fcef", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "221" - }, - "ResponseBody": { - "jobId": "f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "lastUpdateDateTime": "2022-02-18T19:12:11Z", - "createdDateTime": "2022-02-18T19:12:07Z", - "expirationDateTime": "2022-02-19T19:12:07Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:10.1654652Z", - "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": "2022-02-18T19:12:11.1836378Z", - "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": "2022-02-18T19:12:11.630154Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f0cc4b45-c679-4896-8ba9-56d1471d01e6?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000154-0000000000000308-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4272b847-a8fa-4df7-ba45-435dc28dfb08", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3a266194-b067-469d-a6dd-dd276d3e4862", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "241" - }, - "ResponseBody": { - "jobId": "f0cc4b45-c679-4896-8ba9-56d1471d01e6", - "lastUpdateDateTime": "2022-02-18T19:12:11Z", - "createdDateTime": "2022-02-18T19:12:07Z", - "expirationDateTime": "2022-02-19T19:12:07Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:10.1654652Z", - "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": "2022-02-18T19:12:11.1836378Z", - "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": "2022-02-18T19:12:11.630154Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ec469e24057a..000000000000 --- 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 +++ /dev/null @@ -1,772 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "447", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000143-0000000000000286-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fd228710-653c-4766-9381-20ccfb7fcc18", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "6b649203-deaf-4c71-9c99-c4067415588a", - "Date": "Fri, 18 Feb 2022 19:12:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "260" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000144-0000000000000288-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0a84c265-e8f4-4660-93fa-9af60094ff8c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d2637a43-9dde-4418-b6f1-d7ccb73f7ab8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "9ef18d07-0773-499b-b76b-11eb9039ce6e", - "lastUpdateDateTime": "2022-02-18T19:12:01Z", - "createdDateTime": "2022-02-18T19:12:00Z", - "expirationDateTime": "2022-02-19T19:12:00Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000145-0000000000000290-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7e54888d-5838-429a-84cc-23f4ec980f21", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9f784636-8c42-405a-9bd3-05f80567453c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "9ef18d07-0773-499b-b76b-11eb9039ce6e", - "lastUpdateDateTime": "2022-02-18T19:12:01Z", - "createdDateTime": "2022-02-18T19:12:00Z", - "expirationDateTime": "2022-02-19T19:12:00Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000146-0000000000000292-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bafd7c2c-cb3f-4ba8-bd70-28523a41eb9d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5802ba16-8f5d-441e-b795-7d85af32c92d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "131" - }, - "ResponseBody": { - "jobId": "9ef18d07-0773-499b-b76b-11eb9039ce6e", - "lastUpdateDateTime": "2022-02-18T19:12:03Z", - "createdDateTime": "2022-02-18T19:12:00Z", - "expirationDateTime": "2022-02-19T19:12:00Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:03.0408085Z", - "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": "2022-02-18T19:12:03.0218451Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000147-0000000000000294-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "123e80e4-88f6-445b-8833-8c6856cd271a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6fa8fe95-0550-4513-820e-1384a4d6ebc6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "171" - }, - "ResponseBody": { - "jobId": "9ef18d07-0773-499b-b76b-11eb9039ce6e", - "lastUpdateDateTime": "2022-02-18T19:12:03Z", - "createdDateTime": "2022-02-18T19:12:00Z", - "expirationDateTime": "2022-02-19T19:12:00Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:03.0408085Z", - "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": "2022-02-18T19:12:03.0218451Z", - "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": "2022-02-18T19:12:03.4616211Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9ef18d07-0773-499b-b76b-11eb9039ce6e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000148-0000000000000296-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e587be3c-a153-4fd2-95de-2227d48a3b25", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "901c3e7d-af67-40db-84bd-fee8d2834a30", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1367" - }, - "ResponseBody": { - "jobId": "9ef18d07-0773-499b-b76b-11eb9039ce6e", - "lastUpdateDateTime": "2022-02-18T19:12:03Z", - "createdDateTime": "2022-02-18T19:12:00Z", - "expirationDateTime": "2022-02-19T19:12:00Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:03.0408085Z", - "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": "2022-02-18T19:12:03.0218451Z", - "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": "2022-02-18T19:12:03.4616211Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index cc5a2bad646d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json +++ /dev/null @@ -1,1368 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "1471", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000194-0000000000000388-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b55c2503-e436-4cc9-8b14-a9320f64dbb4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "882cfe9f-00ea-4185-854a-0a0f5f69046a", - "Date": "Fri, 18 Feb 2022 19:13:03 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "720" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000195-0000000000000390-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "95803d50-2c7e-459a-80e9-0da4aa7a9b87", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e96c1279-fa89-4160-8983-66766e7d321f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:03Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000196-0000000000000392-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eafd92dc-937f-4bcc-9607-19efbeb952db", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "62a7e17c-486d-4190-b1a0-edc39225c73c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:03Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000197-0000000000000394-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "be524102-2430-4671-99d8-93eee1807fea", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "531c0e0c-824a-4e7c-a706-949d0bdca3e8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:04Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000198-0000000000000396-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f22d4123-2a88-4088-b047-5bba5a9a909f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c47dc506-286a-4029-9799-6d80bcd91ff0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:04Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000199-0000000000000398-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "10e3b0af-9a54-495a-8084-dca200d9e26a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e96d0295-c320-4005-8813-d468096999aa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:08Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000200-0000000000000400-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e1fc6d13-02f6-4fac-8cde-5d5efa98df9c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "05bf6f41-3159-46e9-ba50-0d145eeb16db", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:08Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000201-0000000000000402-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "75be24da-0bd7-4183-a9db-b8cf5eb4b7b1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cc357924-de11-4ed1-99d5-18f92d2c0744", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:14Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000202-0000000000000404-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "20471882-3adf-4bea-ba62-7ac2a3b47603", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "03b22e4f-9cd0-4ce2-b6b7-987ef344a346", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "529" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:15Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:14.7302198Z", - "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": "2022-02-18T19:13:15.8695041Z", - "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.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$top=10\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000203-0000000000000406-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e8cd5a01-6c81-4945-a5d9-07f584225c0f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b9a5a490-64af-4b85-bc30-eccea83479c6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "245" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:15Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:14.7302198Z", - "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": "2022-02-18T19:13:15.8695041Z", - "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.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$skip=10\u0026$top=10\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$skip=10\u0026$top=10\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000204-0000000000000408-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0ff5d63c-b560-48fb-b351-69756ae3e7b3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8d634eb0-1268-4118-8fb9-2bc6c10f0447", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "338" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:15Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:14.7302198Z", - "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": "2022-02-18T19:13:15.8695041Z", - "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.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/00565be5-a295-44b3-97b8-cc718c92c2f4?$skip=20\u0026$top=5\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000205-0000000000000410-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0e8954eb-6e5e-4b40-96e4-3bf4beb2fbc5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "072b921c-17aa-4a03-a816-2f5449b5133b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "153" - }, - "ResponseBody": { - "jobId": "00565be5-a295-44b3-97b8-cc718c92c2f4", - "lastUpdateDateTime": "2022-02-18T19:13:15Z", - "createdDateTime": "2022-02-18T19:13:03Z", - "expirationDateTime": "2022-02-19T19:13:03Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:14.7302198Z", - "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": "2022-02-18T19:13:15.8695041Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 969e0e44ab02..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "286", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000206-0000000000000412-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "59ffc848-7880-4d16-aae8-ace5e74e56b7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e7a3024f-305a-4cef-8fac-669d521e91da", - "Date": "Fri, 18 Feb 2022 19:13:18 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b7b19837-301d-4188-9724-cdf92079c292", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b7b19837-301d-4188-9724-cdf92079c292?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000207-0000000000000414-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4a2aa81f-36d0-460d-9c2c-53fc828c23c3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "37a85d10-22e7-43cc-bf5e-03f3b6d242f9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "b7b19837-301d-4188-9724-cdf92079c292", - "lastUpdateDateTime": "2022-02-18T19:13:18Z", - "createdDateTime": "2022-02-18T19:13:18Z", - "expirationDateTime": "2022-02-19T19:13:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b7b19837-301d-4188-9724-cdf92079c292?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000208-0000000000000416-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c27b7688-cfd3-454d-a01b-c10ecf6fb5f2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1ab195ad-c626-47b9-91b1-e4025e9ecc77", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "b7b19837-301d-4188-9724-cdf92079c292", - "lastUpdateDateTime": "2022-02-18T19:13:18Z", - "createdDateTime": "2022-02-18T19:13:18Z", - "expirationDateTime": "2022-02-19T19:13:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b7b19837-301d-4188-9724-cdf92079c292?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000209-0000000000000418-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7fb32462-d256-41c1-8040-d8b19b3c228b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "018e8caf-a577-4dc1-a666-96da1a1383d6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "48" - }, - "ResponseBody": { - "jobId": "b7b19837-301d-4188-9724-cdf92079c292", - "lastUpdateDateTime": "2022-02-18T19:13:20Z", - "createdDateTime": "2022-02-18T19:13:18Z", - "expirationDateTime": "2022-02-19T19:13:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:20.7764017Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b7b19837-301d-4188-9724-cdf92079c292?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000210-0000000000000420-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7c627e1a-194c-4447-a402-38ad48db820b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f6a53886-17f3-41c5-aa24-145b00391092", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "jobId": "b7b19837-301d-4188-9724-cdf92079c292", - "lastUpdateDateTime": "2022-02-18T19:13:20Z", - "createdDateTime": "2022-02-18T19:13:18Z", - "expirationDateTime": "2022-02-19T19:13:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:20.7764017Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json deleted file mode 100644 index 7aa0bc4218ea..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "484", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1287633b-af84-4ce2-82be-9a1707c90697", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customMultiClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a0f03898-9726-420a-b602-8106fe8288e8", - "Date": "Fri, 18 Feb 2022 19:31:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "175" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "56776155-b737-4c87-8c34-be261e4fd703", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "911623cd-00d9-4de7-a56b-f19aad5d716b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d", - "lastUpdateDateTime": "2022-02-18T19:31:49Z", - "createdDateTime": "2022-02-18T19:31:49Z", - "expirationDateTime": "2022-02-19T19:31:49Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "34292e41-015f-492c-bf67-1d71824c267e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b0ad969a-e38f-4798-bdbc-e355ecd64cd8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d", - "lastUpdateDateTime": "2022-02-18T19:31:49Z", - "createdDateTime": "2022-02-18T19:31:49Z", - "expirationDateTime": "2022-02-19T19:31:49Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cddbcdfe-22fe-4981-93fd-7525bddcbc0c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "70923b76-4475-4829-bc3e-d3f7f7e3b8ec", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d", - "lastUpdateDateTime": "2022-02-18T19:31:50Z", - "createdDateTime": "2022-02-18T19:31:49Z", - "expirationDateTime": "2022-02-19T19:31:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:50.0018593Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ea715e92-8437-4c3c-9fad-91816f0d1900", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "99222e21-661e-468f-b668-d261464ef400", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "500" - }, - "ResponseBody": { - "jobId": "4a5525c8-bd0d-4e6f-b3d5-2ee656511e5d", - "lastUpdateDateTime": "2022-02-18T19:31:50Z", - "createdDateTime": "2022-02-18T19:31:49Z", - "expirationDateTime": "2022-02-19T19:31:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:50.0018593Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json deleted file mode 100644 index 8abc4de9a458..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json +++ /dev/null @@ -1,286 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "485", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c2cda8a6-62ad-4b45-bb5b-865384f83466", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customSingleClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "f3adad39-6c61-44a7-9937-0bd1695e21ef", - "Date": "Fri, 18 Feb 2022 19:31:45 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c20ed88a-8fe0-4de8-b140-957b5aa9e866", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "149" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c20ed88a-8fe0-4de8-b140-957b5aa9e866?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "21f57321-c5e8-4836-b318-aaf375dbb553", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eb34a7ba-b95a-4ced-a032-664e97c9f024", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c20ed88a-8fe0-4de8-b140-957b5aa9e866", - "lastUpdateDateTime": "2022-02-18T19:31:45Z", - "createdDateTime": "2022-02-18T19:31:45Z", - "expirationDateTime": "2022-02-19T19:31:45Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c20ed88a-8fe0-4de8-b140-957b5aa9e866?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9d34b5d0-1dbe-4330-b474-30490caf4de3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a98788f9-28e9-48d6-85a3-d48e7f1af2ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "c20ed88a-8fe0-4de8-b140-957b5aa9e866", - "lastUpdateDateTime": "2022-02-18T19:31:45Z", - "createdDateTime": "2022-02-18T19:31:45Z", - "expirationDateTime": "2022-02-19T19:31:45Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c20ed88a-8fe0-4de8-b140-957b5aa9e866?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d0de753d-8466-4fe7-b1bb-eb92e6a1da87", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e6228161-d99c-4fbe-9ecd-d14d88f71bec", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "c20ed88a-8fe0-4de8-b140-957b5aa9e866", - "lastUpdateDateTime": "2022-02-18T19:31:46Z", - "createdDateTime": "2022-02-18T19:31:45Z", - "expirationDateTime": "2022-02-19T19:31:45Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:46.4037972Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c20ed88a-8fe0-4de8-b140-957b5aa9e866?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f0d68512-fa23-4d56-a609-85736ade169f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "96598f72-8b8e-4fac-9c2a-c112659eae7c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "457" - }, - "ResponseBody": { - "jobId": "c20ed88a-8fe0-4de8-b140-957b5aa9e866", - "lastUpdateDateTime": "2022-02-18T19:31:46Z", - "createdDateTime": "2022-02-18T19:31:45Z", - "expirationDateTime": "2022-02-19T19:31:45Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:46.4037972Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json deleted file mode 100644 index 8f3b94d4f3f5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json +++ /dev/null @@ -1,461 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "516", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fe00b7ea-2fea-4811-94b8-1e81dc0b88b9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customEntityRecognitionTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ad9e10c0-4490-435b-8a16-1bb65c7e8ea4", - "Date": "Fri, 18 Feb 2022 19:31:44 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5c2f151b-4af8-4daf-9c30-c525d043a950", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "124" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5c2f151b-4af8-4daf-9c30-c525d043a950?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2f579964-0de7-4fd0-9962-8a4a231aaa7b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "654836a8-2981-4400-8187-50c4cee199b1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "5c2f151b-4af8-4daf-9c30-c525d043a950", - "lastUpdateDateTime": "2022-02-18T19:31:44Z", - "createdDateTime": "2022-02-18T19:31:44Z", - "expirationDateTime": "2022-02-19T19:31:44Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5c2f151b-4af8-4daf-9c30-c525d043a950?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6714e85a-43cc-4f95-98df-7c16fafb24cb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9d8f5f77-aa06-47bf-88a3-055f00871497", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "5c2f151b-4af8-4daf-9c30-c525d043a950", - "lastUpdateDateTime": "2022-02-18T19:31:44Z", - "createdDateTime": "2022-02-18T19:31:44Z", - "expirationDateTime": "2022-02-19T19:31:44Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:44.987587Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5c2f151b-4af8-4daf-9c30-c525d043a950?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "81e30afc-3f36-43b6-953d-cbe77615a4e3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "da54b82c-2db3-4970-a674-f777f7d81c5b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "5c2f151b-4af8-4daf-9c30-c525d043a950", - "lastUpdateDateTime": "2022-02-18T19:31:44Z", - "createdDateTime": "2022-02-18T19:31:44Z", - "expirationDateTime": "2022-02-19T19:31:44Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:44.987587Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index b4c39403b651..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json +++ /dev/null @@ -1,525 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "346", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000104-0000000000000208-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2a73afcc-eb2c-4cdd-a8ee-3cecd1a0933c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0c78736c-41b0-4e5b-8500-26762d3f5bfa", - "Date": "Fri, 18 Feb 2022 19:11:21 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/738832b7-2ec8-4b9d-b000-2dba119702ed", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "158" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/738832b7-2ec8-4b9d-b000-2dba119702ed?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000105-0000000000000210-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8153e79e-8f1b-4b34-9dc8-d5c92cffa010", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ac009c18-a253-4638-9bf8-9c2b732db9f5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "738832b7-2ec8-4b9d-b000-2dba119702ed", - "lastUpdateDateTime": "2022-02-18T19:11:21Z", - "createdDateTime": "2022-02-18T19:11:21Z", - "expirationDateTime": "2022-02-19T19:11:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/738832b7-2ec8-4b9d-b000-2dba119702ed?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000106-0000000000000212-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f20e2791-bb21-484d-b838-150d265e12a2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "39e43a54-b285-472c-823a-86bc5abb9e47", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "738832b7-2ec8-4b9d-b000-2dba119702ed", - "lastUpdateDateTime": "2022-02-18T19:11:21Z", - "createdDateTime": "2022-02-18T19:11:21Z", - "expirationDateTime": "2022-02-19T19:11:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/738832b7-2ec8-4b9d-b000-2dba119702ed?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000107-0000000000000214-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d545f077-c092-4581-8d4b-7bab6952f048", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b1774485-3e94-4ab9-a9e6-5c8aed7d30ab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "738832b7-2ec8-4b9d-b000-2dba119702ed", - "lastUpdateDateTime": "2022-02-18T19:11:23Z", - "createdDateTime": "2022-02-18T19:11:21Z", - "expirationDateTime": "2022-02-19T19:11:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:23.5502506Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/738832b7-2ec8-4b9d-b000-2dba119702ed?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000108-0000000000000216-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "455268fb-f61d-4e5c-8a2c-20223a24d724", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0a50cb55-6fb3-44be-8198-4400c727cf7b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "70" - }, - "ResponseBody": { - "jobId": "738832b7-2ec8-4b9d-b000-2dba119702ed", - "lastUpdateDateTime": "2022-02-18T19:11:23Z", - "createdDateTime": "2022-02-18T19:11:21Z", - "expirationDateTime": "2022-02-19T19:11:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:23.5502506Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index da7588d4e9e8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json +++ /dev/null @@ -1,493 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "471", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000099-0000000000000198-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7f81a8e1-3d6c-4b2b-875a-996d14b67bba", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u00FCndet.", - "language": "de" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0094b428-fb73-43ca-9504-3ee336fcde63", - "Date": "Fri, 18 Feb 2022 19:11:18 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eb78efa1-98c0-475f-ba43-51ab4d044818", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "216" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eb78efa1-98c0-475f-ba43-51ab4d044818?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000100-0000000000000200-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8c4f7f82-483a-421f-bba7-dbe681d5eebd", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f61d71f2-ce99-408e-9abf-3b8bfd5fa18a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "eb78efa1-98c0-475f-ba43-51ab4d044818", - "lastUpdateDateTime": "2022-02-18T19:11:18Z", - "createdDateTime": "2022-02-18T19:11:18Z", - "expirationDateTime": "2022-02-19T19:11:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eb78efa1-98c0-475f-ba43-51ab4d044818?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000101-0000000000000202-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "176ea2c9-1ea7-45ef-8a74-a60e0bfc6d10", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f92f8b22-b232-4a03-b7ee-7cd373a5f6c0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "eb78efa1-98c0-475f-ba43-51ab4d044818", - "lastUpdateDateTime": "2022-02-18T19:11:18Z", - "createdDateTime": "2022-02-18T19:11:18Z", - "expirationDateTime": "2022-02-19T19:11:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eb78efa1-98c0-475f-ba43-51ab4d044818?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000102-0000000000000204-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2756e273-a48f-4741-ba20-c2a408980d95", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "23017dc6-861c-49b6-a5da-e2f84e0abec6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "69" - }, - "ResponseBody": { - "jobId": "eb78efa1-98c0-475f-ba43-51ab4d044818", - "lastUpdateDateTime": "2022-02-18T19:11:20Z", - "createdDateTime": "2022-02-18T19:11:18Z", - "expirationDateTime": "2022-02-19T19:11:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:20.667998Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eb78efa1-98c0-475f-ba43-51ab4d044818?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000103-0000000000000206-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eb5fc13b-fbca-44ec-9286-6cd75cc3f2d5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d186d3ac-7c69-4ccc-927b-92f64a9c100e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "eb78efa1-98c0-475f-ba43-51ab4d044818", - "lastUpdateDateTime": "2022-02-18T19:11:20Z", - "createdDateTime": "2022-02-18T19:11:18Z", - "expirationDateTime": "2022-02-19T19:11:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:20.667998Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 2a77ee61ab64..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json +++ /dev/null @@ -1,433 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "319", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000088-0000000000000176-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "743ef3ab-4fcb-41ba-82d6-84010058862f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "36ddff77-50de-4ba8-9645-873f25a4d293", - "Date": "Fri, 18 Feb 2022 19:11:09 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "225" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000089-0000000000000178-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fc6e14e3-67f7-4210-a338-d657d8a99340", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a6e9542d-aca1-413c-a32e-b50570587439", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c0c9ae36-3799-4c04-810c-a88815f1adbd", - "lastUpdateDateTime": "2022-02-18T19:11:10Z", - "createdDateTime": "2022-02-18T19:11:09Z", - "expirationDateTime": "2022-02-19T19:11:09Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000090-0000000000000180-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d62371fe-8c58-49f4-97c6-9b32112ecea1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bbb9a774-d685-4430-b01e-59f44fdf81d2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "c0c9ae36-3799-4c04-810c-a88815f1adbd", - "lastUpdateDateTime": "2022-02-18T19:11:10Z", - "createdDateTime": "2022-02-18T19:11:09Z", - "expirationDateTime": "2022-02-19T19:11:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000091-0000000000000182-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b82eac3d-9624-4a78-b3c8-4764ee120fef", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2b2016d7-7504-482c-8cdc-29ff93ca1df6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c0c9ae36-3799-4c04-810c-a88815f1adbd", - "lastUpdateDateTime": "2022-02-18T19:11:10Z", - "createdDateTime": "2022-02-18T19:11:09Z", - "expirationDateTime": "2022-02-19T19:11:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000092-0000000000000184-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3b398bcc-3423-4d4b-91ec-d322dbd8d320", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "03bbe9f2-247c-4f6f-99ef-fa4c38bf88b6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "45" - }, - "ResponseBody": { - "jobId": "c0c9ae36-3799-4c04-810c-a88815f1adbd", - "lastUpdateDateTime": "2022-02-18T19:11:12Z", - "createdDateTime": "2022-02-18T19:11:09Z", - "expirationDateTime": "2022-02-19T19:11:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:12.7315843Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c0c9ae36-3799-4c04-810c-a88815f1adbd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000093-0000000000000186-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d0e39593-a88c-4411-b89c-b1fb6213e690", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a4450087-58e8-4536-9495-f968734c7fc6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "c0c9ae36-3799-4c04-810c-a88815f1adbd", - "lastUpdateDateTime": "2022-02-18T19:11:12Z", - "createdDateTime": "2022-02-18T19:11:09Z", - "expirationDateTime": "2022-02-19T19:11:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:12.7315843Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json deleted file mode 100644 index 853f45d5c98f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "11477", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000082-0000000000000164-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6c34b92b-2ad9-42e0-b861-585db8f710d6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", - "language": "en" - }, - { - "id": "1", - "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", - "language": "en" - } - ] - }, - "tasks": { - "extractiveSummarizationTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit", - "sentenceCount": 5, - "sortBy": "Offset" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c949e038-8dd1-412f-b74e-78b07ad5497a", - "Date": "Fri, 18 Feb 2022 19:11:04 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000083-0000000000000166-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "30b042f5-79ed-44c7-924e-9ab5b8c66b5a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a947d59b-03c1-4f13-8dbe-e0d6cbe4633e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "lastUpdateDateTime": "2022-02-18T19:11:04Z", - "createdDateTime": "2022-02-18T19:11:04Z", - "expirationDateTime": "2022-02-19T19:11:04Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000084-0000000000000168-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cd9c097b-4c90-4415-a2a9-f38ec88593a5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a1f8f254-6b12-43e2-b0ca-b97b224b1ff0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "lastUpdateDateTime": "2022-02-18T19:11:04Z", - "createdDateTime": "2022-02-18T19:11:04Z", - "expirationDateTime": "2022-02-19T19:11:04Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000085-0000000000000170-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2f1be8b7-11a9-41bb-b0af-bccc5b06f9c4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7640e7f6-a4ec-42b2-a10e-f7c4f6ae43e5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "lastUpdateDateTime": "2022-02-18T19:11:04Z", - "createdDateTime": "2022-02-18T19:11:04Z", - "expirationDateTime": "2022-02-19T19:11:04Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000086-0000000000000172-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a2a444cf-1233-4caa-9bd4-cf9d7d769974", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c1a2f49-ff8a-44b3-9cc4-d7e5d92fa27b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "82" - }, - "ResponseBody": { - "jobId": "8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "lastUpdateDateTime": "2022-02-18T19:11:08Z", - "createdDateTime": "2022-02-18T19:11:04Z", - "expirationDateTime": "2022-02-19T19:11:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:08.8545284Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/8a554785-d338-4df7-8e6e-9ee67d79bf5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000087-0000000000000174-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5d2d6a36-0183-46d4-b654-06ce3ba70cc4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f920fcdf-cad4-45b9-97b2-073b53bc9787", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "8a554785-d338-4df7-8e6e-9ee67d79bf5c", - "lastUpdateDateTime": "2022-02-18T19:11:08Z", - "createdDateTime": "2022-02-18T19:11:04Z", - "expirationDateTime": "2022-02-19T19:11:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:08.8545284Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8556cbfbdbb6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json +++ /dev/null @@ -1,313 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "287", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000094-0000000000000188-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4b06daaf-9e00-4fe2-8d3b-318fbf473082", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4eb3e409-77cb-4e74-bffc-aa902d80c987", - "Date": "Fri, 18 Feb 2022 19:11:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2e4050b-36f9-49ff-a423-9d3237ee7142", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2e4050b-36f9-49ff-a423-9d3237ee7142?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000095-0000000000000190-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b8810f6c-f585-4afb-87f1-1fb5f1691ec9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d8f7898c-5be0-40cf-a1c6-96d1ba0d0f62", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "e2e4050b-36f9-49ff-a423-9d3237ee7142", - "lastUpdateDateTime": "2022-02-18T19:11:15Z", - "createdDateTime": "2022-02-18T19:11:15Z", - "expirationDateTime": "2022-02-19T19:11:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2e4050b-36f9-49ff-a423-9d3237ee7142?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000096-0000000000000192-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dc81675c-a9fd-43ed-b890-9b81d258cbea", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7629a9e0-adae-41f6-982c-6cfc1e137ec1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "e2e4050b-36f9-49ff-a423-9d3237ee7142", - "lastUpdateDateTime": "2022-02-18T19:11:15Z", - "createdDateTime": "2022-02-18T19:11:15Z", - "expirationDateTime": "2022-02-19T19:11:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2e4050b-36f9-49ff-a423-9d3237ee7142?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000097-0000000000000194-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "180b23ff-82a2-426d-87f6-80ced6c03c7c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f6c9e259-717a-4f68-9b9f-2dcd8fa5c0f6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "e2e4050b-36f9-49ff-a423-9d3237ee7142", - "lastUpdateDateTime": "2022-02-18T19:11:16Z", - "createdDateTime": "2022-02-18T19:11:15Z", - "expirationDateTime": "2022-02-19T19:11:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:16.9968801Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2e4050b-36f9-49ff-a423-9d3237ee7142?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000098-0000000000000196-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7ec0ffd5-c38d-4d05-9edf-5894c0f2e1bb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "35e6db24-1014-44dc-a3fc-21f7811c2fd6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "46" - }, - "ResponseBody": { - "jobId": "e2e4050b-36f9-49ff-a423-9d3237ee7142", - "lastUpdateDateTime": "2022-02-18T19:11:16Z", - "createdDateTime": "2022-02-18T19:11:15Z", - "expirationDateTime": "2022-02-19T19:11:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:16.9968801Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index f9faa06c15fd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json +++ /dev/null @@ -1,376 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "383", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000109-0000000000000218-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3787fa66-7dd9-4483-a53c-89f7a483a607", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "781729c9-115d-4511-8ed9-6f26d9e5169e", - "Date": "Fri, 18 Feb 2022 19:11:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/bbb7ac29-81c5-4242-a8fa-6103e0656e56", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "215" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/bbb7ac29-81c5-4242-a8fa-6103e0656e56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000110-0000000000000220-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d1355864-7fa7-4a20-9a3a-37bc8eb441bb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "15deaa19-0719-4344-ba99-41279eff1fdf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "bbb7ac29-81c5-4242-a8fa-6103e0656e56", - "lastUpdateDateTime": "2022-02-18T19:11:25Z", - "createdDateTime": "2022-02-18T19:11:24Z", - "expirationDateTime": "2022-02-19T19:11:24Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/bbb7ac29-81c5-4242-a8fa-6103e0656e56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000111-0000000000000222-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "304acf80-9bf5-4700-8971-7b7c26867a05", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fe8660ee-665d-4895-94d6-e1eaa6414b30", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "bbb7ac29-81c5-4242-a8fa-6103e0656e56", - "lastUpdateDateTime": "2022-02-18T19:11:25Z", - "createdDateTime": "2022-02-18T19:11:24Z", - "expirationDateTime": "2022-02-19T19:11:24Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/bbb7ac29-81c5-4242-a8fa-6103e0656e56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000112-0000000000000224-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ca0b6004-6cdc-4f2c-8046-938561e8ad0a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b913858a-091f-47ed-9bce-b74e04b16a35", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "96" - }, - "ResponseBody": { - "jobId": "bbb7ac29-81c5-4242-a8fa-6103e0656e56", - "lastUpdateDateTime": "2022-02-18T19:11:26Z", - "createdDateTime": "2022-02-18T19:11:24Z", - "expirationDateTime": "2022-02-19T19:11:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:26.9129323Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/bbb7ac29-81c5-4242-a8fa-6103e0656e56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000113-0000000000000226-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6543acbf-dfd0-4fb4-9a53-de4220b8a11e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9aca8a92-bdd9-449f-9b15-2109717b3ed8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "115" - }, - "ResponseBody": { - "jobId": "bbb7ac29-81c5-4242-a8fa-6103e0656e56", - "lastUpdateDateTime": "2022-02-18T19:11:26Z", - "createdDateTime": "2022-02-18T19:11:24Z", - "expirationDateTime": "2022-02-19T19:11:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:26.9129323Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 37945062f77d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json +++ /dev/null @@ -1,366 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "470", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000114-0000000000000228-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "009ad3d7-f7ea-4165-b501-d985d3b4c73c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "6feb01fc-5547-43d1-a9f1-fdfdf625d063", - "Date": "Fri, 18 Feb 2022 19:11:28 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "119" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000115-0000000000000230-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8de61b67-ca13-4913-b07e-dd9f382177af", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4cf94303-d195-4a44-9468-67613a158f33", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "lastUpdateDateTime": "2022-02-18T19:11:28Z", - "createdDateTime": "2022-02-18T19:11:28Z", - "expirationDateTime": "2022-02-19T19:11:28Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000116-0000000000000232-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "880427ac-92f1-47c3-a105-7ead9c340513", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8f762a1c-ec52-4d70-afbf-9eb4c5c1a520", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "lastUpdateDateTime": "2022-02-18T19:11:28Z", - "createdDateTime": "2022-02-18T19:11:28Z", - "expirationDateTime": "2022-02-19T19:11:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000117-0000000000000234-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ee59cb45-cada-4c46-b19a-7b597970840f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8c313fb5-6ec9-44f4-aaec-114bc9f8b099", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "lastUpdateDateTime": "2022-02-18T19:11:28Z", - "createdDateTime": "2022-02-18T19:11:28Z", - "expirationDateTime": "2022-02-19T19:11:28Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000118-0000000000000236-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "94aa860b-a3f1-4200-8b97-31d2d1ef4c8f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6390325-aec7-4617-87e0-c83a934ee748", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "lastUpdateDateTime": "2022-02-18T19:11:31Z", - "createdDateTime": "2022-02-18T19:11:28Z", - "expirationDateTime": "2022-02-19T19:11:28Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:31.6154002Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f5b156b-ccd9-42a6-8e33-a0e70f9a4694?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000119-0000000000000238-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d80b6869-5698-4c72-9106-1258cdc2bd2f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "20a625e9-35d0-4598-b274-53715ba83962", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "45" - }, - "ResponseBody": { - "jobId": "1f5b156b-ccd9-42a6-8e33-a0e70f9a4694", - "lastUpdateDateTime": "2022-02-18T19:11:31Z", - "createdDateTime": "2022-02-18T19:11:28Z", - "expirationDateTime": "2022-02-19T19:11:28Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:31.6154002Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index ff50f0466d42..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json +++ /dev/null @@ -1,1692 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "749", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000120-0000000000000240-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b9f5b17a-646a-4def-a9a1-19095441b59e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0908f41f-6f6c-4b4f-9714-0eaa6c67ca35", - "Date": "Fri, 18 Feb 2022 19:11:33 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "290" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000121-0000000000000242-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ed25b9eb-7c41-43ac-b4c5-69214d8417da", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "36f1b0ef-ea2d-4240-a706-57518079f776", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:33Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000122-0000000000000244-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2f9c8511-37a3-4593-a01a-80838487ff2b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6ad5e9d9-abd7-4ffb-8f0f-18e82b1778e4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:34Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000123-0000000000000246-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "81e0ba86-e8e8-484c-a60c-268fba10e3eb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5bebc093-94af-4f11-a45c-1697fe2f20e3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:34Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000124-0000000000000248-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f4febef0-43e4-451e-a708-74414be6f853", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5c4e71bf-3980-4cc5-923a-5b2a54b4fef6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:34Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000125-0000000000000250-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a4f9168a-96ef-4ceb-a034-e3b6c07b6d7e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a4bca37d-a4e0-449f-81a5-3dd48f3b8853", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:34Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000126-0000000000000252-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4a4b59b1-43c7-4514-9d10-9599bca4ee25", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4442556b-ddaf-4cc0-a16d-ba193cf73506", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "103" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:42Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:42.1231937Z", - "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/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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2ccdf0c1-8dd8-4720-9a17-f73c3991ee97?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000127-0000000000000254-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1d62f3a6-6ac2-47fa-bd8b-89d3350d5d0b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5bddffd1-bc3c-454d-ab60-3a0fb0e5b5c2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "117" - }, - "ResponseBody": { - "jobId": "2ccdf0c1-8dd8-4720-9a17-f73c3991ee97", - "lastUpdateDateTime": "2022-02-18T19:11:42Z", - "createdDateTime": "2022-02-18T19:11:33Z", - "expirationDateTime": "2022-02-19T19:11:33Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:42.1231937Z", - "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/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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 81beeea2a100..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,671 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "557", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000129-0000000000000258-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "13131549-fb52-4ffc-aed9-a1165ec5d393", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "291df44b-65a1-4cff-b929-193c6a69b313", - "Date": "Fri, 18 Feb 2022 19:11:44 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "471" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000130-0000000000000260-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "42672564-266c-409d-a3eb-21209f40e545", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3e93507a-5701-41e8-96a4-90958076a13f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "lastUpdateDateTime": "2022-02-18T19:11:44Z", - "createdDateTime": "2022-02-18T19:11:43Z", - "expirationDateTime": "2022-02-19T19:11:43Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000131-0000000000000262-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "94a8dbd2-f9d2-432d-8c28-37cc68503d0f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f297c53-790c-40f2-b881-eb94c821e44a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "lastUpdateDateTime": "2022-02-18T19:11:44Z", - "createdDateTime": "2022-02-18T19:11:43Z", - "expirationDateTime": "2022-02-19T19:11:43Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000132-0000000000000264-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4f747e2e-b889-4e23-973a-eac7b784ba1d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "18ff9092-f7e2-4106-8253-0f95c8ef5b64", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "120" - }, - "ResponseBody": { - "jobId": "4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "lastUpdateDateTime": "2022-02-18T19:11:46Z", - "createdDateTime": "2022-02-18T19:11:43Z", - "expirationDateTime": "2022-02-19T19:11:43Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:45.9923335Z", - "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": "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": "2022-02-18T19:11:46.305802Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000133-0000000000000266-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7f3f60e0-0a12-4ac3-aff3-f3db29b123bb", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "08094a04-c199-4ced-b801-09c87eb87fe3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "577" - }, - "ResponseBody": { - "jobId": "4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "lastUpdateDateTime": "2022-02-18T19:11:46Z", - "createdDateTime": "2022-02-18T19:11:43Z", - "expirationDateTime": "2022-02-19T19:11:43Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:46.9677616Z", - "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": "2022-02-18T19:11:45.9923335Z", - "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": "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": "2022-02-18T19:11:46.305802Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4efebe3d-fcdb-40a2-9319-45cf9f1c8542?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000134-0000000000000268-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "66bdeab9-c071-4565-93c1-27a9a92026e2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b0984c1d-dacc-4338-86c1-80ee58643e3a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:11:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "233" - }, - "ResponseBody": { - "jobId": "4efebe3d-fcdb-40a2-9319-45cf9f1c8542", - "lastUpdateDateTime": "2022-02-18T19:11:46Z", - "createdDateTime": "2022-02-18T19:11:43Z", - "expirationDateTime": "2022-02-19T19:11:43Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:11:46.9677616Z", - "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": "2022-02-18T19:11:45.9923335Z", - "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": "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": "2022-02-18T19:11:46.305802Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json deleted file mode 100644 index 889e38573668..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json +++ /dev/null @@ -1,328 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000226-0000000000000452-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "32081f49-0237-4894-83af-eba00e154191", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action1" - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action2" - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2b2d81e0-560d-4e6f-b7c0-dbcd476e649f", - "Date": "Fri, 18 Feb 2022 19:13:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f863c4a6-1ed4-4c09-9218-99047f17c0c3", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "121" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f863c4a6-1ed4-4c09-9218-99047f17c0c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000227-0000000000000454-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4e320e0e-c60a-48cb-996b-e82ec038bed4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3443e1dd-b250-47a8-8aac-b8c89a7ca64f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "f863c4a6-1ed4-4c09-9218-99047f17c0c3", - "lastUpdateDateTime": "2022-02-18T19:13:37Z", - "createdDateTime": "2022-02-18T19:13:37Z", - "expirationDateTime": "2022-02-19T19:13:37Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f863c4a6-1ed4-4c09-9218-99047f17c0c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000228-0000000000000456-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f8cbe8c5-6bc8-4e7b-af98-eeaed8e80ccc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "38a4f65e-4b9a-4ae5-a943-3739cba56896", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "f863c4a6-1ed4-4c09-9218-99047f17c0c3", - "lastUpdateDateTime": "2022-02-18T19:13:37Z", - "createdDateTime": "2022-02-18T19:13:37Z", - "expirationDateTime": "2022-02-19T19:13:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f863c4a6-1ed4-4c09-9218-99047f17c0c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000229-0000000000000458-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1bf60e40-1404-4123-93d2-327c1c70209e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1dd1bf02-9cb3-4058-9d2c-264089911340", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "60" - }, - "ResponseBody": { - "jobId": "f863c4a6-1ed4-4c09-9218-99047f17c0c3", - "lastUpdateDateTime": "2022-02-18T19:13:39Z", - "createdDateTime": "2022-02-18T19:13:37Z", - "expirationDateTime": "2022-02-19T19:13:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:39.7061156Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:13:39.6338521Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f863c4a6-1ed4-4c09-9218-99047f17c0c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000230-0000000000000460-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8c4362b3-50e0-4f80-ba91-0723e312b31e", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3709b4d5-bfc1-4ecc-b751-2630ca7f7166", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "101" - }, - "ResponseBody": { - "jobId": "f863c4a6-1ed4-4c09-9218-99047f17c0c3", - "lastUpdateDateTime": "2022-02-18T19:13:39Z", - "createdDateTime": "2022-02-18T19:13:37Z", - "expirationDateTime": "2022-02-19T19:13:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:13:39.7061156Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:13:39.6338521Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 8464a0f1dd40..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json +++ /dev/null @@ -1,1175 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "460", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000178-0000000000000356-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "917a6a18-db90-4d6f-8a5e-ee474ff5aee0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "parameters": { - "model-version": "latest" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a880d566-ebd2-49d7-8504-01bc593a86a3", - "Date": "Fri, 18 Feb 2022 19:12:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000179-0000000000000358-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ed4bfe74-1a9f-4464-a58c-a22878a01652", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1d10df6c-bbb4-48c3-98e2-05a70a8a8239", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:43Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000180-0000000000000360-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "731b56e1-2583-4e37-92d5-770a4ee99322", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af63271d-ca4d-41fa-9bd1-5aaade9ae255", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:43Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000181-0000000000000362-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f5d67e7b-deb5-4c0e-a5c1-44756bf2d171", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c4d5f8c9-5e60-46eb-bdbb-e9bf4f58242a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:45Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000182-0000000000000364-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0ab78a68-f6f2-43d4-85be-5e7019afa833", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af3f4fe8-ddd0-4f94-81b3-79626e75d3ec", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:46Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000183-0000000000000366-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4f7061fb-e813-4832-9098-b3b1f53b5714", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cb522865-0d2f-4595-babd-aff6c03d9d71", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:49Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000184-0000000000000368-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f71f55d0-2c3c-4e72-812a-f15beaec85aa", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af8e8ed2-36c6-4e49-a377-4c20c8f1c34f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:49Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000185-0000000000000370-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "572cb847-b49c-48da-aaa7-1752f3037129", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "72e9d379-92e5-479f-ad54-e116a1d82446", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "344" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:49Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000186-0000000000000372-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9a165ed9-e308-4353-ac34-5800e1cc65fa", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "992bf487-b6eb-4515-8654-d4dc35f31fdf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "128" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:49Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000187-0000000000000374-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b59ba298-588a-4728-b156-3900ca9071b3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3ad23eb7-d1cd-4ca7-b395-0ba3eac6267a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "173" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:57Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:57.0744709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/01b7ab28-5c12-4a83-b41c-e0cae75a867d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000188-0000000000000376-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3a97d65a-14ff-462c-b1e3-b7f04ae433a9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ea175287-10e9-46aa-9648-382d4c4619c8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "149" - }, - "ResponseBody": { - "jobId": "01b7ab28-5c12-4a83-b41c-e0cae75a867d", - "lastUpdateDateTime": "2022-02-18T19:12:57Z", - "createdDateTime": "2022-02-18T19:12:42Z", - "expirationDateTime": "2022-02-19T19:12:42Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:45.4410892Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:46.3636709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:57.0744709Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index da87f3877df8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,763 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000155-0000000000000310-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "06052b55-20c3-4ec8-8979-ff7cf06deac2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "d1f768da-d810-411f-809b-56683c9c2148", - "Date": "Fri, 18 Feb 2022 19:12:13 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "238" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000156-0000000000000312-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "87f06fe3-7b89-47af-929d-3b931884fbb7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f189376c-917c-4ec2-b5c6-e152822baa0a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:14Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000157-0000000000000314-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3b4c9964-193c-46eb-8781-fcf3ca7fa6d2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c24922a7-6bbe-4646-a65b-e255ddc68d03", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:14Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000158-0000000000000316-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "30780b29-923f-4b64-9c3d-6ae591188559", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "90494a07-5511-4786-868f-211b867f8a14", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:15Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:15.8450026Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000159-0000000000000318-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4a726cbb-c551-4c49-8669-3adba371bc2b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "306b7d6e-e73c-4fce-9eb5-37827fdad19e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:15Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:15.8450026Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000160-0000000000000320-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4cb790b0-d553-4fc8-a43a-86f2806e5b3a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "734f8047-02bb-48e8-a607-ff709528deed", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:15Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:15.8450026Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000161-0000000000000322-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d85ce300-f578-4377-a692-120c97271349", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c7d90d5-fc36-44c1-9650-56fd90a24ce1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:22Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:15.8450026Z", - "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": "2022-02-18T19:12:22.034971Z", - "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": "2022-02-18T19:12:21.65191Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6a37d015-8e5b-45f6-8a80-40530020971f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000162-0000000000000324-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ec907c17-e4a1-4997-b48e-cd6bc175d3ad", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1309d29c-dbe5-4d35-a1f4-de92b0371f99", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "790" - }, - "ResponseBody": { - "jobId": "6a37d015-8e5b-45f6-8a80-40530020971f", - "lastUpdateDateTime": "2022-02-18T19:12:22Z", - "createdDateTime": "2022-02-18T19:12:13Z", - "expirationDateTime": "2022-02-19T19:12:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:15.8450026Z", - "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": "2022-02-18T19:12:22.034971Z", - "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": "2022-02-18T19:12:21.65191Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 57c64c13112d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json +++ /dev/null @@ -1,615 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000163-0000000000000326-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0abb91e1-386f-403c-b1f0-eeb73a4bd4a3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3d27bad2-80d1-422b-9869-2127e8f7b776", - "Date": "Fri, 18 Feb 2022 19:12:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "247" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000164-0000000000000328-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "286fbaaa-fdf5-4c28-91d9-7d949c906d5a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8127e8c7-3568-4ed0-b821-ab1a01524dab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "4e468789-7233-4156-9391-c1a1eefc201f", - "lastUpdateDateTime": "2022-02-18T19:12:24Z", - "createdDateTime": "2022-02-18T19:12:24Z", - "expirationDateTime": "2022-02-19T19:12:24Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000165-0000000000000330-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a410f6a5-c242-4bc7-b288-398e4d0fc7e3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ce278de8-4485-423e-8f15-0aac7b20cb72", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "4e468789-7233-4156-9391-c1a1eefc201f", - "lastUpdateDateTime": "2022-02-18T19:12:24Z", - "createdDateTime": "2022-02-18T19:12:24Z", - "expirationDateTime": "2022-02-19T19:12:24Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000166-0000000000000332-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b36bc6e7-4db2-406a-a4e4-35e7dfd44958", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "15556582-31c1-4487-80be-da7eb8515ff1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" - }, - "ResponseBody": { - "jobId": "4e468789-7233-4156-9391-c1a1eefc201f", - "lastUpdateDateTime": "2022-02-18T19:12:26Z", - "createdDateTime": "2022-02-18T19:12:24Z", - "expirationDateTime": "2022-02-19T19:12:24Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:26.1807335Z", - "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": "2022-02-18T19:12:26.6548164Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000167-0000000000000334-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e3bc22d7-0b65-4b24-ba0c-1d0955e00946", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cd8cca94-4acc-4828-acc0-e2c651224d0a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "486" - }, - "ResponseBody": { - "jobId": "4e468789-7233-4156-9391-c1a1eefc201f", - "lastUpdateDateTime": "2022-02-18T19:12:27Z", - "createdDateTime": "2022-02-18T19:12:24Z", - "expirationDateTime": "2022-02-19T19:12:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:26.1807335Z", - "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": "2022-02-18T19:12:27.3809472Z", - "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": "2022-02-18T19:12:26.6548164Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4e468789-7233-4156-9391-c1a1eefc201f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000168-0000000000000336-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cec134be-df9b-4624-9846-dde43097dcc5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "33ffac8c-f430-4839-a559-6ceacc8a6105", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:12:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": { - "jobId": "4e468789-7233-4156-9391-c1a1eefc201f", - "lastUpdateDateTime": "2022-02-18T19:12:27Z", - "createdDateTime": "2022-02-18T19:12:24Z", - "expirationDateTime": "2022-02-19T19:12:24Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:12:26.1807335Z", - "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": "2022-02-18T19:12:27.3809472Z", - "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": "2022-02-18T19:12:26.6548164Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index a016cf4c5f9c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "116", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000307-0000000000000614-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a79bf3d5-9b8b-4942-bd5c-6d42bcb369e6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "" - }, - { - "id": "2", - "text": "I did not like the hotel we stayed at.", - "language": "english" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ae3a6917-25db-4384-947a-b18870949941", - "Date": "Fri, 18 Feb 2022 19:14:36 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f35c0669-2581-42d8-a26c-45d8f6dbef95", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "102" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f35c0669-2581-42d8-a26c-45d8f6dbef95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000308-0000000000000616-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b4908e8f-c705-49c8-92d9-2d17f9a5546c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "51e7b971-a4c8-41cd-ae28-b57f0df36cf9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "f35c0669-2581-42d8-a26c-45d8f6dbef95", - "lastUpdateDateTime": "2022-02-18T19:14:36Z", - "createdDateTime": "2022-02-18T19:14:36Z", - "expirationDateTime": "2022-02-19T19:14:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f35c0669-2581-42d8-a26c-45d8f6dbef95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000309-0000000000000618-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "752dfff6-6fbf-4cb5-856f-de995b700fa3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c5b645c-b136-49a2-9bf1-68a44a46b1b6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "f35c0669-2581-42d8-a26c-45d8f6dbef95", - "lastUpdateDateTime": "2022-02-18T19:14:36Z", - "createdDateTime": "2022-02-18T19:14:36Z", - "expirationDateTime": "2022-02-19T19:14:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f35c0669-2581-42d8-a26c-45d8f6dbef95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000310-0000000000000620-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "992f8b9c-04cf-4bea-b24d-585292f21ba8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "63cd6f0c-ca41-4792-b107-f04128bcd25c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "70" - }, - "ResponseBody": { - "jobId": "f35c0669-2581-42d8-a26c-45d8f6dbef95", - "lastUpdateDateTime": "2022-02-18T19:14:36Z", - "createdDateTime": "2022-02-18T19:14:36Z", - "expirationDateTime": "2022-02-19T19:14:36Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f35c0669-2581-42d8-a26c-45d8f6dbef95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000311-0000000000000622-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "24dfe25c-d85e-4cd4-bcf2-6afd96cddd10", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c6d47d70-3d7b-47b6-9722-d6de3d7603cd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "44" - }, - "ResponseBody": { - "jobId": "f35c0669-2581-42d8-a26c-45d8f6dbef95", - "lastUpdateDateTime": "2022-02-18T19:14:36Z", - "createdDateTime": "2022-02-18T19:14:36Z", - "expirationDateTime": "2022-02-19T19:14:36Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 23e6c09aec0c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json +++ /dev/null @@ -1,301 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "180", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000251-0000000000000502-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6d889121-b1ac-4762-945d-9d0fbe82759a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2c2642ff-4671-45b3-9238-45f18b808f6c", - "Date": "Fri, 18 Feb 2022 19:13:53 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5b5a1cc6-55ee-421a-ac45-89c39e7784bd", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5b5a1cc6-55ee-421a-ac45-89c39e7784bd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000252-0000000000000504-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "eff64aea-a9c0-40cb-b544-8c36f423d6ce", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f24a8cbe-daae-4c65-b7c8-458c5a5139cc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "5b5a1cc6-55ee-421a-ac45-89c39e7784bd", - "lastUpdateDateTime": "2022-02-18T19:13:54Z", - "createdDateTime": "2022-02-18T19:13:54Z", - "expirationDateTime": "2022-02-19T19:13:54Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5b5a1cc6-55ee-421a-ac45-89c39e7784bd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000253-0000000000000506-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9701ef8d-7a35-48a7-9432-020972e838d4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4bece2e0-610a-4f77-879c-a3c31c106817", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "5b5a1cc6-55ee-421a-ac45-89c39e7784bd", - "lastUpdateDateTime": "2022-02-18T19:13:54Z", - "createdDateTime": "2022-02-18T19:13:54Z", - "expirationDateTime": "2022-02-19T19:13:54Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5b5a1cc6-55ee-421a-ac45-89c39e7784bd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000254-0000000000000508-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6b62de98-2d80-4558-8ce1-5fcd1ab147a8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c97c2afe-c949-4ef7-9f22-5f3e3042c326", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" - }, - "ResponseBody": { - "jobId": "5b5a1cc6-55ee-421a-ac45-89c39e7784bd", - "lastUpdateDateTime": "2022-02-18T19:13:54Z", - "createdDateTime": "2022-02-18T19:13:54Z", - "expirationDateTime": "2022-02-19T19:13:54Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/5b5a1cc6-55ee-421a-ac45-89c39e7784bd?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000255-0000000000000510-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "954415aa-08a0-4f34-a1d1-8a4d9bb42240", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "63e67bba-e161-4066-88cc-f714034b7169", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "5b5a1cc6-55ee-421a-ac45-89c39e7784bd", - "lastUpdateDateTime": "2022-02-18T19:13:54Z", - "createdDateTime": "2022-02-18T19:13:54Z", - "expirationDateTime": "2022-02-19T19:13:54Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json deleted file mode 100644 index 1396cd952c1d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "5157", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000312-0000000000000624-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3992e12b-19bf-4699-886a-7b74d260fb7a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "3", - "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "43b4b8f5-342f-4145-8499-4c3d775d6d62", - "Date": "Fri, 18 Feb 2022 19:14:39 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36307721-eb8a-4f26-89e3-dc7c5edb6c30", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "128" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36307721-eb8a-4f26-89e3-dc7c5edb6c30?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000313-0000000000000626-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3fce09f0-eb5b-441a-be47-a739bdb27655", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7cc8d2ba-8607-4546-a704-0e168fbf31dd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "36307721-eb8a-4f26-89e3-dc7c5edb6c30", - "lastUpdateDateTime": "2022-02-18T19:14:39Z", - "createdDateTime": "2022-02-18T19:14:39Z", - "expirationDateTime": "2022-02-19T19:14:39Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36307721-eb8a-4f26-89e3-dc7c5edb6c30?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000314-0000000000000628-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a58f4dcb-1755-45fa-88c9-d7b4e4b8db62", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f969bafe-081b-4332-89df-ee8a2052c8d8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "36307721-eb8a-4f26-89e3-dc7c5edb6c30", - "lastUpdateDateTime": "2022-02-18T19:14:39Z", - "createdDateTime": "2022-02-18T19:14:39Z", - "expirationDateTime": "2022-02-19T19:14:39Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36307721-eb8a-4f26-89e3-dc7c5edb6c30?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000315-0000000000000630-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4df2d727-829a-4905-a2ea-eb8d06b039f6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6e453b45-6eaa-4828-8ba1-fcdacd015df8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "36307721-eb8a-4f26-89e3-dc7c5edb6c30", - "lastUpdateDateTime": "2022-02-18T19:14:41Z", - "createdDateTime": "2022-02-18T19:14:39Z", - "expirationDateTime": "2022-02-19T19:14:39Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36307721-eb8a-4f26-89e3-dc7c5edb6c30?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000316-0000000000000632-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b88cdb0d-769d-4787-a118-30b0885bfac4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dd2dba19-a946-41f6-a7f0-05ff5eb70551", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "36307721-eb8a-4f26-89e3-dc7c5edb6c30", - "lastUpdateDateTime": "2022-02-18T19:14:41Z", - "createdDateTime": "2022-02-18T19:14:39Z", - "expirationDateTime": "2022-02-19T19:14:39Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 5e4d70495dad..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_cancelled.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000318-0000000000000636-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "860210cc-e6f5-41e1-aeb4-ec9694c3dd4c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3d0319c2-6d61-418e-a5bc-90b3a5f0694b", - "Date": "Fri, 18 Feb 2022 19:14:42 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2175dc2e-1627-4250-a170-bd332ecc02f4", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "233" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/2175dc2e-1627-4250-a170-bd332ecc02f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000319-0000000000000638-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c9e25755-6c03-482b-9f44-c0a7eb9d741b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bf960f4d-fcf0-4acb-afac-12c0736d1483", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2175dc2e-1627-4250-a170-bd332ecc02f4", - "lastUpdateDateTime": "2022-02-18T19:14:43Z", - "createdDateTime": "2022-02-18T19:14:43Z", - "expirationDateTime": "2022-02-19T19:14:43Z", - "status": "notStarted", - "errors": [] - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 2a93d5bb7037..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_document_warnings.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "76", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000258-0000000000000516-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b89d7c52-2839-4535-bfc6-8869a2d92ce9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This won\u0027t actually create a warning :\u0027(" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4441e6b4-9224-484e-b6e7-4b7fee2f5255", - "Date": "Fri, 18 Feb 2022 19:13:58 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/070b84ac-fcee-47ac-ab5b-4cc2317109d0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "180" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/070b84ac-fcee-47ac-ab5b-4cc2317109d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000259-0000000000000518-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c64f423e-aefe-468e-a16b-bc1a10fa8d36", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0a2d0c6a-ec5d-4feb-807f-ce15be4cc4b1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "070b84ac-fcee-47ac-ab5b-4cc2317109d0", - "lastUpdateDateTime": "2022-02-18T19:13:58Z", - "createdDateTime": "2022-02-18T19:13:58Z", - "expirationDateTime": "2022-02-19T19:13:58Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/070b84ac-fcee-47ac-ab5b-4cc2317109d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000260-0000000000000520-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "aa4835b8-cab1-40fc-9b31-3833d178df91", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e3c6baeb-ea98-477c-a24f-5eb2b6b2f764", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "070b84ac-fcee-47ac-ab5b-4cc2317109d0", - "lastUpdateDateTime": "2022-02-18T19:13:59Z", - "createdDateTime": "2022-02-18T19:13:58Z", - "expirationDateTime": "2022-02-19T19:13:58Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/070b84ac-fcee-47ac-ab5b-4cc2317109d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000261-0000000000000522-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "4d36a5be-917c-41e4-b401-fa793f449d42", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6cea099d-fadd-4df8-92cb-e3d255c57fc8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "83" - }, - "ResponseBody": { - "jobId": "070b84ac-fcee-47ac-ab5b-4cc2317109d0", - "lastUpdateDateTime": "2022-02-18T19:13:59Z", - "createdDateTime": "2022-02-18T19:13:58Z", - "expirationDateTime": "2022-02-19T19:13:58Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/070b84ac-fcee-47ac-ab5b-4cc2317109d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000262-0000000000000524-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9d3841e8-ea3b-4bf7-a38f-7a4cd9988868", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "efbc4b63-df41-4c65-af35-e78f3abf15a5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "104" - }, - "ResponseBody": { - "jobId": "070b84ac-fcee-47ac-ab5b-4cc2317109d0", - "lastUpdateDateTime": "2022-02-18T19:13:59Z", - "createdDateTime": "2022-02-18T19:13:58Z", - "expirationDateTime": "2022-02-19T19:13:58Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 63e4dc7f7bcd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "106", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000317-0000000000000634-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f1443449-53fa-457e-8098-94375ca626c8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "hello world" - }, - { - "id": "1", - "text": "I did not like the hotel we stayed at." - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "aa78d261-9e61-49c9-8e85-cdfae4a7c955", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocument", - "message": "Request contains duplicated Ids. Make sure each document has a unique Id." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json deleted file mode 100644 index 03ac41ff29d4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json +++ /dev/null @@ -1,1619 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "157", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000236-0000000000000472-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b679ce6d-02fd-40e6-a5da-2308b18afd24", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5b52bf3c-7fcc-499b-867f-8b6a88685ee2", - "Date": "Fri, 18 Feb 2022 19:13:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f28c295-c491-4815-a1be-22a52bf88c3e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f28c295-c491-4815-a1be-22a52bf88c3e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000237-0000000000000474-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "37308a16-fcae-4891-99ef-cab312efc724", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4a04f57c-871e-4381-b033-17bfa65dc020", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "jobId": "6f28c295-c491-4815-a1be-22a52bf88c3e", - "lastUpdateDateTime": "2022-02-18T19:13:44Z", - "createdDateTime": "2022-02-18T19:13:44Z", - "expirationDateTime": "2022-02-19T19:13:44Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f28c295-c491-4815-a1be-22a52bf88c3e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000238-0000000000000476-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5a05d585-c37d-4fdc-8860-ca2488eac8f6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f1236cd2-25ae-4030-a55f-17936a5013e7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "6f28c295-c491-4815-a1be-22a52bf88c3e", - "lastUpdateDateTime": "2022-02-18T19:13:44Z", - "createdDateTime": "2022-02-18T19:13:44Z", - "expirationDateTime": "2022-02-19T19:13:44Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f28c295-c491-4815-a1be-22a52bf88c3e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000239-0000000000000478-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6fb9261a-f474-4638-97de-e92db47aca32", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d5ad34a7-9218-4d9d-8d30-6029300c1166", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "6f28c295-c491-4815-a1be-22a52bf88c3e", - "lastUpdateDateTime": "2022-02-18T19:13:44Z", - "createdDateTime": "2022-02-18T19:13:44Z", - "expirationDateTime": "2022-02-19T19:13:44Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f28c295-c491-4815-a1be-22a52bf88c3e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000240-0000000000000480-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0837699a-d143-468e-84af-6b19c2fc1dda", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "89195afe-92bf-44a2-9b9b-6c7befaff0dc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "6f28c295-c491-4815-a1be-22a52bf88c3e", - "lastUpdateDateTime": "2022-02-18T19:13:44Z", - "createdDateTime": "2022-02-18T19:13:44Z", - "expirationDateTime": "2022-02-19T19:13:44Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index e1e087f4b1da..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000329-0000000000000658-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a0ec8607-973a-4c1b-8dfa-4bf0c1147645", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "af58ef78-206d-453e-bf71-2b3006e0f0be", - "Date": "Fri, 18 Feb 2022 19:14:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/268092f8-7f47-453f-9833-d98b6160383d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "148" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/268092f8-7f47-453f-9833-d98b6160383d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000330-0000000000000660-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b8ffe39e-5e84-49fc-ac56-b55131e89d95", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "433e5e9a-056e-44c5-b874-2d46e6ce17f9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "268092f8-7f47-453f-9833-d98b6160383d", - "lastUpdateDateTime": "2022-02-18T19:14:50Z", - "createdDateTime": "2022-02-18T19:14:50Z", - "expirationDateTime": "2022-02-19T19:14:50Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/268092f8-7f47-453f-9833-d98b6160383d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000331-0000000000000662-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fb5449fc-6d1e-4872-9e55-c4c41d21bf6f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "68b581d4-3bda-4cfb-bdfa-cce418963a90", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "268092f8-7f47-453f-9833-d98b6160383d", - "lastUpdateDateTime": "2022-02-18T19:14:50Z", - "createdDateTime": "2022-02-18T19:14:50Z", - "expirationDateTime": "2022-02-19T19:14:50Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/268092f8-7f47-453f-9833-d98b6160383d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000332-0000000000000664-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6e6e83b2-5027-4873-8ee7-844c0de44ae1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fd691861-4033-484c-acf7-c50a2aa16486", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "jobId": "268092f8-7f47-453f-9833-d98b6160383d", - "lastUpdateDateTime": "2022-02-18T19:14:50Z", - "createdDateTime": "2022-02-18T19:14:50Z", - "expirationDateTime": "2022-02-19T19:14:50Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 3eb7dc1552f1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json +++ /dev/null @@ -1,499 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000324-0000000000000648-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "168fe13b-2300-4a02-b52a-cd8cce611425", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "9bd27310-ac42-4d91-805f-f32577b55eba", - "Date": "Fri, 18 Feb 2022 19:14:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/68403dbd-3498-4fe0-9fec-65e1f2bb6495", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/68403dbd-3498-4fe0-9fec-65e1f2bb6495?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000325-0000000000000650-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c01d64a7-f480-45cf-96f4-9dda8fb89d72", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c7ec76cc-3bfc-4e8e-a596-1a1139104c37", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "68403dbd-3498-4fe0-9fec-65e1f2bb6495", - "lastUpdateDateTime": "2022-02-18T19:14:47Z", - "createdDateTime": "2022-02-18T19:14:46Z", - "expirationDateTime": "2022-02-19T19:14:46Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/68403dbd-3498-4fe0-9fec-65e1f2bb6495?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000326-0000000000000652-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "788841f3-e504-4811-96c6-975ac9eefec6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f9f2110b-2704-4ad1-b703-22052226628a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "68403dbd-3498-4fe0-9fec-65e1f2bb6495", - "lastUpdateDateTime": "2022-02-18T19:14:47Z", - "createdDateTime": "2022-02-18T19:14:46Z", - "expirationDateTime": "2022-02-19T19:14:46Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/68403dbd-3498-4fe0-9fec-65e1f2bb6495?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000327-0000000000000654-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c4897fe4-d5fa-449b-9574-aa8575955dee", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0f44e15b-3c98-4412-b2aa-6edb9b33918c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "68403dbd-3498-4fe0-9fec-65e1f2bb6495", - "lastUpdateDateTime": "2022-02-18T19:14:47Z", - "createdDateTime": "2022-02-18T19:14:46Z", - "expirationDateTime": "2022-02-19T19:14:46Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/68403dbd-3498-4fe0-9fec-65e1f2bb6495?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000328-0000000000000656-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "18d49288-3b0a-481e-b090-4a49486d054c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bd6ded37-d771-4827-8219-e41fd93517f2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "68403dbd-3498-4fe0-9fec-65e1f2bb6495", - "lastUpdateDateTime": "2022-02-18T19:14:47Z", - "createdDateTime": "2022-02-18T19:14:46Z", - "expirationDateTime": "2022-02-19T19:14:46Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 3f1bc9f19cdf..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_documents.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000241-0000000000000482-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "7241f390-4e6d-4ebb-86c4-e515368e34ac", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fc98a54f-d7d4-43ef-ad7f-5018acf790f6", - "Date": "Fri, 18 Feb 2022 19:13:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/868a4e66-ab45-43fa-b415-45857ba4a0b7", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "157" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/868a4e66-ab45-43fa-b415-45857ba4a0b7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000242-0000000000000484-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "220638f8-1d2f-468b-8df7-e36ecfc66a62", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c796e5a-54db-4ef7-bfd9-fce5e50dc289", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "jobId": "868a4e66-ab45-43fa-b415-45857ba4a0b7", - "lastUpdateDateTime": "2022-02-18T19:13:47Z", - "createdDateTime": "2022-02-18T19:13:47Z", - "expirationDateTime": "2022-02-19T19:13:47Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/868a4e66-ab45-43fa-b415-45857ba4a0b7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000243-0000000000000486-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bf619095-be70-4e35-8ed5-71aa95848bb5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6ee2e5df-5413-4dcf-b1c0-3d495e3b1d61", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "868a4e66-ab45-43fa-b415-45857ba4a0b7", - "lastUpdateDateTime": "2022-02-18T19:13:47Z", - "createdDateTime": "2022-02-18T19:13:47Z", - "expirationDateTime": "2022-02-19T19:13:47Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/868a4e66-ab45-43fa-b415-45857ba4a0b7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000244-0000000000000488-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b99450fd-cf82-4632-943b-050cd6984c50", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "341127f3-39cf-46fd-aa17-76862f90c44b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "868a4e66-ab45-43fa-b415-45857ba4a0b7", - "lastUpdateDateTime": "2022-02-18T19:13:47Z", - "createdDateTime": "2022-02-18T19:13:47Z", - "expirationDateTime": "2022-02-19T19:13:47Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/868a4e66-ab45-43fa-b415-45857ba4a0b7?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000245-0000000000000490-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c9f0c1f5-61c6-491c-bc5e-3fe1a83ee579", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1a4b6c7a-1106-473b-90bb-7c65a49a87ac", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "233" - }, - "ResponseBody": { - "jobId": "868a4e66-ab45-43fa-b415-45857ba4a0b7", - "lastUpdateDateTime": "2022-02-18T19:13:47Z", - "createdDateTime": "2022-02-18T19:13:47Z", - "expirationDateTime": "2022-02-19T19:13:47Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index edbd81d317e5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_strings.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000231-0000000000000462-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d1d49628-47f0-49c7-83f8-f280b5179b63", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "75fb92c5-602e-46e8-9f89-03e5875c0094", - "Date": "Fri, 18 Feb 2022 19:13:40 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/fb891402-a977-4c66-8385-7b5ea7eab80b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/fb891402-a977-4c66-8385-7b5ea7eab80b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000232-0000000000000464-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a1b121e1-6581-4f9c-8b5e-19dcec2ef589", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d3e19086-241d-438c-8e0f-01dcace1676e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "fb891402-a977-4c66-8385-7b5ea7eab80b", - "lastUpdateDateTime": "2022-02-18T19:13:40Z", - "createdDateTime": "2022-02-18T19:13:40Z", - "expirationDateTime": "2022-02-19T19:13:40Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/fb891402-a977-4c66-8385-7b5ea7eab80b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000233-0000000000000466-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0483d0f0-a16b-4702-a4af-d6ce1cbb8971", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "be15facc-3396-4570-9285-cb1b41e5c1b0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "fb891402-a977-4c66-8385-7b5ea7eab80b", - "lastUpdateDateTime": "2022-02-18T19:13:41Z", - "createdDateTime": "2022-02-18T19:13:40Z", - "expirationDateTime": "2022-02-19T19:13:40Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/fb891402-a977-4c66-8385-7b5ea7eab80b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000234-0000000000000468-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "25bb343b-21af-44c2-baec-fe3736843b99", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f30a427-28b6-469d-8eec-33652c7ba4da", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "fb891402-a977-4c66-8385-7b5ea7eab80b", - "lastUpdateDateTime": "2022-02-18T19:13:41Z", - "createdDateTime": "2022-02-18T19:13:40Z", - "expirationDateTime": "2022-02-19T19:13:40Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/fb891402-a977-4c66-8385-7b5ea7eab80b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000235-0000000000000470-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a8faef9f-fa7f-487c-91c9-44a5367747cf", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b895d712-85e0-4e5e-bf0a-eb8d703db19f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "76" - }, - "ResponseBody": { - "jobId": "fb891402-a977-4c66-8385-7b5ea7eab80b", - "lastUpdateDateTime": "2022-02-18T19:13:41Z", - "createdDateTime": "2022-02-18T19:13:40Z", - "expirationDateTime": "2022-02-19T19:13:40Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index ce06a1f3c885..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000297-0000000000000594-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dd83b753-6fbf-4903-b06d-00cc18f8fb62", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2b55ba37-f789-40db-956c-5a02983e5d8e", - "Date": "Fri, 18 Feb 2022 19:14:29 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "119" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000298-0000000000000596-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c0a3eeb2-d2d9-49a0-9297-f651e9d4dec5", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "673e296f-af54-4bd1-a2e7-84d6f072a169", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4", - "lastUpdateDateTime": "2022-02-18T19:14:30Z", - "createdDateTime": "2022-02-18T19:14:29Z", - "expirationDateTime": "2022-02-19T19:14:29Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000299-0000000000000598-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "e543d226-3c26-4e43-a4b5-9340484056fa", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "93a1f570-5163-4c46-b7cd-d371db3f415b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4", - "lastUpdateDateTime": "2022-02-18T19:14:30Z", - "createdDateTime": "2022-02-18T19:14:29Z", - "expirationDateTime": "2022-02-19T19:14:29Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000300-0000000000000600-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "67ca13a8-cb8b-4217-8bc6-d88990a9e180", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5332008f-83fe-4dce-8b20-60a718092069", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "jobId": "91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4", - "lastUpdateDateTime": "2022-02-18T19:14:30Z", - "createdDateTime": "2022-02-18T19:14:29Z", - "expirationDateTime": "2022-02-19T19:14:29Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000301-0000000000000602-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ebc715c0-c0fd-4834-8117-e565cfae4571", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ccae4967-18d9-44f2-8965-e2166984b2f8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "209" - }, - "ResponseBody": { - "jobId": "91c8c5c1-88da-4f7c-93ba-5de8a2abf0f4", - "lastUpdateDateTime": "2022-02-18T19:14:30Z", - "createdDateTime": "2022-02-18T19:14:29Z", - "expirationDateTime": "2022-02-19T19:14:29Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 2ff03aca622c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000302-0000000000000604-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "0a879ec1-b4b7-4008-b560-05c70f12da86", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4a5f3e52-6a20-4a91-83d5-13f68a3cb9a3", - "Date": "Fri, 18 Feb 2022 19:14:33 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/11a45249-010b-4d9b-8f07-3539ee9bff02", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "167" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/11a45249-010b-4d9b-8f07-3539ee9bff02?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000303-0000000000000606-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "06262180-4ee5-43d0-a2c9-424e2b9af1ad", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0d775767-2a3d-4ea3-9f30-1dfc4f368ae1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "11a45249-010b-4d9b-8f07-3539ee9bff02", - "lastUpdateDateTime": "2022-02-18T19:14:33Z", - "createdDateTime": "2022-02-18T19:14:33Z", - "expirationDateTime": "2022-02-19T19:14:33Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/11a45249-010b-4d9b-8f07-3539ee9bff02?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000304-0000000000000608-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "feba3d44-6e99-48d9-b9c1-14e95d93712d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0bffce9a-bd8d-4976-b1d8-f57628f49a36", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "11a45249-010b-4d9b-8f07-3539ee9bff02", - "lastUpdateDateTime": "2022-02-18T19:14:33Z", - "createdDateTime": "2022-02-18T19:14:33Z", - "expirationDateTime": "2022-02-19T19:14:33Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/11a45249-010b-4d9b-8f07-3539ee9bff02?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000305-0000000000000610-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "21c18ed7-3453-4ac4-bfc8-a58d15f51cae", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eb3487e4-fe24-4bac-8807-07242a23a753", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "44" - }, - "ResponseBody": { - "jobId": "11a45249-010b-4d9b-8f07-3539ee9bff02", - "lastUpdateDateTime": "2022-02-18T19:14:33Z", - "createdDateTime": "2022-02-18T19:14:33Z", - "expirationDateTime": "2022-02-19T19:14:33Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/11a45249-010b-4d9b-8f07-3539ee9bff02?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000306-0000000000000612-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ec5ba3ad-08ba-40ea-8cb5-90daab087076", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d8f8450f-2161-41ee-b530-607724d10996", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "76" - }, - "ResponseBody": { - "jobId": "11a45249-010b-4d9b-8f07-3539ee9bff02", - "lastUpdateDateTime": "2022-02-18T19:14:33Z", - "createdDateTime": "2022-02-18T19:14:33Z", - "expirationDateTime": "2022-02-19T19:14:33Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 6f258d785b74..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json +++ /dev/null @@ -1,557 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d4740db8-a936-4977-9587-0611875be826", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "73d20657-add0-4fe9-95cf-40f297c63fff", - "Date": "Fri, 18 Feb 2022 19:46:41 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f274372c-8e9b-4be3-85fb-a8299e3be5ab", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "200" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f274372c-8e9b-4be3-85fb-a8299e3be5ab?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2043b642-e5f0-470c-ab7c-69805f3ee52b", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ac7c4f83-1c35-40c6-a0e7-ef738197f460", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "f274372c-8e9b-4be3-85fb-a8299e3be5ab", - "lastUpdateDateTime": "2022-02-18T19:46:41Z", - "createdDateTime": "2022-02-18T19:46:41Z", - "expirationDateTime": "2022-02-19T19:46:41Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f274372c-8e9b-4be3-85fb-a8299e3be5ab?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "2428af8a-3d2b-452b-afc4-4ee7b53f53ec", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "da4386ff-d791-44eb-92a6-7285cf099a26", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "f274372c-8e9b-4be3-85fb-a8299e3be5ab", - "lastUpdateDateTime": "2022-02-18T19:46:41Z", - "createdDateTime": "2022-02-18T19:46:41Z", - "expirationDateTime": "2022-02-19T19:46:41Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/f274372c-8e9b-4be3-85fb-a8299e3be5ab?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ee3e0a60-08f3-4fed-8791-87865ddd946d", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "32fc0e11-fa08-43c1-83d3-9e1acb0df7aa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "88" - }, - "ResponseBody": { - "jobId": "f274372c-8e9b-4be3-85fb-a8299e3be5ab", - "lastUpdateDateTime": "2022-02-18T19:46:42Z", - "createdDateTime": "2022-02-18T19:46:41Z", - "expirationDateTime": "2022-02-19T19:46:41Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 15aa8c976d39..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "139", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000263-0000000000000526-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "96566ec1-7df4-47b3-a853-30d218fb3f73", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "one" - }, - { - "id": "2", - "text": "two" - }, - { - "id": "3", - "text": "three" - }, - { - "id": "4", - "text": "four" - }, - { - "id": "5", - "text": "five" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a8639360-6680-42ca-9c6d-23e8fa4fb1d6", - "Date": "Fri, 18 Feb 2022 19:14:03 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/505d6539-2d67-4ae2-ba2a-1669e752802f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "213" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/505d6539-2d67-4ae2-ba2a-1669e752802f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000264-0000000000000528-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "cef54db3-0a0e-4dd5-b6cb-464d0acc904f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "546a553d-8b37-4d4e-8012-f0f19bedfc80", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "505d6539-2d67-4ae2-ba2a-1669e752802f", - "lastUpdateDateTime": "2022-02-18T19:14:03Z", - "createdDateTime": "2022-02-18T19:14:03Z", - "expirationDateTime": "2022-02-19T19:14:03Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/505d6539-2d67-4ae2-ba2a-1669e752802f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000265-0000000000000530-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "f9d89038-132a-4a20-9ba7-ab710d7a8e65", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cf6e25de-bb4c-4d86-b135-015bf2e8a8d2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "505d6539-2d67-4ae2-ba2a-1669e752802f", - "lastUpdateDateTime": "2022-02-18T19:14:03Z", - "createdDateTime": "2022-02-18T19:14:03Z", - "expirationDateTime": "2022-02-19T19:14:03Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/505d6539-2d67-4ae2-ba2a-1669e752802f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000266-0000000000000532-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c4191e28-8ace-4230-bfe0-2f00c26aea7a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "69900771-6e54-43e4-ade3-1df1bcb76d25", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" - }, - "ResponseBody": { - "jobId": "505d6539-2d67-4ae2-ba2a-1669e752802f", - "lastUpdateDateTime": "2022-02-18T19:14:04Z", - "createdDateTime": "2022-02-18T19:14:03Z", - "expirationDateTime": "2022-02-19T19:14:03Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/505d6539-2d67-4ae2-ba2a-1669e752802f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000267-0000000000000534-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "87ec512a-5b62-4efe-b3cf-229139d3a7b8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "614ac93c-14bf-42fb-a196-8d1c31bec9c4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66" - }, - "ResponseBody": { - "jobId": "505d6539-2d67-4ae2-ba2a-1669e752802f", - "lastUpdateDateTime": "2022-02-18T19:14:04Z", - "createdDateTime": "2022-02-18T19:14:03Z", - "expirationDateTime": "2022-02-19T19:14:03Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/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 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 deleted file mode 100644 index a85fe46f345c..000000000000 --- a/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 +++ /dev/null @@ -1,312 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000268-0000000000000536-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "58868447-4574-4e24-810a-7f0746dcb90f", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "8ec44476-3332-4ba7-b862-957d0d6c1ee3", - "Date": "Fri, 18 Feb 2022 19:14:07 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000269-0000000000000538-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "83971704-e0c8-42bb-bb92-99be885b44b8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e2943d42-7a62-4ae4-b111-29198e330a18", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb", - "lastUpdateDateTime": "2022-02-18T19:14:08Z", - "createdDateTime": "2022-02-18T19:14:08Z", - "expirationDateTime": "2022-02-19T19:14:08Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000270-0000000000000540-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "8c8d0598-669c-458e-a819-46b1d65f6ec7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9878426d-69dd-4c30-b134-89264a8abafb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb", - "lastUpdateDateTime": "2022-02-18T19:14:08Z", - "createdDateTime": "2022-02-18T19:14:08Z", - "expirationDateTime": "2022-02-19T19:14:08Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000271-0000000000000542-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "88eed53a-5b77-487f-9f14-337b448cd6a7", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b24fde9d-f420-45a7-819e-19f28d2793c0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "164" - }, - "ResponseBody": { - "jobId": "6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb", - "lastUpdateDateTime": "2022-02-18T19:14:08Z", - "createdDateTime": "2022-02-18T19:14:08Z", - "expirationDateTime": "2022-02-19T19:14:08Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000272-0000000000000544-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "49029df1-5779-4f86-bade-ebbbe22ba6ab", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ec135d77-f866-4e95-ae5c-a76097479a1b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122" - }, - "ResponseBody": { - "jobId": "6afdcaab-62fd-4390-b66e-fb0dfb2b0ecb", - "lastUpdateDateTime": "2022-02-18T19:14:08Z", - "createdDateTime": "2022-02-18T19:14:08Z", - "expirationDateTime": "2022-02-19T19:14:08Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index c6c871bd1129..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json +++ /dev/null @@ -1,2553 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "710405", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000257-0000000000000514-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1849b1eb-aa64-4412-bc67-54665157a0d3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", - "language": "en" - } - ] - }, - "StatusCode": 413, - "ResponseHeaders": { - "apim-request-id": "1bc969a8-86fd-440e-a77b-bf8ad5189cc6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "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" - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index a007c802a15d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json +++ /dev/null @@ -1,251 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?model-version=latest\u0026stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000273-0000000000000546-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c4e33f31-6dc6-471d-a506-60f5ed3128c1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "73b5bf4c-0c47-47e0-a4e2-d010bef85a2c", - "Date": "Fri, 18 Feb 2022 19:14:11 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/78851c7a-298d-4faf-ba9d-960aee4dc34a", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "153" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/78851c7a-298d-4faf-ba9d-960aee4dc34a?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000274-0000000000000548-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1c7b21dc-5512-40d5-b13b-f57dcde541a6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "548b830e-f031-472d-9923-0cd5ac167848", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "78851c7a-298d-4faf-ba9d-960aee4dc34a", - "lastUpdateDateTime": "2022-02-18T19:14:12Z", - "createdDateTime": "2022-02-18T19:14:12Z", - "expirationDateTime": "2022-02-19T19:14:12Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/78851c7a-298d-4faf-ba9d-960aee4dc34a?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000275-0000000000000550-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "306cbb8d-beda-417d-ab4e-34cff8ba15b8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f3e97cd-f154-4fe8-8012-edcad84391b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "78851c7a-298d-4faf-ba9d-960aee4dc34a", - "lastUpdateDateTime": "2022-02-18T19:14:12Z", - "createdDateTime": "2022-02-18T19:14:12Z", - "expirationDateTime": "2022-02-19T19:14:12Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/78851c7a-298d-4faf-ba9d-960aee4dc34a?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000276-0000000000000552-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "28d3e770-7546-46d4-88de-1f7c73cd5211", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "28d86532-8a8a-4382-91ab-dfbea3860944", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "149" - }, - "ResponseBody": { - "jobId": "78851c7a-298d-4faf-ba9d-960aee4dc34a", - "lastUpdateDateTime": "2022-02-18T19:14:13Z", - "createdDateTime": "2022-02-18T19:14:12Z", - "expirationDateTime": "2022-02-19T19:14:12Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 6f5f44cce18a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "226", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000246-0000000000000492-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "af7f1661-b5f7-4a96-a61e-4c7869c7c573", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e439c501-ed47-4a91-9385-c707a2fb5c43", - "Date": "Fri, 18 Feb 2022 19:13:50 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/65ae4349-4cc8-447e-8310-9cf24b1ccf54", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "189" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/65ae4349-4cc8-447e-8310-9cf24b1ccf54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000247-0000000000000494-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "5ab61e31-d03d-436e-8252-f3a13e98e0e0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "086734e6-b397-4e5a-932f-ddc442e3b99e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "65ae4349-4cc8-447e-8310-9cf24b1ccf54", - "lastUpdateDateTime": "2022-02-18T19:13:50Z", - "createdDateTime": "2022-02-18T19:13:50Z", - "expirationDateTime": "2022-02-19T19:13:50Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/65ae4349-4cc8-447e-8310-9cf24b1ccf54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000248-0000000000000496-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c3aaa78e-629f-45cf-8d04-03b1ace068c0", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7f491853-5065-47ad-b721-a4680caf7804", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "65ae4349-4cc8-447e-8310-9cf24b1ccf54", - "lastUpdateDateTime": "2022-02-18T19:13:50Z", - "createdDateTime": "2022-02-18T19:13:50Z", - "expirationDateTime": "2022-02-19T19:13:50Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/65ae4349-4cc8-447e-8310-9cf24b1ccf54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000249-0000000000000498-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bd2192e5-7d91-4239-b1dc-b4e4b812fe64", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a5b96f52-facd-47b6-bd9d-a46be4a5c391", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "249" - }, - "ResponseBody": { - "jobId": "65ae4349-4cc8-447e-8310-9cf24b1ccf54", - "lastUpdateDateTime": "2022-02-18T19:13:51Z", - "createdDateTime": "2022-02-18T19:13:50Z", - "expirationDateTime": "2022-02-19T19:13:50Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/65ae4349-4cc8-447e-8310-9cf24b1ccf54?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000250-0000000000000500-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "1433805c-8ee0-4f83-a6a4-97dcdeadc752", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "754baeba-d631-4de9-82f9-a541a290976b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "99" - }, - "ResponseBody": { - "jobId": "65ae4349-4cc8-447e-8310-9cf24b1ccf54", - "lastUpdateDateTime": "2022-02-18T19:13:51Z", - "createdDateTime": "2022-02-18T19:13:50Z", - "expirationDateTime": "2022-02-19T19:13:50Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 952472856597..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "544", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000256-0000000000000512-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "616cfcb3-94e4-4f34-9039-21346ce57935", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "95d7069d-5e8e-4576-8de1-be5196f75bfc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:13:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 10 records are permitted." - } - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 05599542cb5e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000282-0000000000000564-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "337dd2b1-8d9b-4831-bb95-e8cdc2b5fcb3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "57092458-5217-4a3e-bd92-275eba258fa3", - "Date": "Fri, 18 Feb 2022 19:14:19 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "189" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000283-0000000000000566-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "bf2e635d-eb79-4122-a4a2-e9438bb947fc", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "516422b3-ff95-4aa8-985f-d5d042b98a75", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "jobId": "20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff", - "lastUpdateDateTime": "2022-02-18T19:14:19Z", - "createdDateTime": "2022-02-18T19:14:19Z", - "expirationDateTime": "2022-02-19T19:14:19Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000284-0000000000000568-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "a4af7490-9066-45a7-a5b1-a266f248bb90", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a53c7ebf-79e8-4d14-9d10-bf381afd39fe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff", - "lastUpdateDateTime": "2022-02-18T19:14:19Z", - "createdDateTime": "2022-02-18T19:14:19Z", - "expirationDateTime": "2022-02-19T19:14:19Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000285-0000000000000570-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "80b853d8-f8da-471e-aed1-0cfc9be4dea9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8144d2d1-9d10-49d8-ba76-141c620d6e5e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "83" - }, - "ResponseBody": { - "jobId": "20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff", - "lastUpdateDateTime": "2022-02-18T19:14:20Z", - "createdDateTime": "2022-02-18T19:14:19Z", - "expirationDateTime": "2022-02-19T19:14:19Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000286-0000000000000572-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "31e7f608-fd2f-411a-bfb0-4b2e614d1545", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47e6dec7-bb4e-4686-b788-5265ef91bc8d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66" - }, - "ResponseBody": { - "jobId": "20e9e5c2-2e7a-4b21-b6a8-8ebdc34b04ff", - "lastUpdateDateTime": "2022-02-18T19:14:20Z", - "createdDateTime": "2022-02-18T19:14:19Z", - "expirationDateTime": "2022-02-19T19:14:19Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index abd7ffb4e4ac..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "202", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000287-0000000000000574-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "b3a9af2f-e7e9-4f75-976c-fa506c328cf1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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." - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4d2b7a30-edca-46c3-a5bf-7e8d53b62371", - "Date": "Fri, 18 Feb 2022 19:14:22 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46eb24bb-4c05-455f-8d67-3ceec561daf3", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "214" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46eb24bb-4c05-455f-8d67-3ceec561daf3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000288-0000000000000576-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "c6343e14-b1f7-41b0-a311-c5138f08c0b4", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "13a1ee58-3066-4190-905b-a7a2770b61da", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "46eb24bb-4c05-455f-8d67-3ceec561daf3", - "lastUpdateDateTime": "2022-02-18T19:14:23Z", - "createdDateTime": "2022-02-18T19:14:22Z", - "expirationDateTime": "2022-02-19T19:14:22Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46eb24bb-4c05-455f-8d67-3ceec561daf3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000289-0000000000000578-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "3766f335-428e-4551-98be-54e10ca669b9", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "96f71317-9fcc-4de4-8887-7a74a62c906d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "46eb24bb-4c05-455f-8d67-3ceec561daf3", - "lastUpdateDateTime": "2022-02-18T19:14:23Z", - "createdDateTime": "2022-02-18T19:14:22Z", - "expirationDateTime": "2022-02-19T19:14:22Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46eb24bb-4c05-455f-8d67-3ceec561daf3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000290-0000000000000580-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "968e6060-6176-48f3-83be-5b0565fc01f1", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a72b377a-e06b-4b94-bb8c-9373a82c948d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "60" - }, - "ResponseBody": { - "jobId": "46eb24bb-4c05-455f-8d67-3ceec561daf3", - "lastUpdateDateTime": "2022-02-18T19:14:23Z", - "createdDateTime": "2022-02-18T19:14:22Z", - "expirationDateTime": "2022-02-19T19:14:22Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46eb24bb-4c05-455f-8d67-3ceec561daf3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000291-0000000000000582-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "fa598ffb-e9d2-40ea-a80b-100a91378324", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "71105a6e-415a-4de0-a601-0380bc3d7668", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "291" - }, - "ResponseBody": { - "jobId": "46eb24bb-4c05-455f-8d67-3ceec561daf3", - "lastUpdateDateTime": "2022-02-18T19:14:23Z", - "createdDateTime": "2022-02-18T19:14:22Z", - "expirationDateTime": "2022-02-19T19:14:22Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_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 deleted file mode 100644 index 64ecd22b8fa7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000277-0000000000000554-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "d0f9c5a3-7cd4-41df-b506-fb3e9d1bf23a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "76370bce-22f0-4729-a06d-b69fa7980ff1", - "Date": "Fri, 18 Feb 2022 19:14:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/949eea5c-ceb8-4571-b0d1-1a29f21de7aa", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "153" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/949eea5c-ceb8-4571-b0d1-1a29f21de7aa?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000278-0000000000000556-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9456c152-3efe-4a96-a857-de344b0b6efe", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "828b8ae1-c375-4764-ae1c-1d48c5980db2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "949eea5c-ceb8-4571-b0d1-1a29f21de7aa", - "lastUpdateDateTime": "2022-02-18T19:14:16Z", - "createdDateTime": "2022-02-18T19:14:15Z", - "expirationDateTime": "2022-02-19T19:14:15Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/949eea5c-ceb8-4571-b0d1-1a29f21de7aa?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000279-0000000000000558-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "49ad7283-e250-449d-b85c-ea0bf6675fb3", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ce07f41c-a141-47dc-ab81-d4caabf301cd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "949eea5c-ceb8-4571-b0d1-1a29f21de7aa", - "lastUpdateDateTime": "2022-02-18T19:14:16Z", - "createdDateTime": "2022-02-18T19:14:15Z", - "expirationDateTime": "2022-02-19T19:14:15Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/949eea5c-ceb8-4571-b0d1-1a29f21de7aa?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000280-0000000000000560-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "00879729-f2df-4b1c-b017-9ce23082c951", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b585ae0-3b09-4bce-89e5-9d57c97e7b37", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "949eea5c-ceb8-4571-b0d1-1a29f21de7aa", - "lastUpdateDateTime": "2022-02-18T19:14:16Z", - "createdDateTime": "2022-02-18T19:14:15Z", - "expirationDateTime": "2022-02-19T19:14:15Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/949eea5c-ceb8-4571-b0d1-1a29f21de7aa?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000281-0000000000000562-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "ac3ef8f2-23e9-42cb-b774-16c3d0ea089c", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "beeaf19e-2d29-4151-978e-81e3a9cc28fa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "95" - }, - "ResponseBody": { - "jobId": "949eea5c-ceb8-4571-b0d1-1a29f21de7aa", - "lastUpdateDateTime": "2022-02-18T19:14:16Z", - "createdDateTime": "2022-02-18T19:14:15Z", - "expirationDateTime": "2022-02-19T19:14:15Z", - "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" - } - } - } - ], - "Variables": {} -} 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 deleted file mode 100644 index 772ae3e98e49..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/json", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000292-0000000000000584-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "6e15c44b-3dbb-4688-8288-b30382d7d9e8", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "I should take my cat to the veterinarian." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "105bcf24-7fb0-4d51-a940-354fc1293bf7", - "Date": "Fri, 18 Feb 2022 19:14:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c804e047-c0c3-48b5-9252-a8210b99fcc2", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c804e047-c0c3-48b5-9252-a8210b99fcc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000293-0000000000000586-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9905d9fa-4201-491a-ae88-da6bdee4e3a2", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5fc029a3-d660-461f-9d2b-9c58a1dd1e82", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "c804e047-c0c3-48b5-9252-a8210b99fcc2", - "lastUpdateDateTime": "2022-02-18T19:14:26Z", - "createdDateTime": "2022-02-18T19:14:26Z", - "expirationDateTime": "2022-02-19T19:14:26Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c804e047-c0c3-48b5-9252-a8210b99fcc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000294-0000000000000588-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "69b68e9f-ec9f-4441-a697-7add8901b11a", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9f417cc2-1f5a-4115-a9ba-dc0c1f67579d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "c804e047-c0c3-48b5-9252-a8210b99fcc2", - "lastUpdateDateTime": "2022-02-18T19:14:26Z", - "createdDateTime": "2022-02-18T19:14:26Z", - "expirationDateTime": "2022-02-19T19:14:26Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c804e047-c0c3-48b5-9252-a8210b99fcc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000295-0000000000000590-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "9a6a6084-4d39-4967-b29d-b51b26e7eb23", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "44734a88-6da3-49fa-8940-b3b292cc2c18", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "67" - }, - "ResponseBody": { - "jobId": "c804e047-c0c3-48b5-9252-a8210b99fcc2", - "lastUpdateDateTime": "2022-02-18T19:14:27Z", - "createdDateTime": "2022-02-18T19:14:26Z", - "expirationDateTime": "2022-02-19T19:14:26Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c804e047-c0c3-48b5-9252-a8210b99fcc2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip, deflate, br", - "Accept-Language": "en-GB", - "Connection": "keep-alive", - "ocp-apim-subscription-key": "api_key", - "Referer": "http://localhost:9876/", - "sec-ch-ua": "", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "", - "Sec-Fetch-Dest": "empty", - "Sec-Fetch-Mode": "cors", - "Sec-Fetch-Site": "same-site", - "traceparent": "00-00000000000000000000000000000296-0000000000000592-00", - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36", - "x-ms-client-request-id": "dc4e6835-15ae-4c03-8743-0a5f0ea18ed6", - "x-ms-useragent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 OS/Win32" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e7ff1389-b5fc-45db-b3ab-d4a633e7ea70", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:14:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "361" - }, - "ResponseBody": { - "jobId": "c804e047-c0c3-48b5-9252-a8210b99fcc2", - "lastUpdateDateTime": "2022-02-18T19:14:27Z", - "createdDateTime": "2022-02-18T19:14:26Z", - "expirationDateTime": "2022-02-19T19:14:26Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..d2fae4806e4e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,197 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "687", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "87c80f48-f6aa-4c9d-9833-13c84b3622f8" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7394b3e6-3f71-4e9c-b7ca-feca7bfc5baa", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..913b2ed2639c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f7c8ce55-bb48-47b0-952b-635b49ed127f" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e744abbc-4d2d-4202-9ea0-5149f3bb3256", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "19" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..03874c246c7b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "186c47c9-b063-425d-b029-d1027a8f60d7" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b61e0f9e-c442-4b40-91d8-8d71cf903fdb", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..9601b23f3762 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b7cb8f6b-354c-4a0e-9046-803accc4d39a" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "9ee24b04-17f0-48b8-9b47-29d6cfc01246", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..3131d7517562 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "160", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3fedf8e8-40cb-4fd2-8ff4-1e908b10a46d" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0166c1dc-40d3-4fea-8906-5f883c3ce247", + "Content-Length": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..f8d6921b34a5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "691", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f0e0f358-af3a-4d7d-8389-dcfbf5bd6401" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "907b1452-36b4-4290-ba86-993db8bf5335", + "Content-Length": "1462", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.85 + } + ], + "warnings": [] + }, + { + "id": "5", + "entities": [ + { + "text": "carretera", + "category": "Location", + "offset": 3, + "length": 9, + "confidenceScore": 0.81 + }, + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..266737258c2f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,166 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d7584f86-96de-46fd-a1b7-9fdfe6b79290" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b4345a81-68dc-4545-8826-f29874fae08e", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..408d541bee16 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,166 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "64f25167-3c8b-4de0-9656-a53ebea9afc0" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1dc723e5-378f-49ba-9a06-f198c389a4cb", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..f0840f9f9aff --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e687855b-b5d0-49d9-9464-12b70ab87617" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "9fc52034-1b59-4e90-ad92-8fd5fbb9808b", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..de5e8014b633 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "164", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "28d74ff1-efe8-4745-bca2-388ac667a493" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0ccfed1b-4607-445a-a4ef-24b829ffdc8a", + "Content-Length": "465", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..9f4963cbba5d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,128 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "772", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f182001d-d2bc-4393-b433-e3722565e984" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "de51fca0-f3d5-419a-b1c4-e0f4d4f005e1", + "Content-Length": "524", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [ + "last book" + ], + "warnings": [] + }, + { + "id": "5", + "keyPhrases": [ + "Monte Rainier", + "caminos" + ], + "warnings": [] + }, + { + "id": "6", + "keyPhrases": [ + "mucho tr\u00E1fico", + "d\u00EDa", + "carretera", + "ayer" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..9d435768b474 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,100 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fe830fca-197c-436d-8a9a-ac744231c70e" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "95cd24d3-8f97-45fc-8059-51c6373ef403", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..03e7e5f56bae --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,100 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3ad56cf9-6d2a-47ef-846f-8997cbe4c2e1" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "776a5400-d16d-4fdd-b3e1-3b74a70add4c", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..0cc790c792d4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "166", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "601bdfe5-2f38-40e7-b04e-e0b3742b5510" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7810f1b6-e785-4e4c-ae78-47a245f3a936", + "Content-Length": "491", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json new file mode 100644 index 000000000000..3cdae4cbe59b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "126", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "534fd8ad-329b-4cfb-b68d-d3fca9132672" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "impossible", + "countryHint": "fr" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "36c61ce6-deed-456c-810e-30e8734fad2a", + "Content-Length": "204", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "French", + "iso6391Name": "fr", + "confidenceScore": 1.0 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json new file mode 100644 index 000000000000..f590b4d0670a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -0,0 +1,127 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "712", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8fcc9c7f-79b6-45e7-8137-a212efdfe2ae" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "mx" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e5f7a800-0fb6-4eb2-8b4d-23a2d4f0e442", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json new file mode 100644 index 000000000000..064cc0e4b764 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json @@ -0,0 +1,103 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "567", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e8d0394f-9896-44b0-89eb-5a2e1f61194a" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "countryHint": "us" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e01b9d04-2e66-46fb-be98-1d13a158a305", + "Content-Length": "517", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json new file mode 100644 index 000000000000..30e269b8afc6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -0,0 +1,131 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "800", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e67e8e91-838c-48ab-9c81-bb46630658eb" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!", + "countryHint": "none" + }, + { + "id": "2", + "text": "Unfortunately, it rained during my entire trip to Seattle. I didn\u0027t even get to visit the Space Needle", + "countryHint": "none" + }, + { + "id": "3", + "text": "I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.", + "countryHint": "none" + }, + { + "id": "4", + "text": "I didn\u0027t like the last book I read at all.", + "countryHint": "none" + }, + { + "id": "5", + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.", + "countryHint": "none" + }, + { + "id": "6", + "text": "La carretera estaba atascada. Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "05631289-1474-400d-ab7e-e3ffe8592e21", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json new file mode 100644 index 000000000000..e8d47b7a7351 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "162", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1f46ff3d-289e-483a-80c4-ec6400ada11c" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I use Azure Functions to develop my service.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "65344b85-5942-4928-a09f-ff728acfd11c", + "Content-Length": "206", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "English", + "iso6391Name": "en", + "confidenceScore": 0.95 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json new file mode 100644 index 000000000000..a8a6a5d43c10 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "133", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3f5fafc4-32e7-4ee9-a319-5e08428ef87f" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "hello", + "countryHint": "invalidcountry" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2a1a0094-9726-44fe-b103-d7f86a4e8aa0", + "Content-Length": "325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json new file mode 100644 index 000000000000..dfe37b438462 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json @@ -0,0 +1,75 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "185", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "14a6428a-4fae-45f7-890a-5b57defeef5d" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I work at Microsoft and my phone number is 333-333-3333", + "language": "en" + } + ] + }, + "parameters": { + "domain": "phi" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bb3f7e73-c0e7-4b1c-bdc5-ecb05b156a81", + "Content-Length": "403", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "I work at ********* and my phone number is ************", + "id": "0", + "entities": [ + { + "text": "Microsoft", + "category": "Organization", + "offset": 10, + "length": 9, + "confidenceScore": 0.94 + }, + { + "text": "333-333-3333", + "category": "PhoneNumber", + "offset": 43, + "length": 12, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json new file mode 100644 index 000000000000..fde5af272ec4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0d5e3299-c584-4f8e-9dc4-aa0eb1827e9d" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6366d722-4022-4571-91db-d9d40bc3b2c8", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..0a3f3901e48e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,129 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "694", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8c858254-522c-4c31-88a4-a3bcfbf5ee05" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f197bbf1-1d42-4c90-b6f9-e325533ca13a", + "Content-Length": "1142", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", + "id": "5", + "entities": [ + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..7f6351707209 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a4cc59cc-3bd1-4c6e-ac2b-2d20dd0ba488" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "69051e81-f884-4f72-b69d-3546fda1b120", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..457b7c2861e0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3d8362d4-1a94-4edd-a1a6-cfb019047665" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c0771ca-7360-46b0-a25f-ad9fa3aea219", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json new file mode 100644 index 000000000000..787728002612 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -0,0 +1,66 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "159", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b5d9b85a-9a98-4572-a376-b0acaac34410" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Your Social Security Number is 859-98-0987.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "826b5367-3d03-4ca6-ab83-5aef32e5243e", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json new file mode 100644 index 000000000000..efcc83ab095b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json @@ -0,0 +1,138 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "158", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a1890b8e-40e9-4f20-b793-1de69f4803d5" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3ac7bca9-3b70-4c1b-9667-be490494c13b", + "Content-Length": "389", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "Patient name is *** and SSN is ***********", + "id": "0", + "entities": [ + { + "text": "Joe", + "category": "Person", + "offset": 16, + "length": 3, + "confidenceScore": 0.78 + }, + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 31, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + }, + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "271f4eb4-b442-42fb-8423-28d7515c6cdd" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e6ca31e0-19a7-4628-81f3-f7ee96a768e7", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..9a7d9744bfe7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "167", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6272b8e4-3589-4319-9cdc-fa55eb96f508" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b13e32d0-462e-45c8-ad7f-3fab915696d6", + "Content-Length": "435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json new file mode 100644 index 000000000000..450a64c5d2e8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1f2e4110-e80a-4225-b31f-606f6ae7b0a6" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4f20056b-c409-4e26-8aee-68133294c434", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..4f4689990c5e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "538acc41-cb82-47d3-8e0f-496c027ebfb2" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aa72a8fc-2a57-4ae9-b5e0-6e5ef9aa9e40", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json new file mode 100644 index 000000000000..14943de52020 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json @@ -0,0 +1,237 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "91bedfbe-083d-4a33-950d-cece627de52c" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a0c8132a-2aba-4082-a9cd-cf0eac91da73", + "Content-Length": "2355", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "offset": 0, + "length": 73, + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos." + } + ], + "warnings": [] + }, + { + "id": "6", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.07, + "neutral": 0.15, + "negative": 0.78 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.05, + "negative": 0.94 + }, + "offset": 0, + "length": 30, + "text": "La carretera estaba atascada. " + }, + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.12, + "neutral": 0.26, + "negative": 0.62 + }, + "offset": 30, + "length": 35, + "text": "Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json new file mode 100644 index 000000000000..c73836eb026c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json @@ -0,0 +1,79 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "151", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2b425e50-0a47-4982-973f-90feaf2c1a89" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "today is a hot day", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5ddccaa8-6301-4760-bcf0-c4f5a3f7e159", + "Content-Length": "405", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "offset": 0, + "length": 18, + "text": "today is a hot day", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json new file mode 100644 index 000000000000..0fbd065559a2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json @@ -0,0 +1,123 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f0596c42-fa4b-46f6-b1bc-efa89751ba8c" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "01be73d3-d0b9-433f-a14d-071c5615ebec", + "Content-Length": "1009", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": 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": 53, + "length": 9, + "text": "beautiful", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json new file mode 100644 index 000000000000..5b3379ba2bec --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -0,0 +1,700 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "703", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94b41ffe-33de-4a0f-9815-068b99950831" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "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" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "15d94cdb-47e2-47b4-974a-f96ad34115e6", + "Content-Length": "7827", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", + "Date": "Fri, 06 May 2022 20:17:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "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": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "offset": 0, + "length": 26, + "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": 0.99, + "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.03, + "neutral": 0.0, + "negative": 0.97 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.0, + "negative": 0.97 + }, + "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" + }, + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + }, + { + "sentiment": "positive", + "confidenceScores": { + "positive": 1.0, + "negative": 0.0 + }, + "offset": 65, + "length": 5, + "text": "rooms", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + } + ], + "assessments": [ + { + "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": 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": 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": 1.0, + "negative": 0.0 + }, + "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.99, + "negative": 0.01 + }, + "offset": 14, + "length": 12, + "text": "unobstructed", + "isNegated": false + } + ] + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "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": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "offset": 0, + "length": 19, + "text": "The toilet smelled.", + "targets": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 4, + "length": 6, + "text": "toilet", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/6/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 11, + "length": 7, + "text": "smelled", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json new file mode 100644 index 000000000000..66c4956ab745 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json @@ -0,0 +1,187 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "592", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "728b4631-e7fd-465f-a08f-96142b1d1fef" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a1b108ca-a274-404b-a1fe-bdee1afc4b81", + "Content-Length": "1737", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t 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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json new file mode 100644 index 000000000000..c754b660522e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "135", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ab7ca049-0bfa-49c4-9199-75de650bf2d3" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Hello world!", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "745fdfa7-c872-40c2-8a3e-3ddfed5d7bdc", + "Content-Length": "446", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "4" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json new file mode 100644 index 000000000000..fdf396fee1f4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b876c9b3-240c-44da-8513-90aad7832a4f" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "95690efd-6a0e-4ca2-83b2-3409dff4b086", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json new file mode 100644 index 000000000000..d07ba56e9172 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "171", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2ad140d2-016d-4c35-8b27-e8629ecdc717" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "49b30de5-87ec-45ea-b97b-1d8edf0b9942", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json new file mode 100644 index 000000000000..56ff550a0eac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "acf5391f-67f8-461c-a181-ea457ea35adf" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "607f2aa3-108d-4616-bcbe-d6263ea517a1", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..a28197e12b84 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5be511af-c894-4a7b-93bc-ed53f51f8c74" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5621cb92-23cd-4526-8b0b-fbe78f243d57", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json new file mode 100644 index 000000000000..c2a674adfd4a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "191", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8af4de7d-6793-4ec8-be1a-249e5bc39995" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "886d07a5-0a34-46d3-970c-128a15ef186a", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..94de96d1eac3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5ad9d7b0-5a26-49a2-a377-c0301291ee77" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "11d9025a-e732-4ee3-96cf-5f8f27190d94", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 25, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json new file mode 100644 index 000000000000..6c4184ee837b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0fa26cc0-a795-48c3-93d7-951dfd60ab04" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f26fed31-2037-4998-81a4-0111b0bd6920", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json new file mode 100644 index 000000000000..29966acc6500 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "90dc8df3-c565-4d46-bebe-24f09878640a" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b141570-692b-44b0-a43b-97bc3fee98d6", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json new file mode 100644 index 000000000000..3cebc3e63d4f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "393", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "818313e5-ccc8-4084-99a4-5c26ed9cafcf" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0a0249fa-02bc-4403-b46a-7bfcd6f9a9bf", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "62" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json new file mode 100644 index 000000000000..eb424b033906 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "07b091dc-d0b3-4c68-9ce8-aadc15356f34" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ef79bd7-8104-45dd-a857-6400b61f4cb0", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json new file mode 100644 index 000000000000..a23033cdca0d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8a686a41-25d0-4035-b18a-8dbb00e58082" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fb4039a5-8369-4f12-a107-3f55d8d31363", + "Content-Length": "287", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json new file mode 100644 index 000000000000..bd7e156459bf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c185d1ef-b171-44d4-8f91-d81c32e76ced" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f555faa5-04eb-477c-a830-b4bf6eb7d060", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..e52664a7154d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "176", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "122f889d-85a7-49b2-80e3-a3bae7a78d26" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d4f79d54-7077-45ba-98e6-efa161ec7ef2", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json new file mode 100644 index 000000000000..af0649f29df3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "193", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9826390f-6d5b-4bbf-a8bd-1a2143544176" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b52d86c-d975-43bc-b45e-fae99f678306", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..63b7a88087c4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "209", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dcf05a37-c93b-4930-afa8-5807a0f30388" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c41be5e9-df40-45f9-a8ca-1a9bab2d9991", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json new file mode 100644 index 000000000000..ab0256edaaed --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ff748ba7-9ad1-4ef8-b366-e191dc1034f5" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "da8bc460-f652-4af6-873a-22f14a11f496", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "41" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json new file mode 100644 index 000000000000..21dd8805b3c8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9e62336c-b2af-4b10-9cf7-4d9d84043d5f" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ba60ed0d-fb69-44ef-a265-25edfab35cec", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json new file mode 100644 index 000000000000..fa79c1df5ae9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "395", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "06a4fbea-6811-4e6a-bfef-945f4e4b7bc5" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a9eb2d38-f00f-4924-86cd-a10e94ae05f3", + "Content-Length": "509", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json new file mode 100644 index 000000000000..b538767192ce --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bc66ad01-9f4e-47b7-91af-9d6207e5fd46" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a1a25ca0-6808-49ce-953e-e544c22edb10", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json new file mode 100644 index 000000000000..921d6233edae --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "00ac00f9-43fd-4e40-9168-5df24422d884" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5f5f2cdd-8c54-4245-b2d8-9b9bf8092827", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json new file mode 100644 index 000000000000..714c904a7691 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c22eccf5-1787-4c0c-9dd8-43945949bd5a" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "87814a58-02d5-4eab-9fa4-5487c3195eaa", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..d1fb61a599a2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "177", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3fa24245-94de-4a0b-b932-219814a36de7" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9c0897d4-687f-4047-ae8b-49a9ac262429", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json new file mode 100644 index 000000000000..f18079af6abe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "194", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f577ae42-dd01-4de1-96bb-66302e899962" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e1323236-3a8e-4a81-a83f-572a2eb699c5", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..372a773b362d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "210", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "74dbc679-dced-452e-9ded-aa363d38d587" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56b57cf3-30f3-49be-9506-257a861c92a5", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json new file mode 100644 index 000000000000..95c27c106f70 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9249aad7-8f96-497c-bcb9-e25c45c374a9" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ab536f74-1719-41ad-9048-bc19fd883c06", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json new file mode 100644 index 000000000000..aa5835436cc7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a251eb6d-07e9-4b95-983e-24a051dc9434" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c556b99c-9f16-4656-ad5a-79aca67f57c5", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json new file mode 100644 index 000000000000..a725dbf2762c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "396", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2b44a504-17fd-4ab4-9243-08679352bb2c" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "03c863fe-ff3a-47e3-bb3e-2e68d4a167ef", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:18:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json new file mode 100644 index 000000000000..c382f243bdaa --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json @@ -0,0 +1,464 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "482", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "619dddb2-bbf8-40e5-a8a3-02ad2280b432" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomEntityRecognition", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "95928113-4a89-495b-9443-d4a59ac95163", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:44 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e9fcfe6d-47bf-47b8-be27-e57673c474c3?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9fcfe6d-47bf-47b8-be27-e57673c474c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8f51b670-e6e0-4b6e-880e-da03b37079c2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9c98ac17-67f3-4b80-b9b7-b2564337b16d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e9fcfe6d-47bf-47b8-be27-e57673c474c3", + "lastUpdateDateTime": "2022-05-07T06:36:44Z", + "createdDateTime": "2022-05-07T06:36:44Z", + "expirationDateTime": "2022-05-08T06:36:44Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9fcfe6d-47bf-47b8-be27-e57673c474c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d0c06d28-6f40-4d04-afd7-47b54ea1c01c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "70c294ab-2608-4b5d-811e-2b1096e96f27", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "14" + }, + "ResponseBody": { + "jobId": "e9fcfe6d-47bf-47b8-be27-e57673c474c3", + "lastUpdateDateTime": "2022-05-07T06:36:44Z", + "createdDateTime": "2022-05-07T06:36:44Z", + "expirationDateTime": "2022-05-08T06:36:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9fcfe6d-47bf-47b8-be27-e57673c474c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "eef64d7e-1773-4fa8-a1d8-15ce7fea9ee9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e59263e9-f914-4184-9365-d783e7561575", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "41" + }, + "ResponseBody": { + "jobId": "e9fcfe6d-47bf-47b8-be27-e57673c474c3", + "lastUpdateDateTime": "2022-05-07T06:36:44Z", + "createdDateTime": "2022-05-07T06:36:44Z", + "expirationDateTime": "2022-05-08T06:36:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:44.3749061Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9fcfe6d-47bf-47b8-be27-e57673c474c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "29f247af-bebb-47b1-aff1-9aed9d03fe71" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1bedeac3-4138-48e8-a699-76fc5ae0a302", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "jobId": "e9fcfe6d-47bf-47b8-be27-e57673c474c3", + "lastUpdateDateTime": "2022-05-07T06:36:44Z", + "createdDateTime": "2022-05-07T06:36:44Z", + "expirationDateTime": "2022-05-08T06:36:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:44.3749061Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json new file mode 100644 index 000000000000..b2b3b79335b3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json @@ -0,0 +1,238 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "489", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "06f8231f-8800-497a-92ba-aed4d20bf0d0" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomMultiLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "17b919b5-6453-4e34-b9a1-5a5df58167ea", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:50 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/54b3f222-828e-49b6-9307-c5a9887f3276?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "249" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/54b3f222-828e-49b6-9307-c5a9887f3276?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f76be7fd-723b-476f-b74e-48c0301e0fc5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "66e54297-bb2c-40f0-88c6-7515b7ffc481", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "54b3f222-828e-49b6-9307-c5a9887f3276", + "lastUpdateDateTime": "2022-05-07T06:36:50Z", + "createdDateTime": "2022-05-07T06:36:50Z", + "expirationDateTime": "2022-05-08T06:36:50Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/54b3f222-828e-49b6-9307-c5a9887f3276?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "180a27cc-d762-4bd9-8322-f5fd2e55d153" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f0e8a27c-9434-4d80-84dc-70f67c4b6a84", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "54b3f222-828e-49b6-9307-c5a9887f3276", + "lastUpdateDateTime": "2022-05-07T06:36:50Z", + "createdDateTime": "2022-05-07T06:36:50Z", + "expirationDateTime": "2022-05-08T06:36:50Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/54b3f222-828e-49b6-9307-c5a9887f3276?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "86954897-f368-4db7-9155-af5a9cb492e2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a6bd80a9-13d0-4a14-a081-de45f71c27db", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "43" + }, + "ResponseBody": { + "jobId": "54b3f222-828e-49b6-9307-c5a9887f3276", + "lastUpdateDateTime": "2022-05-07T06:36:50Z", + "createdDateTime": "2022-05-07T06:36:50Z", + "expirationDateTime": "2022-05-08T06:36:50Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:50.4154711Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/54b3f222-828e-49b6-9307-c5a9887f3276?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1a2a55a7-ccac-48d5-b532-57bd265ac172" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b5195db8-7073-43cb-94b4-0eab803c33da", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "43" + }, + "ResponseBody": { + "jobId": "54b3f222-828e-49b6-9307-c5a9887f3276", + "lastUpdateDateTime": "2022-05-07T06:36:50Z", + "createdDateTime": "2022-05-07T06:36:50Z", + "expirationDateTime": "2022-05-08T06:36:50Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:50.4154711Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json new file mode 100644 index 000000000000..9fa1ac514ccf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json @@ -0,0 +1,244 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "490", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "01ff3260-64ea-4052-ab89-1a1a1c45105a" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomSingleLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "f32b33f1-adf4-4376-8537-2946b3163e34", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:46 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/ef3c63d3-1b41-45b5-a887-0b53e13843c1?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "111" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ef3c63d3-1b41-45b5-a887-0b53e13843c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "78e37480-d6be-47bd-97fd-16894334bc3a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d457ddc3-02be-4369-95cb-780f994a8dce", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "ef3c63d3-1b41-45b5-a887-0b53e13843c1", + "lastUpdateDateTime": "2022-05-07T06:36:47Z", + "createdDateTime": "2022-05-07T06:36:47Z", + "expirationDateTime": "2022-05-08T06:36:47Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ef3c63d3-1b41-45b5-a887-0b53e13843c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0ef47d9e-f8b2-4052-8ea9-53a07b325e6d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f7913fbf-48d0-4d60-a8d8-79dfbf4b1eac", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "ef3c63d3-1b41-45b5-a887-0b53e13843c1", + "lastUpdateDateTime": "2022-05-07T06:36:47Z", + "createdDateTime": "2022-05-07T06:36:47Z", + "expirationDateTime": "2022-05-08T06:36:47Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ef3c63d3-1b41-45b5-a887-0b53e13843c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6351a069-6e37-4565-bc17-56377ba872f9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b7dee090-2ffc-43f2-a276-1fb0b50633e4", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "jobId": "ef3c63d3-1b41-45b5-a887-0b53e13843c1", + "lastUpdateDateTime": "2022-05-07T06:36:47Z", + "createdDateTime": "2022-05-07T06:36:47Z", + "expirationDateTime": "2022-05-08T06:36:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:47.9610685Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ef3c63d3-1b41-45b5-a887-0b53e13843c1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1d4b5dcb-baa9-494f-b897-70e854cfd685" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4129f5cb-75c4-4aa3-8d77-9f1fdcb42ee3", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "ef3c63d3-1b41-45b5-a887-0b53e13843c1", + "lastUpdateDateTime": "2022-05-07T06:36:47Z", + "createdDateTime": "2022-05-07T06:36:47Z", + "expirationDateTime": "2022-05-08T06:36:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:47.9610685Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json new file mode 100644 index 000000000000..94e2e80f3772 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json @@ -0,0 +1,516 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "337", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e4db7dcd-11d0-42dc-ad29-2da4f62cbc1f" + }, + "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": [ + { + "kind": "EntityLinking", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "607849b8-0989-4487-9d21-756fa52efd65", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:16 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "154" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2f17407e-453b-4a7f-baf0-dcdcdfafc1e0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ff5515ef-ff5b-43fc-810a-9cd44f97a71d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "c727df3c-2cab-4db9-8549-bf9c358aba55", + "lastUpdateDateTime": "2022-05-06T20:02:17Z", + "createdDateTime": "2022-05-06T20:02:16Z", + "expirationDateTime": "2022-05-07T20:02:16Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ae8b25a7-437b-4e55-9752-e4da41f30238" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "696432eb-94ff-4236-9b9d-ce809ef2008e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "c727df3c-2cab-4db9-8549-bf9c358aba55", + "lastUpdateDateTime": "2022-05-06T20:02:17Z", + "createdDateTime": "2022-05-06T20:02:16Z", + "expirationDateTime": "2022-05-07T20:02:16Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2f78de4e-2dd6-497d-967e-1776dece8c75" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ebdafb4c-395e-4c1c-bfa0-f7acddbd0d7c", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "c727df3c-2cab-4db9-8549-bf9c358aba55", + "lastUpdateDateTime": "2022-05-06T20:02:17Z", + "createdDateTime": "2022-05-06T20:02:16Z", + "expirationDateTime": "2022-05-07T20:02:16Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2d095eef-77b0-4187-9efb-aeb0b9ae7518" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "000f8828-848d-4caf-b4a0-01bc44a9d08f", + "Content-Length": "2432", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "c727df3c-2cab-4db9-8549-bf9c358aba55", + "lastUpdateDateTime": "2022-05-06T20:02:20Z", + "createdDateTime": "2022-05-06T20:02:16Z", + "expirationDateTime": "2022-05-07T20:02:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:20.903488Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c727df3c-2cab-4db9-8549-bf9c358aba55?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5301da05-24be-41a3-8c48-4e96e591cafa" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16e89bab-c656-47f6-935d-c459d07ad9d7", + "Content-Length": "2432", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "c727df3c-2cab-4db9-8549-bf9c358aba55", + "lastUpdateDateTime": "2022-05-06T20:02:20Z", + "createdDateTime": "2022-05-06T20:02:16Z", + "expirationDateTime": "2022-05-07T20:02:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:20.903488Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json new file mode 100644 index 000000000000..a8f68837b630 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json @@ -0,0 +1,338 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "285", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8798c3c0-e30b-4ec5-a2ed-0292ac76c9a5" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c4a639c9-5198-4dae-8b70-a8b4a12a587b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:04 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a4e83994-1e75-45b0-9e86-9930decd0d05?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "183" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4e83994-1e75-45b0-9e86-9930decd0d05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "81ef5453-f7de-4df5-801c-5d8bd0a266ef" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2080b0a5-3450-4cb2-96d1-1a942fee4715", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "a4e83994-1e75-45b0-9e86-9930decd0d05", + "lastUpdateDateTime": "2022-05-06T20:02:05Z", + "createdDateTime": "2022-05-06T20:02:04Z", + "expirationDateTime": "2022-05-07T20:02:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4e83994-1e75-45b0-9e86-9930decd0d05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4dac2910-f13d-4f5e-81c8-59c0b84a594c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ea710657-cca8-48e7-b2a4-0d1aaa0249b7", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:04 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a4e83994-1e75-45b0-9e86-9930decd0d05", + "lastUpdateDateTime": "2022-05-06T20:02:05Z", + "createdDateTime": "2022-05-06T20:02:04Z", + "expirationDateTime": "2022-05-07T20:02:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4e83994-1e75-45b0-9e86-9930decd0d05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5b431010-1f05-4057-aaf8-53d9a7962c46" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "af259cef-c80d-4418-ac78-5c83a32f348b", + "Content-Length": "1067", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "39" + }, + "ResponseBody": { + "jobId": "a4e83994-1e75-45b0-9e86-9930decd0d05", + "lastUpdateDateTime": "2022-05-06T20:02:06Z", + "createdDateTime": "2022-05-06T20:02:04Z", + "expirationDateTime": "2022-05-07T20:02:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:06.71172Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4e83994-1e75-45b0-9e86-9930decd0d05?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3d8e91d5-ee5d-457f-ae3c-aea94f8419bd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5e6fb7a4-f573-4976-add1-8973269ffa4b", + "Content-Length": "1067", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "a4e83994-1e75-45b0-9e86-9930decd0d05", + "lastUpdateDateTime": "2022-05-06T20:02:06Z", + "createdDateTime": "2022-05-06T20:02:04Z", + "expirationDateTime": "2022-05-07T20:02:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:06.71172Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json new file mode 100644 index 000000000000..de8271649b27 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json @@ -0,0 +1,438 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11308", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c9db156f-b255-4c50-bab3-e87b141b7eb1" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "19d1cabc-8de5-493f-9cce-8f80cd4293f2", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:04:12 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fbff1b1f-f458-4092-b684-58b0914fbf1d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc4f55cd-6e2f-4a58-a1a3-ad472c2146c3", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:12Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "093f6975-c399-4830-b27c-8d17b0d53c2b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4eb6c06-5c32-4970-b5e0-72ae52bc6c41", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:12Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "908e4773-4775-474f-9f9a-00266993fb45" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bdab0e8a-d3f5-482e-8841-1424482be01b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:12Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dfdae5a7-4170-4a84-8c41-435e5e14aa58" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c8efe658-387c-4b7e-ae74-9b73a942f1d1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:12Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a09c3318-3276-4075-ae16-cdf7578b66a0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "338d2f1a-0f85-4d52-b2a9-c3768d8b6358", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:12Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "df61212e-629f-421d-8e69-b6ab50e1b3c6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "464977fc-11df-4445-aee8-98a3a11491a2", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "51" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:19Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:19.9621164Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/416755c3-80fd-4bb3-9eab-f018ae16c918?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "74c9365a-90b3-4072-9111-a0704d55c969" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "55916c94-3b30-4d67-b2e2-2363866f1a18", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "42" + }, + "ResponseBody": { + "jobId": "416755c3-80fd-4bb3-9eab-f018ae16c918", + "lastUpdateDateTime": "2022-05-12T22:04:19Z", + "createdDateTime": "2022-05-12T22:04:12Z", + "expirationDateTime": "2022-05-13T22:04:12Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:19.9621164Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json new file mode 100644 index 000000000000..e8cac4063bcf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json @@ -0,0 +1,340 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11325", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5e841416-1fbf-452c-8079-5dfd2c54270b" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sentenceCount": 2 + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a6eb6b4b-b3f7-4aa3-a6e2-c76b9e3963cb", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:08:38 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "161" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9def7dd6-c8e4-4cb2-9fb4-a826a1332fd0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4bbb2e2f-b7b9-4930-b14b-daed52753220", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "a91adeee-d27c-4f58-b65c-0dc64a70814b", + "lastUpdateDateTime": "2022-05-12T22:08:39Z", + "createdDateTime": "2022-05-12T22:08:39Z", + "expirationDateTime": "2022-05-13T22:08:39Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d842b24f-625a-41a3-8390-426006f61ebb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1949be1d-2307-461e-9a6f-c0aed10310a4", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "a91adeee-d27c-4f58-b65c-0dc64a70814b", + "lastUpdateDateTime": "2022-05-12T22:08:39Z", + "createdDateTime": "2022-05-12T22:08:39Z", + "expirationDateTime": "2022-05-13T22:08:39Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1e211fe7-9327-4ced-bd63-a054f8ef7670" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "437947ed-24f8-4148-a166-e01d1cd7d90c", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a91adeee-d27c-4f58-b65c-0dc64a70814b", + "lastUpdateDateTime": "2022-05-12T22:08:39Z", + "createdDateTime": "2022-05-12T22:08:39Z", + "expirationDateTime": "2022-05-13T22:08:39Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "af2ba706-69a8-4472-81d3-c5d1017a58c7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bc347237-cd44-486a-b13e-72cb0d3610d7", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "a91adeee-d27c-4f58-b65c-0dc64a70814b", + "lastUpdateDateTime": "2022-05-12T22:08:43Z", + "createdDateTime": "2022-05-12T22:08:39Z", + "expirationDateTime": "2022-05-13T22:08:39Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:08:43.0457707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a91adeee-d27c-4f58-b65c-0dc64a70814b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7fa32926-c71e-456f-800b-278c4511c8da" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bf1bc311-a285-407e-a2f6-341a7a1c2dc2", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "a91adeee-d27c-4f58-b65c-0dc64a70814b", + "lastUpdateDateTime": "2022-05-12T22:08:43Z", + "createdDateTime": "2022-05-12T22:08:39Z", + "expirationDateTime": "2022-05-13T22:08:39Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:08:43.0457707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json new file mode 100644 index 000000000000..9deca830b576 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json @@ -0,0 +1,364 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "11323", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "03af4dd2-f1b8-45ea-8629-9d72037e73b1" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sortBy": "Rank" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "0a218742-ef86-41ad-bcdb-c24848b9cbaa", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:22:23 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "224" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bb067bb0-2425-41e1-a761-2c053611fcdc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f772f7db-e3ab-40d7-9f3c-68283b3db6cf", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0", + "lastUpdateDateTime": "2022-05-12T22:22:24Z", + "createdDateTime": "2022-05-12T22:22:24Z", + "expirationDateTime": "2022-05-13T22:22:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9beb9d31-cebb-47f7-9f9e-e2432326eb9e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fb64fc84-e485-46d2-a42b-9fcb1f4dcd4f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0", + "lastUpdateDateTime": "2022-05-12T22:22:24Z", + "createdDateTime": "2022-05-12T22:22:24Z", + "expirationDateTime": "2022-05-13T22:22:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b820120e-e94b-458a-b51b-b7aeec077877" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "92dde137-3d4a-4b3b-aca9-3b003f1c1116", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0", + "lastUpdateDateTime": "2022-05-12T22:22:24Z", + "createdDateTime": "2022-05-12T22:22:24Z", + "expirationDateTime": "2022-05-13T22:22:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1ce4077a-f4c3-4d99-89e3-8020f0e87cb6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a6c5738e-5d89-495c-b3cf-1dbebc9c76c3", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "41" + }, + "ResponseBody": { + "jobId": "ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0", + "lastUpdateDateTime": "2022-05-12T22:22:28Z", + "createdDateTime": "2022-05-12T22:22:24Z", + "expirationDateTime": "2022-05-13T22:22:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:28.1509879Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c9ebff9b-9839-4aa9-8fc6-98ef47a567e4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "84dd8285-7fc3-4586-9cb8-4ccdbff4e691", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "41" + }, + "ResponseBody": { + "jobId": "ab898dfe-e2fe-40de-b0ed-d0ffaeeeabe0", + "lastUpdateDateTime": "2022-05-12T22:22:28Z", + "createdDateTime": "2022-05-12T22:22:24Z", + "expirationDateTime": "2022-05-13T22:22:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:28.1509879Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json new file mode 100644 index 000000000000..09871ecb5160 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json @@ -0,0 +1,2439 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "392", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "27a563ef-2ed9-48a0-9002-e4943f81fb69" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "ff20f5bc-673f-4968-b12c-5c668455987e", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:51 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/171edfed-3867-404c-be1f-18bb219a157c?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "176" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/171edfed-3867-404c-be1f-18bb219a157c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2fda4c81-cd1b-450c-92bf-218e93981cde" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7f8d3e6d-9abf-40c1-86e4-6793ec312090", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "171edfed-3867-404c-be1f-18bb219a157c", + "lastUpdateDateTime": "2022-05-06T20:02:52Z", + "createdDateTime": "2022-05-06T20:02:52Z", + "expirationDateTime": "2022-05-07T20:02:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/171edfed-3867-404c-be1f-18bb219a157c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d462288c-0862-4791-ac49-135c227aa40d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "046a654c-9e73-4014-9028-8c504fbd4fc8", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "171edfed-3867-404c-be1f-18bb219a157c", + "lastUpdateDateTime": "2022-05-06T20:02:52Z", + "createdDateTime": "2022-05-06T20:02:52Z", + "expirationDateTime": "2022-05-07T20:02:52Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/171edfed-3867-404c-be1f-18bb219a157c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "31d277ac-6ef0-4c94-b545-79aa4c6b20d0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c804a7e5-c4fc-4f46-8389-3a469524d5dd", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "53" + }, + "ResponseBody": { + "jobId": "171edfed-3867-404c-be1f-18bb219a157c", + "lastUpdateDateTime": "2022-05-06T20:02:53Z", + "createdDateTime": "2022-05-06T20:02:52Z", + "expirationDateTime": "2022-05-07T20:02:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:53.5098717Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/171edfed-3867-404c-be1f-18bb219a157c?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "10eb6c41-65b9-4ad9-b1a4-eaed0040adb1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5b076b64-c88c-45e6-9237-d26352e7ab4d", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "209" + }, + "ResponseBody": { + "jobId": "171edfed-3867-404c-be1f-18bb219a157c", + "lastUpdateDateTime": "2022-05-06T20:02:53Z", + "createdDateTime": "2022-05-06T20:02:52Z", + "expirationDateTime": "2022-05-07T20:02:52Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:53.5098717Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json new file mode 100644 index 000000000000..2f4d066b67b6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json @@ -0,0 +1,5543 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "413", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "af3efa76-44ea-4b1e-930c-cbdb7d49a991" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "fhirVersion": "4.0.1" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e91be311-2ec8-4a01-b413-c5075be25200", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:54 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e062f0f2-7b30-4cb0-8d87-acf37fbdae66?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "212" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e062f0f2-7b30-4cb0-8d87-acf37fbdae66?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5252f956-2770-49c6-9b9f-4c02f027306e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b7c9b62-484a-4c54-8f00-542f64b0d4f1", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e062f0f2-7b30-4cb0-8d87-acf37fbdae66", + "lastUpdateDateTime": "2022-05-06T20:02:55Z", + "createdDateTime": "2022-05-06T20:02:55Z", + "expirationDateTime": "2022-05-07T20:02:55Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e062f0f2-7b30-4cb0-8d87-acf37fbdae66?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6796e1e5-fa05-4005-887e-771d91bfaa48" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a0701496-42d8-4173-a659-943fbf3231db", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "e062f0f2-7b30-4cb0-8d87-acf37fbdae66", + "lastUpdateDateTime": "2022-05-06T20:02:55Z", + "createdDateTime": "2022-05-06T20:02:55Z", + "expirationDateTime": "2022-05-07T20:02:55Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e062f0f2-7b30-4cb0-8d87-acf37fbdae66?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4188341a-4ed8-4329-9329-c333377b566e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9350f777-a7ca-4489-9c2f-b80a09b9746a", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "jobId": "e062f0f2-7b30-4cb0-8d87-acf37fbdae66", + "lastUpdateDateTime": "2022-05-06T20:02:57Z", + "createdDateTime": "2022-05-06T20:02:55Z", + "expirationDateTime": "2022-05-07T20:02:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:57.0110682Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "ca5809d4-9023-4005-a8d0-4d3185b49cb9", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:ca5809d4-9023-4005-a8d0-4d3185b49cb9" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/53bc391f-52c3-434c-866d-a9a232afd7d5", + "resource": { + "resourceType": "Composition", + "id": "53bc391f-52c3-434c-866d-a9a232afd7d5", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/914e1954-cd01-43a9-a059-ea354ba12cad", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "resource": { + "resourceType": "Practitioner", + "id": "56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "resource": { + "resourceType": "Patient", + "id": "f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "resource": { + "resourceType": "Encounter", + "id": "4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "resource": { + "resourceType": "Observation", + "id": "340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/914e1954-cd01-43a9-a059-ea354ba12cad", + "resource": { + "resourceType": "List", + "id": "914e1954-cd01-43a9-a059-ea354ba12cad", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "87f905da-6bf2-41f8-824a-1919256a0f6b", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:87f905da-6bf2-41f8-824a-1919256a0f6b" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/4d0cb6c3-ff23-4d08-b830-c5020068d97f", + "resource": { + "resourceType": "Composition", + "id": "4d0cb6c3-ff23-4d08-b830-c5020068d97f", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/eab150cb-20ae-48d8-b1ad-33f444233db1", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/c061c92d-bc0c-4275-9276-ab9714259342", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/eab150cb-20ae-48d8-b1ad-33f444233db1", + "resource": { + "resourceType": "Practitioner", + "id": "eab150cb-20ae-48d8-b1ad-33f444233db1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "resource": { + "resourceType": "Patient", + "id": "05c0c4b8-35be-4432-a129-fb2295842444", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "resource": { + "resourceType": "Encounter", + "id": "43202d98-2b3d-4705-9475-745d08cb89c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/c0f7a0e4-72ee-45ce-a856-f084503c1224", + "resource": { + "resourceType": "MedicationStatement", + "id": "c0f7a0e4-72ee-45ce-a856-f084503c1224", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "context": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/c061c92d-bc0c-4275-9276-ab9714259342", + "resource": { + "resourceType": "List", + "id": "c061c92d-bc0c-4275-9276-ab9714259342", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/c0f7a0e4-72ee-45ce-a856-f084503c1224", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "afc547b6-1e80-4bb0-ba76-d78b8239de5e", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:afc547b6-1e80-4bb0-ba76-d78b8239de5e" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/e8e4bd78-087d-4033-8a45-04ba568927bc", + "resource": { + "resourceType": "Composition", + "id": "e8e4bd78-087d-4033-8a45-04ba568927bc", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/e74f3007-52ba-430e-abf0-47d779834722", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/19150af9-02a7-47f1-939b-602a1d4c8aca", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/e74f3007-52ba-430e-abf0-47d779834722", + "resource": { + "resourceType": "Practitioner", + "id": "e74f3007-52ba-430e-abf0-47d779834722", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "resource": { + "resourceType": "Patient", + "id": "f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "resource": { + "resourceType": "Encounter", + "id": "2879b56e-1595-4535-a6d0-49f283d20e9d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "resource": { + "resourceType": "Condition", + "id": "0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "resource": { + "resourceType": "Observation", + "id": "efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/262d3ac4-dfd5-4295-b378-3494dd40563e", + "resource": { + "resourceType": "MedicationStatement", + "id": "262d3ac4-dfd5-4295-b378-3494dd40563e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "context": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/19150af9-02a7-47f1-939b-602a1d4c8aca", + "resource": { + "resourceType": "List", + "id": "19150af9-02a7-47f1-939b-602a1d4c8aca", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/262d3ac4-dfd5-4295-b378-3494dd40563e", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e062f0f2-7b30-4cb0-8d87-acf37fbdae66?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "979e746b-2696-4e6a-afbb-21534a86f4ca" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f130449c-b218-45ba-9920-53d6a31be463", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "67" + }, + "ResponseBody": { + "jobId": "e062f0f2-7b30-4cb0-8d87-acf37fbdae66", + "lastUpdateDateTime": "2022-05-06T20:02:57Z", + "createdDateTime": "2022-05-06T20:02:55Z", + "expirationDateTime": "2022-05-07T20:02:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:57.0110682Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "ca5809d4-9023-4005-a8d0-4d3185b49cb9", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:ca5809d4-9023-4005-a8d0-4d3185b49cb9" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/53bc391f-52c3-434c-866d-a9a232afd7d5", + "resource": { + "resourceType": "Composition", + "id": "53bc391f-52c3-434c-866d-a9a232afd7d5", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/914e1954-cd01-43a9-a059-ea354ba12cad", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "resource": { + "resourceType": "Practitioner", + "id": "56560d1e-1a1d-41e4-af8c-be06da6d64d0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "resource": { + "resourceType": "Patient", + "id": "f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "resource": { + "resourceType": "Encounter", + "id": "4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "resource": { + "resourceType": "Observation", + "id": "340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/914e1954-cd01-43a9-a059-ea354ba12cad", + "resource": { + "resourceType": "List", + "id": "914e1954-cd01-43a9-a059-ea354ba12cad", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f50ad0f4-8a15-4a22-92c8-c6b858ff69dd", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/4fc41fab-c765-4cf8-a8d5-434b3fdeba42", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/340cafc3-9ab6-4288-b0a6-b1ad895b1072", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "87f905da-6bf2-41f8-824a-1919256a0f6b", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:87f905da-6bf2-41f8-824a-1919256a0f6b" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/4d0cb6c3-ff23-4d08-b830-c5020068d97f", + "resource": { + "resourceType": "Composition", + "id": "4d0cb6c3-ff23-4d08-b830-c5020068d97f", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/eab150cb-20ae-48d8-b1ad-33f444233db1", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/c061c92d-bc0c-4275-9276-ab9714259342", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/eab150cb-20ae-48d8-b1ad-33f444233db1", + "resource": { + "resourceType": "Practitioner", + "id": "eab150cb-20ae-48d8-b1ad-33f444233db1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "resource": { + "resourceType": "Patient", + "id": "05c0c4b8-35be-4432-a129-fb2295842444", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "resource": { + "resourceType": "Encounter", + "id": "43202d98-2b3d-4705-9475-745d08cb89c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/c0f7a0e4-72ee-45ce-a856-f084503c1224", + "resource": { + "resourceType": "MedicationStatement", + "id": "c0f7a0e4-72ee-45ce-a856-f084503c1224", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "context": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/c061c92d-bc0c-4275-9276-ab9714259342", + "resource": { + "resourceType": "List", + "id": "c061c92d-bc0c-4275-9276-ab9714259342", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/05c0c4b8-35be-4432-a129-fb2295842444", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/43202d98-2b3d-4705-9475-745d08cb89c0", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/c0f7a0e4-72ee-45ce-a856-f084503c1224", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "afc547b6-1e80-4bb0-ba76-d78b8239de5e", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:afc547b6-1e80-4bb0-ba76-d78b8239de5e" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/e8e4bd78-087d-4033-8a45-04ba568927bc", + "resource": { + "resourceType": "Composition", + "id": "e8e4bd78-087d-4033-8a45-04ba568927bc", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/e74f3007-52ba-430e-abf0-47d779834722", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/19150af9-02a7-47f1-939b-602a1d4c8aca", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/e74f3007-52ba-430e-abf0-47d779834722", + "resource": { + "resourceType": "Practitioner", + "id": "e74f3007-52ba-430e-abf0-47d779834722", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "resource": { + "resourceType": "Patient", + "id": "f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "resource": { + "resourceType": "Encounter", + "id": "2879b56e-1595-4535-a6d0-49f283d20e9d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "resource": { + "resourceType": "Condition", + "id": "0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "resource": { + "resourceType": "Observation", + "id": "efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/262d3ac4-dfd5-4295-b378-3494dd40563e", + "resource": { + "resourceType": "MedicationStatement", + "id": "262d3ac4-dfd5-4295-b378-3494dd40563e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "context": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/19150af9-02a7-47f1-939b-602a1d4c8aca", + "resource": { + "resourceType": "List", + "id": "19150af9-02a7-47f1-939b-602a1d4c8aca", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/f7691c1e-9fd9-45e7-9cfe-e94f6df59794", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/2879b56e-1595-4535-a6d0-49f283d20e9d", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/0ca1fb14-9021-4113-b1ef-f7cef2c3c602", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/efb58d9e-b5d9-4270-a731-c7a1168cbccd", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/262d3ac4-dfd5-4295-b378-3494dd40563e", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json new file mode 100644 index 000000000000..a5630149de0e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json @@ -0,0 +1,380 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "287", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dbb4d3ab-fd36-4321-b1bf-edb62ea443cd" + }, + "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": [ + { + "kind": "KeyPhraseExtraction", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c64dd534-481a-4433-b2f0-b57ecff48646", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:07 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "18092b10-6385-495b-a757-b0dd0ede50d7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6f562440-e7f2-4ac4-91d7-1cd688757678", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:08Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "041e71ce-525d-44fe-bcfa-810d94c829ee" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dc533545-52e0-4ccf-9f7e-69ac5db87eff", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:08Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d88b8f64-fbd9-4df1-9736-aebd14b69eb5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d160edd6-bdf6-45e8-9ff1-50400ebe988d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:08Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "758e0c0f-d8d7-464f-ae3d-a4dbd1423984" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ae1635e-9145-4b48-9da8-0a562d7c3ae5", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:08Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a0fa62cb-7dd3-4b12-8e66-cfb542acd8c4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "20a64d24-ec44-4c98-9fb4-07b2d523a3e1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:08Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f2c63821-fe7c-4ee5-8f0d-733c579a471f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4d561abb-4650-4861-a42f-3ee0292c4ba8", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:15Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:15.7183963Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/8b9dc90a-56ff-4a50-8c44-1051ca117175?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b57c67e2-184a-4342-a24c-bb1853cd982d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4576104a-5eee-4034-96ba-e38dd61e9971", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "8b9dc90a-56ff-4a50-8c44-1051ca117175", + "lastUpdateDateTime": "2022-05-06T20:02:15Z", + "createdDateTime": "2022-05-06T20:02:07Z", + "expirationDateTime": "2022-05-07T20:02:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:15.7183963Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json new file mode 100644 index 000000000000..572145ed17b8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json @@ -0,0 +1,445 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "397", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "539ea564-a688-4332-949d-74d611bff533" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "My SSN is 859-98-0987.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + }, + { + "id": "2", + "text": "Is 998.214.865-68 your Brazilian CPF number?", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "eb214691-33ab-4f29-ad40-84e5e46643f3", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:21 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "234" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0b2a1033-f51c-406d-97a1-0d55ca651257" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "06d99c1e-022a-4c3e-b513-cd4a303fe453", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:22Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4505cbdf-d947-4d8e-a9fe-b4888470a7aa" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "75bf9336-54b7-4d5f-bbb0-56a8dcc3b05c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:22Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "77343879-12ab-4b8e-ad2e-e7babf76d2cb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae7a7e48-15f0-48de-bff7-33e1a6d94843", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:22Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e9e06639-2db8-437c-b128-db3110cfa22d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d5c115ed-10fa-4ae4-a70f-aa0c22293e3e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:22Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "aca7bb85-b722-42be-a6de-23b68de0cac8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "09df96c1-75f2-4233-928e-77329da7cd8c", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:22Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fe8d6205-a05d-4964-bd46-243cb494ba7e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "321980d3-004e-4494-b760-0ccd6c84d919", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "48" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:30Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:30.0559904Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/27230551-692a-4906-8416-065a1e830497?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2e40b122-bee8-4182-8b0f-b20dddb07c38" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ba37b0c9-1ee5-4417-8ca8-fbb58d515990", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "jobId": "27230551-692a-4906-8416-065a1e830497", + "lastUpdateDateTime": "2022-05-06T20:02:30Z", + "createdDateTime": "2022-05-06T20:02:21Z", + "expirationDateTime": "2022-05-07T20:02:21Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:30.0559904Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json new file mode 100644 index 000000000000..a3c50d012658 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json @@ -0,0 +1,387 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "468", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8165c50b-4838-44d1-bb54-be21affcb65c" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "766c448d-11e3-472e-8f75-cac6634c089b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:30 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "142" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6c62b088-9ad8-4ac4-94a0-3f72b2047e5b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ff335b3e-fc2c-4d07-808c-005c9636c39e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:31Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "069bdb24-2c9c-4bc8-8c90-e5b03e6cc08c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "29c48480-3fa4-4f5a-a411-f279d60ac28f", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:31Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5e4b03e0-db7f-4b11-b33a-9be673f78c06" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9df4cbdc-86e6-4762-87f3-8af61217ef29", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:31Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a90e5288-9077-4d41-8455-30cba0474a01" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "88c4e773-6621-414f-b9d9-24401d1039c7", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:31Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cc5dcfb1-286c-473f-b428-fb7f07fee999" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0b406591-5230-4a7e-9cac-e74f63d670f7", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:31Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "aba7d7fa-5a9d-4006-9c1d-11680965ccc5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6fb039ce-35c6-4bc7-ae50-fbf032ce075e", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:38Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:38.7312891Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/341cb971-3037-46a6-a813-b315b0c7d525?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9230d84d-d677-410d-89b4-898a90f07d20" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4e6b9905-303d-4212-87e3-641da48f9bf8", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "341cb971-3037-46a6-a813-b315b0c7d525", + "lastUpdateDateTime": "2022-05-06T20:02:38Z", + "createdDateTime": "2022-05-06T20:02:30Z", + "expirationDateTime": "2022-05-07T20:02:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:38.7312891Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json new file mode 100644 index 000000000000..647e663bf3ee --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json @@ -0,0 +1,357 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "440", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a0f7d489-c7cc-4a21-8d4b-d8413cd34245" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "domain": "phi" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b9eda969-4927-4b6a-a4f9-f2d1444bdc54", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:39 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5bddf827-f331-4a27-93ab-276493c12b53?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "246" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bddf827-f331-4a27-93ab-276493c12b53?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "41c4d52c-c6ca-4ef4-b2e7-db685878239c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f4de04d-240a-4061-9d27-4818b317f6c1", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "5bddf827-f331-4a27-93ab-276493c12b53", + "lastUpdateDateTime": "2022-05-06T20:02:40Z", + "createdDateTime": "2022-05-06T20:02:40Z", + "expirationDateTime": "2022-05-07T20:02:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bddf827-f331-4a27-93ab-276493c12b53?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a290ff6-6bf0-4c54-b024-1d2a142e5d88" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b3371cf-a921-4120-b838-863a2cad0e51", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5bddf827-f331-4a27-93ab-276493c12b53", + "lastUpdateDateTime": "2022-05-06T20:02:40Z", + "createdDateTime": "2022-05-06T20:02:40Z", + "expirationDateTime": "2022-05-07T20:02:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bddf827-f331-4a27-93ab-276493c12b53?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3d084d66-c17e-428e-919d-0202e49dd468" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ee7c9209-a10d-436c-ba94-28ca314abf27", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "5bddf827-f331-4a27-93ab-276493c12b53", + "lastUpdateDateTime": "2022-05-06T20:02:41Z", + "createdDateTime": "2022-05-06T20:02:40Z", + "expirationDateTime": "2022-05-07T20:02:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:41.9294996Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bddf827-f331-4a27-93ab-276493c12b53?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1371c80b-7794-497f-88f0-b477e07904bb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "604d3d92-1a6c-421c-b21f-6c0ac3118a63", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "68" + }, + "ResponseBody": { + "jobId": "5bddf827-f331-4a27-93ab-276493c12b53", + "lastUpdateDateTime": "2022-05-06T20:02:41Z", + "createdDateTime": "2022-05-06T20:02:40Z", + "expirationDateTime": "2022-05-07T20:02:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:41.9294996Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json new file mode 100644 index 000000000000..26ec997a9dbb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json @@ -0,0 +1,1618 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "740", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d31223f4-ca08-4f14-aed6-af03da5ddecb" + }, + "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": [ + { + "kind": "SentimentAnalysis", + "parameters": { + "modelVersion": "latest", + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "28a92352-ac25-4230-a590-aab0bb77f89b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:43 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "333" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "aa09205b-9562-41bf-8385-a6dc132c4ba3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a4a1a2a0-594b-4e34-9e71-24560b88a604", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:43Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ff14acf9-4d1f-4708-969f-0784de5c55a7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f51b419b-9bd1-4e38-a2f7-792dbd094034", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:43Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f703de7a-1908-42bf-8b25-2c8aea117323" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a35f8741-f1c3-4c8f-acbc-b9efd254cf99", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:43Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c9679ebd-d8f9-4e63-8f2b-b3e6b8c5bd62" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "677042ab-71e7-4a11-b225-b1d3a0fe93ed", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:43Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ccc3e80e-aaca-474e-ba9c-8121639f2245" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "64b2e629-98b9-4278-a8e0-6e3baf8ef5f2", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:43Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "70c0d584-c37d-4301-a96a-caf1714a653f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8421d911-510e-4629-bdca-5ee25271a689", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "91" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:51Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:51.3561085Z", + "status": "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/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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/771e1415-252a-4ed8-8fd7-a01f55ba8ccf?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "166bfc32-d203-46fe-881d-bd396a18b133" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bc4fd385-7209-482d-a463-bed264f86ccb", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "89" + }, + "ResponseBody": { + "jobId": "771e1415-252a-4ed8-8fd7-a01f55ba8ccf", + "lastUpdateDateTime": "2022-05-06T20:02:51Z", + "createdDateTime": "2022-05-06T20:02:43Z", + "expirationDateTime": "2022-05-07T20:02:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:51.3561085Z", + "status": "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/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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..ad2959e40b03 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,483 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "357", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "16865e3a-c83a-4dda-b405-44bff5d7a8eb" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "061725eb-a784-4495-bad9-b5fe1a55fa62", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:31 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/affeeec2-01ce-4c02-8c58-6f10e13485a7?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "253" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/affeeec2-01ce-4c02-8c58-6f10e13485a7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7d31dded-70a6-4071-874b-5d33f2d9977e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b386a898-1267-49bb-99b8-8d1e7675492b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "affeeec2-01ce-4c02-8c58-6f10e13485a7", + "lastUpdateDateTime": "2022-05-06T20:03:31Z", + "createdDateTime": "2022-05-06T20:03:31Z", + "expirationDateTime": "2022-05-07T20:03:31Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/affeeec2-01ce-4c02-8c58-6f10e13485a7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6f20b0a5-69cd-4b66-9f73-e4892071b9dc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9f9f785f-d610-402e-9eba-0df6f5a72821", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "affeeec2-01ce-4c02-8c58-6f10e13485a7", + "lastUpdateDateTime": "2022-05-06T20:03:31Z", + "createdDateTime": "2022-05-06T20:03:31Z", + "expirationDateTime": "2022-05-07T20:03:31Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/affeeec2-01ce-4c02-8c58-6f10e13485a7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "399bc363-cf70-4527-89d8-4c68515fc459" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8bb5bff1-2ea9-47ed-abfe-19d2403edc2f", + "Content-Length": "2880", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "135" + }, + "ResponseBody": { + "jobId": "affeeec2-01ce-4c02-8c58-6f10e13485a7", + "lastUpdateDateTime": "2022-05-06T20:03:33Z", + "createdDateTime": "2022-05-06T20:03:31Z", + "expirationDateTime": "2022-05-07T20:03:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.0836518Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.4577012Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.4991058Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/affeeec2-01ce-4c02-8c58-6f10e13485a7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2c7eb21c-2312-4fcf-83ab-b661ec853aa1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d4034d55-4480-4d56-b6ef-920750be45ac", + "Content-Length": "2880", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "117" + }, + "ResponseBody": { + "jobId": "affeeec2-01ce-4c02-8c58-6f10e13485a7", + "lastUpdateDateTime": "2022-05-06T20:03:33Z", + "createdDateTime": "2022-05-06T20:03:31Z", + "expirationDateTime": "2022-05-07T20:03:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.0836518Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.4577012Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:33.4991058Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json new file mode 100644 index 000000000000..bb2952bdc2b1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json @@ -0,0 +1,129 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4fe66d53-ce72-45b6-b4d3-2e3e9bc9cc35" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b08df765-7531-4644-b585-6cab5593263b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:00 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/23a81857-dd6a-42cc-ac39-7ee7607bde74?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "261" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23a81857-dd6a-42cc-ac39-7ee7607bde74?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d9730a67-b5ac-4717-bc4d-82004c5e3380" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d1f109c7-c43f-49e7-983d-b32988ce9fd1", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "23a81857-dd6a-42cc-ac39-7ee7607bde74", + "lastUpdateDateTime": "2022-05-06T20:05:01Z", + "createdDateTime": "2022-05-06T20:05:01Z", + "expirationDateTime": "2022-05-07T20:05:01Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/23a81857-dd6a-42cc-ac39-7ee7607bde74:cancel?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4ea2626f-9fd0-4886-b82a-948447ef86a5" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "3e474013-db0f-4ccd-a396-0c7e75065a00", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:00 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/23a81857-dd6a-42cc-ac39-7ee7607bde74?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json new file mode 100644 index 000000000000..297aa50b478c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json @@ -0,0 +1,568 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "296", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "20c03e40-b5b4-4d45-9312-75d10b8d0ba9" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This should fail because we\u0027re passing in an invalid language hint", + "language": "notalanguage" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "320d6092-e8df-42c4-8006-94f34967f671", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:33 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "188" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7185d391-138f-4d79-b757-823966c834da" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0ee58f39-c496-4b6a-82bb-1922d1dc83bf", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:33Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c8af8c79-ed60-4e4e-924d-e2ff101b013e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fff61ea4-4e84-4d57-9ae6-f39fe5151318", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:33Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b223ab1e-ce9e-43d7-b460-10f40bc8af37" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e1d5ca5e-f19f-436a-ae21-4a79b2dfc5a3", + "Content-Length": "790", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:35Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.2526577Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b979317d-a240-46f0-8066-16393be796b9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "db126960-7a39-426e-bc46-366290760365", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:35Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.2526577Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.9954449Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "72511c98-064f-46f3-ab5c-229cdfe19103" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b6505422-3826-465f-a56e-532c096c7989", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:35Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.2526577Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.9954449Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "770921c0-e3d7-4be1-8aef-017b2f6d0aa7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6b7e33d4-b2fb-4465-a734-17d275a83431", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "76" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:41Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:41.2701891Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.2526577Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.9954449Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c3161884-974d-46de-96af-142a98b2cfe9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "35e24770-b487-4efb-be42-b65451e43730" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "88ff4c8e-0beb-44f6-9b87-a68c033295a2", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "114" + }, + "ResponseBody": { + "jobId": "c3161884-974d-46de-96af-142a98b2cfe9", + "lastUpdateDateTime": "2022-05-06T20:04:41Z", + "createdDateTime": "2022-05-06T20:04:33Z", + "expirationDateTime": "2022-05-07T20:04:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:41.2701891Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.2526577Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:35.9954449Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json new file mode 100644 index 000000000000..b8f0d7b0e72c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json @@ -0,0 +1,188 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bdcac7d4-fc15-4b7e-a72f-45e8663bc698" + }, + "RequestBody": { + "displayName": "testJob", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "end" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "48007aab-425f-4295-985c-b269d51ca3b8", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:57 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b05c58da-b9d4-4095-8673-c673bc18f041?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b05c58da-b9d4-4095-8673-c673bc18f041?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ec053b11-bbb6-4ec5-b906-98cb6aa7eebc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73be74d3-7243-4c93-87d4-3246a2528deb", + "Content-Length": "306", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b05c58da-b9d4-4095-8673-c673bc18f041", + "lastUpdateDateTime": "2022-05-06T20:04:58Z", + "createdDateTime": "2022-05-06T20:04:58Z", + "expirationDateTime": "2022-05-07T20:04:58Z", + "status": "notStarted", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b05c58da-b9d4-4095-8673-c673bc18f041?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "22a0ad5c-4622-4a67-9c55-dfd96ff325de" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "545e6be8-5f57-4230-97b6-51cdaa955c6f", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b05c58da-b9d4-4095-8673-c673bc18f041", + "lastUpdateDateTime": "2022-05-06T20:04:58Z", + "createdDateTime": "2022-05-06T20:04:58Z", + "expirationDateTime": "2022-05-07T20:04:58Z", + "status": "running", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b05c58da-b9d4-4095-8673-c673bc18f041?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b249082a-e392-46fd-ae48-331fa7ab1d10" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "eadbf7ab-571f-44bb-826b-cb8fcbe816ec", + "Content-Length": "845", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "jobId": "b05c58da-b9d4-4095-8673-c673bc18f041", + "lastUpdateDateTime": "2022-05-06T20:04:59Z", + "createdDateTime": "2022-05-06T20:04:58Z", + "expirationDateTime": "2022-05-07T20:04:58Z", + "status": "succeeded", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:59.763758Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json new file mode 100644 index 000000000000..fd11070cdf4b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json @@ -0,0 +1,648 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "300", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d79f5fe5-bf46-4b08-849c-e039adb2339f" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "56", + "text": ":)" + }, + { + "id": "0", + "text": ":(" + }, + { + "id": "22", + "text": "w" + }, + { + "id": "19", + "text": ":P" + }, + { + "id": "1", + "text": ":D" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cbbcd6b8-06e1-450e-b02d-4466d957dc40", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:44 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "284" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f5f8cb63-568d-4a8a-b4dc-cdc3507b0cd9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2bfeb1e5-dcab-4d37-b577-1b6b650b4b01", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:44Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "22d0f855-c3be-4194-9fa4-edbeca4b7314" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c7f1f02-0ec9-47ad-b7b4-308c9b1911c1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:44Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d8ed530b-1796-4133-a0f6-0ac434cd02eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8cd993c8-d756-4cc6-87bc-5363c5d62433", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:45Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ac1c606f-8fcd-481e-9e87-a95b94b2dcf4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0a1d1c60-2871-4cce-9ddc-101850c78fe2", + "Content-Length": "756", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "66" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:47Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:47.6090945Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5e33738b-edb7-4e42-bfcf-df6a27e705cd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "06c7df70-0781-47d7-ad72-cfa014e5c44f", + "Content-Length": "756", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "85" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:47Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:47.6090945Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a9506829-5c59-4347-99a7-a2b4a0f975fa" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bbe48888-4840-468f-a538-8e64c0839e35", + "Content-Length": "1521", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "205" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:52Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:52.142462Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:47.6090945Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:52.9722227Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2d7041a8-0167-4934-afee-f652dfd5719e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1449c5d3-a820-47ca-a7f4-53cf9aeca389" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4100376-3d5d-4ee5-9e44-0325217f499a", + "Content-Length": "1521", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "215" + }, + "ResponseBody": { + "jobId": "2d7041a8-0167-4934-afee-f652dfd5719e", + "lastUpdateDateTime": "2022-05-06T20:03:52Z", + "createdDateTime": "2022-05-06T20:03:44Z", + "expirationDateTime": "2022-05-07T20:03:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:52.142462Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:47.6090945Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:52.9722227Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json new file mode 100644 index 000000000000..1d951238b55a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -0,0 +1,1008 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "307", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4e01e70e-864f-4406-86ee-70d2e63d1512" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "one" + }, + { + "id": "2", + "text": "two" + }, + { + "id": "3", + "text": "three" + }, + { + "id": "4", + "text": "four" + }, + { + "id": "5", + "text": "five" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "25da9e31-0d77-4241-9036-22cc0cd6e95b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:34 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "332" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0d3f2f30-1a20-4945-82be-04be18f565d9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "32b641b6-7d57-4d20-8b32-b5f62d063dee", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:34Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b50cf933-f012-44f4-aff8-08d251efe097" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0f87037d-4838-413a-a7f0-116e364059ae", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:34Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5a20c80b-75c5-4c1c-bdc0-167a2a5a8988" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7aafbd4b-661b-4c48-92ad-87bfe33850e9", + "Content-Length": "1555", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:36Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.4908952Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.8682047Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0f37c755-beab-4588-a998-f40ae79f87e3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f109713e-c8c3-4b0b-8206-1430bd8bec35", + "Content-Length": "1555", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "125" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:36Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.4908952Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.8682047Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c75df9f1-3a68-4bb4-8640-90b8d8a5b9b1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae794102-0c9e-4704-82dd-f15e570a087d", + "Content-Length": "1555", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:41 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "117" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:36Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.4908952Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.8682047Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "addc6dbf-23ab-43ed-a516-338cd4465b33" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fb744840-88f4-41f8-a9d9-c46c2b0889eb", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "194" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:42Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.4908952Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:42.4136159Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.8682047Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0de08c5e-4228-4e6a-9eaa-c920f2a04c0b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7b2973cc-abdb-467a-bae9-f2fb88b63ebc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d109abea-abcb-4d69-a73b-bd41bb527c69", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191" + }, + "ResponseBody": { + "jobId": "0de08c5e-4228-4e6a-9eaa-c920f2a04c0b", + "lastUpdateDateTime": "2022-05-06T20:03:42Z", + "createdDateTime": "2022-05-06T20:03:34Z", + "expirationDateTime": "2022-05-07T20:03:34Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.4908952Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:42.4136159Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:36.8682047Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json new file mode 100644 index 000000000000..5059ebbf2b54 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json @@ -0,0 +1,1554 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "1389", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "78cc95b4-5ad2-4ef6-84f6-2688f3746e18" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "78fc04a8-0375-49a1-9b28-1df142425055", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:43 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "1014" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a3e6d95d-effa-4919-bfff-0a919abc2ea6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "480ba64b-0a43-4ba0-937e-24a4cfa8df69", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:43Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cf450ebb-2123-46dd-8a93-dd73833d695e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e3f9110f-28b2-4d65-baea-cdf10e3feaf8", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:43Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ce6ed6f8-b567-4298-a064-137de664c48b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0b9a6bf5-d52d-4a72-8890-07d2f86d31e0", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:43Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1e5c7ed0-e60f-404b-9f6b-911202286f19" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ba584a2d-409f-404a-a7a0-2018baccee8b", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:43Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f052c2e0-ea3a-4164-b328-c3062d1e606d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "75dbeac1-058f-4b54-a59c-34feeb8ab515", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:48Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "963aaebd-e28b-4a1c-bfe4-70c422ac8d17" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "043e1d3d-90db-4935-8311-cfa505b23e63", + "Content-Length": "1702", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "223" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:50Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "beaecc74-77e6-4c37-b583-22c106244299" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1298546f-b34d-497a-8dac-9f806b13c3db", + "Content-Length": "1702", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "250" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:54Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e84c8965-4b86-43d7-97f9-8d4771740318" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dc401e21-79be-4a7d-9b7e-26304d1af4f1", + "Content-Length": "2672", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "402" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:55Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:55.1762392Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?api-version=2022-04-01-preview\u0026top=10", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7c4acea4-e6cc-4a25-96e9-47f7337ea1eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9b401010-e8d8-4a21-b639-b06fa9c6dce2", + "Content-Length": "1723", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "217" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:55Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:55.1762392Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "da87c2c6-f029-462b-95f1-7bc07be53c87" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d4d3ece-6e3d-4d3f-8aa8-de928915d891", + "Content-Length": "1742", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "268" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:55Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:55.1762392Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/201ede16-090e-4db3-96a9-0c5cc44f1fda?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94d2420f-f645-4919-b46d-c41f6644ce51" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0afae8a3-fe98-4540-9ccb-508558db6e9a", + "Content-Length": "1402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "133" + }, + "ResponseBody": { + "jobId": "201ede16-090e-4db3-96a9-0c5cc44f1fda", + "lastUpdateDateTime": "2022-05-06T20:04:55Z", + "createdDateTime": "2022-05-06T20:04:42Z", + "expirationDateTime": "2022-05-07T20:04:42Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:55.1762392Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:50.679218Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json new file mode 100644 index 000000000000..89d4b1bfa814 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json @@ -0,0 +1,4215 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d2d30f2d-2ef2-4bc8-9efc-a9bce8b59d93" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cf28ee05-3d1b-4078-b1b7-326a98db548e", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:01 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "207" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1cad2b03-e0d2-4f80-804a-267b30bf87e6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7fcfe823-b63b-4a36-9221-215b1fed76b1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:02Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efb83c05-6c14-457c-9453-37a29ab575ec" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f5855b8c-16ec-4d2f-9a80-95d5794a7d7a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:02Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "06bbf77f-6f50-45dc-ab58-8b18349d747f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "33b6eeab-a581-443c-b721-937b3320f1af", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:02Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "75ca52c4-4a0f-4bcb-a3d0-7be55291b871" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "debdcb3b-2c19-41cb-a23a-7bc336f448e7", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "116" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:03Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "07952f23-408c-440b-947f-a6e9f4ee1acc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "03b63cde-f0b0-4786-8460-6e0286e21afa", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:03Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0904dcc4-ce41-48d0-8c35-ae7872be1433" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1e20a326-e8b7-4409-adb8-c2419220c2be", + "Content-Length": "5532", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "120" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:03Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 1, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d11ea237-cf4b-4b00-972a-429010fef9ee" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "31ceef2f-9412-4014-bd79-ad047fdfe736", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "155" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:10Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:10.0091028Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "42eff8cf-3044-41dc-8213-9def833cd489" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cd7089e1-3c2a-42b4-821d-3be7b62e20cb", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:10Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:10.0091028Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "278febf3-a1a0-4bd3-a133-3e8375b2c92f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b16d73b2-9b03-40da-8ed6-eabdb4eb7fef", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "240" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:10Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:10.0091028Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e43085fd-cf07-4638-a8d0-f74a8888ebff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "822ca30b-da0a-40e3-9031-9b8abed9ed7c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "91877ca6-bf24-4343-a22b-6e55ae4039be", + "Content-Length": "6716", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "151" + }, + "ResponseBody": { + "jobId": "e43085fd-cf07-4638-a8d0-f74a8888ebff", + "lastUpdateDateTime": "2022-05-06T20:05:10Z", + "createdDateTime": "2022-05-06T20:05:02Z", + "expirationDateTime": "2022-05-07T20:05:02Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:02.7461886Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9112099Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:03.9681561Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:10.0091028Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..09b693f93faa --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,926 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "417", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b394350e-5f7e-4489-8ae6-7cfe7f186819" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "da6124b0-9fcf-457f-822e-c9ac86e25666", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:14 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "257" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c7980690-2663-4e93-8492-fa90ec9fe5ac" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f7d1b7dc-12f2-439f-af64-59a243b5c34a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:15Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "be2e2434-fc8c-4c9c-b5cf-1b5d3224fa8b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56360029-23c3-4244-b6e1-9448a4656961", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:15Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "00547ede-7431-4790-89f9-b745f9c98dd0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dae47124-69af-4ef7-b728-a9b8d0dcfccb", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:15Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ebb58163-abe8-457d-b647-4f442a4c6a90" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "76145956-0c9a-491b-8c4a-9b332bce9f8d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:15Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "653c81e1-565a-41a3-b0e4-a4f75ced4a94" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9f78423-465b-4b4a-97bd-c4a7c3470850", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:21Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "362a4cb1-6f40-478d-b967-39910be5b90f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b4e23872-0a56-4da9-b516-0da401d76ee5", + "Content-Length": "1069", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:23Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:23.0722592Z", + "status": "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": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8e273e1d-e252-49cb-95a7-f36ca78614d0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73ce888c-4e7e-4e00-91d0-02aea85616f3", + "Content-Length": "1928", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "99" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:24Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:24.4916488Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:23.0722592Z", + "status": "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": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "59b8b6d1-1dff-4193-ba30-d15b66063fa5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc558b26-1d78-41fc-a985-d69bd7269f92", + "Content-Length": "1928", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "95" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:24Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:24.4916488Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:23.0722592Z", + "status": "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": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d90c9592-24b6-431b-bd35-4e6e02eb18d3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6dce66d7-97da-446b-8382-170594807823", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "118" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:30Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:24.4916488Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:23.0722592Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:30.4619822Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/2cb9d775-4fec-4c52-b1ff-461a8de86d3d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "52fae356-e729-4958-9ebe-22abe8950881" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b352fe35-95df-48dd-82d0-56013f7f6717", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159" + }, + "ResponseBody": { + "jobId": "2cb9d775-4fec-4c52-b1ff-461a8de86d3d", + "lastUpdateDateTime": "2022-05-06T20:03:30Z", + "createdDateTime": "2022-05-06T20:03:15Z", + "expirationDateTime": "2022-05-07T20:03:15Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:24.4916488Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:23.0722592Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:30.4619822Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json new file mode 100644 index 000000000000..a88c97a2e717 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json @@ -0,0 +1,1011 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "376", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7d130f41-092c-46a7-b457-e9621b02c665" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": ":)", + "language": "en" + }, + { + "id": "1", + "text": ":(", + "language": "en" + }, + { + "id": "2", + "text": "", + "language": "en" + }, + { + "id": "3", + "text": ":P", + "language": "en" + }, + { + "id": "4", + "text": ":D", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4670d34e-2395-4e90-af38-b84cbf7e3fea", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:54 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "326" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4c7945a5-302b-4564-a9cf-79a0807b2c38" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3f426826-0daa-4a6c-a9d0-fc40945f23fb", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:03:54Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8c6f88d3-72c1-44a3-94bc-b02849e80bb5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f5aaf9e8-7086-4272-932f-ca5f4e84fa9f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:03:54Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6414a547-f111-438b-863f-a0217a97354f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "62f83a49-2105-4bce-9086-00b254f5fcda", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:03:54Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "07c980f5-a3d5-4fd0-a023-63f2fab3400a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "63d7a4fc-4369-486b-a4f0-42b4c80f4dd9", + "Content-Length": "2023", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:03:57Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.28071Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.3305392Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1411b698-4ff6-4764-af14-d18e8e9cf6a2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e059d5a-8d27-4f0c-80f2-7fbdd3906656", + "Content-Length": "2023", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "136" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:03:57Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.28071Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.3305392Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e7f5214c-a39b-4c94-8a02-081a667f99af" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a9c486e6-5372-49f5-83b7-95d24ad45556", + "Content-Length": "2867", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:04:02Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.28071Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.3305392Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:02.9686369Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/89fdacab-e867-46ec-8422-5ea1cd4bdf0a?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a8277b70-90a7-4a3a-a53e-3cd74b93f6ee" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "717044a6-a2ab-4f59-b0ab-86db884c8703", + "Content-Length": "2867", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "192" + }, + "ResponseBody": { + "jobId": "89fdacab-e867-46ec-8422-5ea1cd4bdf0a", + "lastUpdateDateTime": "2022-05-06T20:04:02Z", + "createdDateTime": "2022-05-06T20:03:54Z", + "expirationDateTime": "2022-05-07T20:03:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.28071Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:03:57.3305392Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:02.9686369Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json new file mode 100644 index 000000000000..ac71fb55362d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json @@ -0,0 +1,450 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "584b9625-d675-41ae-a8c5-75ade09a4f81" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "taskName": "action1", + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "taskName": "action2", + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "169e668d-d03b-4867-9f86-962d73d92570", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:03:06 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "164" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6afe2c04-e4ca-4c61-836e-38008061577a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7725d2f2-785a-4443-b5d0-4562b343b541", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:06Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d188355c-c55b-48cb-a285-4ba6f1b58768" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c86d61aa-32a8-4455-b8f2-9d1617f7106b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:06Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "877d09fa-f19c-435e-bfe6-f5c875a82475" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "faea0a4b-327a-4f4c-8fda-c856fd894e30", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:08Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:03:08.2386415Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8236eafb-1b4c-4110-ad0f-f904ebd1c920" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7f1c1b42-37c3-4053-9fcc-a9d04fe925c8", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:08Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:03:08.2386415Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "65a35c38-5fb0-4652-8f07-7203f7639feb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d9b2174-81f3-44cd-9626-a4bbe870c25e", + "Content-Length": "559", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:08Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:03:08.2386415Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f65eabeb-dca7-4258-add6-da5c506f50f4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "42be9b2a-43ec-449a-b9e7-dfb08c678e36", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "60" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:14Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:03:14.2992907Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:03:08.2386415Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5bd86f53-2101-4d60-add1-d910fecc9666?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0fd0f4a4-ef8a-47c8-9139-d9ebf3635d4d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7ed88ac1-8f0c-4fd8-b145-5c3e04e22c29", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:03:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "56" + }, + "ResponseBody": { + "jobId": "5bd86f53-2101-4d60-add1-d910fecc9666", + "lastUpdateDateTime": "2022-05-06T20:03:14Z", + "createdDateTime": "2022-05-06T20:03:06Z", + "expirationDateTime": "2022-05-07T20:03:06Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:03:14.2992907Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:03:08.2386415Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json new file mode 100644 index 000000000000..70701c29c966 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json @@ -0,0 +1,667 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "320", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "488f77aa-f378-4ef5-bf26-ce9e455c6058" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I will go to the park." + }, + { + "id": "2", + "text": "Este es un document escrito en Espa\u00F1ol." + }, + { + "id": "3", + "text": "\u732B\u306F\u5E78\u305B" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4c58e7ec-f508-423b-a8d0-3fa96ddb04a9", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:23 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "247" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b2917a01-d69c-458d-8e5b-397fa01bc07a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "75c4ad4a-bd72-4d77-a16b-2404eac39513", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:24Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "37fd94da-1bc8-4a98-9d17-2ebadf9f44cc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "88cfcafb-4d0e-4541-a2cf-acd83d9c37af", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:24Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "73334454-44ea-4dc7-be6f-42b77aff4ee5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0674b2c0-16c7-45df-aacb-0e08aec1431c", + "Content-Length": "740", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:25Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:25.7495934Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3324902c-d2cd-4bca-bbdb-7d2e5306e870" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "966b741e-5627-44fa-a8d6-09dacca9bb5b", + "Content-Length": "740", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:25Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:25.7495934Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "09fc0b3b-93e5-4891-89f0-74c014350933" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fb64dbd8-c554-43c6-935e-bac420d6ecbd", + "Content-Length": "740", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "48" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:25Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:25.7495934Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2d8e8306-4bc7-478f-b0d2-421872d11da3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2974450a-1e40-48c8-8c78-b49c3089abcb", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:32Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:25.7495934Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:31.7031974Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:32.2840453Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/f206824d-e919-414a-9830-62d32534f828?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ed4c9065-c032-428c-a21f-e3964bd9f5e3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "023dc3e1-d0ad-4848-a92b-3911cc05802c", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "182" + }, + "ResponseBody": { + "jobId": "f206824d-e919-414a-9830-62d32534f828", + "lastUpdateDateTime": "2022-05-06T20:04:32Z", + "createdDateTime": "2022-05-06T20:04:23Z", + "expirationDateTime": "2022-05-07T20:04:23Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:25.7495934Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:31.7031974Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:32.2840453Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..376fd9b5d656 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json @@ -0,0 +1,732 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c702124b-b880-4387-ac1c-016485e328d6" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "27222d02-931e-4607-a629-22945db875ea", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:03 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "262" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a4bbf5be-84dc-490b-972c-2a63a8be7e22" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6213b7c0-c619-4dc7-9859-22621402f06e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:04Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f5e510d4-a9ba-4acc-b4db-84694db15ede" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c33096c8-444a-47af-91a9-3e3c91fbfb0c", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:04Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e846cb9f-3a51-4907-9a8b-d0e83351a6bb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5fbbffa7-68c0-4915-b0c0-93bb04c1428f", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:06 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "121" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:06Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.1675669Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.0232674Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a4e36ff9-2334-4991-9f80-56baeb3e4bde" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8cd23363-08cf-4ccc-9114-4a49a4a29110", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "119" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:06Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.1675669Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.0232674Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e349d234-20fe-45e2-a144-d4aa85be1c43" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "56ba27ae-91bb-4c14-a2e1-15d77c14cb0b", + "Content-Length": "1104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:10 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "94" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:06Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.1675669Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.0232674Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9deeed38-e2c5-4c34-9033-c57442ea794a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ad83e425-eb2a-455e-bb89-b9da5ec7d0cc", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:12Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:12.4268923Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.1675669Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.0232674Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/fb51505c-4634-4abf-a10b-79d600d0feda?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "51945ba6-bb34-4e31-84d6-704027d2ced6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "82444534-b638-4e2f-82bd-73679001fbe2", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "133" + }, + "ResponseBody": { + "jobId": "fb51505c-4634-4abf-a10b-79d600d0feda", + "lastUpdateDateTime": "2022-05-06T20:04:12Z", + "createdDateTime": "2022-05-06T20:04:04Z", + "expirationDateTime": "2022-05-07T20:04:04Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:12.4268923Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.1675669Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:06.0232674Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json new file mode 100644 index 000000000000..c8113d8e4cc7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json @@ -0,0 +1,774 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d02939aa-892d-4013-8dbb-aa5ed028dfa4" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a3556f1c-594a-4d0b-bfab-5fd26bc28c5a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:04:13 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "265" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f9ebf60e-b4ff-4883-8235-b179e8fa2819" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9bdbb842-2175-4a66-887b-0520cee96eb9", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:14Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cbc2251a-3c2b-40d6-be60-255b39f66a9a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5eebd13b-958c-4971-84cb-9f8561d4372e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:14Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d5aa2f42-7347-43c5-b52e-e69e7ac76a48" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "78c4bc35-3fdb-4260-881d-c6b8891fc723", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:15 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "93" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:16Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.2150046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.0959027Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b0ede4c5-230b-4956-a575-130c42f7dcca" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cff313d9-2f26-4291-a49f-e3f134b0a713", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:16Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.2150046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.0959027Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "52829c4d-3c52-419f-a036-1a78194086fb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6e94e3a3-b9ab-4550-ab93-dff2a5c05ddf", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "91" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:16Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.2150046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.0959027Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cae32bf2-6bf5-4daa-a065-5af93af1fca5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4e54285c-73e0-4f97-981d-79a72b35bff1", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:22Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.2150046Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:22.5299772Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.0959027Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/502056d9-38c8-450a-b14c-efb25a72d028?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "27973440-0ad5-4857-950c-e9e51fcc59b0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a972c10e-e958-4afa-a2df-1bf2c09f0b86", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:04:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "143" + }, + "ResponseBody": { + "jobId": "502056d9-38c8-450a-b14c-efb25a72d028", + "lastUpdateDateTime": "2022-05-06T20:04:22Z", + "createdDateTime": "2022-05-06T20:04:14Z", + "expirationDateTime": "2022-05-07T20:04:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.2150046Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:22.5299772Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:04:16.0959027Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json new file mode 100644 index 000000000000..4aacfa6bacbb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "125", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "080605ec-2aa3-4d0e-8a0d-088ce5abffd2" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "e0afec0c-0db7-4b8b-87ed-4f7146e7cf48", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Document text is empty." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json new file mode 100644 index 000000000000..c5d906ff6b9e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json @@ -0,0 +1,283 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "5239", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4492f1db-21cf-4f35-8fdf-39cbe85d4426" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "e7b7b9b8-c412-49b7-bc1d-52e242368452", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:14 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "125" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "977e6579-89d6-4159-b834-d0114c6d41e3" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "44123d26-d738-4146-9869-e16fbf518258", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "5a23ef24-2236-4f48-b28f-6baa625a48f2", + "lastUpdateDateTime": "2022-05-06T20:05:14Z", + "createdDateTime": "2022-05-06T20:05:14Z", + "expirationDateTime": "2022-05-07T20:05:14Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "73ce3325-3aa3-423e-91ac-de5e99ed77f7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f30818a3-c022-4a3f-9675-023daaa25446", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "5a23ef24-2236-4f48-b28f-6baa625a48f2", + "lastUpdateDateTime": "2022-05-06T20:05:14Z", + "createdDateTime": "2022-05-06T20:05:14Z", + "expirationDateTime": "2022-05-07T20:05:14Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "acc78b2f-e846-4ff3-a20a-bb1592500201" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "98611824-9239-48fa-a2c3-bb36a34ccff4", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:16 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "5a23ef24-2236-4f48-b28f-6baa625a48f2", + "lastUpdateDateTime": "2022-05-06T20:05:15Z", + "createdDateTime": "2022-05-06T20:05:14Z", + "expirationDateTime": "2022-05-07T20:05:14Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9bbab03e-6414-432b-bc72-b7fc12d9f68f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2edc213d-d1f5-434c-b34d-e4ec73492091", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "5a23ef24-2236-4f48-b28f-6baa625a48f2", + "lastUpdateDateTime": "2022-05-06T20:05:16Z", + "createdDateTime": "2022-05-06T20:05:14Z", + "expirationDateTime": "2022-05-07T20:05:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:16.9461707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5a23ef24-2236-4f48-b28f-6baa625a48f2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d968b04d-1214-45b5-8cff-4b6a96258b46" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aedc2d41-5653-4628-bf79-c6794cbf27d0", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "jobId": "5a23ef24-2236-4f48-b28f-6baa625a48f2", + "lastUpdateDateTime": "2022-05-06T20:05:16Z", + "createdDateTime": "2022-05-06T20:05:14Z", + "expirationDateTime": "2022-05-07T20:05:14Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:16.9461707Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json new file mode 100644 index 000000000000..c09d75c03e0e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json @@ -0,0 +1,60 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "198", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a340bcc0-d45e-4b89-947a-471691d1be6d" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "3f0c8180-3e5d-4763-b3ce-13288208a718", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "InvalidTask in AnalyzeInput", + "innererror": { + "code": "InvalidRequestBodyFormat", + "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json new file mode 100644 index 000000000000..b58e175fa0af --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json @@ -0,0 +1,58 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "fafe1349-d059-4363-92ac-7249a31647c7" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "bad" + } + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "36a106ca-12f8-49d1-bcf2-7bf2ad95a8a0", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:36:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "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." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json new file mode 100644 index 000000000000..6eaf2387007c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json @@ -0,0 +1,2551 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "710471", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6a312faa-d085-46a9-be74-82b0a22248e6" + }, + "RequestBody": { + "analysisInput": { + "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 413, + "ResponseHeaders": { + "apim-request-id": "ce0b633e-b49a-4efd-bcab-4aedbe60219a", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:13 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "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: 125000" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json new file mode 100644 index 000000000000..67b0d286d89f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json @@ -0,0 +1,181 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "1345", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4a44dbad-cb44-4f95-b6a7-93d9f26b8044" + }, + "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": "random text", + "language": "en" + }, + { + "id": "25", + "text": "random text", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "cbc9b35a-8b3a-44f6-8c60-50107aa86211", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 25 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json new file mode 100644 index 000000000000..e460040fa61c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json @@ -0,0 +1,367 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e6183605-01d8-464c-bbb4-eeee6bdf4c31" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "19843362-056e-4b38-9278-fc71e6ee1466", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:18 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "138" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bceb0f07-8880-42cc-82b9-f57ec3d734eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c817aa1-b541-4f06-8f26-04ec602febc1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:19Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0578f752-8251-4d39-86d9-ac8f7afb10ee" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1fe8fa6f-3336-4faf-a06d-a20b9b11e688", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:19Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1bbb9be6-0b90-4369-92cb-e9b6fa1e93ba" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3131a7ac-c0de-40e8-9a62-4dd9975ec752", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:19Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "35f825e9-23cb-45fb-ad95-454698175bd4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "632002fe-4e85-463e-af06-53524ad9a896", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:19Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "42887ecd-a2a5-44c0-8142-600bc719ef25" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ddd5ee80-d768-4078-8bdc-775c55784e29", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:25 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:19Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b0783339-1647-491c-8d70-14c9f088c497" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3093744c-7fec-4e87-93af-b561ced6ed3a", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:26Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:26.8508254Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b58e67c0-2504-42a7-bba0-6ec091ac3c9f?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "877c3051-1bcf-4b95-ad67-08919978367b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bac95081-21b9-4274-98ff-785542565ff5", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "jobId": "b58e67c0-2504-42a7-bba0-6ec091ac3c9f", + "lastUpdateDateTime": "2022-05-06T20:05:26Z", + "createdDateTime": "2022-05-06T20:05:19Z", + "expirationDateTime": "2022-05-07T20:05:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:26.8508254Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json new file mode 100644 index 000000000000..abe168c1f083 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -0,0 +1,499 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "205", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "775e2c88-0e11-41df-9306-ee20b08f3a3f" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5bbe8421-16bb-4eb4-ab7f-75db0fd305b6", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:30 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/1bf182c6-cbc0-4732-8f30-5ae09c8b97c2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1bf182c6-cbc0-4732-8f30-5ae09c8b97c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "affba7c7-b5aa-4f4b-9739-8e8c835a4232" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2afbc7b7-cba2-4522-b411-0422237716f2", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "1bf182c6-cbc0-4732-8f30-5ae09c8b97c2", + "lastUpdateDateTime": "2022-05-06T20:05:31Z", + "createdDateTime": "2022-05-06T20:05:31Z", + "expirationDateTime": "2022-05-07T20:05:31Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1bf182c6-cbc0-4732-8f30-5ae09c8b97c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "34e333f8-07b0-4ed8-b6f4-1793e3a05fc8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d50bae1b-2a45-41ff-877c-dc251a129f73", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "1bf182c6-cbc0-4732-8f30-5ae09c8b97c2", + "lastUpdateDateTime": "2022-05-06T20:05:31Z", + "createdDateTime": "2022-05-06T20:05:31Z", + "expirationDateTime": "2022-05-07T20:05:31Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1bf182c6-cbc0-4732-8f30-5ae09c8b97c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d0df6892-19de-4404-bd25-c63f7dedcf4e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7ced9331-281e-4231-b94e-91d316a013c3", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "1bf182c6-cbc0-4732-8f30-5ae09c8b97c2", + "lastUpdateDateTime": "2022-05-06T20:05:31Z", + "createdDateTime": "2022-05-06T20:05:31Z", + "expirationDateTime": "2022-05-07T20:05:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:31.8474379Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1bf182c6-cbc0-4732-8f30-5ae09c8b97c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a30bed3-9c88-4ac2-b0f4-70eada05c7f1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d6243048-d46e-4c96-8ba3-debe75ae222c", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "1bf182c6-cbc0-4732-8f30-5ae09c8b97c2", + "lastUpdateDateTime": "2022-05-06T20:05:31Z", + "createdDateTime": "2022-05-06T20:05:31Z", + "expirationDateTime": "2022-05-07T20:05:31Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:31.8474379Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json new file mode 100644 index 000000000000..47b7e304a505 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -0,0 +1,499 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "Content-Length": "202", + "Content-Type": "application/json", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3f47d098-9cfd-4494-b27d-0b8a4f3ada1d" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "bff9a36c-f8a1-4780-b99e-0ea34d024514", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:05:28 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/b54f9dad-55fc-4c80-bc47-59b56f0c6a6b?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "277" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b54f9dad-55fc-4c80-bc47-59b56f0c6a6b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "80884660-223e-450f-9858-5c94c9f93ef9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0e20bccd-d8e0-4a87-93df-b442d67eb0cd", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "b54f9dad-55fc-4c80-bc47-59b56f0c6a6b", + "lastUpdateDateTime": "2022-05-06T20:05:28Z", + "createdDateTime": "2022-05-06T20:05:28Z", + "expirationDateTime": "2022-05-07T20:05:28Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b54f9dad-55fc-4c80-bc47-59b56f0c6a6b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "364637bf-64b5-46a2-9273-c53aa15b0156" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e805ebb9-6309-4b50-a0a3-d4413e5c3cf7", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "jobId": "b54f9dad-55fc-4c80-bc47-59b56f0c6a6b", + "lastUpdateDateTime": "2022-05-06T20:05:28Z", + "createdDateTime": "2022-05-06T20:05:28Z", + "expirationDateTime": "2022-05-07T20:05:28Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b54f9dad-55fc-4c80-bc47-59b56f0c6a6b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "380342c5-c37f-4eec-81d1-4f75608b3dbc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "866900d6-cc35-46dd-a04e-b5039c001c79", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "b54f9dad-55fc-4c80-bc47-59b56f0c6a6b", + "lastUpdateDateTime": "2022-05-06T20:05:29Z", + "createdDateTime": "2022-05-06T20:05:28Z", + "expirationDateTime": "2022-05-07T20:05:28Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:29.0992274Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/b54f9dad-55fc-4c80-bc47-59b56f0c6a6b?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Authorization": "Sanitized", + "Connection": "keep-alive", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "abd11001-c675-48a4-a151-19208a144bf7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e86926c5-1346-4f5a-aa87-86af4363f694", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:05:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "jobId": "b54f9dad-55fc-4c80-bc47-59b56f0c6a6b", + "lastUpdateDateTime": "2022-05-06T20:05:29Z", + "createdDateTime": "2022-05-06T20:05:28Z", + "expirationDateTime": "2022-05-07T20:05:28Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:05:29.0992274Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json deleted file mode 100644 index b38a7ddbf8a6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000338-0000000000000677-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "51477ab4-7efd-49bb-87cb-9161096b0762" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8d2e6926-bea1-40dc-975a-a0ecf8f0dd00", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:03:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "155" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 5e59aed60c7f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000339-0000000000000680-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "68c8d0ce-6f6b-4e33-ba9e-138b91a23bc4" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "577c3b86-916a-4fc7-925e-71f958b2efc4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:03:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "184" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json deleted file mode 100644 index 7f9949b8fe9f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000343-0000000000000692-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ec392a0-ee69-4ff0-a88c-7fb6a4ccb6a1" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "01d842ce-0819-460a-a834-0d76fabf15cf", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:04:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "216" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json deleted file mode 100644 index 358c818e597a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "84", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000345-0000000000000698-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e33bf035-d4b7-42f6-be18-739df6e65ba5" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "The food and service is not good", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c3e2af7f-426d-4533-a33d-f7968f2d353a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "151" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json deleted file mode 100644 index 326b90b3d50a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "70", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000346-0000000000000701-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "373399c1-e8b0-4871-b51d-d9e90e161366" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "today is a hot day", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dbc52c8c-e2f3-4b52-ac21-d69c9f8ab87b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "144" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json deleted file mode 100644 index 53f233ade17a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "126", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000344-0000000000000695-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4058c0ff-36cb-46ef-997e-15eb5b2192db" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "919d86ac-0d35-49b5-b8ee-13c1420ad9e4", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "131" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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.json 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.json deleted file mode 100644 index 5c8a28c5f97c..000000000000 --- 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.json +++ /dev/null @@ -1,700 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "622", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000341-0000000000000686-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7252ff47-c9bb-4a4e-bdf8-99bae5282d5a" - }, - "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" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a2da789a-adf0-40ca-a29a-77d5c5b56f52", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", - "Date": "Fri, 18 Feb 2022 19:03:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "202" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json deleted file mode 100644 index 6cdee96fcdd9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json +++ /dev/null @@ -1,181 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "531", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000342-0000000000000689-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "35c90663-82b3-446a-a917-b787bb734922" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2bf4d9e4-b0b8-46e5-ab3b-78371a09f38c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:03:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "116" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json deleted file mode 100644 index 508618da9583..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000340-0000000000000683-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d2c312a9-87cc-4e01-92d5-f34937ae5440" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Hello world!", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3fc76ad7-b9ff-4909-ab0b-86af119ef54a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json deleted file mode 100644 index b6d4b28ed744..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "65", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000348-0000000000000707-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1b084407-f07c-45db-ade1-8f8d11119ef4" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "impossible", - "countryHint": "fr" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "93fded37-2232-418c-88da-2791b6dfbd6c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "French", - "iso6391Name": "fr", - "confidenceScore": 1.0 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json deleted file mode 100644 index 7e826b5a2a7e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "651", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000352-0000000000000719-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b7447568-de05-4edc-b582-d43df7f62a73" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "mx" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "16b03420-2dcc-4f96-bfaa-9e1c5c85d889", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:04:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json deleted file mode 100644 index ef0cddbf760c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "506", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000347-0000000000000704-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "68c717d7-b46d-417b-9679-a6b91f8cc91e" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "countryHint": "us" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9ec9534b-8a19-4cb8-94fc-ec32696b7975", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json deleted file mode 100644 index 9b72ea15d297..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "715", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000350-0000000000000713-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "19aba295-ed03-4d6a-a5d0-f286262e62e3" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fa10a2d7-8ffc-40fc-aee0-ca13795f7ced", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:04:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json deleted file mode 100644 index 8e4ec72b78b8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "97", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000349-0000000000000710-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3c258be9-d3a2-4ba7-a89d-a370a7c99db3" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I use Azure Functions to develop my service.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "20ceee4f-1396-4ee0-a2f7-0c1f24e90823", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "English", - "iso6391Name": "en", - "confidenceScore": 0.95 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json deleted file mode 100644 index aee2f66ee75b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "72", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000351-0000000000000716-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4b657937-7313-4f1c-a41c-c2a0f97efb92" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "hello", - "countryHint": "invalidcountry" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "22eebac1-fcff-4bbf-9841-f6fe29601eab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index 39985348ded8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000361-0000000000000746-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "24ff8b43-6802-4ddb-84b9-5b4d211f7408" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "130429c9-67a8-4a22-9eb7-d0dbb5337d26", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 19:04:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "4", - "keyPhrases": [ - "last book" - ], - "warnings": [] - }, - { - "id": "5", - "keyPhrases": [ - "Monte Rainier", - "caminos" - ], - "warnings": [] - }, - { - "id": "6", - "keyPhrases": [ - "mucho tr\u00E1fico", - "d\u00EDa", - "carretera", - "ayer" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index 41698652125e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000359-0000000000000740-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dc82bddd-afab-466f-8223-7a05229b467f" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6a4de130-d462-4c60-8cde-8fa6c67e2e9f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "138" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 316ad210eb1b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000358-0000000000000737-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "17fd96ff-fc0e-459c-9fab-1dca07e342e0" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c2de6244-dc65-4cfd-aeeb-8216c88fbc27", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "44" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index ad65125f0842..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000360-0000000000000743-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "abb99cdd-1b57-402e-bceb-574a9ece7bbf" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b6f0afd6-3f43-4e1f-87ee-e049665ff038", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index 36fd24667948..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000356-0000000000000731-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a06741d1-9129-48c7-8862-d207f9e37652" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a7eaae69-b528-4b7d-98f6-11c9ba5da36b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:04:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.85 - } - ], - "warnings": [] - }, - { - "id": "5", - "entities": [ - { - "text": "carretera", - "category": "Location", - "offset": 3, - "length": 9, - "confidenceScore": 0.81 - }, - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index 845e2a3605f5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000354-0000000000000725-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5fa22b48-d927-43e7-a334-62741034f4de" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7bff36cc-61f6-42ed-8b0a-1861293a97c0", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index ceeffb06e6a7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000353-0000000000000722-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "77d1ddf8-7237-4d8d-adf4-517b0fb8e436" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27cd0c0a-d8e3-407a-af00-bf1b9e06a03f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "49" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json deleted file mode 100644 index edc2ec6f7a7c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000357-0000000000000734-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aa629646-ccb9-4c51-868a-ec2c6df6263a" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "5e033be6-10ae-4015-b177-eb52c62ff535", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index a48758a1d2ba..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000355-0000000000000728-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f49f59dc-d915-46b8-a4e7-4792e4400db7" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1e23bcb8-af87-44b0-936d-053342128cc7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index eded06d35a74..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000375-0000000000000787-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "88a2d463-7c8d-47d9-909d-a7f5a81455b5" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "32150b1a-9bbe-4359-acfc-914b6964a4cc", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:04:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index 51c2394e754e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000373-0000000000000781-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ba7fc543-0d5a-405e-93f4-25ba767fa14f" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "58c3194a-8fc8-4979-8b33-e5422d5a7062", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 91bff8fabd74..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000372-0000000000000778-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b921e5ba-65ce-4636-83e3-95877ca18e02" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "33d63935-11a1-4ab1-b11e-e3bda17bc7f2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json deleted file mode 100644 index 09cec77a17fb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000376-0000000000000790-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fc18b70f-352e-4b7a-9ed4-ef2a9f178437" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "7132dd46-cec2-4816-b04b-c6938c18a532", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index 155b1b3a36c7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000374-0000000000000784-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9d0e6bd3-7e9d-49d2-a24d-ecc0b76b757c" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1ee7ec9a-4e4f-404e-8988-87e2872e3ecd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json deleted file mode 100644 index 69ca9a65b45c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026domain=PHI", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "107", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000368-0000000000000767-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "808eedbb-c437-4bb4-8dbc-df4ee5c4f148" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I work at Microsoft and my phone number is 333-333-3333", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5ef7413c-1f1e-4c5b-9d23-59af21e731d7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "I work at ********* and my phone number is ************", - "id": "0", - "entities": [ - { - "text": "Microsoft", - "category": "Organization", - "offset": 10, - "length": 9, - "confidenceScore": 0.94 - }, - { - "text": "333-333-3333", - "category": "PhoneNumber", - "offset": 43, - "length": 12, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json deleted file mode 100644 index fd303f4aabd4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000369-0000000000000770-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0fd92c54-db40-40a2-a59a-36ae6adb41fd" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0777c2b9-3082-4115-9771-1221029b224e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index 145d4d630b72..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000367-0000000000000764-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b8705f3a-03c6-4b2a-a9c4-d9b71ccfdddc" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6b6a3304-2846-45e7-a828-126ad4f58040", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 19:04:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "46" - }, - "ResponseBody": { - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", - "id": "5", - "entities": [ - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index b690365b3c11..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000364-0000000000000755-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "20d822a3-7229-416e-b268-61fe5946e092" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "323a4567-fe0f-4a99-9760-9a7103c409cd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index e87b9d331896..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000363-0000000000000752-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9f96841d-6399-47f9-a430-d63d9acc9f57" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "79af4ef1-3a7f-4cf1-8f54-c6e560745bf6", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 19:04:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json deleted file mode 100644 index 3afe3022f29c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "95", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000365-0000000000000758-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8a5733ef-d0d7-46c5-88d8-b67cf95830f8" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Your Social Security Number is 859-98-0987.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27bc8038-5906-4a0d-b2b4-113f42dbbb28", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json deleted file mode 100644 index 5a93a8cc6150..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "16", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000362-0000000000000749-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8a6ec44a-07a4-4df2-a9c6-326d0be1f7b5" - }, - "RequestBody": { - "documents": [] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "80191a24-cb06-4475-9afc-97b2097706d4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid Request.", - "innererror": { - "code": "MissingInputRecords", - "message": "Missing input records." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json deleted file mode 100644 index ee558e439706..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000370-0000000000000773-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b58eebe6-aea9-4d45-9e2c-4f051d8c3e02" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d3a8a9df-c0f6-4c97-adbf-47f059c7ec8d", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "Patient name is *** and SSN is ***********", - "id": "0", - "entities": [ - { - "text": "Joe", - "category": "Person", - "offset": 16, - "length": 3, - "confidenceScore": 0.78 - }, - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 31, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000371-0000000000000775-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "eee70adf-59b1-4df9-9912-967b518c9688" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f5fde8a6-a6ee-49ee-8ad0-c5140cd6736e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index a1db55327574..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000366-0000000000000761-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "10f0dc56-eee4-44ed-a2fa-fb3de5c67baf" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "13eb981a-ef4b-4cbb-b10c-cc3d7a84510e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:04:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json deleted file mode 100644 index 913ad6847938..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000381-0000000000000805-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "19a63be3-553e-40ac-9514-6ba50c76c436" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "84948e30-61a5-42c6-9179-b9e16ebd7fa3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json deleted file mode 100644 index c3a639136472..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000382-0000000000000808-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "06e5895f-4c21-4d17-b132-71a701d1f957" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3ea4e854-f081-4ef1-a636-6e3118b8f330", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "23" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json deleted file mode 100644 index f03f3cfdf1e8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000377-0000000000000793-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7504dace-dcd1-4c29-bf51-db8da08b76c2" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b14dbdc8-6585-4dd8-9c4d-e65810c2c03e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index b1a9e4dcd77b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000378-0000000000000796-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2df0477b-d91b-4137-b3d1-255961558285" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1b5f1c0c-29c4-4c93-97d4-26db3117fd3e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json deleted file mode 100644 index 0eb7fce7b13a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000379-0000000000000799-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "808dac21-35aa-4ecd-9c70-4da965593fae" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f5f4a2b8-5071-409a-85dd-67b45d2731e7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index c0cf6c4753a9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000380-0000000000000802-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1c521cd1-b7aa-475d-bab7-30bc0f571dc5" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "965047cb-9701-43b4-bb10-b78c0ce19b8c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 25, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json deleted file mode 100644 index 7dae0c59850a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000383-0000000000000811-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b9ec292d-c2ec-4989-9efd-4c9c1e022f7f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "79f2285f-497b-4445-93e5-a5fcb36d9c3a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json deleted file mode 100644 index 54a1f7555e6b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000384-0000000000000814-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d07d8803-f455-43b4-9b48-bd7c9b57fbbe" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e170abad-a28e-4ca3-9e64-e338795d7284", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json deleted file mode 100644 index f491fba2ef05..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000385-0000000000000817-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "28dc5087-ef7a-446e-a96a-c310bf860a80" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3881ef67-0a5b-42ec-9d66-16738272add2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json deleted file mode 100644 index c024dc3f0d54..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000399-0000000000000859-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "645ed4a8-734d-4cad-82ac-0a17625b9917" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b8fc040c-a830-4380-9295-e327ebbafcaf", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "23" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json deleted file mode 100644 index e2f6f9e16c45..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000400-0000000000000862-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c9ced776-9296-4a33-93aa-288a3ac8fa10" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b2f734b5-bc7a-49d5-87fb-f7c9d3c74001", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json deleted file mode 100644 index 4ac0f4d212f9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000395-0000000000000847-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b2967f10-55c6-40b2-b584-133f46b8c8cc" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "043cd835-7701-42e8-a7ad-3fdc955914a2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 511bbb08a3f1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000396-0000000000000850-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dc68c8f9-d465-4e7b-8ba9-360492b39fe5" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ed08f6fb-3408-4301-b1ed-ea102ebf557b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json deleted file mode 100644 index b2df954daf84..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000397-0000000000000853-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "857ccc99-5233-4178-9d7c-aff10bec5615" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ae10f364-d9c2-444b-8996-7bfc7ef48627", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index f3eb303df29f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000398-0000000000000856-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9acb2e1a-f3c7-4c06-ae4e-6f0e6e394e5f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af1a89c4-e039-4df2-86be-d358ad101b6f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json deleted file mode 100644 index f0a06064c0d6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000401-0000000000000865-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4f51cd1f-f313-43e9-85bf-0ae197956b8f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fc549833-a383-4ba5-b1d7-321359964166", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json deleted file mode 100644 index dd162e9933e0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000402-0000000000000868-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "03a65d2a-4493-46bb-8179-c83ba131c7d4" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c05609c0-e897-456f-8f51-a11f6efe2bf3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "67" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json deleted file mode 100644 index 827055e1759e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000403-0000000000000871-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "10cfdbfa-bf72-4506-b168-aaa4fa999054" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "30f4b674-5352-4bee-8143-4cc707dda154", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:05:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "62" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json deleted file mode 100644 index f0451a8183c6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000390-0000000000000832-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b1d6883c-54be-4ccb-9db0-44ad960a3b7f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "916b2582-ea07-44b8-bef2-d12eda1136b7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json deleted file mode 100644 index 64bb4f4d922b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000391-0000000000000835-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3132ca67-309a-4183-97fb-f92b0527f5b6" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b5616f2c-c1fb-4a11-bc4c-f4a39283f684", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json deleted file mode 100644 index 0c3b5894d398..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000386-0000000000000820-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b469979f-2fa0-440e-8117-184d08f5e931" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c81debcf-c8b0-419e-b68a-281f6e6bed9f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 8a682f565c6d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000387-0000000000000823-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b8588195-dc7b-48ed-9792-57d9f1274269" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4f933a9f-9059-40ef-90f8-761d943fd3a5", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json deleted file mode 100644 index a5c75b74fab2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000388-0000000000000826-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c4ffb43b-c17e-4fb8-8d30-eecb67809bfc" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "49d436ad-05c0-44c4-8b5a-fc872e3ddf31", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index b7bbaffaa352..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000389-0000000000000829-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "978987c9-3c5b-49d1-8a0f-e28d949acfc2" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7659f584-2084-4a48-8034-c86f8f643466", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json deleted file mode 100644 index 3528e2ad95d9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000392-0000000000000838-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bfd84903-a9d0-40a0-969f-71e84890be0d" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4de859e3-0eba-4154-8811-3bc822fa8cfc", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json deleted file mode 100644 index db4da6774273..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000393-0000000000000841-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "125ee73e-80bb-42fb-a661-8f631622c04e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "63b6fd06-7e94-465f-a80f-cd1f3a0cc8c2", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json deleted file mode 100644 index a55624fc90db..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000394-0000000000000844-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0788f742-8c6d-4315-aabb-09ee33e2b053" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f19ad0e8-bcd7-4a7d-8372-307475a925a6", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 19:04:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json deleted file mode 100644 index d5cc24271059..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,883 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "497", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000473-0000000000001025-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e2bfda08-f9fe-478a-818c-f23e0f820e7b" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b03a92e7-d759-4daf-81e2-8684bf03d269", - "Date": "Fri, 18 Feb 2022 19:06:16 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "234" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000474-0000000000001027-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "26a307cd-d8fc-4649-8627-8c1e93bbe3e6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "70bc8cc1-b432-4921-b7af-c21037bc1bbe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:17Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000475-0000000000001029-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5748b41e-ef18-46d3-84ea-7eb36becbf78" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af72cda7-2a95-4b8f-922e-4457498cb2e2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:17Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000476-0000000000001031-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d1b33e69-d1e7-49e6-9b1e-658fa56bdea4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7397440b-4764-43d8-811a-bafc572201f3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "476" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:18Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:18.544939Z", - "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": "2022-02-18T19:06:18.5604984Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000477-0000000000001033-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "745f9e3a-cb9d-4c8c-8a10-1b447fa6281d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7a8886fd-2396-4134-9b2e-7b3788dd2ad5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "102" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:18Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:18.544939Z", - "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": "2022-02-18T19:06:18.5604984Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000478-0000000000001035-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b28fe015-549f-464b-821a-9bd884f058b2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "46554baf-b2a4-4013-8be7-7706ac15618a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:23Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:18.544939Z", - "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": "2022-02-18T19:06:18.5604984Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000479-0000000000001037-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6ca9c54a-b15d-4c51-b785-de698cc330d9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bf2b7b4e-5df7-446d-b29d-41388cfc11b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "209" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:25Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:18.544939Z", - "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": "2022-02-18T19:06:18.5604984Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:25.9334594Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/21084029-c4bc-49b5-ba75-c42fadbd1b6b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000480-0000000000001039-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e74e63bc-928e-46eb-a081-425f428b94f8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d9d3ea4b-4d40-4f1d-beb7-a06f049b7d11", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "194" - }, - "ResponseBody": { - "jobId": "21084029-c4bc-49b5-ba75-c42fadbd1b6b", - "lastUpdateDateTime": "2022-02-18T19:06:25Z", - "createdDateTime": "2022-02-18T19:06:16Z", - "expirationDateTime": "2022-02-19T19:06:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:18.544939Z", - "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": "2022-02-18T19:06:18.5604984Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:25.9334594Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json deleted file mode 100644 index 5e2e3be8bd92..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "186", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000466-0000000000001009-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ea87093d-5058-496e-97d8-5f47556b65d3" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "72eb4438-7cde-4c82-9253-b8e819ed9c5a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Document text is empty." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json deleted file mode 100644 index 8bdbc2143e75..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "268", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000567-0000000000001226-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5ff7784c-ac2b-4817-b61d-c6364aaf9c4e" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "adfb0dd5-09a3-4683-8c7f-3879030b2fcf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "InvalidTask in AnalyzeInput", - "innererror": { - "code": "InvalidRequestBodyFormat", - "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json deleted file mode 100644 index 1990b1137a13..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json +++ /dev/null @@ -1,580 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "510", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000512-0000000000001108-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c73dfd7a-1bae-4f48-8387-045842da4d13" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0da4da8e-5924-49bc-924c-9697f8b37bde", - "Date": "Fri, 18 Feb 2022 19:07:09 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "265" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000513-0000000000001110-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e9f7cc1c-c379-40fd-b0f4-c2a7d11a9918" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "116fcf93-273a-4e86-b99a-7686db141c70", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "2b38cf43-02a8-4aff-a6aa-12134784df07", - "lastUpdateDateTime": "2022-02-18T19:07:09Z", - "createdDateTime": "2022-02-18T19:07:09Z", - "expirationDateTime": "2022-02-19T19:07:09Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000514-0000000000001112-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "794d6a04-1727-415f-8bbb-12b495aca1f9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7a58e5e9-9c0a-47da-9363-e1f3ec288cce", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "2b38cf43-02a8-4aff-a6aa-12134784df07", - "lastUpdateDateTime": "2022-02-18T19:07:10Z", - "createdDateTime": "2022-02-18T19:07:09Z", - "expirationDateTime": "2022-02-19T19:07:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000515-0000000000001114-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d7972a45-5077-4636-b2d4-e92b82129252" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "75a56ad5-dde1-4ef8-8a65-283d3a8424b8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "177" - }, - "ResponseBody": { - "jobId": "2b38cf43-02a8-4aff-a6aa-12134784df07", - "lastUpdateDateTime": "2022-02-18T19:07:11Z", - "createdDateTime": "2022-02-18T19:07:09Z", - "expirationDateTime": "2022-02-19T19:07:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:11.8607768Z", - "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": "2022-02-18T19:07:11.8854545Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000516-0000000000001116-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f18cbb14-fd20-4f83-9699-e9dd5217a09e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8e91aa3b-e59a-443b-b56c-fbe9389521dd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "718" - }, - "ResponseBody": { - "jobId": "2b38cf43-02a8-4aff-a6aa-12134784df07", - "lastUpdateDateTime": "2022-02-18T19:07:12Z", - "createdDateTime": "2022-02-18T19:07:09Z", - "expirationDateTime": "2022-02-19T19:07:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:11.8607768Z", - "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": "2022-02-18T19:07:11.8854545Z", - "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": "2022-02-18T19:07:12.5439983Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2b38cf43-02a8-4aff-a6aa-12134784df07?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000517-0000000000001118-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dbdde580-ad7f-4fb5-8d0e-9e20f95edc94" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "232456ea-a0e8-4100-a190-5c961666040b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "249" - }, - "ResponseBody": { - "jobId": "2b38cf43-02a8-4aff-a6aa-12134784df07", - "lastUpdateDateTime": "2022-02-18T19:07:12Z", - "createdDateTime": "2022-02-18T19:07:09Z", - "expirationDateTime": "2022-02-19T19:07:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:11.8607768Z", - "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": "2022-02-18T19:07:11.8854545Z", - "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": "2022-02-18T19:07:12.5439983Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json deleted file mode 100644 index d61e06ca48cd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "247", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000558-0000000000001206-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "43f1a8e4-7a9e-45c8-a8c7-c6fc7e27e627" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "UnicodeCodePoint" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "f74c0d69-a22a-42d9-8239-2700dc88adcf", - "Date": "Fri, 18 Feb 2022 19:08:09 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "212" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000559-0000000000001208-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9aab2dd1-f452-4efb-b099-97647031df6e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "77df5413-f2ba-476d-81f3-c70cd4f4912a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:10Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000560-0000000000001210-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d5c6417e-dbc9-4297-987e-670c238057f1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2c887440-ffd9-4519-a075-5624cb244757", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:10Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000561-0000000000001212-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a2f627b0-a116-427b-b374-6eb660f0022e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f80d288a-8036-46e1-b9ba-c381c840924b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:10Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000562-0000000000001214-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ae4cb6ad-2ee8-4e7b-a8e4-0b4f3e82a227" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1ffa83f1-8f7b-43f3-a214-097d6b47e9d1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:10Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000563-0000000000001216-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c8bbb21d-c613-4c64-93ec-bac7bf682bd5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c7a9d28-0823-485f-8f29-299f11d9a6fd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:10Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000564-0000000000001218-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7425195d-b847-4171-8d2b-921cad7f1e25" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "360c6c81-d2fd-48d0-9673-719d6117ebcd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:17Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:17.9182073Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000565-0000000000001220-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b4999f2c-c4ed-42af-88b7-5e7913b2d913" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5bfff34e-4f22-45dc-8e9f-808af98e65f1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "jobId": "2e4f80e3-a5f2-4a44-a9fa-6d2c672a89e9", - "lastUpdateDateTime": "2022-02-18T19:08:17Z", - "createdDateTime": "2022-02-18T19:08:10Z", - "expirationDateTime": "2022-02-19T19:08:10Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:17.9182073Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json deleted file mode 100644 index ee626bb8734a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json +++ /dev/null @@ -1,609 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "436", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000526-0000000000001138-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "93010bc4-614d-432b-8d8a-aebe282523dc" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re 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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "894e1228-603f-40b2-955d-3f5cf51b7290", - "Date": "Fri, 18 Feb 2022 19:07:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "345" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000527-0000000000001140-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "42cb5c73-946a-45a7-a84f-5f515ac72745" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f8ab63a0-7914-41a3-b7ca-499fd837ad01", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:27Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000528-0000000000001142-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "71ec6acd-82f6-479f-8e36-f2040602f744" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2a0e997b-f676-4b28-9866-f57973723146", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:27Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000529-0000000000001144-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c00d5cae-116f-466a-b05e-ab8d73469ead" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8fc98aff-96ce-4dec-9640-abe8fae5ffcc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:29Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:29.1233518Z", - "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": "2022-02-18T19:07:29.2829308Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000530-0000000000001146-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2b3ab306-7a4a-41c0-b34d-5771b6bfdee1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27fc23e7-c0e8-46b2-8884-e57cc001efab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "60" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:29Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:29.1233518Z", - "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": "2022-02-18T19:07:29.2829308Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000531-0000000000001148-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1b6b1b54-8ef1-4667-90b1-4c89e35a899c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "90b645b1-8de6-4b30-a1a4-7f7a0b7e340a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "252" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:29Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:29.1233518Z", - "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": "2022-02-18T19:07:29.2829308Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000532-0000000000001150-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ca93cfb7-c04e-4060-a5de-5cbde4ed7f88" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "268c595b-dd9d-43ff-b6cf-058f1f41b1d7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "182" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:35Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:35.2737816Z", - "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": "2022-02-18T19:07:29.1233518Z", - "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": "2022-02-18T19:07:29.2829308Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3fdba495-0671-44f3-ac66-f30622d79ba2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000533-0000000000001152-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d16a4aff-a9eb-4a9c-b464-412f8d7fdd63" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dda1d5cb-fa16-479d-b17d-daa80ad12665", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "110" - }, - "ResponseBody": { - "jobId": "3fdba495-0671-44f3-ac66-f30622d79ba2", - "lastUpdateDateTime": "2022-02-18T19:07:35Z", - "createdDateTime": "2022-02-18T19:07:27Z", - "expirationDateTime": "2022-02-19T19:07:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:35.2737816Z", - "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": "2022-02-18T19:07:29.1233518Z", - "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": "2022-02-18T19:07:29.2829308Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json deleted file mode 100644 index d4db53bc9500..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "190", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000566-0000000000001223-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "402a6f07-c21f-4bee-bd79-d95180d099b1" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "bad", - "stringIndexType": "TextElement_v8" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "3069d2fd-cff1-4779-bc05-f88591d9db87", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "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." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json deleted file mode 100644 index 2e1636627e6d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json +++ /dev/null @@ -1,317 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "821764b0-7397-4b27-b1b6-d82fda292593" - }, - "RequestBody": { - "displayName": "testJob", - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "07674e89-5971-482b-92ad-d5c987a25b9b", - "Date": "Fri, 18 Feb 2022 19:38:27 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "186" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "70686b19-9206-4c53-9f7a-98c743dd4394" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7583311b-ab9b-4115-a2dd-5e234e027cc5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:27Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "51dd3216-3b5e-4fd7-9be0-942594d22e1c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "370d5f7c-c82b-428c-83a0-9a93258a02ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:27Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2032fac6-3d42-4385-952b-875b411c1971" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d52bb3a1-45a7-41ce-9bbe-6ef9e5aec48b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:28Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b57539ad-15ff-44dc-a6ed-a8ae9575f128" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "530b5ebf-43a9-43d2-a9b8-33c962e7f739", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "20" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:28Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e05dd5dd-bf58-40c6-aab6-696f44bc4335" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "24ed4ae2-d7c0-4f24-b9d4-6fb98ccb87a4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:28Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/dd1ac92b-7113-40fd-b6d4-97c961d79479?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e9fa7042-88f9-44fb-9738-5a844a514c37" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5e7583fc-4bc7-4b1b-8226-3114f8d63284", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "61" - }, - "ResponseBody": { - "jobId": "dd1ac92b-7113-40fd-b6d4-97c961d79479", - "lastUpdateDateTime": "2022-02-18T19:38:35Z", - "createdDateTime": "2022-02-18T19:38:27Z", - "expirationDateTime": "2022-02-19T19:38:27Z", - "status": "succeeded", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:38:35.1018755Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json deleted file mode 100644 index 167071accd5f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json +++ /dev/null @@ -1,895 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "440", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000489-0000000000001059-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "20565ca6-004d-48ac-8a40-d80e1af9ece6" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ac484945-27b9-45ee-a374-75529d0638d6", - "Date": "Fri, 18 Feb 2022 19:06:38 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "386" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000490-0000000000001061-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b3e3a0d5-67dc-41df-b5d8-07ad9ac4c5cc" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8a92fdce-76b0-439c-bf14-cc2dd663df32", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:39Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000491-0000000000001063-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c01822b7-096f-427c-b90b-332b12808516" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "12f838e1-3665-45ac-ba73-049e56fac825", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:39Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000492-0000000000001065-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fa0f83ed-da17-46be-9a7c-5507b8476606" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d7e6f297-11b3-484a-8842-6a70d8c06d63", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:39Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000493-0000000000001067-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5bf10a7c-6afe-4e7b-b6de-a8791fb2e0a0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "02f491fb-08c0-49ca-bc34-4219920de65c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:39Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000494-0000000000001069-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bc005972-7199-4807-bf86-5266dd6bc5fa" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7f2c89c0-d97a-4a25-9242-1d36a62267e7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:45Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000495-0000000000001071-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ebe93087-66fb-4d09-98ab-e7837d38eb95" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8c993992-e835-4844-b385-61f9d91977ff", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:45Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000496-0000000000001073-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "777d0ba9-ac3f-4b6e-870f-4e5f247123de" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ab8ceaee-c12c-4040-b8c7-1ac6d400821e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:48Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:48.0256765Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000497-0000000000001075-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ec35d880-1042-4173-8e3c-0aea89046560" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "77e6c590-f8fb-4bc7-b2e9-50b41fd159c5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "88" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:48Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:48.0256765Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000498-0000000000001077-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3c07b07b-0702-46b6-a815-74dc423e1815" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0abd3cd8-61fd-41ed-b8b1-e2d9476d8dea", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "638" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:53Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:53.2496638Z", - "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": "2022-02-18T19:06:48.0256765Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000499-0000000000001079-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "929d6506-5b28-4d9f-a802-5def8b027d69" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9dcc7161-4ad7-4f46-bf84-829dd107a704", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "726" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:55Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:53.2496638Z", - "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": "2022-02-18T19:06:48.0256765Z", - "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": "2022-02-18T19:06:55.2533507Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/73c7f303-311b-46df-81d5-ba69e1880a50?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000500-0000000000001081-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "08e03c13-3c04-4082-96bc-6d9514a5d644" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d8048fe3-81bf-4770-bd22-8b447652532c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "452" - }, - "ResponseBody": { - "jobId": "73c7f303-311b-46df-81d5-ba69e1880a50", - "lastUpdateDateTime": "2022-02-18T19:06:55Z", - "createdDateTime": "2022-02-18T19:06:38Z", - "expirationDateTime": "2022-02-19T19:06:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:53.2496638Z", - "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": "2022-02-18T19:06:48.0256765Z", - "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": "2022-02-18T19:06:55.2533507Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json deleted file mode 100644 index d8ee3771fe8e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json +++ /dev/null @@ -1,918 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "447", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000481-0000000000001042-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "07c2ae96-89c8-427e-ba36-e27276997176" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "07da9dcf-26b1-49b6-927b-8ae084dc6507", - "Date": "Fri, 18 Feb 2022 19:06:27 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "399" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000482-0000000000001044-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e59c001-57a3-486b-b11e-3724bb061f64" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "82208325-55b4-4285-806d-6feff5604c79", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:28Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000483-0000000000001046-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a1cc7291-fec4-467d-ad57-1768465c9f02" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5aa81028-efd0-4356-871d-e257ca09ddba", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:28Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000484-0000000000001048-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8cf6cab0-4424-4bfb-a524-295931865d2b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9a91ab43-c080-4003-bbe3-7faf2d749e51", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:28Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000485-0000000000001050-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "172e904d-8de7-4f0b-8d87-2549f32ef356" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0b3e8ad3-6cb7-48eb-b9a7-7cb9120c8fd5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "166" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:31Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:30.7002433Z", - "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": "2022-02-18T19:06:31.7276063Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000486-0000000000001052-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "678bce09-c7ec-4a95-9aed-dee8bd6286a2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6b85d2d7-e191-4bc2-baeb-8e3d04adf4c1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "225" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:31Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:30.7002433Z", - "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": "2022-02-18T19:06:31.7276063Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000487-0000000000001054-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "42bf7f03-96b1-4eba-9ee6-8f2cd817ce6d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ca65024d-79e5-4b09-a525-a6e877a1f1d2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "282" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:37Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:30.7002433Z", - "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": "2022-02-18T19:06:31.7276063Z", - "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": "2022-02-18T19:06:37.0311043Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f8201359-3058-4133-9125-f38b1a127b56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000488-0000000000001056-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ee7d7679-a31a-4995-8567-47b9310869e4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "87d6ade1-5527-4cc5-ad8f-8089691c96a2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "238" - }, - "ResponseBody": { - "jobId": "f8201359-3058-4133-9125-f38b1a127b56", - "lastUpdateDateTime": "2022-02-18T19:06:37Z", - "createdDateTime": "2022-02-18T19:06:27Z", - "expirationDateTime": "2022-02-19T19:06:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:30.7002433Z", - "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": "2022-02-18T19:06:31.7276063Z", - "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": "2022-02-18T19:06:37.0311043Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json deleted file mode 100644 index afc196cb157c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json +++ /dev/null @@ -1,1448 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "1471", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000534-0000000000001155-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "68b060d3-b12f-4302-bdd4-3d1a15b0022c" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "56c26ab6-33eb-440c-8ee5-fc6af3abb576", - "Date": "Fri, 18 Feb 2022 19:07:38 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "942" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000535-0000000000001157-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7746d8e3-f52d-4e3f-945f-afe7031b3751" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2cdf8044-2ee5-4c91-88fa-68c080cfab9c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:38Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000536-0000000000001159-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8638e5df-2b41-4bdc-b747-b58162292976" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "59b44437-9a74-4bf2-ab0f-438a61e4b445", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:38Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000537-0000000000001161-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "393fc5a5-e97a-4519-b181-4477e666f511" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b5dadbb-333d-4cb0-b1db-bb8c85b2ec6e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:39Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000538-0000000000001163-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "597f64b9-55cc-451b-b17b-284be7afe031" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4c643152-1964-461e-977b-5daf6f005f9f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:39Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000539-0000000000001165-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f249c071-2c95-4f87-9051-84afd89b3d07" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "64df232e-0485-4a7b-a94a-346ac0c523d0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "324" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:44Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000540-0000000000001167-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "09a53e55-f1d1-49d3-8fc7-0f14e5ba32d2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dc9cf235-0a1c-4341-bc8e-11d7b2800a05", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1292" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:46Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000541-0000000000001169-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "268aa981-5f5f-4927-bf54-0e690476e083" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5de52980-7e41-4dcc-a9ed-615f31ddfa2f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:50 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "494" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:50Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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": "2022-02-18T19:07:50.5547735Z", - "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.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$top=10\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000542-0000000000001171-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e927a020-6475-44bf-bd42-5d10ddacc1e9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "918f4394-ccb8-4e57-822c-93ca7f099c89", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "275" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:50Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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": "2022-02-18T19:07:50.5547735Z", - "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.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=10\u0026$top=10\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=10\u0026$top=10\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000543-0000000000001173-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d835dcb6-0c28-43f8-80a9-77bb7dcdea98" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e742aad3-0a13-4917-9e68-04ec19a6e68a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "365" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:50Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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": "2022-02-18T19:07:50.5547735Z", - "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.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/59b3bd29-cca6-491e-a0db-468d4f2c5a38?$skip=20\u0026$top=5\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000544-0000000000001175-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9ba535bb-4dc3-4b2b-bb97-3601c536cd24" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ad89e7ba-7dd0-41b1-a0db-4d17fa848494", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1097" - }, - "ResponseBody": { - "jobId": "59b3bd29-cca6-491e-a0db-468d4f2c5a38", - "lastUpdateDateTime": "2022-02-18T19:07:50Z", - "createdDateTime": "2022-02-18T19:07:37Z", - "expirationDateTime": "2022-02-19T19:07:37Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:44.4210583Z", - "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": "2022-02-18T19:07:50.5547735Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json deleted file mode 100644 index 243c817d60f5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json +++ /dev/null @@ -1,423 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "286", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000545-0000000000001178-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f8f1c0f9-9abe-4435-b925-14e12ab57393" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a7f6c180-fdbd-4fdc-81f7-89cb8ae07cd2", - "Date": "Fri, 18 Feb 2022 19:07:54 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "137" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000546-0000000000001180-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "97ddb366-a2df-4685-bbd2-4bfee58de195" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b48877c-5440-4696-8bd1-dc8e5aa0f538", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:07:54Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000547-0000000000001182-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "73b7ce76-e3bc-4ab7-8b37-7a154e17e39d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "efa70e5d-dc1e-461a-a160-43d88092f572", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:07:54Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000548-0000000000001184-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b76215dc-45a6-4dab-8da7-daef29e902ee" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "606da516-c496-472b-a5ce-52682b141163", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:07:54Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000549-0000000000001186-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "287d585a-45cd-4096-82ec-86f207c9bc41" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fa81629d-45e9-4f86-a462-3b8cd06fbafb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:07:54Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000550-0000000000001188-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "955f6bc9-a5e9-456a-aeed-4340f092cdd9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ee305ea2-1139-40cc-8a6e-6e059cb0ff30", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:07:54Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000551-0000000000001190-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a8bc3411-5259-4c21-b487-4b9d8230e7fb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e575d0e3-d32f-4a34-8226-629d7599e003", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "16" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:08:03Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000552-0000000000001192-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4df53192-ee5b-43d6-b5bd-6620453af55b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6453a5ff-ec5a-4707-87ac-660955f7d046", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "64" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:08:03Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:03.2485303Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9340419e-1d70-4ef6-af23-18270be60693?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000553-0000000000001194-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e4a94991-5e63-41ad-80e8-a8e1dd9205c9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7b2873bc-5bb8-4f11-93ab-a37151160776", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "80" - }, - "ResponseBody": { - "jobId": "9340419e-1d70-4ef6-af23-18270be60693", - "lastUpdateDateTime": "2022-02-18T19:08:03Z", - "createdDateTime": "2022-02-18T19:07:54Z", - "expirationDateTime": "2022-02-19T19:07:54Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:03.2485303Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json deleted file mode 100644 index bd3a8bff3fa0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json +++ /dev/null @@ -1,235 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "484", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "538ae6e4-7a83-4a7f-8f1c-fe8144c6b108" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customMultiClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1a68b9e0-ffea-4d6e-9136-e3487e246a69", - "Date": "Fri, 18 Feb 2022 19:31:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b2bf5762-feee-46b2-9ca1-24b47a99e5f9", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "197" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b2bf5762-feee-46b2-9ca1-24b47a99e5f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "360a1558-0f41-4ece-840d-ee6588cd5f04" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c0a50c85-78fc-4bc0-8022-0a6826207d27", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "b2bf5762-feee-46b2-9ca1-24b47a99e5f9", - "lastUpdateDateTime": "2022-02-18T19:31:35Z", - "createdDateTime": "2022-02-18T19:31:35Z", - "expirationDateTime": "2022-02-19T19:31:35Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b2bf5762-feee-46b2-9ca1-24b47a99e5f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0bcbfefb-cbd7-49ac-8134-5d255a0b41ea" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5c8a7a66-6b29-4eaf-9c54-1f68506e6fc7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "b2bf5762-feee-46b2-9ca1-24b47a99e5f9", - "lastUpdateDateTime": "2022-02-18T19:31:35Z", - "createdDateTime": "2022-02-18T19:31:35Z", - "expirationDateTime": "2022-02-19T19:31:35Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b2bf5762-feee-46b2-9ca1-24b47a99e5f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "088fbf41-3fd6-4318-bd1c-8b9b4c7e3555" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7b7671c4-9bab-45b7-bbc9-94e79e1557a0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "jobId": "b2bf5762-feee-46b2-9ca1-24b47a99e5f9", - "lastUpdateDateTime": "2022-02-18T19:31:35Z", - "createdDateTime": "2022-02-18T19:31:35Z", - "expirationDateTime": "2022-02-19T19:31:35Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:35.7448363Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b2bf5762-feee-46b2-9ca1-24b47a99e5f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b1464968-5ea1-46d7-8d7d-9943f5aebb13" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c60e596-edf6-4205-a376-bf193b8dbfab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "b2bf5762-feee-46b2-9ca1-24b47a99e5f9", - "lastUpdateDateTime": "2022-02-18T19:31:35Z", - "createdDateTime": "2022-02-18T19:31:35Z", - "expirationDateTime": "2022-02-19T19:31:35Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:35.7448363Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json deleted file mode 100644 index 854cccafeb00..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json +++ /dev/null @@ -1,315 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "485", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "604253c9-c78a-4184-96c8-d339f12af3cb" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customSingleClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "eeafb9dd-ec08-405f-be67-f3d3f7ce5f54", - "Date": "Fri, 18 Feb 2022 19:31:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "447" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b98f2100-0b72-4bca-9ede-2d8d9483cb15" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "901e11f3-22ab-4d30-8325-a18e92726d59", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:27Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fcdaf38d-03da-4504-9d53-4ad9c7a6302a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "163f4446-a9fb-450e-aa74-cf92aff2ea75", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:27Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aa53e474-dc94-49e5-8067-51bd3f328765" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "13b4d7e2-ac4e-4141-82c7-1a04207d8517", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:27Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "96672c07-014f-4cc5-bdd7-fa9b55314588" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d10da64d-3e0c-4c43-9777-4456166241b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:27Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "df338a35-06d5-472e-b461-d9b98e51e077" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "18cf8e59-5a6f-4aba-8a20-7da4a37b99f5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:33Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:33.8926088Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1f0a7548-71cd-484c-bc01-dda2af3b0186?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "99bfeb79-517f-474b-b2de-7644aecda37e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5374c02e-9e96-4809-ac1a-2b396d108daa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "1f0a7548-71cd-484c-bc01-dda2af3b0186", - "lastUpdateDateTime": "2022-02-18T19:31:33Z", - "createdDateTime": "2022-02-18T19:31:27Z", - "expirationDateTime": "2022-02-19T19:31:27Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:33.8926088Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json deleted file mode 100644 index d4422283beea..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json +++ /dev/null @@ -1,425 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "516", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c31373c4-dfc3-4411-8912-954a8bb53631" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customEntityRecognitionTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "44ff24ff-71b9-46b0-83d7-12c5ddb15f3e", - "Date": "Fri, 18 Feb 2022 19:31:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5b5c7499-a241-420c-9778-3e17ca96ff57", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "265" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5b5c7499-a241-420c-9778-3e17ca96ff57?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f40e4346-9864-4674-a76f-586ac3f46409" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "94d32916-220d-42ae-9153-0aaaa39396d6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "5b5c7499-a241-420c-9778-3e17ca96ff57", - "lastUpdateDateTime": "2022-02-18T19:31:25Z", - "createdDateTime": "2022-02-18T19:31:25Z", - "expirationDateTime": "2022-02-19T19:31:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5b5c7499-a241-420c-9778-3e17ca96ff57?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5a388d54-6dee-423f-870f-b410c4312060" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d8953183-3007-4414-8282-70e4c1437bd5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "234" - }, - "ResponseBody": { - "jobId": "5b5c7499-a241-420c-9778-3e17ca96ff57", - "lastUpdateDateTime": "2022-02-18T19:31:25Z", - "createdDateTime": "2022-02-18T19:31:25Z", - "expirationDateTime": "2022-02-19T19:31:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:25.8249772Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5b5c7499-a241-420c-9778-3e17ca96ff57?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f1994a46-10e1-46a9-b5fb-4897e184ad19" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3fa7ba3f-9e1e-49ad-a09b-102f149f89a4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "5b5c7499-a241-420c-9778-3e17ca96ff57", - "lastUpdateDateTime": "2022-02-18T19:31:25Z", - "createdDateTime": "2022-02-18T19:31:25Z", - "expirationDateTime": "2022-02-19T19:31:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:25.8249772Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json deleted file mode 100644 index 1ce2e8a2e8c4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json +++ /dev/null @@ -1,518 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "346", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000442-0000000000000957-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "db125561-80c4-43b2-8271-a3a700fab692" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e66ba613-3aa5-4935-af21-e3d0b52758c4", - "Date": "Fri, 18 Feb 2022 19:05:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1523" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000443-0000000000000959-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "eeecc9e5-1810-4bc4-a210-479b2afc2de1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7ed93f0a-1c4b-4d20-bf08-22fd7069b7c2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "43d7464c-b018-4dba-9707-ac23438de7af", - "lastUpdateDateTime": "2022-02-18T19:05:43Z", - "createdDateTime": "2022-02-18T19:05:42Z", - "expirationDateTime": "2022-02-19T19:05:42Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000444-0000000000000961-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d9aad5d6-bca6-4570-b5fb-c40d9cfce454" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47a52a1d-1a61-4b2e-8545-6380df83c824", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "43d7464c-b018-4dba-9707-ac23438de7af", - "lastUpdateDateTime": "2022-02-18T19:05:43Z", - "createdDateTime": "2022-02-18T19:05:42Z", - "expirationDateTime": "2022-02-19T19:05:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000445-0000000000000963-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "516f1fe8-3479-4ac8-aa8b-dedd0e679450" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "13b32404-06ff-4f99-8d83-0cbc77c7905d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "43d7464c-b018-4dba-9707-ac23438de7af", - "lastUpdateDateTime": "2022-02-18T19:05:43Z", - "createdDateTime": "2022-02-18T19:05:42Z", - "expirationDateTime": "2022-02-19T19:05:42Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000446-0000000000000965-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ada4c60-b6d2-4dc4-9368-9f5ec4868271" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a0d68255-48e7-4b5b-9a51-a6b8ea49107a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100" - }, - "ResponseBody": { - "jobId": "43d7464c-b018-4dba-9707-ac23438de7af", - "lastUpdateDateTime": "2022-02-18T19:05:47Z", - "createdDateTime": "2022-02-18T19:05:42Z", - "expirationDateTime": "2022-02-19T19:05:42Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:47.6580525Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/43d7464c-b018-4dba-9707-ac23438de7af?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000447-0000000000000967-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b6d57973-0559-4dbe-8908-d5544b11d4f4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "251564f2-7a46-4949-aa48-51b118371794", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "43d7464c-b018-4dba-9707-ac23438de7af", - "lastUpdateDateTime": "2022-02-18T19:05:47Z", - "createdDateTime": "2022-02-18T19:05:42Z", - "expirationDateTime": "2022-02-19T19:05:42Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:47.6580525Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json deleted file mode 100644 index 6f0984338a3c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json +++ /dev/null @@ -1,448 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "471", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000437-0000000000000946-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5f6d32dd-9fbf-4215-b310-13a8200fcfbe" - }, - "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\u00FCndet.", - "language": "de" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1b4861b9-1335-416e-b47b-8accbabf2127", - "Date": "Fri, 18 Feb 2022 19:05:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef434bdf-33d8-4187-8a08-7a20e1880752", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "205" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef434bdf-33d8-4187-8a08-7a20e1880752?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000438-0000000000000948-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5273862e-423a-4ad0-b4b5-8a1b15983ccd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f885ade0-4233-40b7-b1f6-fe53bd698ad9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "ef434bdf-33d8-4187-8a08-7a20e1880752", - "lastUpdateDateTime": "2022-02-18T19:05:38Z", - "createdDateTime": "2022-02-18T19:05:38Z", - "expirationDateTime": "2022-02-19T19:05:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef434bdf-33d8-4187-8a08-7a20e1880752?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000439-0000000000000950-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "27a3e0b1-446c-4f90-b90c-6e5914f9f2cf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f5e18c08-51ab-4e6c-8409-ceeb0306323e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "ef434bdf-33d8-4187-8a08-7a20e1880752", - "lastUpdateDateTime": "2022-02-18T19:05:38Z", - "createdDateTime": "2022-02-18T19:05:38Z", - "expirationDateTime": "2022-02-19T19:05:38Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef434bdf-33d8-4187-8a08-7a20e1880752?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000440-0000000000000952-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c96266e2-41de-4476-b6ca-679954124fe2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c050b0d5-d0aa-4745-af79-fe687837f37a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "507" - }, - "ResponseBody": { - "jobId": "ef434bdf-33d8-4187-8a08-7a20e1880752", - "lastUpdateDateTime": "2022-02-18T19:05:40Z", - "createdDateTime": "2022-02-18T19:05:38Z", - "expirationDateTime": "2022-02-19T19:05:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:40.0935303Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef434bdf-33d8-4187-8a08-7a20e1880752?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000441-0000000000000954-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "50ad2f76-a684-4f7d-a041-cb6f78de1f9c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3bb3b6dd-d981-4f0f-b9d2-ea9f7a7d7128", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "65" - }, - "ResponseBody": { - "jobId": "ef434bdf-33d8-4187-8a08-7a20e1880752", - "lastUpdateDateTime": "2022-02-18T19:05:40Z", - "createdDateTime": "2022-02-18T19:05:38Z", - "expirationDateTime": "2022-02-19T19:05:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:40.0935303Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json deleted file mode 100644 index 57eb7dcacc66..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json +++ /dev/null @@ -1,379 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "319", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000425-0000000000000920-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e44c8554-b196-404e-973e-4414ada6395d" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fd40da04-5356-4f94-85b8-e445750dedf6", - "Date": "Fri, 18 Feb 2022 19:05:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "190" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000426-0000000000000922-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a67c7800-efc7-42dc-8d25-1a6da8bc9bc3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c4c1aaca-f2df-4e55-a7e2-15d5dd611de8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "adceb679-9ccc-4436-a8d7-307fb790ad42", - "lastUpdateDateTime": "2022-02-18T19:05:26Z", - "createdDateTime": "2022-02-18T19:05:26Z", - "expirationDateTime": "2022-02-19T19:05:26Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000427-0000000000000924-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "58bc7863-c9c1-4809-b287-5f6b9409c369" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ffb3956f-cd02-4644-b338-594032155d5f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "adceb679-9ccc-4436-a8d7-307fb790ad42", - "lastUpdateDateTime": "2022-02-18T19:05:26Z", - "createdDateTime": "2022-02-18T19:05:26Z", - "expirationDateTime": "2022-02-19T19:05:26Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000428-0000000000000926-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5e36e6f0-2ff7-40be-b385-8632c139b6da" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "35585e2d-febf-4ed3-a191-f4b27e5d1735", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "adceb679-9ccc-4436-a8d7-307fb790ad42", - "lastUpdateDateTime": "2022-02-18T19:05:26Z", - "createdDateTime": "2022-02-18T19:05:26Z", - "expirationDateTime": "2022-02-19T19:05:26Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000429-0000000000000928-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c477964e-0157-4f48-bd61-174257d20a2a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bdda91bc-f361-46fa-b6fe-2be4c2460ae9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" - }, - "ResponseBody": { - "jobId": "adceb679-9ccc-4436-a8d7-307fb790ad42", - "lastUpdateDateTime": "2022-02-18T19:05:29Z", - "createdDateTime": "2022-02-18T19:05:26Z", - "expirationDateTime": "2022-02-19T19:05:26Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:29.3233723Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/adceb679-9ccc-4436-a8d7-307fb790ad42?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000430-0000000000000930-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a124cb61-d5c9-442a-a34f-63e717eafae0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2a54960e-1225-4a23-8ce9-de7a9fca7021", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "114" - }, - "ResponseBody": { - "jobId": "adceb679-9ccc-4436-a8d7-307fb790ad42", - "lastUpdateDateTime": "2022-02-18T19:05:29Z", - "createdDateTime": "2022-02-18T19:05:26Z", - "expirationDateTime": "2022-02-19T19:05:26Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:29.3233723Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json deleted file mode 100644 index 84fb5a0d2a34..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json +++ /dev/null @@ -1,417 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "11477", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000419-0000000000000907-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2511a153-b23e-49a1-88a6-3f384dbe1751" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", - "language": "en" - }, - { - "id": "1", - "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", - "language": "en" - } - ] - }, - "tasks": { - "extractiveSummarizationTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit", - "sentenceCount": 5, - "sortBy": "Offset" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "85cf037d-28b8-4704-8e32-c4310e031f47", - "Date": "Fri, 18 Feb 2022 19:05:20 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "166" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000420-0000000000000909-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a73885c5-852b-4b8c-bd48-9466e00753bb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "05bb9acd-cb4d-48fb-9120-a427a7e2869b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "jobId": "24687406-353b-4981-a061-6520f7865d77", - "lastUpdateDateTime": "2022-02-18T19:05:20Z", - "createdDateTime": "2022-02-18T19:05:20Z", - "expirationDateTime": "2022-02-19T19:05:20Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000421-0000000000000911-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "71e7ed98-bd0a-4594-9026-a550baa4655b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "895d8a31-b06e-419b-98d0-689cf9d83dde", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "24687406-353b-4981-a061-6520f7865d77", - "lastUpdateDateTime": "2022-02-18T19:05:21Z", - "createdDateTime": "2022-02-18T19:05:20Z", - "expirationDateTime": "2022-02-19T19:05:20Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000422-0000000000000913-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a23cfc8f-1704-4b00-90ba-5b93745ec616" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a4cf9e97-bdd4-4c4f-ac58-cc78887a4d35", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "24687406-353b-4981-a061-6520f7865d77", - "lastUpdateDateTime": "2022-02-18T19:05:21Z", - "createdDateTime": "2022-02-18T19:05:20Z", - "expirationDateTime": "2022-02-19T19:05:20Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000423-0000000000000915-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7def851e-7482-4e17-9d0e-c7814115634f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3c18973b-f41c-45e7-887b-c8e3425b0f7c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "jobId": "24687406-353b-4981-a061-6520f7865d77", - "lastUpdateDateTime": "2022-02-18T19:05:25Z", - "createdDateTime": "2022-02-18T19:05:20Z", - "expirationDateTime": "2022-02-19T19:05:20Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:25.2495923Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/24687406-353b-4981-a061-6520f7865d77?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000424-0000000000000917-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bd55232b-469c-41bc-87be-49aa812e41af" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fcfb2fca-85b0-4b19-94fd-a48b2543813e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "24687406-353b-4981-a061-6520f7865d77", - "lastUpdateDateTime": "2022-02-18T19:05:25Z", - "createdDateTime": "2022-02-18T19:05:20Z", - "expirationDateTime": "2022-02-19T19:05:20Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:25.2495923Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json deleted file mode 100644 index f20f4df6c466..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "287", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000431-0000000000000933-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "01eed15f-9f50-459e-a66f-24f81ddbef78" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "33261232-67d2-4c76-80fe-9bca53955b3c", - "Date": "Fri, 18 Feb 2022 19:05:31 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000432-0000000000000935-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f3e4c021-ed04-45d0-ab3a-a3f59cb146c1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9dffd18a-1839-46cf-96a8-11f1d41eaeb7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "lastUpdateDateTime": "2022-02-18T19:05:32Z", - "createdDateTime": "2022-02-18T19:05:32Z", - "expirationDateTime": "2022-02-19T19:05:32Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000433-0000000000000937-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c81bd5f4-bfb6-4187-9fe8-42d5632fcbbf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ab456d83-8e4d-4ba5-b598-c95735c48e84", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "lastUpdateDateTime": "2022-02-18T19:05:32Z", - "createdDateTime": "2022-02-18T19:05:32Z", - "expirationDateTime": "2022-02-19T19:05:32Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000434-0000000000000939-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ce2c7f7e-8ddc-4dd0-881e-b51140b9da8a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8d2c914b-993b-4772-a0bc-993f7733e7d6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "lastUpdateDateTime": "2022-02-18T19:05:32Z", - "createdDateTime": "2022-02-18T19:05:32Z", - "expirationDateTime": "2022-02-19T19:05:32Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000435-0000000000000941-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2248d3b8-8461-4ebb-b580-5281e4826ab7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e6aa2e87-ec64-4c3e-8882-a17e210293b4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "lastUpdateDateTime": "2022-02-18T19:05:36Z", - "createdDateTime": "2022-02-18T19:05:32Z", - "expirationDateTime": "2022-02-19T19:05:32Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:36.2670417Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/23028da8-8a3e-4c3f-b4c7-845ad97ceedc?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000436-0000000000000943-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c01d659-25ff-4b6c-9b2b-540b13602a7d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c6875d66-613d-46d2-bd94-f00d54e93325", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "50" - }, - "ResponseBody": { - "jobId": "23028da8-8a3e-4c3f-b4c7-845ad97ceedc", - "lastUpdateDateTime": "2022-02-18T19:05:36Z", - "createdDateTime": "2022-02-18T19:05:32Z", - "expirationDateTime": "2022-02-19T19:05:32Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:36.2670417Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json deleted file mode 100644 index 2f5fa21e23af..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json +++ /dev/null @@ -1,331 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "383", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000448-0000000000000970-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "db4c9669-4123-4d26-a5ef-c825dffc5a35" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1ffabf51-53a8-4b3a-b4c5-2366e94fc946", - "Date": "Fri, 18 Feb 2022 19:05:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eba124cf-d1f5-4277-bed5-47482b687f0e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "219" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eba124cf-d1f5-4277-bed5-47482b687f0e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000449-0000000000000972-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8836454e-c53d-463d-a0c7-c370c264b34a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "592cf4f5-cf80-4670-adec-ce39f8ba602c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "eba124cf-d1f5-4277-bed5-47482b687f0e", - "lastUpdateDateTime": "2022-02-18T19:05:49Z", - "createdDateTime": "2022-02-18T19:05:49Z", - "expirationDateTime": "2022-02-19T19:05:49Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eba124cf-d1f5-4277-bed5-47482b687f0e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000450-0000000000000974-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a920fa16-e937-48a5-98af-c0533a8d98be" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c0cc10a-22b4-4c12-90a8-349739c9f21f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "eba124cf-d1f5-4277-bed5-47482b687f0e", - "lastUpdateDateTime": "2022-02-18T19:05:49Z", - "createdDateTime": "2022-02-18T19:05:49Z", - "expirationDateTime": "2022-02-19T19:05:49Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eba124cf-d1f5-4277-bed5-47482b687f0e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000451-0000000000000976-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b0851318-5ac3-4020-9c8d-9a0a41ff35df" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0f2b6337-01d8-4a60-a13f-5af10c54cd59", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "638" - }, - "ResponseBody": { - "jobId": "eba124cf-d1f5-4277-bed5-47482b687f0e", - "lastUpdateDateTime": "2022-02-18T19:05:51Z", - "createdDateTime": "2022-02-18T19:05:49Z", - "expirationDateTime": "2022-02-19T19:05:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:51.8704781Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/eba124cf-d1f5-4277-bed5-47482b687f0e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000452-0000000000000978-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3878394d-5315-423e-8ae4-49d1a25666ec" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2c84ce54-41a4-445d-a826-9724c1e1bbc4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" - }, - "ResponseBody": { - "jobId": "eba124cf-d1f5-4277-bed5-47482b687f0e", - "lastUpdateDateTime": "2022-02-18T19:05:51Z", - "createdDateTime": "2022-02-18T19:05:49Z", - "expirationDateTime": "2022-02-19T19:05:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:51.8704781Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json deleted file mode 100644 index c1972151d1c9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "470", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000453-0000000000000981-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5d5cf5d5-ec44-47fd-ba74-a45bb3c7aa54" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3a749b24-5959-4476-8a9a-8eba60b9ed2c", - "Date": "Fri, 18 Feb 2022 19:05:53 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5faaa59d-9b61-4106-b41e-ce938bede2ee", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "151" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5faaa59d-9b61-4106-b41e-ce938bede2ee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000454-0000000000000983-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "832b0f29-a4bb-427a-9236-ef47fcfa65b6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a3c60f81-dbea-4f59-8567-8eddb8c9d202", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "5faaa59d-9b61-4106-b41e-ce938bede2ee", - "lastUpdateDateTime": "2022-02-18T19:05:53Z", - "createdDateTime": "2022-02-18T19:05:53Z", - "expirationDateTime": "2022-02-19T19:05:53Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5faaa59d-9b61-4106-b41e-ce938bede2ee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000455-0000000000000985-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "359e971c-e89f-4880-adde-0c15a9626440" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e694b13d-6552-4a0f-a5ea-8c194eef92e0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "5faaa59d-9b61-4106-b41e-ce938bede2ee", - "lastUpdateDateTime": "2022-02-18T19:05:53Z", - "createdDateTime": "2022-02-18T19:05:53Z", - "expirationDateTime": "2022-02-19T19:05:53Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5faaa59d-9b61-4106-b41e-ce938bede2ee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000456-0000000000000987-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "391ca86a-d193-4eab-be31-93f19b72d8cf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c3a6679d-b60a-4c28-9c59-ca50b754dcaa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "96" - }, - "ResponseBody": { - "jobId": "5faaa59d-9b61-4106-b41e-ce938bede2ee", - "lastUpdateDateTime": "2022-02-18T19:05:55Z", - "createdDateTime": "2022-02-18T19:05:53Z", - "expirationDateTime": "2022-02-19T19:05:53Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:55.8069663Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5faaa59d-9b61-4106-b41e-ce938bede2ee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000457-0000000000000989-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7e994016-66ba-403f-9fc8-c4e07b652b1b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b4005413-d93b-4ea2-81e4-1b5c4d7855ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "jobId": "5faaa59d-9b61-4106-b41e-ce938bede2ee", - "lastUpdateDateTime": "2022-02-18T19:05:55Z", - "createdDateTime": "2022-02-18T19:05:53Z", - "expirationDateTime": "2022-02-19T19:05:53Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:05:55.8069663Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json deleted file mode 100644 index 93fd38bb05bb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json +++ /dev/null @@ -1,1620 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "749", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000458-0000000000000992-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6582cca2-0019-4240-8340-3575b29ae620" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "519114a0-f245-4f97-bac8-a8ad29469738", - "Date": "Fri, 18 Feb 2022 19:05:56 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "259" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000459-0000000000000994-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3a21c337-9bd0-4406-b4bd-52b94900ec2c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "88086d36-b2c2-4571-96aa-db82e4a8d473", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:05:57Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000460-0000000000000996-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bb91a899-2b36-45ea-9769-59c91199553e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7a99edd0-454a-470b-9d3f-1762f53fc0b8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:05:57Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000461-0000000000000998-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "50a3b2d2-bb12-472e-b533-fe0086f79aa7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dcec53fc-dda4-424a-9d24-923bede4bc7e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:05:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:05:57Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000462-0000000000001000-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8364dae6-e4b4-4263-a43a-3926c0d6ab0d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b8ba812a-0c40-4ff2-b005-670818986956", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:05:57Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000463-0000000000001002-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ffcebbfb-ce03-4ed1-b46c-e8874a484130" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "04fd5303-cb3d-45f3-941b-a54e0152abf5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:05:57Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000464-0000000000001004-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b01e0fb6-d4dd-46b2-9edc-cc74869cc274" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d98752ea-6cd5-4c55-bded-2e265daade25", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "118" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:06:05Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:05.9945715Z", - "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/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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/6158f4f6-82aa-44a1-8df7-54834ee2693b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000465-0000000000001006-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3f6b0a25-2638-49d6-93a8-e18abfa729f9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5611c746-c52c-44d7-921d-25caec07edd7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "313" - }, - "ResponseBody": { - "jobId": "6158f4f6-82aa-44a1-8df7-54834ee2693b", - "lastUpdateDateTime": "2022-02-18T19:06:05Z", - "createdDateTime": "2022-02-18T19:05:57Z", - "expirationDateTime": "2022-02-19T19:05:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:05.9945715Z", - "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/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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json deleted file mode 100644 index 87f665fe725f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,533 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "557", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000467-0000000000001012-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "855d1f99-7736-42fd-96e8-f77008fb7616" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "6cb477df-a8aa-434e-958e-b24fe090c1c0", - "Date": "Fri, 18 Feb 2022 19:06:07 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "264" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000468-0000000000001014-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a5362f70-ad1f-4c74-b812-5e8499693911" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5ce353ea-2396-4c3b-8937-c0a662c4f2ef", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "7592d149-f06a-4fc2-a5f4-567e2664705e", - "lastUpdateDateTime": "2022-02-18T19:06:08Z", - "createdDateTime": "2022-02-18T19:06:08Z", - "expirationDateTime": "2022-02-19T19:06:08Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000469-0000000000001016-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4626a7e9-c10d-4445-8301-12eebd4232e8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0cc903a9-34d8-485f-ae09-28154f741c13", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "7592d149-f06a-4fc2-a5f4-567e2664705e", - "lastUpdateDateTime": "2022-02-18T19:06:08Z", - "createdDateTime": "2022-02-18T19:06:08Z", - "expirationDateTime": "2022-02-19T19:06:08Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000470-0000000000001018-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2268c270-1be8-4568-9af0-7c29f2831a30" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "06826d5b-d892-4582-b87c-dc8eeabaace6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "7592d149-f06a-4fc2-a5f4-567e2664705e", - "lastUpdateDateTime": "2022-02-18T19:06:09Z", - "createdDateTime": "2022-02-18T19:06:08Z", - "expirationDateTime": "2022-02-19T19:06:08Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000471-0000000000001020-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "17ed0520-2667-4f1a-9fc6-7e56773e8027" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9923e943-3f5f-44e5-b0a7-a790fe1bbc56", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201" - }, - "ResponseBody": { - "jobId": "7592d149-f06a-4fc2-a5f4-567e2664705e", - "lastUpdateDateTime": "2022-02-18T19:06:12Z", - "createdDateTime": "2022-02-18T19:06:08Z", - "expirationDateTime": "2022-02-19T19:06:08Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:11.0938417Z", - "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": "2022-02-18T19:06:12.3432979Z", - "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": "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": "2022-02-18T19:06:11.7564021Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7592d149-f06a-4fc2-a5f4-567e2664705e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000472-0000000000001022-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6ba3e4b5-3684-4f9d-9f35-6736ecee65e5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b687cf90-93e2-45b5-8759-bf8574ed86b0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2680" - }, - "ResponseBody": { - "jobId": "7592d149-f06a-4fc2-a5f4-567e2664705e", - "lastUpdateDateTime": "2022-02-18T19:06:12Z", - "createdDateTime": "2022-02-18T19:06:08Z", - "expirationDateTime": "2022-02-19T19:06:08Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:06:11.0938417Z", - "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": "2022-02-18T19:06:12.3432979Z", - "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": "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": "2022-02-18T19:06:11.7564021Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json deleted file mode 100644 index db83f6fa0c42..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json +++ /dev/null @@ -1,283 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000568-0000000000001229-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "319e3e2e-343f-4c68-b7fe-a3b1cb4a4d6e" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action1" - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action2" - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "7adb6591-3779-483b-9087-3fe9db5197a6", - "Date": "Fri, 18 Feb 2022 19:08:21 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "131" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000569-0000000000001231-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8b2836c4-8ee0-4bf1-adab-fd23e447fabb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2062404b-9b6d-4d87-96e6-b09029680cc3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d", - "lastUpdateDateTime": "2022-02-18T19:08:21Z", - "createdDateTime": "2022-02-18T19:08:21Z", - "expirationDateTime": "2022-02-19T19:08:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000570-0000000000001233-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ce362004-ab6b-4aff-800e-66bff5d0f89e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ebdf7942-949b-4bd5-9203-ada6850c05fe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d", - "lastUpdateDateTime": "2022-02-18T19:08:21Z", - "createdDateTime": "2022-02-18T19:08:21Z", - "expirationDateTime": "2022-02-19T19:08:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000571-0000000000001235-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a5513010-a3ca-421c-ab0d-28a5200680de" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a5595428-2651-47af-8e81-5785541ae583", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "92" - }, - "ResponseBody": { - "jobId": "3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d", - "lastUpdateDateTime": "2022-02-18T19:08:23Z", - "createdDateTime": "2022-02-18T19:08:21Z", - "expirationDateTime": "2022-02-19T19:08:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:23.3272976Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:08:23.2788861Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000572-0000000000001237-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f1cd7e37-400b-4f6e-a008-240c0f6b38d8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8b16959b-638e-46f0-a8e7-d8828e361000", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "3f67dc5d-3cd4-43a9-bf83-8a5a24f76e8d", - "lastUpdateDateTime": "2022-02-18T19:08:23Z", - "createdDateTime": "2022-02-18T19:08:21Z", - "expirationDateTime": "2022-02-19T19:08:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:08:23.3272976Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:08:23.2788861Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json deleted file mode 100644 index d04ba6487605..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json +++ /dev/null @@ -1,640 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "460", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000518-0000000000001121-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "40ffb8be-022d-457d-be41-6aa3e2ce9515" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "parameters": { - "model-version": "latest" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "bc456ef8-7f92-4668-bb80-fa63c4b39da1", - "Date": "Fri, 18 Feb 2022 19:07:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "244" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000519-0000000000001123-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "afd6679d-3429-4d94-8267-32fdd7e5183c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8bc3cbc7-1e69-4eab-bca2-f8af1901b70c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:16Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000520-0000000000001125-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e9a5b34f-1131-40fd-be82-42da265120fb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "017b0561-f17f-48f8-a0c6-ece43f0534e3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:16Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000521-0000000000001127-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "07e4a6a4-bb6d-484c-8d0b-36e9024e9698" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c069433-1bfa-4223-bbd2-7d0532a10223", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:16Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000522-0000000000001129-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "18294972-57bf-4210-b309-26403feb687b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4ee4c145-b280-454f-879c-20fc792cce5e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "92" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:19Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:19.6494456Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000523-0000000000001131-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c1c3eae0-3e35-4e88-b8e9-b3cc4abb60dd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dc851315-3490-484d-a44e-680d613204eb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "91" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:19Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:19.6494456Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000524-0000000000001133-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d21ad625-1d18-4a47-9d2f-adf66324aa45" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bbc93361-b5b9-4602-ad26-c50568ce5f74", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "413" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:24Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:19.6494456Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:24.0740765Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:24.2562429Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ee4897db-a78d-47a5-b8ec-ece74d062d95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000525-0000000000001135-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e26304b7-0903-4539-aeb0-170d0265ab47" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ea002b61-4c43-4e0c-b062-d80216ec88b7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "421" - }, - "ResponseBody": { - "jobId": "ee4897db-a78d-47a5-b8ec-ece74d062d95", - "lastUpdateDateTime": "2022-02-18T19:07:24Z", - "createdDateTime": "2022-02-18T19:07:16Z", - "expirationDateTime": "2022-02-19T19:07:16Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:19.6494456Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:24.0740765Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:24.2562429Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json deleted file mode 100644 index 48f2d6bf9c56..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,557 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000501-0000000000001084-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6dcd24f6-3c3f-4600-ac65-8639d6a9686a" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "94c6669b-0332-48d9-959d-3768f6c334e3", - "Date": "Fri, 18 Feb 2022 19:06:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "370" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000502-0000000000001086-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5659240d-7095-4735-8013-9308fc7fc513" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c258137-b4b4-4d9c-b3b7-39d8f42d5178", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "1bab5d2a-589d-4872-9fb8-604d993be94b", - "lastUpdateDateTime": "2022-02-18T19:06:59Z", - "createdDateTime": "2022-02-18T19:06:59Z", - "expirationDateTime": "2022-02-19T19:06:59Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000503-0000000000001088-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5cd74909-9596-4ad6-9563-9faa18da0ab7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "94b40ab9-41f2-4626-ba2d-0adde00e56c5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:06:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1bab5d2a-589d-4872-9fb8-604d993be94b", - "lastUpdateDateTime": "2022-02-18T19:06:59Z", - "createdDateTime": "2022-02-18T19:06:59Z", - "expirationDateTime": "2022-02-19T19:06:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000504-0000000000001090-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ea556306-ac99-4884-9748-6a670cb9643d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "99416d35-48d2-4220-8f0a-a782b8044656", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100" - }, - "ResponseBody": { - "jobId": "1bab5d2a-589d-4872-9fb8-604d993be94b", - "lastUpdateDateTime": "2022-02-18T19:07:01Z", - "createdDateTime": "2022-02-18T19:06:59Z", - "expirationDateTime": "2022-02-19T19:06:59Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:01.6978568Z", - "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": "2022-02-18T19:07:01.8492404Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000505-0000000000001092-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c81c794-f274-42aa-990c-076312accac0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ba91352c-8125-4c37-942a-2fdcd0663942", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "138" - }, - "ResponseBody": { - "jobId": "1bab5d2a-589d-4872-9fb8-604d993be94b", - "lastUpdateDateTime": "2022-02-18T19:07:04Z", - "createdDateTime": "2022-02-18T19:06:59Z", - "expirationDateTime": "2022-02-19T19:06:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:01.6978568Z", - "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": "2022-02-18T19:07:01.8492404Z", - "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": "2022-02-18T19:07:04.1835757Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1bab5d2a-589d-4872-9fb8-604d993be94b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000506-0000000000001094-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c654940-df7c-4681-93bd-bb00fcbea711" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9441dcd1-45da-42c4-88c7-3052d9ecc034", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "160" - }, - "ResponseBody": { - "jobId": "1bab5d2a-589d-4872-9fb8-604d993be94b", - "lastUpdateDateTime": "2022-02-18T19:07:04Z", - "createdDateTime": "2022-02-18T19:06:59Z", - "expirationDateTime": "2022-02-19T19:06:59Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:01.6978568Z", - "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": "2022-02-18T19:07:01.8492404Z", - "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": "2022-02-18T19:07:04.1835757Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json deleted file mode 100644 index b48cad1fe863..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json +++ /dev/null @@ -1,445 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000507-0000000000001097-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b19a91ab-7227-4867-bb16-d2f8cc43c54c" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a523a3b3-ee80-40a1-8b83-e17e3b14d423", - "Date": "Fri, 18 Feb 2022 19:07:05 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef56b62b-3fa0-44a6-ab27-b56d9f226fbb", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef56b62b-3fa0-44a6-ab27-b56d9f226fbb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000508-0000000000001099-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2d9cbc56-36b8-49ab-8ffa-deb228d9c830" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "82d63c80-4a20-46a4-8060-4632988fca28", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ef56b62b-3fa0-44a6-ab27-b56d9f226fbb", - "lastUpdateDateTime": "2022-02-18T19:07:05Z", - "createdDateTime": "2022-02-18T19:07:05Z", - "expirationDateTime": "2022-02-19T19:07:05Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef56b62b-3fa0-44a6-ab27-b56d9f226fbb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000509-0000000000001101-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "81fcc6d4-94ab-4aaa-ba2a-667dba9daeeb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6f493d3-1d8a-421a-b52c-02205d8245a9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ef56b62b-3fa0-44a6-ab27-b56d9f226fbb", - "lastUpdateDateTime": "2022-02-18T19:07:05Z", - "createdDateTime": "2022-02-18T19:07:05Z", - "expirationDateTime": "2022-02-19T19:07:05Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef56b62b-3fa0-44a6-ab27-b56d9f226fbb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000510-0000000000001103-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1bc6f50b-018a-41cb-9947-ca1a457be119" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3e869171-1efa-4fbb-860f-a2982ba7ff3d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "488" - }, - "ResponseBody": { - "jobId": "ef56b62b-3fa0-44a6-ab27-b56d9f226fbb", - "lastUpdateDateTime": "2022-02-18T19:07:07Z", - "createdDateTime": "2022-02-18T19:07:05Z", - "expirationDateTime": "2022-02-19T19:07:05Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:07.3409185Z", - "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": "2022-02-18T19:07:07.323264Z", - "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": "2022-02-18T19:07:07.5329169Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ef56b62b-3fa0-44a6-ab27-b56d9f226fbb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000511-0000000000001105-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "256cae58-9568-4ca8-9a89-f8fedb312538" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c2a1ec01-ff34-4291-80d1-19ccfc729d66", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:07:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187" - }, - "ResponseBody": { - "jobId": "ef56b62b-3fa0-44a6-ab27-b56d9f226fbb", - "lastUpdateDateTime": "2022-02-18T19:07:07Z", - "createdDateTime": "2022-02-18T19:07:05Z", - "expirationDateTime": "2022-02-19T19:07:05Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:07:07.3409185Z", - "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": "2022-02-18T19:07:07.323264Z", - "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": "2022-02-18T19:07:07.5329169Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json deleted file mode 100644 index 0a03d375acd9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "116", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000649-0000000000001409-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6c0e81fd-36e0-43f2-991f-970d674e3006" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "" - }, - { - "id": "2", - "text": "I did not like the hotel we stayed at.", - "language": "english" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ebee1e1d-b2af-4e89-bf64-bf46e69c19cc", - "Date": "Fri, 18 Feb 2022 19:09:20 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f62a8e7-45d4-45b4-9610-74d2cc79e253", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "136" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f62a8e7-45d4-45b4-9610-74d2cc79e253?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000650-0000000000001411-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "874590fa-2deb-46b3-9da8-aa0fa978416d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c348ce5c-bcfb-4d4d-acf4-177f008ea24b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1f62a8e7-45d4-45b4-9610-74d2cc79e253", - "lastUpdateDateTime": "2022-02-18T19:09:21Z", - "createdDateTime": "2022-02-18T19:09:21Z", - "expirationDateTime": "2022-02-19T19:09:21Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f62a8e7-45d4-45b4-9610-74d2cc79e253?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000651-0000000000001413-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "29a5d972-9786-4c00-811c-a8000372e057" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b22ba0f4-f292-4da1-b1f2-2ee06052725c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "jobId": "1f62a8e7-45d4-45b4-9610-74d2cc79e253", - "lastUpdateDateTime": "2022-02-18T19:09:21Z", - "createdDateTime": "2022-02-18T19:09:21Z", - "expirationDateTime": "2022-02-19T19:09:21Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f62a8e7-45d4-45b4-9610-74d2cc79e253?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000652-0000000000001415-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "719e0d16-0f3b-4b80-be82-11cf83af306e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3248f67d-104c-49b9-9979-6897a4149a6f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "1f62a8e7-45d4-45b4-9610-74d2cc79e253", - "lastUpdateDateTime": "2022-02-18T19:09:22Z", - "createdDateTime": "2022-02-18T19:09:21Z", - "expirationDateTime": "2022-02-19T19:09:21Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f62a8e7-45d4-45b4-9610-74d2cc79e253?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000653-0000000000001417-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d6081e8e-7202-4c4e-a5d2-5bec5f1861a8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "73b15e67-8092-45dd-ae6e-f65df9e66f8b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "1f62a8e7-45d4-45b4-9610-74d2cc79e253", - "lastUpdateDateTime": "2022-02-18T19:09:22Z", - "createdDateTime": "2022-02-18T19:09:21Z", - "expirationDateTime": "2022-02-19T19:09:21Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json deleted file mode 100644 index db2cbc1196c6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "180", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000593-0000000000001284-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fb0d0123-6e4e-4279-94de-89b6021c2671" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "74010920-dde9-4357-85e6-ecaab7195cb9", - "Date": "Fri, 18 Feb 2022 19:08:40 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4ac2006b-508b-461a-b336-b2e0b9ab6937", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "177" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4ac2006b-508b-461a-b336-b2e0b9ab6937?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000594-0000000000001286-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0602d8d2-e064-49f7-92e8-b8d89e5c4e68" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f0e177b7-e7e8-43e3-8fbf-cdd678c1bfd0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "4ac2006b-508b-461a-b336-b2e0b9ab6937", - "lastUpdateDateTime": "2022-02-18T19:08:41Z", - "createdDateTime": "2022-02-18T19:08:40Z", - "expirationDateTime": "2022-02-19T19:08:40Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4ac2006b-508b-461a-b336-b2e0b9ab6937?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000595-0000000000001288-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8653f677-4086-446b-b14d-bcaef5838e13" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6d21f405-5200-4280-a276-f35743d7377b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "jobId": "4ac2006b-508b-461a-b336-b2e0b9ab6937", - "lastUpdateDateTime": "2022-02-18T19:08:41Z", - "createdDateTime": "2022-02-18T19:08:40Z", - "expirationDateTime": "2022-02-19T19:08:40Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4ac2006b-508b-461a-b336-b2e0b9ab6937?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000596-0000000000001290-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "49fc5803-41e9-4494-ace4-ee77c1146e53" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c1cd5bca-41e5-460a-a846-f0d19dc07d7d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "72" - }, - "ResponseBody": { - "jobId": "4ac2006b-508b-461a-b336-b2e0b9ab6937", - "lastUpdateDateTime": "2022-02-18T19:08:41Z", - "createdDateTime": "2022-02-18T19:08:40Z", - "expirationDateTime": "2022-02-19T19:08:40Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4ac2006b-508b-461a-b336-b2e0b9ab6937?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000597-0000000000001292-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d091f258-1d2b-4206-be71-b6fc650de6a8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ca292b8d-2399-433d-8916-7b32c7ceac31", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "4ac2006b-508b-461a-b336-b2e0b9ab6937", - "lastUpdateDateTime": "2022-02-18T19:08:41Z", - "createdDateTime": "2022-02-18T19:08:40Z", - "expirationDateTime": "2022-02-19T19:08:40Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json deleted file mode 100644 index 3808a0630580..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "5157", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000654-0000000000001420-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8635a304-7bef-4794-8127-4e15c96ee694" - }, - "RequestBody": { - "documents": [ - { - "id": "3", - "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a1063fed-5299-496c-9718-b9b4d8f0b018", - "Date": "Fri, 18 Feb 2022 19:09:23 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6dbdf713-d1aa-4111-a60e-2bdf56eff8db", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "125" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6dbdf713-d1aa-4111-a60e-2bdf56eff8db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000655-0000000000001422-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a8ef9510-0af7-471a-87fa-621f1d830134" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c3fae05-49c6-4083-a6c1-26ab85ccc98e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "jobId": "6dbdf713-d1aa-4111-a60e-2bdf56eff8db", - "lastUpdateDateTime": "2022-02-18T19:09:24Z", - "createdDateTime": "2022-02-18T19:09:24Z", - "expirationDateTime": "2022-02-19T19:09:24Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6dbdf713-d1aa-4111-a60e-2bdf56eff8db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000656-0000000000001424-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9698c333-3202-4797-a17f-8ac149adc1eb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "226e98f4-075a-4ee8-b7f9-ec8e1bb9a3a9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6dbdf713-d1aa-4111-a60e-2bdf56eff8db", - "lastUpdateDateTime": "2022-02-18T19:09:24Z", - "createdDateTime": "2022-02-18T19:09:24Z", - "expirationDateTime": "2022-02-19T19:09:24Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6dbdf713-d1aa-4111-a60e-2bdf56eff8db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000657-0000000000001426-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1a0c0fa4-8d64-49b4-9de0-c6d5ddeb1fa2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "89a0674b-afa9-4403-b7ba-f1f50e491723", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "92" - }, - "ResponseBody": { - "jobId": "6dbdf713-d1aa-4111-a60e-2bdf56eff8db", - "lastUpdateDateTime": "2022-02-18T19:09:26Z", - "createdDateTime": "2022-02-18T19:09:24Z", - "expirationDateTime": "2022-02-19T19:09:24Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6dbdf713-d1aa-4111-a60e-2bdf56eff8db?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000658-0000000000001428-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "053b47b9-4489-45d8-bc27-a94e64cc2890" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d1d9dca8-cb68-4c04-8a72-04d0f4d42315", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "6dbdf713-d1aa-4111-a60e-2bdf56eff8db", - "lastUpdateDateTime": "2022-02-18T19:09:26Z", - "createdDateTime": "2022-02-18T19:09:24Z", - "expirationDateTime": "2022-02-19T19:09:24Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.json deleted file mode 100644 index a9420160e62d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000660-0000000000001434-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f6bbf059-48aa-4500-81f2-b40719f908ba" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "18499ad0-12dc-4651-a5ce-369d9ad4db2d", - "Date": "Fri, 18 Feb 2022 19:09:28 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7b1f5647-5fe0-47ef-b646-70a84afd980b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "127" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7b1f5647-5fe0-47ef-b646-70a84afd980b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000661-0000000000001436-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "59216a87-7b14-4011-8952-5515c29d3e81" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0e6bbc7d-03ae-40c0-9f62-f8cc21706c45", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "7b1f5647-5fe0-47ef-b646-70a84afd980b", - "lastUpdateDateTime": "2022-02-18T19:09:28Z", - "createdDateTime": "2022-02-18T19:09:28Z", - "expirationDateTime": "2022-02-19T19:09:28Z", - "status": "running", - "errors": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.json deleted file mode 100644 index 3d50cce2c7bc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "76", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000600-0000000000001301-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "02f88b14-4be6-4266-a4d7-b14afe5e3616" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This won\u0027t actually create a warning :\u0027(" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "eb36ebc7-97c5-41e4-b973-b7a52e35ff2a", - "Date": "Fri, 18 Feb 2022 19:08:45 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c51860ab-5db3-4ad9-93a4-7d7cedf0fad1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c51860ab-5db3-4ad9-93a4-7d7cedf0fad1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000601-0000000000001303-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "59f1303e-c3f8-45f2-a1d8-be3cbb127272" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e0cb9e65-d395-4741-80c9-82f0a540ff26", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c51860ab-5db3-4ad9-93a4-7d7cedf0fad1", - "lastUpdateDateTime": "2022-02-18T19:08:46Z", - "createdDateTime": "2022-02-18T19:08:45Z", - "expirationDateTime": "2022-02-19T19:08:45Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c51860ab-5db3-4ad9-93a4-7d7cedf0fad1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000602-0000000000001305-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f10f1181-1077-4793-9f8d-ad4b8b328aa9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "38266d63-05c7-4b7a-addd-5c86281e6261", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:46 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "c51860ab-5db3-4ad9-93a4-7d7cedf0fad1", - "lastUpdateDateTime": "2022-02-18T19:08:46Z", - "createdDateTime": "2022-02-18T19:08:45Z", - "expirationDateTime": "2022-02-19T19:08:45Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c51860ab-5db3-4ad9-93a4-7d7cedf0fad1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000603-0000000000001307-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "611198d5-656d-4d9e-a2bb-7de9cdfe44d5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0a3dc5e6-52e0-42ca-8753-d7e4eff90331", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "c51860ab-5db3-4ad9-93a4-7d7cedf0fad1", - "lastUpdateDateTime": "2022-02-18T19:08:46Z", - "createdDateTime": "2022-02-18T19:08:45Z", - "expirationDateTime": "2022-02-19T19:08:45Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c51860ab-5db3-4ad9-93a4-7d7cedf0fad1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000604-0000000000001309-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a745ca56-354d-46a5-a128-016ea394a825" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b004e354-7db3-41d0-a497-000f8e18223e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "c51860ab-5db3-4ad9-93a4-7d7cedf0fad1", - "lastUpdateDateTime": "2022-02-18T19:08:46Z", - "createdDateTime": "2022-02-18T19:08:45Z", - "expirationDateTime": "2022-02-19T19:08:45Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json deleted file mode 100644 index ff875245c0e8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "106", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000659-0000000000001431-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ebfb0014-5fbd-4b4c-bb15-9c96a72bbe95" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "hello world" - }, - { - "id": "1", - "text": "I did not like the hotel we stayed at." - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "36351a7c-c189-4bba-bd37-329e14349fc5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocument", - "message": "Request contains duplicated Ids. Make sure each document has a unique Id." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.json deleted file mode 100644 index c9d3f6ee5552..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.json +++ /dev/null @@ -1,1574 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "157", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000578-0000000000001251-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d2480970-9d15-463a-8fa3-176a3e91a506" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "90609454-76d8-4bdb-b504-b015c1d43c79", - "Date": "Fri, 18 Feb 2022 19:08:28 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c1221ebc-ea3a-4423-b651-780806304a95", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c1221ebc-ea3a-4423-b651-780806304a95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000579-0000000000001253-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fb1b7f08-a07b-4107-9618-f304672f8f33" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "90d57737-7cdf-4163-b8b1-6b8019ac63bb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c1221ebc-ea3a-4423-b651-780806304a95", - "lastUpdateDateTime": "2022-02-18T19:08:28Z", - "createdDateTime": "2022-02-18T19:08:28Z", - "expirationDateTime": "2022-02-19T19:08:28Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c1221ebc-ea3a-4423-b651-780806304a95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000580-0000000000001255-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "78c3c695-89d9-4a67-8560-65fbf815d11e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4f2d7a40-2114-4f89-abeb-419328bc6dd1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "c1221ebc-ea3a-4423-b651-780806304a95", - "lastUpdateDateTime": "2022-02-18T19:08:28Z", - "createdDateTime": "2022-02-18T19:08:28Z", - "expirationDateTime": "2022-02-19T19:08:28Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c1221ebc-ea3a-4423-b651-780806304a95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000581-0000000000001257-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6a5d9958-3a9f-4026-a353-620838765696" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "763ea747-d7a3-4473-a640-93f85db7424d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "jobId": "c1221ebc-ea3a-4423-b651-780806304a95", - "lastUpdateDateTime": "2022-02-18T19:08:29Z", - "createdDateTime": "2022-02-18T19:08:28Z", - "expirationDateTime": "2022-02-19T19:08:28Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c1221ebc-ea3a-4423-b651-780806304a95?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000582-0000000000001259-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "915ed2c8-3830-4c0b-b90a-54f0ae3d6854" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c8f3df8-d5df-478a-9c55-72d3da649b73", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "c1221ebc-ea3a-4423-b651-780806304a95", - "lastUpdateDateTime": "2022-02-18T19:08:29Z", - "createdDateTime": "2022-02-18T19:08:28Z", - "expirationDateTime": "2022-02-19T19:08:28Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json deleted file mode 100644 index d639c1870f3d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json +++ /dev/null @@ -1,454 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000671-0000000000001459-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d7b04473-e2ff-45ac-9352-e7092766a10e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "ae3e2f4f-ff9b-4571-9043-436b5c3c2cd2", - "Date": "Fri, 18 Feb 2022 19:09:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bf66aa19-5336-4f46-9344-0f8d7f95e018", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bf66aa19-5336-4f46-9344-0f8d7f95e018?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000672-0000000000001461-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a9e25321-c377-4002-81e4-eb22b7aefaeb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "362b67fb-02c2-4fe1-b14b-f644501847ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "bf66aa19-5336-4f46-9344-0f8d7f95e018", - "lastUpdateDateTime": "2022-02-18T19:09:36Z", - "createdDateTime": "2022-02-18T19:09:36Z", - "expirationDateTime": "2022-02-19T19:09:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bf66aa19-5336-4f46-9344-0f8d7f95e018?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000673-0000000000001463-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f17d565a-2a76-4ffd-9b75-e18c60dfab1a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "91637316-4286-4a3f-b78c-f724ba34f2c2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "bf66aa19-5336-4f46-9344-0f8d7f95e018", - "lastUpdateDateTime": "2022-02-18T19:09:36Z", - "createdDateTime": "2022-02-18T19:09:36Z", - "expirationDateTime": "2022-02-19T19:09:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bf66aa19-5336-4f46-9344-0f8d7f95e018?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000674-0000000000001465-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4b40b79e-4c0c-4126-b2a2-e374bc83117f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "40cafad9-839c-45c3-9c9d-f8e3234370a6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "bf66aa19-5336-4f46-9344-0f8d7f95e018", - "lastUpdateDateTime": "2022-02-18T19:09:37Z", - "createdDateTime": "2022-02-18T19:09:36Z", - "expirationDateTime": "2022-02-19T19:09:36Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/bf66aa19-5336-4f46-9344-0f8d7f95e018?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000675-0000000000001467-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b85f01e5-d1ad-41bb-a282-50696f82486b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b38335f0-6972-49df-b606-3e8bd4d700b8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "bf66aa19-5336-4f46-9344-0f8d7f95e018", - "lastUpdateDateTime": "2022-02-18T19:09:37Z", - "createdDateTime": "2022-02-18T19:09:36Z", - "expirationDateTime": "2022-02-19T19:09:36Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json deleted file mode 100644 index 5dfe411f0dae..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json +++ /dev/null @@ -1,454 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000666-0000000000001448-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "09eb5067-cc2d-47d3-abd8-e01a315da942" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4dd9e9cd-a8de-4887-8762-eb93e9695a6d", - "Date": "Fri, 18 Feb 2022 19:09:32 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7dba20b9-31eb-4e04-bc3a-fedfe0772561", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7dba20b9-31eb-4e04-bc3a-fedfe0772561?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000667-0000000000001450-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4a453e50-ec54-44fe-9b7b-7dc0b3f96b30" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "01584172-f7e1-4e07-a417-afcc082f3bfb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "7dba20b9-31eb-4e04-bc3a-fedfe0772561", - "lastUpdateDateTime": "2022-02-18T19:09:32Z", - "createdDateTime": "2022-02-18T19:09:32Z", - "expirationDateTime": "2022-02-19T19:09:32Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7dba20b9-31eb-4e04-bc3a-fedfe0772561?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000668-0000000000001452-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bebed3b7-6f57-4a6e-a57c-5d9a50c0ee74" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cbc3e8c9-130a-4a8e-b640-37fccb06508e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "7dba20b9-31eb-4e04-bc3a-fedfe0772561", - "lastUpdateDateTime": "2022-02-18T19:09:32Z", - "createdDateTime": "2022-02-18T19:09:32Z", - "expirationDateTime": "2022-02-19T19:09:32Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7dba20b9-31eb-4e04-bc3a-fedfe0772561?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000669-0000000000001454-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dc3247f9-99af-4005-9722-bd4dfddca965" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4a92fc8d-ad75-4cd7-af7a-e4b646844905", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "7dba20b9-31eb-4e04-bc3a-fedfe0772561", - "lastUpdateDateTime": "2022-02-18T19:09:33Z", - "createdDateTime": "2022-02-18T19:09:32Z", - "expirationDateTime": "2022-02-19T19:09:32Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7dba20b9-31eb-4e04-bc3a-fedfe0772561?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000670-0000000000001456-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "358cd1c4-360c-463b-89ee-4d9ecbfa6fdc" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d173aa3e-4e89-4d5f-9bc6-ac7769c539d3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "35" - }, - "ResponseBody": { - "jobId": "7dba20b9-31eb-4e04-bc3a-fedfe0772561", - "lastUpdateDateTime": "2022-02-18T19:09:33Z", - "createdDateTime": "2022-02-18T19:09:32Z", - "expirationDateTime": "2022-02-19T19:09:32Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.json deleted file mode 100644 index 1f2062875ea6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.json +++ /dev/null @@ -1,941 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000583-0000000000001262-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f0dc0b45-33e6-4a2f-8810-b7a3e0b13443" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "f6949485-f202-4b5c-bb2b-ceddd2b81521", - "Date": "Fri, 18 Feb 2022 19:08:31 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/53d56ad1-54f6-4b3e-959e-b48f87cfda94", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "192" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/53d56ad1-54f6-4b3e-959e-b48f87cfda94?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000584-0000000000001264-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "394eb85d-90b2-40a5-b124-ae248f1404f4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5d144b84-9e6d-4a19-ae86-c04774d9a742", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "53d56ad1-54f6-4b3e-959e-b48f87cfda94", - "lastUpdateDateTime": "2022-02-18T19:08:32Z", - "createdDateTime": "2022-02-18T19:08:32Z", - "expirationDateTime": "2022-02-19T19:08:32Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/53d56ad1-54f6-4b3e-959e-b48f87cfda94?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000585-0000000000001266-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b6e74e3e-8081-4e84-a1f9-420047e10e90" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5714a480-3ac1-460e-9eb9-8f064af8290e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "53d56ad1-54f6-4b3e-959e-b48f87cfda94", - "lastUpdateDateTime": "2022-02-18T19:08:32Z", - "createdDateTime": "2022-02-18T19:08:32Z", - "expirationDateTime": "2022-02-19T19:08:32Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/53d56ad1-54f6-4b3e-959e-b48f87cfda94?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000586-0000000000001268-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bf371766-cbfb-4ccf-81bc-bf5c47bd08da" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6fb5369-1514-4e2d-a910-1a3c9f5778eb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "332" - }, - "ResponseBody": { - "jobId": "53d56ad1-54f6-4b3e-959e-b48f87cfda94", - "lastUpdateDateTime": "2022-02-18T19:08:33Z", - "createdDateTime": "2022-02-18T19:08:32Z", - "expirationDateTime": "2022-02-19T19:08:32Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/53d56ad1-54f6-4b3e-959e-b48f87cfda94?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000587-0000000000001270-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0543b832-5f51-41ba-ab91-a3c692d85598" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "065d35b5-a929-44ea-b588-037214894a0d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "150" - }, - "ResponseBody": { - "jobId": "53d56ad1-54f6-4b3e-959e-b48f87cfda94", - "lastUpdateDateTime": "2022-02-18T19:08:33Z", - "createdDateTime": "2022-02-18T19:08:32Z", - "expirationDateTime": "2022-02-19T19:08:32Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.json deleted file mode 100644 index ccc09b4f3604..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.json +++ /dev/null @@ -1,941 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000573-0000000000001240-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bccf1470-4b42-4c0b-8297-bb666cf72ed8" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "d899563d-b721-489c-a811-e059a50c727c", - "Date": "Fri, 18 Feb 2022 19:08:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/74fec092-a486-4ae8-9881-3274e1e57d85", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "101" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/74fec092-a486-4ae8-9881-3274e1e57d85?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000574-0000000000001242-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f490f9de-1a70-4654-a1be-7e717e1fff11" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aed69b84-d375-4bde-92ce-05b31fe510c9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "74fec092-a486-4ae8-9881-3274e1e57d85", - "lastUpdateDateTime": "2022-02-18T19:08:25Z", - "createdDateTime": "2022-02-18T19:08:25Z", - "expirationDateTime": "2022-02-19T19:08:25Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/74fec092-a486-4ae8-9881-3274e1e57d85?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000575-0000000000001244-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8a8511ee-dc11-4a77-9254-9cc5a355b20d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5438ff84-d6c2-4e57-9793-465719cff527", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "74fec092-a486-4ae8-9881-3274e1e57d85", - "lastUpdateDateTime": "2022-02-18T19:08:25Z", - "createdDateTime": "2022-02-18T19:08:25Z", - "expirationDateTime": "2022-02-19T19:08:25Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/74fec092-a486-4ae8-9881-3274e1e57d85?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000576-0000000000001246-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e067586d-d294-48a0-a3fc-2b03829ef3b3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4da17e35-b00f-4902-b8c3-2630d7f1c089", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "40" - }, - "ResponseBody": { - "jobId": "74fec092-a486-4ae8-9881-3274e1e57d85", - "lastUpdateDateTime": "2022-02-18T19:08:26Z", - "createdDateTime": "2022-02-18T19:08:25Z", - "expirationDateTime": "2022-02-19T19:08:25Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/74fec092-a486-4ae8-9881-3274e1e57d85?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000577-0000000000001248-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a96bede3-0b2a-4ec4-b797-a002e2eeadc9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b28cd28c-ca5a-40c8-a5aa-64a6e00b486c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "168" - }, - "ResponseBody": { - "jobId": "74fec092-a486-4ae8-9881-3274e1e57d85", - "lastUpdateDateTime": "2022-02-18T19:08:26Z", - "createdDateTime": "2022-02-18T19:08:25Z", - "expirationDateTime": "2022-02-19T19:08:25Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json deleted file mode 100644 index d1e1e02c6832..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000639-0000000000001387-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b9942045-1733-4e8d-9715-d6f9fb07cc34" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "db97a457-6ab3-4b54-801c-a4c77f6b0dbf", - "Date": "Fri, 18 Feb 2022 19:09:14 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "108" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000640-0000000000001389-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f9921e50-ce2f-45bb-b91b-1f2c9440fb47" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2ec6ec09-6e79-4f4d-b199-2708deb052a7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16", - "lastUpdateDateTime": "2022-02-18T19:09:14Z", - "createdDateTime": "2022-02-18T19:09:14Z", - "expirationDateTime": "2022-02-19T19:09:14Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000641-0000000000001391-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8861694a-f954-4c18-b887-1d6c5b0ae358" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bbb3716e-dd7f-44cb-b212-1035d425a259", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16", - "lastUpdateDateTime": "2022-02-18T19:09:14Z", - "createdDateTime": "2022-02-18T19:09:14Z", - "expirationDateTime": "2022-02-19T19:09:14Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000642-0000000000001393-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "74ea3950-36e4-47e1-b5e3-927c1c263c9d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "83b78d38-832e-403c-952d-3a15f8e79c31", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16", - "lastUpdateDateTime": "2022-02-18T19:09:15Z", - "createdDateTime": "2022-02-18T19:09:14Z", - "expirationDateTime": "2022-02-19T19:09:14Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000643-0000000000001395-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "29f56373-b84e-4ae7-ad8e-c03ab4dcceca" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "968e9a0a-3245-4812-b65b-df4216d9fac6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "8cc10dd4-3fcd-45dd-b76d-b6cbfce34f16", - "lastUpdateDateTime": "2022-02-18T19:09:15Z", - "createdDateTime": "2022-02-18T19:09:14Z", - "expirationDateTime": "2022-02-19T19:09:14Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json deleted file mode 100644 index 663385fc2ce9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000644-0000000000001398-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1682ed39-054a-44ef-b9b2-7d65140a1289" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0684a40e-e5b5-4f50-b96c-10f31131d5ce", - "Date": "Fri, 18 Feb 2022 19:09:17 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "118" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000645-0000000000001400-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c8f9c52e-98b7-47a9-8e91-042012a94a34" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9cf76aae-e403-4a09-8b45-48ced16495eb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b", - "lastUpdateDateTime": "2022-02-18T19:09:17Z", - "createdDateTime": "2022-02-18T19:09:17Z", - "expirationDateTime": "2022-02-19T19:09:17Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000646-0000000000001402-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "80df12d0-5c6d-4056-b3c7-2ad9ea2b5a7e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ff9c17ac-ac5b-4fd4-8af5-ec71b170f402", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b", - "lastUpdateDateTime": "2022-02-18T19:09:17Z", - "createdDateTime": "2022-02-18T19:09:17Z", - "expirationDateTime": "2022-02-19T19:09:17Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000647-0000000000001404-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "593b70bb-b63a-4b56-ac6f-287ea92bbd65" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "18fa40d0-a873-4736-8d3d-acffc0d14df0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b", - "lastUpdateDateTime": "2022-02-18T19:09:18Z", - "createdDateTime": "2022-02-18T19:09:17Z", - "expirationDateTime": "2022-02-19T19:09:17Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000648-0000000000001406-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dbdc89bb-3742-4441-a8ad-d2ac370bcbff" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "23c8863d-1f59-4a08-be81-517bae989c20", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "134" - }, - "ResponseBody": { - "jobId": "742bdb87-6f1d-4a30-95e3-ea27a2fa1f4b", - "lastUpdateDateTime": "2022-02-18T19:09:18Z", - "createdDateTime": "2022-02-18T19:09:17Z", - "expirationDateTime": "2022-02-19T19:09:17Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.json deleted file mode 100644 index 9ce576c82875..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aa6bf375-a553-4579-bf88-835494f30497" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "646b7778-0199-4c45-8aa3-5879dc3d7d16", - "Date": "Fri, 18 Feb 2022 19:46:30 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1dd7f7c6-3b81-4be9-8322-48f3994077b0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "176" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1dd7f7c6-3b81-4be9-8322-48f3994077b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "85d629b6-732b-46d1-8cb4-0996ca78a0ae" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ae789869-dfd1-4499-811a-77f6ade184ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "1dd7f7c6-3b81-4be9-8322-48f3994077b0", - "lastUpdateDateTime": "2022-02-18T19:46:31Z", - "createdDateTime": "2022-02-18T19:46:31Z", - "expirationDateTime": "2022-02-19T19:46:31Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1dd7f7c6-3b81-4be9-8322-48f3994077b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b174348f-9f60-4eb0-bf8e-647bd6a9acff" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d958fda0-7b0b-4b63-999a-08879490f5a2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "1dd7f7c6-3b81-4be9-8322-48f3994077b0", - "lastUpdateDateTime": "2022-02-18T19:46:31Z", - "createdDateTime": "2022-02-18T19:46:31Z", - "expirationDateTime": "2022-02-19T19:46:31Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1dd7f7c6-3b81-4be9-8322-48f3994077b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "08a6b7b4-4589-4661-8ce3-696b1511bd8f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aecaf377-cc1c-4c43-9637-aa98e90f3e4f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "65" - }, - "ResponseBody": { - "jobId": "1dd7f7c6-3b81-4be9-8322-48f3994077b0", - "lastUpdateDateTime": "2022-02-18T19:46:31Z", - "createdDateTime": "2022-02-18T19:46:31Z", - "expirationDateTime": "2022-02-19T19:46:31Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json deleted file mode 100644 index cd32b7d4c9a2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "139", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000605-0000000000001312-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "25a98e48-e38e-4688-a066-9ca6eb702ea6" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "one" - }, - { - "id": "2", - "text": "two" - }, - { - "id": "3", - "text": "three" - }, - { - "id": "4", - "text": "four" - }, - { - "id": "5", - "text": "five" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "8d65119d-c6a3-42c5-97e5-0886b5afd6f2", - "Date": "Fri, 18 Feb 2022 19:08:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9f0fe82d-9dfc-4f51-b0cf-638339dc645e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "182" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9f0fe82d-9dfc-4f51-b0cf-638339dc645e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000606-0000000000001314-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "84acbbd3-bb91-45ff-9c29-2088914ed9a1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b4c05f6-a90c-47c6-8e5c-202233650259", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "9f0fe82d-9dfc-4f51-b0cf-638339dc645e", - "lastUpdateDateTime": "2022-02-18T19:08:49Z", - "createdDateTime": "2022-02-18T19:08:49Z", - "expirationDateTime": "2022-02-19T19:08:49Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9f0fe82d-9dfc-4f51-b0cf-638339dc645e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000607-0000000000001316-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "25b0181d-c96f-45be-bf0b-e276b5b0b1c1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5623b663-a981-46b9-a9d5-ccab4a2c8e61", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "9f0fe82d-9dfc-4f51-b0cf-638339dc645e", - "lastUpdateDateTime": "2022-02-18T19:08:49Z", - "createdDateTime": "2022-02-18T19:08:49Z", - "expirationDateTime": "2022-02-19T19:08:49Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9f0fe82d-9dfc-4f51-b0cf-638339dc645e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000608-0000000000001318-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "542ee9d9-d6fa-4767-9e39-a498aafbcaa4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6208876f-1b97-4501-b19d-0b0baf6298d8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "245" - }, - "ResponseBody": { - "jobId": "9f0fe82d-9dfc-4f51-b0cf-638339dc645e", - "lastUpdateDateTime": "2022-02-18T19:08:50Z", - "createdDateTime": "2022-02-18T19:08:49Z", - "expirationDateTime": "2022-02-19T19:08:49Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9f0fe82d-9dfc-4f51-b0cf-638339dc645e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000609-0000000000001320-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b1ee3e69-59ca-4334-b45d-7ef793c53f5d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c85e0afd-261f-4fbb-b910-5def114a50bd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130" - }, - "ResponseBody": { - "jobId": "9f0fe82d-9dfc-4f51-b0cf-638339dc645e", - "lastUpdateDateTime": "2022-02-18T19:08:50Z", - "createdDateTime": "2022-02-18T19:08:49Z", - "expirationDateTime": "2022-02-19T19:08:49Z", - "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" - } - } - } - ], - "Variables": {} -} 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.json 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.json deleted file mode 100644 index d332621721b6..000000000000 --- 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.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000610-0000000000001323-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1a2c6527-5ae8-4b6e-b376-323bd4be6fa9" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b1a48ecb-1886-47b4-a6af-82d8e4f2cef4", - "Date": "Fri, 18 Feb 2022 19:08:52 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7faf028c-3b6b-4d56-a948-c26c47548f3c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "181" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7faf028c-3b6b-4d56-a948-c26c47548f3c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000611-0000000000001325-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e7eccffe-ff4f-4595-9f76-18bac4e5dabf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e35e5586-5918-4cdf-baa7-721fcc8acc6c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "7faf028c-3b6b-4d56-a948-c26c47548f3c", - "lastUpdateDateTime": "2022-02-18T19:08:53Z", - "createdDateTime": "2022-02-18T19:08:53Z", - "expirationDateTime": "2022-02-19T19:08:53Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7faf028c-3b6b-4d56-a948-c26c47548f3c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000612-0000000000001327-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5f445b75-863a-4ae9-90e0-f11af8b89d70" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "03ddd0bc-5fe5-4e5e-a08a-d61c2622feea", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "7faf028c-3b6b-4d56-a948-c26c47548f3c", - "lastUpdateDateTime": "2022-02-18T19:08:53Z", - "createdDateTime": "2022-02-18T19:08:53Z", - "expirationDateTime": "2022-02-19T19:08:53Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7faf028c-3b6b-4d56-a948-c26c47548f3c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000613-0000000000001329-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a80cd3ba-52b5-4cdc-ba5e-7b70391599ac" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f8faef58-2b30-42ac-a040-6066230e01f0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "78" - }, - "ResponseBody": { - "jobId": "7faf028c-3b6b-4d56-a948-c26c47548f3c", - "lastUpdateDateTime": "2022-02-18T19:08:54Z", - "createdDateTime": "2022-02-18T19:08:53Z", - "expirationDateTime": "2022-02-19T19:08:53Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7faf028c-3b6b-4d56-a948-c26c47548f3c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000614-0000000000001331-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c1b702f3-cbcf-46a8-a908-3719cd28a2ff" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0bed88cf-4e1d-4bd7-ba0a-9268e3becbc9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "79" - }, - "ResponseBody": { - "jobId": "7faf028c-3b6b-4d56-a948-c26c47548f3c", - "lastUpdateDateTime": "2022-02-18T19:08:54Z", - "createdDateTime": "2022-02-18T19:08:53Z", - "expirationDateTime": "2022-02-19T19:08:53Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.json deleted file mode 100644 index 58053050eba5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.json +++ /dev/null @@ -1,2544 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "710405", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000599-0000000000001298-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ed79061e-5f3c-4167-b931-6dc2f5d902d5" - }, - "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", - "language": "en" - } - ] - }, - "StatusCode": 413, - "ResponseHeaders": { - "apim-request-id": "8f1f7d5e-a5dd-4788-ac75-901db12ff134", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "94" - }, - "ResponseBody": { - "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" - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json deleted file mode 100644 index f2d13b6730d9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?model-version=latest\u0026stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000615-0000000000001334-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "010e08a3-4a93-4679-80a6-ae58d24c1fea" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "0508a54f-e399-4191-82f3-1054d8a38b2f", - "Date": "Fri, 18 Feb 2022 19:08:57 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9ecdbc11-adaf-42ac-a022-f44f771bdfd1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "275" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9ecdbc11-adaf-42ac-a022-f44f771bdfd1?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000616-0000000000001336-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "71524616-4f7e-4762-adc8-6335eb2ec563" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "44873a49-771c-4cdc-a762-21c7a397d019", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "9ecdbc11-adaf-42ac-a022-f44f771bdfd1", - "lastUpdateDateTime": "2022-02-18T19:08:57Z", - "createdDateTime": "2022-02-18T19:08:57Z", - "expirationDateTime": "2022-02-19T19:08:57Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9ecdbc11-adaf-42ac-a022-f44f771bdfd1?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000617-0000000000001338-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c96f33fb-9300-4a46-96b6-d8d3feb5dbc3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "327f2fa1-9b1d-4f4b-9a4a-0dbab362f47e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "9ecdbc11-adaf-42ac-a022-f44f771bdfd1", - "lastUpdateDateTime": "2022-02-18T19:08:57Z", - "createdDateTime": "2022-02-18T19:08:57Z", - "expirationDateTime": "2022-02-19T19:08:57Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9ecdbc11-adaf-42ac-a022-f44f771bdfd1?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000618-0000000000001340-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4b528ffc-dfb0-4e59-8697-9ee7c25ffca6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2ea01e7b-e737-48e8-bcb7-f0e34bcd2b71", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "79" - }, - "ResponseBody": { - "jobId": "9ecdbc11-adaf-42ac-a022-f44f771bdfd1", - "lastUpdateDateTime": "2022-02-18T19:08:57Z", - "createdDateTime": "2022-02-18T19:08:57Z", - "expirationDateTime": "2022-02-19T19:08:57Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json deleted file mode 100644 index 1b34695fc1ef..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json +++ /dev/null @@ -1,592 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "226", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000588-0000000000001273-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "11b8078d-ec5d-4137-85fe-0063b0280df7" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b1fcf08c-2c08-4ea5-b228-f3fde7ce3278", - "Date": "Fri, 18 Feb 2022 19:08:36 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/145e63b5-af9f-4278-aedd-35a7ee2d65f9", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/145e63b5-af9f-4278-aedd-35a7ee2d65f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000589-0000000000001275-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5ed79126-4f23-4fd4-931d-ef8caad40594" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4e12e145-341b-4dae-bd7a-939f2f497030", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "jobId": "145e63b5-af9f-4278-aedd-35a7ee2d65f9", - "lastUpdateDateTime": "2022-02-18T19:08:36Z", - "createdDateTime": "2022-02-18T19:08:36Z", - "expirationDateTime": "2022-02-19T19:08:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/145e63b5-af9f-4278-aedd-35a7ee2d65f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000590-0000000000001277-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "66df4c83-1634-4fbc-87c3-16484ec761c6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2d07543c-634a-411b-a874-939f59a42e45", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "145e63b5-af9f-4278-aedd-35a7ee2d65f9", - "lastUpdateDateTime": "2022-02-18T19:08:36Z", - "createdDateTime": "2022-02-18T19:08:36Z", - "expirationDateTime": "2022-02-19T19:08:36Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/145e63b5-af9f-4278-aedd-35a7ee2d65f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000591-0000000000001279-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "09e1d750-8fec-400a-bc93-ac2c0ba12695" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0af775e7-b3ff-4d6c-b240-f1bb7dd94f80", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "760" - }, - "ResponseBody": { - "jobId": "145e63b5-af9f-4278-aedd-35a7ee2d65f9", - "lastUpdateDateTime": "2022-02-18T19:08:37Z", - "createdDateTime": "2022-02-18T19:08:36Z", - "expirationDateTime": "2022-02-19T19:08:36Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/145e63b5-af9f-4278-aedd-35a7ee2d65f9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000592-0000000000001281-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9728a543-794f-4443-a217-46b431307c5a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "97b1c4aa-8f11-4f91-9e68-cff1dd7fd3c5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "180" - }, - "ResponseBody": { - "jobId": "145e63b5-af9f-4278-aedd-35a7ee2d65f9", - "lastUpdateDateTime": "2022-02-18T19:08:37Z", - "createdDateTime": "2022-02-18T19:08:36Z", - "expirationDateTime": "2022-02-19T19:08:36Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.json deleted file mode 100644 index 7caa146ff737..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "544", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000598-0000000000001295-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1c8dfafb-cc92-4af5-898e-d8d941d4abf5" - }, - "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" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "58c8646b-b462-4184-b6fc-c9631f166d8e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:08:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 10 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json deleted file mode 100644 index ddb4d15363e6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000624-0000000000001354-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "22619799-91e9-48a0-b33c-a37df1aecdca" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "9f9f3720-1d8b-4b25-bc23-ef381f3346f5", - "Date": "Fri, 18 Feb 2022 19:09:03 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7ea0aa06-3adb-4f24-8091-3219ba3626d1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "176" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7ea0aa06-3adb-4f24-8091-3219ba3626d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000625-0000000000001356-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bc97651b-7022-4494-a999-17c0398b5037" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c33837c-db0a-4531-9fe0-c7fe7da64809", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "7ea0aa06-3adb-4f24-8091-3219ba3626d1", - "lastUpdateDateTime": "2022-02-18T19:09:04Z", - "createdDateTime": "2022-02-18T19:09:03Z", - "expirationDateTime": "2022-02-19T19:09:03Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7ea0aa06-3adb-4f24-8091-3219ba3626d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000626-0000000000001358-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d6fb4301-53f3-4e62-8584-fe8d5d99c3e4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "56791057-519f-45e3-8085-ace8038eb26c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "7ea0aa06-3adb-4f24-8091-3219ba3626d1", - "lastUpdateDateTime": "2022-02-18T19:09:04Z", - "createdDateTime": "2022-02-18T19:09:03Z", - "expirationDateTime": "2022-02-19T19:09:03Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7ea0aa06-3adb-4f24-8091-3219ba3626d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000627-0000000000001360-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "107279c0-460c-481a-a070-1185ca423e90" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "11e32cc0-f5b1-4496-9834-6a069a689518", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "7ea0aa06-3adb-4f24-8091-3219ba3626d1", - "lastUpdateDateTime": "2022-02-18T19:09:04Z", - "createdDateTime": "2022-02-18T19:09:03Z", - "expirationDateTime": "2022-02-19T19:09:03Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7ea0aa06-3adb-4f24-8091-3219ba3626d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000628-0000000000001362-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "04dcca1c-1958-453c-8853-a8beeed53fce" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47a7d959-9ecc-41b9-af1e-9c5fed9b34a8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "jobId": "7ea0aa06-3adb-4f24-8091-3219ba3626d1", - "lastUpdateDateTime": "2022-02-18T19:09:04Z", - "createdDateTime": "2022-02-18T19:09:03Z", - "expirationDateTime": "2022-02-19T19:09:03Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json deleted file mode 100644 index 1efcace7496c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "202", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000629-0000000000001365-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "125c328d-1af9-4cb6-b8f2-96e459180c07" - }, - "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." - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "e5281c3b-e512-42c2-bf51-e38072a79485", - "Date": "Fri, 18 Feb 2022 19:09:06 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c9738cad-bdfe-44e2-8d60-c47836dd17d3", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c9738cad-bdfe-44e2-8d60-c47836dd17d3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000630-0000000000001367-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4c0faa04-3f90-4641-9bba-ed247a8f4228" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "71d5ebb1-855a-494b-921a-6eab34c6e6a1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "254" - }, - "ResponseBody": { - "jobId": "c9738cad-bdfe-44e2-8d60-c47836dd17d3", - "lastUpdateDateTime": "2022-02-18T19:09:07Z", - "createdDateTime": "2022-02-18T19:09:07Z", - "expirationDateTime": "2022-02-19T19:09:07Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c9738cad-bdfe-44e2-8d60-c47836dd17d3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000631-0000000000001369-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4c417038-68d3-4eb5-8bcb-08fe14fe105c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8c29d6ac-33c5-4c6e-982c-f62a55c37f1e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "c9738cad-bdfe-44e2-8d60-c47836dd17d3", - "lastUpdateDateTime": "2022-02-18T19:09:07Z", - "createdDateTime": "2022-02-18T19:09:07Z", - "expirationDateTime": "2022-02-19T19:09:07Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c9738cad-bdfe-44e2-8d60-c47836dd17d3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000632-0000000000001371-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "eab2dfad-8c7d-4937-bd16-a336775b16c5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "02bf9321-6653-45a5-bec0-b880d1c028ef", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "jobId": "c9738cad-bdfe-44e2-8d60-c47836dd17d3", - "lastUpdateDateTime": "2022-02-18T19:09:07Z", - "createdDateTime": "2022-02-18T19:09:07Z", - "expirationDateTime": "2022-02-19T19:09:07Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c9738cad-bdfe-44e2-8d60-c47836dd17d3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000633-0000000000001373-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "80f8615e-1e73-4803-84f8-4cca5db3c785" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a68d5f22-c255-4d75-af64-9e6a1c1c6856", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "134" - }, - "ResponseBody": { - "jobId": "c9738cad-bdfe-44e2-8d60-c47836dd17d3", - "lastUpdateDateTime": "2022-02-18T19:09:07Z", - "createdDateTime": "2022-02-18T19:09:07Z", - "expirationDateTime": "2022-02-19T19:09:07Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json deleted file mode 100644 index 8560904307fc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000619-0000000000001343-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0545134d-295f-443b-92f9-848d734a9346" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c00808bd-1904-41ea-9330-6841891fc1d5", - "Date": "Fri, 18 Feb 2022 19:09:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36a6b03d-0a75-4778-81b8-20ef958fec96", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "218" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36a6b03d-0a75-4778-81b8-20ef958fec96?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000620-0000000000001345-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8cc88726-30ef-4557-a7a9-f149a5053e50" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "470b46be-55b0-493c-8713-6d49e6afb821", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "36a6b03d-0a75-4778-81b8-20ef958fec96", - "lastUpdateDateTime": "2022-02-18T19:09:00Z", - "createdDateTime": "2022-02-18T19:09:00Z", - "expirationDateTime": "2022-02-19T19:09:00Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36a6b03d-0a75-4778-81b8-20ef958fec96?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000621-0000000000001347-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "424badbf-c376-46d2-914f-4913e8c16a2b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b5a7cec5-c57f-4617-b3be-abef67ffdbfe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "36a6b03d-0a75-4778-81b8-20ef958fec96", - "lastUpdateDateTime": "2022-02-18T19:09:00Z", - "createdDateTime": "2022-02-18T19:09:00Z", - "expirationDateTime": "2022-02-19T19:09:00Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36a6b03d-0a75-4778-81b8-20ef958fec96?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000622-0000000000001349-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "63b3bc41-dd2a-4d7f-be8f-8c94e98f2787" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c8d7ef38-acf6-43ca-a9a2-804cf0041664", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "jobId": "36a6b03d-0a75-4778-81b8-20ef958fec96", - "lastUpdateDateTime": "2022-02-18T19:09:01Z", - "createdDateTime": "2022-02-18T19:09:00Z", - "expirationDateTime": "2022-02-19T19:09:00Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/36a6b03d-0a75-4778-81b8-20ef958fec96?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000623-0000000000001351-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0f52744b-23da-45a1-8ebd-6eede06751c0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9cd23f90-fbcc-444a-b661-512c03186110", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "94" - }, - "ResponseBody": { - "jobId": "36a6b03d-0a75-4778-81b8-20ef958fec96", - "lastUpdateDateTime": "2022-02-18T19:09:01Z", - "createdDateTime": "2022-02-18T19:09:00Z", - "expirationDateTime": "2022-02-19T19:09:00Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json deleted file mode 100644 index e488d1a56b17..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/json", - "traceparent": "00-00000000000000000000000000000634-0000000000001376-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ba2aae4b-ee3a-4e3b-84ac-781d46fec367" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "I should take my cat to the veterinarian." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "c8ee0d53-c8e8-4f4e-bad0-f183a80307bb", - "Date": "Fri, 18 Feb 2022 19:09:10 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4b67ab00-bc53-4cf8-942b-cc19d8639ae2", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "169" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4b67ab00-bc53-4cf8-942b-cc19d8639ae2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000635-0000000000001378-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ecec0fa6-c464-465a-8ec6-708db7e7317c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ad6b6147-444b-45f2-894e-c9d9a62e2cee", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "4b67ab00-bc53-4cf8-942b-cc19d8639ae2", - "lastUpdateDateTime": "2022-02-18T19:09:11Z", - "createdDateTime": "2022-02-18T19:09:10Z", - "expirationDateTime": "2022-02-19T19:09:10Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4b67ab00-bc53-4cf8-942b-cc19d8639ae2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000636-0000000000001380-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8f3302ae-f5e8-464a-9a64-351b33f1cf41" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7bea2571-133e-46c8-a26b-29cf437aac10", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "4b67ab00-bc53-4cf8-942b-cc19d8639ae2", - "lastUpdateDateTime": "2022-02-18T19:09:11Z", - "createdDateTime": "2022-02-18T19:09:10Z", - "expirationDateTime": "2022-02-19T19:09:10Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4b67ab00-bc53-4cf8-942b-cc19d8639ae2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000637-0000000000001382-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f78d562d-a9d3-40ba-ba25-78ec1ef6869f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9ae7d685-5e3d-48ae-88d4-ccab1271baae", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "185" - }, - "ResponseBody": { - "jobId": "4b67ab00-bc53-4cf8-942b-cc19d8639ae2", - "lastUpdateDateTime": "2022-02-18T19:09:11Z", - "createdDateTime": "2022-02-18T19:09:10Z", - "expirationDateTime": "2022-02-19T19:09:10Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/4b67ab00-bc53-4cf8-942b-cc19d8639ae2?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "traceparent": "00-00000000000000000000000000000638-0000000000001384-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "74d3989d-2ef1-4481-b749-786890778902" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "197fb345-3fb9-4c9a-ad8d-d9d8cf35e9bd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:09:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "4b67ab00-bc53-4cf8-942b-cc19d8639ae2", - "lastUpdateDateTime": "2022-02-18T19:09:11Z", - "createdDateTime": "2022-02-18T19:09:10Z", - "expirationDateTime": "2022-02-19T19:09:10Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..cf0b258d7b58 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,197 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "687", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d99319d2-0e3f-45cb-b1a9-b878e096189b" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e8e776c2-e2da-4ad5-9ae9-e17fa2624051", + "Content-Length": "1834", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "112" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..951a0d4bdbe6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c5224cfc-bcb6-4d0d-b89b-4c1690723ca3" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cf6cd175-beb3-411c-8d72-d5a29a91c471", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..f5f863ee34df --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "551", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0a81a59e-0481-4937-8329-820c8b37687d" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "257f83db-795c-40af-ad6d-b50c02b1c9cb", + "Content-Length": "1525", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "21" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..23dd030fafb1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b7f7ea5b-904c-4fca-9a1b-0a1b6a7fe1b3" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "dc8ce3bc-fae8-495d-9cb6-1f11b6ce2bad", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..c2626cbbf072 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entitylinking/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "160", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e66ee07c-6038-4e52-a4db-6595ee385eeb" + }, + "RequestBody": { + "kind": "EntityLinking", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "892c4dff-8f7f-44d7-89cb-de4d0012a4a5", + "Content-Length": "393", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "EntityLinkingResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..28f4ad5e0c5b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,192 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "691", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3af4a448-06f2-4825-96dd-31dc2bc8edfa" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4d3141cb-0888-4527-a2a7-abcf67d98fc4", + "Content-Length": "1462", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.85 + } + ], + "warnings": [] + }, + { + "id": "5", + "entities": [ + { + "text": "carretera", + "category": "Location", + "offset": 3, + "length": 9, + "confidenceScore": 0.81 + }, + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..c0f1ae6100bf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,166 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1e6156d7-3b1f-4375-8e51-1d7d845d158e" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "87bf7c60-a03e-477d-b77f-2b6a14177a95", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..dec52c4c7af8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,166 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4f16b855-086a-4edf-8027-b3aa51835c68" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "aa028808-aa74-49bf-ba4b-107b1201858c", + "Content-Length": "1221", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "trip", + "category": "Event", + "offset": 18, + "length": 4, + "confidenceScore": 0.61 + }, + { + "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.96 + }, + { + "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.82 + }, + { + "text": "Seattle", + "category": "Location", + "subcategory": "GPE", + "offset": 50, + "length": 7, + "confidenceScore": 1.0 + }, + { + "text": "Space Needle", + "category": "Location", + "offset": 90, + "length": 12, + "confidenceScore": 0.92 + } + ], + "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.92 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..fca6dc2e5136 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,77 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "662696e9-6004-45fa-8e89-55d922b47b8b" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "6f207745-3d0b-4eb3-b335-4ae6a2ef6c3b", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 5 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json similarity index 100% rename from sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_client_throws_on_empty_list.json diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..ae5c81a7edba --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_entityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "164", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "382f9be9-168f-4a68-85a4-ff6653446069" + }, + "RequestBody": { + "kind": "EntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "75eb3bf8-f692-4039-8038-61f91ba226e8", + "Content-Length": "465", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "EntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..acb492af7bdf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,128 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "772", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e521c4b5-9cd0-4c7e-ae17-34a8b4a46c82" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b23d0b35-08e9-44d0-a398-50c79dfdc648", + "Content-Length": "524", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [ + "last book" + ], + "warnings": [] + }, + { + "id": "5", + "keyPhrases": [ + "Monte Rainier", + "caminos" + ], + "warnings": [] + }, + { + "id": "6", + "keyPhrases": [ + "mucho tr\u00E1fico", + "d\u00EDa", + "carretera", + "ayer" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..391f3d91756c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,100 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "990c155e-dac2-48d9-bc3b-853ec6dbf989" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "76a56ece-94ab-4339-bacd-87a9a3dfa5cb", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "17" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..2df19d9c8a37 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,100 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "557", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3bab2a35-4bff-4d1d-9f8a-c6eade1924df" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "68e69758-e5c1-4b95-ad2f-8295ab665210", + "Content-Length": "375", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "18" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "documents": [ + { + "id": "0", + "keyPhrases": [ + "wonderful trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [ + "entire trip", + "Space Needle", + "Seattle" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "movie", + "Saturday" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "last book" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_client_throws_on_empty_list.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..e400e8e68f54 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_keyphraseextraction/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "166", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8645e8a7-f1d7-4ad3-b381-2c2ba46d9c2c" + }, + "RequestBody": { + "kind": "KeyPhraseExtraction", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3e90e694-1bba-4a9d-9bea-5917118e76e5", + "Content-Length": "491", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "KeyPhraseExtractionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json new file mode 100644 index 000000000000..2fe14377f422 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_a_countryhint.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "126", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8618c38f-53ef-4725-801b-f32dd4e61e67" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "impossible", + "countryHint": "fr" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0ac4644f-8bc4-4c0d-afe0-569d30f057d5", + "Content-Length": "204", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "French", + "iso6391Name": "fr", + "confidenceScore": 1.0 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json new file mode 100644 index 000000000000..17ae956407fc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -0,0 +1,127 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "712", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "18b5f3a1-1329-4929-a279-bd9bed6b6838" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "mx" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1ef0b054-3367-4e4b-b9cb-ec8ab7b173bc", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json new file mode 100644 index 000000000000..f77f61265330 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_no_countryhint.json @@ -0,0 +1,103 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "567", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "130830dd-f5c1-428e-999e-8ba6c44adffc" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "countryHint": "us" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8a870da4-64c8-4d40-a34f-fbd85e31cd42", + "Content-Length": "517", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json new file mode 100644 index 000000000000..0dd9a105ba71 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -0,0 +1,131 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "800", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "70dd64b9-16dd-40b6-8dc3-c1accdcc5201" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!", + "countryHint": "none" + }, + { + "id": "2", + "text": "Unfortunately, it rained during my entire trip to Seattle. I didn\u0027t even get to visit the Space Needle", + "countryHint": "none" + }, + { + "id": "3", + "text": "I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.", + "countryHint": "none" + }, + { + "id": "4", + "text": "I didn\u0027t like the last book I read at all.", + "countryHint": "none" + }, + { + "id": "5", + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.", + "countryHint": "none" + }, + { + "id": "6", + "text": "La carretera estaba atascada. Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "db4dd36d-7baf-41a1-b072-9ad127ef59a8", + "Content-Length": "726", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json new file mode 100644 index 000000000000..eacf1ae26054 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_accepts_none_country_hint_with_string_input.json @@ -0,0 +1,61 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "162", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bd5c6ce3-4cbc-459e-89ef-ef390390d8ca" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I use Azure Functions to develop my service.", + "countryHint": "none" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "902b7d98-8477-46bd-968d-ddc0fbe03f7b", + "Content-Length": "206", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "documents": [ + { + "id": "0", + "detectedLanguage": { + "name": "English", + "iso6391Name": "en", + "confidenceScore": 0.95 + }, + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_client_throws_on_empty_list.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json new file mode 100644 index 000000000000..71aa6a2c6914 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_languagedetection/recording_service_errors_on_invalid_country_hint.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "133", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3185cd4b-4e9c-44c1-808d-337b6c62ae66" + }, + "RequestBody": { + "kind": "LanguageDetection", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "hello", + "countryHint": "invalidcountry" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "22628d8d-bdc1-4d4a-970f-7e913ecd8913", + "Content-Length": "325", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2" + }, + "ResponseBody": { + "kind": "LanguageDetectionResults", + "results": { + "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-11-20" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json new file mode 100644 index 000000000000..e34b22bf2978 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_domain_filter.json @@ -0,0 +1,75 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "185", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "785893ec-384d-4e26-865d-77715dbef3e7" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I work at Microsoft and my phone number is 333-333-3333", + "language": "en" + } + ] + }, + "parameters": { + "domain": "phi" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5cfd44d6-25a7-4d29-af83-1305b81db89c", + "Content-Length": "403", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "20" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "I work at ********* and my phone number is ************", + "id": "0", + "entities": [ + { + "text": "Microsoft", + "category": "Organization", + "offset": 10, + "length": 9, + "confidenceScore": 0.94 + }, + { + "text": "333-333-3333", + "category": "PhoneNumber", + "offset": 43, + "length": 12, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json new file mode 100644 index 000000000000..6956cd984920 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_accepts_pii_categories.json @@ -0,0 +1,70 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3af44bc5-623d-47e2-909a-995b930ddd63" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7db02ddb-edd6-4f78-a2a7-8b05c6826fd2", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..94caaa27a22b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,129 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "694", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ae3536fa-57b6-4d4f-beae-ad0254da870a" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9b405bf6-1e5e-4fca-ab28-0471c670d40c", + "Content-Length": "1142", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "Date": "Fri, 06 May 2022 20:17:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", + "id": "5", + "entities": [ + { + "text": "ayer", + "category": "DateTime", + "subcategory": "Date", + "offset": 60, + "length": 4, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..909f553ac76e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0f43890a-864a-4c2c-a248-fc0371161af1" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2bc0bd9b-1afe-467c-a535-3309537c6b5f", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..e716462f9e64 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,109 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "558", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "77278eda-87c1-400a-8359-717974edff63" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b83a29b7-b006-4cf6-8746-df3ea88c3964", + "Content-Length": "883", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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\u0027t 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\u0027t like the last book I read at all.", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json new file mode 100644 index 000000000000..88b8d37a2575 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -0,0 +1,66 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "159", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "82bd3c67-e055-484a-9407-8c324400f2db" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Your Social Security Number is 859-98-0987.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7d425464-71e9-4c52-b67f-767e3bcc103a", + "Content-Length": "309", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_client_throws_on_empty_list.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json new file mode 100644 index 000000000000..9bcbb082b332 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_output_pii_categories_are_accepted_as_input.json @@ -0,0 +1,138 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "158", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4139aa2d-39c0-4c15-98b1-0c200be88bc8" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0793f412-fec4-4ada-a6a5-f2a1ad9d7681", + "Content-Length": "389", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "Patient name is *** and SSN is ***********", + "id": "0", + "entities": [ + { + "text": "Joe", + "category": "Person", + "offset": 16, + "length": 3, + "confidenceScore": 0.78 + }, + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 31, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + }, + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "200", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "85a04780-c94f-4067-a5b4-127409fded6c" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Patient name is Joe and SSN is 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "28d049be-718e-4a21-8b21-96d605f75d40", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "24" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..9b3c2ae2a83c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_piientityrecognition/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "167", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4c0f2c65-b7eb-4d11-a842-cf03551c245b" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This is some text, but it doesn\u0027t matter.", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "de0ce169-c57d-4d6a-ae44-342e72637660", + "Content-Length": "435", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "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" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json new file mode 100644 index 000000000000..9d6a4f246883 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_and_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "18470cfb-7dfd-47b5-83f6-19b943d8d86d" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c3aacd65-5564-429e-b0e9-8aad967639ce", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "20" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..afd4f2b19ff6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,170 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "555", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b6ea4096-7c72-4186-874b-0d3a5d9ee260" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6f81ded7-1448-4519-bc66-d864c52c25b2", + "Content-Length": "1575", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:28 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "35" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "2", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json new file mode 100644 index 000000000000..efe76345e47d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_accepts_textdocumentinput.json @@ -0,0 +1,237 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "770", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a00f018f-a012-4ecc-9dd2-d49919737cdd" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", + "language": "es" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "533a1120-44b9-44b6-ac31-67ff839a22f9", + "Content-Length": "2355", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t like the last book I read at all." + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.01, + "negative": 0.01 + }, + "offset": 0, + "length": 73, + "text": "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos." + } + ], + "warnings": [] + }, + { + "id": "6", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.07, + "neutral": 0.15, + "negative": 0.78 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.05, + "negative": 0.94 + }, + "offset": 0, + "length": 30, + "text": "La carretera estaba atascada. " + }, + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.12, + "neutral": 0.26, + "negative": 0.62 + }, + "offset": 30, + "length": 35, + "text": "Hab\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json new file mode 100644 index 000000000000..6ccd927a122f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_no_mined_assessments.json @@ -0,0 +1,79 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "151", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6be14da0-7057-4513-8367-f8a068a5e81c" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "today is a hot day", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "10a6865d-094e-4823-9696-211d0b4e4c78", + "Content-Length": "405", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "16" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.58, + "neutral": 0.34, + "negative": 0.08 + }, + "offset": 0, + "length": 18, + "text": "today is a hot day", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json new file mode 100644 index 000000000000..13060df685d7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_gets_positive_mined_assessments.json @@ -0,0 +1,123 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1057b5a8-8dbf-4570-b940-99c06bd7f3bc" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", + "language": "en" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c4c933a8-473b-422b-acdf-b2f03381f1bf", + "Content-Length": "1009", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "15" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": 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": 53, + "length": 9, + "text": "beautiful", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..f721723386d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_client_throws_on_empty_list.json @@ -0,0 +1,4 @@ +{ + "Entries": [], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json new file mode 100644 index 000000000000..7cbb3abec526 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -0,0 +1,700 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "703", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6f8802ac-f852-4f5f-a575-66cd306d75c6" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "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" + } + ] + }, + "parameters": { + "opinionMining": true + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d0dc075f-1750-48a9-a088-a30fbad01bb3", + "Content-Length": "7827", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.0, + "negative": 0.99 + }, + "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": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.99, + "neutral": 0.0, + "negative": 0.0 + }, + "offset": 0, + "length": 26, + "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": 0.99, + "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.03, + "neutral": 0.0, + "negative": 0.97 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.0, + "negative": 0.97 + }, + "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" + }, + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + }, + { + "sentiment": "positive", + "confidenceScores": { + "positive": 1.0, + "negative": 0.0 + }, + "offset": 65, + "length": 5, + "text": "rooms", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/3/sentences/0/assessments/3" + } + ] + } + ], + "assessments": [ + { + "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": 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": 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": 1.0, + "negative": 0.0 + }, + "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.99, + "negative": 0.01 + }, + "offset": 14, + "length": 12, + "text": "unobstructed", + "isNegated": false + } + ] + } + ], + "warnings": [] + }, + { + "id": "5", + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.09, + "neutral": 0.0, + "negative": 0.91 + }, + "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": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.02, + "neutral": 0.09, + "negative": 0.88 + }, + "offset": 0, + "length": 19, + "text": "The toilet smelled.", + "targets": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 4, + "length": 6, + "text": "toilet", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/6/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "negative": 1.0 + }, + "offset": 11, + "length": 7, + "text": "smelled", + "isNegated": false + } + ] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json new file mode 100644 index 000000000000..72111f8a5b14 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_an_error_for_an_empty_document.json @@ -0,0 +1,187 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "592", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ec852672-9970-42fc-a37a-5f4c73f00c3a" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "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\u0027t 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\u0027t like the last book I read at all.", + "language": "en" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6f21e03f-f3d6-4eba-897c-8886eba7599d", + "Content-Length": "1737", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "documents": [ + { + "id": "0", + "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": 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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.0, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 59, + "text": "Unfortunately, it rained during my entire trip to Seattle. " + }, + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.58, + "negative": 0.39 + }, + "offset": 59, + "length": 43, + "text": "I didn\u0027t even get to visit the Space Needle" + } + ], + "warnings": [] + }, + { + "id": "3", + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "sentences": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.71, + "neutral": 0.06, + "negative": 0.23 + }, + "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.01, + "negative": 0.99 + }, + "sentences": [ + { + "sentiment": "negative", + "confidenceScores": { + "positive": 0.01, + "neutral": 0.01, + "negative": 0.99 + }, + "offset": 0, + "length": 42, + "text": "I didn\u0027t 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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json new file mode 100644 index 000000000000..50b82899475c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_sentimentanalysis/recording_service_returns_error_for_invalid_language.json @@ -0,0 +1,62 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "135", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b0faf507-4699-4988-b794-c84144e2d8f1" + }, + "RequestBody": { + "kind": "SentimentAnalysis", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "Hello world!", + "language": "notalanguage" + } + ] + }, + "parameters": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8f310160-bf17-48ef-bb59-131c36682f36", + "Content-Length": "446", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:17:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3" + }, + "ResponseBody": { + "kind": "SentimentAnalysisResults", + "results": { + "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": "2021-10-01" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json new file mode 100644 index 000000000000..135fceef3e02 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "78d0bb17-38d7-4f0c-a3cb-927f578f14ba" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e94b99e9-37ca-4bc9-8404-3b8679b1a02c", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json new file mode 100644 index 000000000000..6d2ce871f488 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "171", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "27c7e3f6-8d45-4e0b-85d2-e6568859643a" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2ea2d96f-abce-4ba3-9f86-db6dbdcc01cd", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json new file mode 100644 index 000000000000..9ac64814e675 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ac828e27-c455-4810-81a4-a429875b4a17" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b4d6c1b6-8f52-4f67-b506-6ea82f47b876", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..28afa9aa0003 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ce2345db-1614-4999-b905-5c6fc85a0d78" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b2e37c6-c40a-44e3-ac4e-19700ba0aa44", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json new file mode 100644 index 000000000000..d0dab210c347 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "191", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a6ad44c2-21b7-435b-8537-647a8bae24a5" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "379fabb3-759d-4f52-8687-df2bb9f90a32", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..510a7bf3e8b8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "207", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9423e00d-d254-4e6e-8ea0-25e9f63f3d55" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "37048116-10fc-40e9-8543-edaa2eef2eb8", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 25, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json new file mode 100644 index 000000000000..c9da10ad8218 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6e1f8e5c-9d0f-4513-8995-a03a9e09f178" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "edcb64b9-7d70-42d5-b8d1-e2a04d87e71d", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json new file mode 100644 index 000000000000..f0766ec074c1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "deadee80-4381-4611-a772-50549480c281" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ab268209-63d9-4fad-83eb-3b2e9de0852a", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "22" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json new file mode 100644 index 000000000000..080f76ccd958 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "393", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8b029a01-78c2-4879-8969-e5428b643a44" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4cf98662-fc57-4fc6-a728-4eb08edfca67", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "59" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json new file mode 100644 index 000000000000..8f55336d9c55 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4391f3ec-1a9b-430f-b451-f5b4da151f41" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "99a0687d-792a-4928-a6fa-c5717c6a283d", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json new file mode 100644 index 000000000000..5e81c3023377 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2a1c201b-4062-4e45-96db-abaa14be8389" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c39912ff-e5b2-4fe0-8880-319b005ff1cf", + "Content-Length": "287", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json new file mode 100644 index 000000000000..a8e6fc88850c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e53b996a-3c19-4bd5-9a80-8ac22ba43784" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "648afc46-25ac-46c7-a5f3-009b8e28a735", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "26" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..8f428074f029 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "176", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0293b0b8-ea99-450b-9266-efb64098bd43" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5857e851-c497-4f04-be13-9d20daae3d5a", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json new file mode 100644 index 000000000000..2c1a603cc93d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "193", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9587cbd8-ea59-410f-8b15-d015e75253ab" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cd47e18d-b593-4a55-ad41-cb891d8d2917", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..49af2ed28262 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "209", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "98eba96d-f1b4-44f4-8807-2b64f58f2464" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "cb84644c-f215-4a78-950d-ee506ddd4c68", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "33" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json new file mode 100644 index 000000000000..89b19ac1891a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0622b6e9-b1eb-4775-9361-2b4c4416b6af" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4b192c3d-dd80-4bc3-bacf-4a30d60aec77", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json new file mode 100644 index 000000000000..5609906f17a0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cbf611f6-7af3-4666-bef0-5c64f494330b" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c7e4f6b9-502d-457f-9772-8f3b4e1a1f8f", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "27" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json new file mode 100644 index 000000000000..be2c84bc58a4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_textelementsv8/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "395", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0968916d-ad9a-4840-8db8-77372bacf6d1" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "TextElements_v8" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3c291814-4d16-474e-bd27-b7af772c329f", + "Content-Length": "509", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "65" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json new file mode 100644 index 000000000000..aad876a2e98a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d4051595-d0af-4c9b-99ad-d5f64d8cc79a" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "a\u00F1o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "dca79f96-ddc2-4cbe-92e1-1b241e806fe4", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "a\u00F1o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 9, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json new file mode 100644 index 000000000000..41691ef77728 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "174", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "70a3ed14-1bd0-4e7f-8271-ca16d0738e61" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "an\u0303o SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "86c4324e-6072-46ba-88e4-f619791d02f6", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "25" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "an\u0303o SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json new file mode 100644 index 000000000000..c5770c013812 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "173", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "303571f0-d77b-4b3f-b471-0881bdd59d96" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d02d9d50-aaec-4a05-8b49-f102f74ad9b5", + "Content-Length": "286", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 7, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..eb57517dec24 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "177", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b98b5653-4a4c-48aa-b991-4034ff398e76" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a30aa0da-979a-4b66-b5f8-f51fccefb534", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json new file mode 100644 index 000000000000..92b025700136 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "194", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "88e9fb7c-1228-49b2-8b26-56f4bb4b4dfa" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6b061da7-9227-42d6-aade-abe5791396c0", + "Content-Length": "308", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 13, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..ffdafde14b58 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "210", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6faa8705-ea83-4781-b050-d5983f5bd9d5" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "33bba9a0-f433-4369-9347-583205f00aef", + "Content-Length": "324", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "31" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json new file mode 100644 index 000000000000..56c3f3926c96 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "46e9bc7c-5f55-4c38-93ee-0c7726e6b3ec" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "40e5bf2f-e849-4453-9eed-cbd6602bfeb2", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "32" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json new file mode 100644 index 000000000000..fb2f5fdde286 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "175", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5da44870-ab12-4bc3-8714-4e78b89e47d0" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uC544\uAC00 SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "53a0ac0b-1000-4a65-a841-a08c05a92420", + "Content-Length": "288", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "28" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "\uC544\uAC00 SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 8, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json new file mode 100644 index 000000000000..e197f56e051a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyze_string_encoding_unicodecodepoint/recording_zalgo.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/:analyze-text?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "396", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f3622222-1962-4605-b8e3-5290ad809aff" + }, + "RequestBody": { + "kind": "PiiEntityRecognition", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", + "language": "en" + } + ] + }, + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ce2c8b6f-1a3f-4b3a-91e5-fc5a07020bad", + "Content-Length": "511", + "Content-Type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "Date": "Fri, 06 May 2022 20:17:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "kind": "PiiEntityRecognitionResults", + "results": { + "documents": [ + { + "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 121, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json new file mode 100644 index 000000000000..c9a1df8602c5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_entity_recognition.json @@ -0,0 +1,464 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "482", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "82d7c28c-df63-4f03-b106-d7b1b614c7cc" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomEntityRecognition", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "54bed2e9-abd5-49e6-98e5-aee69b6a1394", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:35 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/667417dd-69ec-41c4-8e81-fe8563ee69cb?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "324" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/667417dd-69ec-41c4-8e81-fe8563ee69cb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "27e40603-6e7c-41eb-82ed-fa44487210ef" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3b8b1332-8014-4c0c-a329-0d9b92fa1e28", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "667417dd-69ec-41c4-8e81-fe8563ee69cb", + "lastUpdateDateTime": "2022-05-07T06:36:35Z", + "createdDateTime": "2022-05-07T06:36:35Z", + "expirationDateTime": "2022-05-08T06:36:35Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/667417dd-69ec-41c4-8e81-fe8563ee69cb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f964f33a-5af6-488d-bf3a-76d52a4bc005" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "05889261-94c4-42b9-8df6-fc2f9ac22bac", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "667417dd-69ec-41c4-8e81-fe8563ee69cb", + "lastUpdateDateTime": "2022-05-07T06:36:35Z", + "createdDateTime": "2022-05-07T06:36:35Z", + "expirationDateTime": "2022-05-08T06:36:35Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/667417dd-69ec-41c4-8e81-fe8563ee69cb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b483bf18-7a33-466a-b47e-d94610d8ebcc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "21512bf4-da68-43fc-bec9-510bcc2716f9", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "219" + }, + "ResponseBody": { + "jobId": "667417dd-69ec-41c4-8e81-fe8563ee69cb", + "lastUpdateDateTime": "2022-05-07T06:36:36Z", + "createdDateTime": "2022-05-07T06:36:35Z", + "expirationDateTime": "2022-05-08T06:36:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:36.0721858Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/667417dd-69ec-41c4-8e81-fe8563ee69cb?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1257aad5-b4b1-49a0-9036-23498e87a1ad" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "92c0edfd-7a3d-4ddf-948c-2731496b8662", + "Content-Length": "1969", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "45" + }, + "ResponseBody": { + "jobId": "667417dd-69ec-41c4-8e81-fe8563ee69cb", + "lastUpdateDateTime": "2022-05-07T06:36:36Z", + "createdDateTime": "2022-05-07T06:36:35Z", + "expirationDateTime": "2022-05-08T06:36:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:36.0721858Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Government", + "category": "restaurant_name", + "offset": 23, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "Office", + "category": "restaurant_name", + "offset": 49, + "length": 6, + "confidenceScore": 0.11 + }, + { + "text": "GAO", + "category": "restaurant_name", + "offset": 57, + "length": 3, + "confidenceScore": 0.04 + }, + { + "text": "Accountability", + "category": "geographic_poi", + "offset": 34, + "length": 14, + "confidenceScore": 0.07 + }, + { + "text": "natural", + "category": "geographic_poi", + "offset": 106, + "length": 7, + "confidenceScore": 0.04 + }, + { + "text": "dramatic", + "category": "sort", + "offset": 77, + "length": 8, + "confidenceScore": 0.03 + }, + { + "text": "oil", + "category": "restaurant_type", + "offset": 98, + "length": 3, + "confidenceScore": 0.03 + }, + { + "text": "gas", + "category": "restaurant_type", + "offset": 114, + "length": 3, + "confidenceScore": 0.09 + }, + { + "text": "and", + "category": "served_dish", + "offset": 102, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "development", + "category": "object_type", + "offset": 118, + "length": 11, + "confidenceScore": 0.06 + }, + { + "text": "federal", + "category": "state", + "offset": 133, + "length": 7, + "confidenceScore": 0.07 + }, + { + "text": "protection", + "category": "state", + "offset": 267, + "length": 10, + "confidenceScore": 0.05 + }, + { + "text": "lands", + "category": "poi", + "offset": 141, + "length": 5, + "confidenceScore": 0.04 + }, + { + "text": "BLM", + "category": "poi", + "offset": 202, + "length": 3, + "confidenceScore": 0.07 + }, + { + "text": "the", + "category": "timeRange", + "offset": 152, + "length": 3, + "confidenceScore": 0.24 + }, + { + "text": "past six years", + "category": "timeRange", + "offset": 156, + "length": 14, + "confidenceScore": 0.54 + } + ], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json new file mode 100644 index 000000000000..91886c55ff84 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_multi_label_classification_action.json @@ -0,0 +1,238 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "489", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "72c8f742-2c04-4d77-99b0-bfe5d6f6b571" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomMultiLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "3f16bc97-a3b8-48c6-a21e-8bca952dbed0", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:40 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/39fa7937-3bf5-4712-854d-2354189995c3?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "345" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/39fa7937-3bf5-4712-854d-2354189995c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "efbe336a-4267-4f1e-b692-8e12b2b1ce37" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "81a9169a-f1aa-47c6-af46-fc2c21481439", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "39fa7937-3bf5-4712-854d-2354189995c3", + "lastUpdateDateTime": "2022-05-07T06:36:41Z", + "createdDateTime": "2022-05-07T06:36:40Z", + "expirationDateTime": "2022-05-08T06:36:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/39fa7937-3bf5-4712-854d-2354189995c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7ab279d6-5226-41ae-bf6a-515cd5b8cb0f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "353c3e27-2a87-4069-ae3a-38e4097ee805", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "39fa7937-3bf5-4712-854d-2354189995c3", + "lastUpdateDateTime": "2022-05-07T06:36:41Z", + "createdDateTime": "2022-05-07T06:36:40Z", + "expirationDateTime": "2022-05-08T06:36:40Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/39fa7937-3bf5-4712-854d-2354189995c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "76d9fc20-ee3a-4de7-8579-50052e7d7a04" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "37a2cb61-99ac-40a2-ac7d-9a1d663bb1e5", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "116" + }, + "ResponseBody": { + "jobId": "39fa7937-3bf5-4712-854d-2354189995c3", + "lastUpdateDateTime": "2022-05-07T06:36:41Z", + "createdDateTime": "2022-05-07T06:36:40Z", + "expirationDateTime": "2022-05-08T06:36:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:41.4145757Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/39fa7937-3bf5-4712-854d-2354189995c3?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "372ba12b-88f4-4a2d-882d-e8e7d509656c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a2385bea-a413-4eae-ba0e-e4a764cf5cce", + "Content-Length": "534", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "jobId": "39fa7937-3bf5-4712-854d-2354189995c3", + "lastUpdateDateTime": "2022-05-07T06:36:41Z", + "createdDateTime": "2022-05-07T06:36:40Z", + "expirationDateTime": "2022-05-08T06:36:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomMultiLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:41.4145757Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": [], + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json new file mode 100644 index 000000000000..7df1040fee71 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_custom/recording_single_label_classification_action.json @@ -0,0 +1,244 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "490", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9ad61082-817e-4210-9d2b-155aaf9b1f75" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "CustomSingleLabelClassification", + "parameters": { + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "94759fbb-9f8f-4be6-8283-547e49c52d9f", + "Content-Length": "0", + "Date": "Sat, 07 May 2022 06:36:37 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/4db558c2-8b40-4dc5-bb3a-4cebce4f8dab?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "152" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4db558c2-8b40-4dc5-bb3a-4cebce4f8dab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f2378e5d-0808-49ec-912f-9df1c85ac1cf" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "87c55369-b659-4b8d-8fea-5a4710d87482", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "23" + }, + "ResponseBody": { + "jobId": "4db558c2-8b40-4dc5-bb3a-4cebce4f8dab", + "lastUpdateDateTime": "2022-05-07T06:36:38Z", + "createdDateTime": "2022-05-07T06:36:38Z", + "expirationDateTime": "2022-05-08T06:36:38Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4db558c2-8b40-4dc5-bb3a-4cebce4f8dab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9339bfb6-60eb-42fc-ae9f-f746fa6695d7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a8bf5d77-0ad7-4d00-9554-c8d1f4355fe3", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": { + "jobId": "4db558c2-8b40-4dc5-bb3a-4cebce4f8dab", + "lastUpdateDateTime": "2022-05-07T06:36:38Z", + "createdDateTime": "2022-05-07T06:36:38Z", + "expirationDateTime": "2022-05-08T06:36:38Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4db558c2-8b40-4dc5-bb3a-4cebce4f8dab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4ac2157d-478c-42c7-b0cf-33d7b54f8f1e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5c627c0c-18d0-43fe-ad4a-4eb71e1926b8", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "4db558c2-8b40-4dc5-bb3a-4cebce4f8dab", + "lastUpdateDateTime": "2022-05-07T06:36:38Z", + "createdDateTime": "2022-05-07T06:36:38Z", + "expirationDateTime": "2022-05-08T06:36:38Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:38.8383502Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4db558c2-8b40-4dc5-bb3a-4cebce4f8dab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f4eddef0-5222-40d6-b184-a1bfb64a2adf" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "863f1e1a-cbd8-4597-bca7-9233f3e818a8", + "Content-Length": "579", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sat, 07 May 2022 06:36:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "123" + }, + "ResponseBody": { + "jobId": "4db558c2-8b40-4dc5-bb3a-4cebce4f8dab", + "lastUpdateDateTime": "2022-05-07T06:36:38Z", + "createdDateTime": "2022-05-07T06:36:38Z", + "expirationDateTime": "2022-05-08T06:36:38Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "CustomSingleLabelClassificationLROResults", + "lastUpdateDateTime": "2022-05-07T06:36:38.8383502Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "class": { + "category": "RateBook", + "confidenceScore": 0.76 + }, + "warnings": [] + } + ], + "errors": [], + "projectName": "sanitized", + "deploymentName": "sanitized" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json new file mode 100644 index 000000000000..07eec22670d3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_linking.json @@ -0,0 +1,516 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "337", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4dade080-2777-4138-99ae-db60695a2c1c" + }, + "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": [ + { + "kind": "EntityLinking", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "67f2c8aa-95d4-4533-b738-447c75d01480", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:39 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "133" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "accddf9d-0b37-4a3e-9db0-0a627f1c822e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3e071b53-738f-43c2-a018-96b4a208b5a4", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e414c7b6-40b0-4723-a466-7671f34380d9", + "lastUpdateDateTime": "2022-05-06T19:59:40Z", + "createdDateTime": "2022-05-06T19:59:40Z", + "expirationDateTime": "2022-05-07T19:59:40Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ad79ac23-9e6c-4d93-8626-6bd9c8bb29c2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c6df6571-d3e1-40aa-826c-73f91f2d312c", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "e414c7b6-40b0-4723-a466-7671f34380d9", + "lastUpdateDateTime": "2022-05-06T19:59:40Z", + "createdDateTime": "2022-05-06T19:59:40Z", + "expirationDateTime": "2022-05-07T19:59:40Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d2e3c6fc-5f11-42f5-be20-00d622d30212" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "268eef77-6787-4318-9626-ab2b946ae750", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e414c7b6-40b0-4723-a466-7671f34380d9", + "lastUpdateDateTime": "2022-05-06T19:59:40Z", + "createdDateTime": "2022-05-06T19:59:40Z", + "expirationDateTime": "2022-05-07T19:59:40Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dab6258f-d9bc-4c71-9856-94d01b9adda2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6482b160-3bd4-403a-b723-3a253de0f488", + "Content-Length": "2433", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "e414c7b6-40b0-4723-a466-7671f34380d9", + "lastUpdateDateTime": "2022-05-06T19:59:42Z", + "createdDateTime": "2022-05-06T19:59:40Z", + "expirationDateTime": "2022-05-07T19:59:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:42.9498562Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e414c7b6-40b0-4723-a466-7671f34380d9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2bd3b491-e098-4139-a404-fb2a7d054325" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "744aa777-d76b-4350-a5d7-d0649f87ac22", + "Content-Length": "2433", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "38" + }, + "ResponseBody": { + "jobId": "e414c7b6-40b0-4723-a466-7671f34380d9", + "lastUpdateDateTime": "2022-05-06T19:59:42Z", + "createdDateTime": "2022-05-06T19:59:40Z", + "expirationDateTime": "2022-05-07T19:59:40Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityLinkingLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:42.9498562Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + "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" + }, + { + "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", + "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": [ + { + "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", + "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" + }, + { + "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", + "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" + }, + { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + "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" + }, + { + "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", + "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" + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json new file mode 100644 index 000000000000..443706be426a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_entity_recognition.json @@ -0,0 +1,338 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "285", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9ac61727-4c31-4b7d-82ec-a92c1926fca9" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c65f7aa3-89a9-4fe8-8626-93348709d6cb", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:34 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/642d2d60-4dd2-4fa1-9948-81077af03bff?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "179" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/642d2d60-4dd2-4fa1-9948-81077af03bff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0190ea32-ac83-46f7-9f51-0796649de60b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6685181f-6a88-4567-aa12-7727a0e15c50", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "642d2d60-4dd2-4fa1-9948-81077af03bff", + "lastUpdateDateTime": "2022-05-06T19:59:35Z", + "createdDateTime": "2022-05-06T19:59:35Z", + "expirationDateTime": "2022-05-07T19:59:35Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/642d2d60-4dd2-4fa1-9948-81077af03bff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f833bf0d-4d87-45a2-8de8-2ea696995a38" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1086fb76-84ea-420c-a188-07df887684cf", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "642d2d60-4dd2-4fa1-9948-81077af03bff", + "lastUpdateDateTime": "2022-05-06T19:59:35Z", + "createdDateTime": "2022-05-06T19:59:35Z", + "expirationDateTime": "2022-05-07T19:59:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/642d2d60-4dd2-4fa1-9948-81077af03bff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ad9f453b-54cf-4ac1-a695-011f97d8527d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f29a8d99-13e0-4afd-a393-15f921b58c01", + "Content-Length": "1068", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "642d2d60-4dd2-4fa1-9948-81077af03bff", + "lastUpdateDateTime": "2022-05-06T19:59:36Z", + "createdDateTime": "2022-05-06T19:59:35Z", + "expirationDateTime": "2022-05-07T19:59:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:36.822315Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/642d2d60-4dd2-4fa1-9948-81077af03bff?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e87c57d9-e0df-4d1c-9d0d-e135273b876b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5f9e0d88-ef54-482a-ae8f-e702cd982a5c", + "Content-Length": "1068", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "642d2d60-4dd2-4fa1-9948-81077af03bff", + "lastUpdateDateTime": "2022-05-06T19:59:36Z", + "createdDateTime": "2022-05-06T19:59:35Z", + "expirationDateTime": "2022-05-07T19:59:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:36.822315Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json new file mode 100644 index 000000000000..064fd548f9be --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization.json @@ -0,0 +1,362 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "11308", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "35c5c022-e62d-41de-ba7b-ebedc3401423" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "77e9214f-5a63-4c75-85b1-1c51d3132a13", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:04:06 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "224" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "76d9eec4-1ad0-4678-8bf5-47ac9f54f2a7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bb9900d3-35f0-42ef-afcc-e085c08c2990", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "c2d26511-1704-4648-8ace-40df1886f318", + "lastUpdateDateTime": "2022-05-12T22:04:07Z", + "createdDateTime": "2022-05-12T22:04:07Z", + "expirationDateTime": "2022-05-13T22:04:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "022d9c00-efc8-4b17-aaba-55b731c5a35d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "26b9760f-ffde-4ad7-a3ea-ca8359199eb7", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "c2d26511-1704-4648-8ace-40df1886f318", + "lastUpdateDateTime": "2022-05-12T22:04:07Z", + "createdDateTime": "2022-05-12T22:04:07Z", + "expirationDateTime": "2022-05-13T22:04:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3829f463-63d3-4153-8d27-b0a4c86d4945" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1e866b67-6ba4-4ed5-9321-6a8f230f66b8", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "c2d26511-1704-4648-8ace-40df1886f318", + "lastUpdateDateTime": "2022-05-12T22:04:07Z", + "createdDateTime": "2022-05-12T22:04:07Z", + "expirationDateTime": "2022-05-13T22:04:07Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a5d9692-ba0d-4d7f-898a-bc8f7f907be7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8624c80b-2dd3-4c88-866a-453b9c810ea4", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "c2d26511-1704-4648-8ace-40df1886f318", + "lastUpdateDateTime": "2022-05-12T22:04:10Z", + "createdDateTime": "2022-05-12T22:04:07Z", + "expirationDateTime": "2022-05-13T22:04:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:10.8630148Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/c2d26511-1704-4648-8ace-40df1886f318?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0483b41b-f626-474b-9a10-53de324c3dd1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "24c9834f-8bfd-4c4e-8914-e303188e1b10", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:04:11 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "50" + }, + "ResponseBody": { + "jobId": "c2d26511-1704-4648-8ace-40df1886f318", + "lastUpdateDateTime": "2022-05-12T22:04:10Z", + "createdDateTime": "2022-05-12T22:04:07Z", + "expirationDateTime": "2022-05-13T22:04:07Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:04:10.8630148Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json new file mode 100644 index 000000000000..0d3a13e499d9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_maxsentencecount.json @@ -0,0 +1,340 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "11325", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cf876160-b7c1-4126-94b3-b0fc371cdf46" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sentenceCount": 2 + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a47d56f1-daa6-444b-89ad-c2d7da6162c7", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:08:33 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4e3280e4-e5b3-45e2-8087-672c3fec039a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5a9ba6fa-8458-4753-94da-ebeb0779208d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "62912940-3383-45ef-89cb-4548d85b1370", + "lastUpdateDateTime": "2022-05-12T22:08:33Z", + "createdDateTime": "2022-05-12T22:08:33Z", + "expirationDateTime": "2022-05-13T22:08:33Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e3fd2ceb-e124-4a5b-907e-be7d286f3daf" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8baf97a1-76d5-4523-b9e3-e64f731cbef7", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "62912940-3383-45ef-89cb-4548d85b1370", + "lastUpdateDateTime": "2022-05-12T22:08:33Z", + "createdDateTime": "2022-05-12T22:08:33Z", + "expirationDateTime": "2022-05-13T22:08:33Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "559a8e3b-c15e-4792-b1e7-8297d04509bc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f43385d1-4d33-4c8a-b34c-425afabfaa8d", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "12" + }, + "ResponseBody": { + "jobId": "62912940-3383-45ef-89cb-4548d85b1370", + "lastUpdateDateTime": "2022-05-12T22:08:33Z", + "createdDateTime": "2022-05-12T22:08:33Z", + "expirationDateTime": "2022-05-13T22:08:33Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4c77c8d7-347a-477f-92c6-4ae481b2e88a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d9938ce-b275-416c-b1e0-b419401842cb", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "42" + }, + "ResponseBody": { + "jobId": "62912940-3383-45ef-89cb-4548d85b1370", + "lastUpdateDateTime": "2022-05-12T22:08:36Z", + "createdDateTime": "2022-05-12T22:08:33Z", + "expirationDateTime": "2022-05-13T22:08:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:08:36.5460116Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/62912940-3383-45ef-89cb-4548d85b1370?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "03cf7c40-f87c-4c3a-bb63-9025a7709e2f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8e275246-8a82-4791-858b-ee379fd37b9e", + "Content-Length": "1382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:08:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "61" + }, + "ResponseBody": { + "jobId": "62912940-3383-45ef-89cb-4548d85b1370", + "lastUpdateDateTime": "2022-05-12T22:08:36Z", + "createdDateTime": "2022-05-12T22:08:33Z", + "expirationDateTime": "2022-05-13T22:08:33Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:08:36.5460116Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json new file mode 100644 index 000000000000..dce7150c5cd5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_extractive_summarization_with_orderby.json @@ -0,0 +1,364 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "11323", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f807697d-b705-417e-9585-87aa406e0108" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", + "language": "en" + }, + { + "id": "1", + "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "ExtractiveSummarization", + "parameters": { + "sortBy": "Rank" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "da351305-2924-4ca1-bf29-c930d414bb9f", + "Content-Length": "0", + "Date": "Thu, 12 May 2022 22:22:18 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "153" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cea27148-21ac-4a3f-83be-d1c452d7bbaa" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2006510f-1bae-4430-8f69-af919ecf237d", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "3eec3023-b606-417f-85a5-9b9fa5cda357", + "lastUpdateDateTime": "2022-05-12T22:22:18Z", + "createdDateTime": "2022-05-12T22:22:18Z", + "expirationDateTime": "2022-05-13T22:22:18Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "db31a079-6d8e-465f-93e0-c3768a85e797" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "981633ec-04f6-4c58-a966-23423e5c7910", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "3eec3023-b606-417f-85a5-9b9fa5cda357", + "lastUpdateDateTime": "2022-05-12T22:22:18Z", + "createdDateTime": "2022-05-12T22:22:18Z", + "expirationDateTime": "2022-05-13T22:22:18Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2ae03949-c046-484c-95e2-b359ad82a286" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5fe972af-bf5b-4d4b-8e20-ffc6f3d9d82f", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "3eec3023-b606-417f-85a5-9b9fa5cda357", + "lastUpdateDateTime": "2022-05-12T22:22:18Z", + "createdDateTime": "2022-05-12T22:22:18Z", + "expirationDateTime": "2022-05-13T22:22:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4a822e81-cb29-4b55-83a0-22c1103b2e3a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5123d90a-e7d4-4545-8f50-1d134bd531a2", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "3eec3023-b606-417f-85a5-9b9fa5cda357", + "lastUpdateDateTime": "2022-05-12T22:22:22Z", + "createdDateTime": "2022-05-12T22:22:18Z", + "expirationDateTime": "2022-05-13T22:22:18Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:22.7339269Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3eec3023-b606-417f-85a5-9b9fa5cda357?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "37c28b42-a59d-4ef0-a4b7-8d52c7bda230" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b8a6c8ce-81f3-46fd-9457-9768f7b62351", + "Content-Length": "1719", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:22:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "3eec3023-b606-417f-85a5-9b9fa5cda357", + "lastUpdateDateTime": "2022-05-12T22:22:22Z", + "createdDateTime": "2022-05-12T22:22:18Z", + "expirationDateTime": "2022-05-13T22:22:18Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "ExtractiveSummarizationLROResults", + "lastUpdateDateTime": "2022-05-12T22:22:22.7339269Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "sentences": [ + { + "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", + "rankScore": 1.0, + "offset": 2610, + "length": 156 + }, + { + "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + "rankScore": 0.69, + "offset": 2453, + "length": 156 + }, + { + "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + "rankScore": 0.35, + "offset": 526, + "length": 160 + } + ], + "warnings": [] + }, + { + "id": "1", + "sentences": [ + { + "text": "It enables employees accustomed to working from home to continue working from home;", + "rankScore": 1.0, + "offset": 1337, + "length": 83 + }, + { + "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + "rankScore": 0.9, + "offset": 479, + "length": 224 + }, + { + "text": "it enables companies to hire interns from halfway around the world;", + "rankScore": 0.71, + "offset": 1421, + "length": 67 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-08-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json new file mode 100644 index 000000000000..5b1882b0ef0b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare.json @@ -0,0 +1,2439 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "392", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "223e78e3-f7ab-4aa3-b717-5f198cf5594d" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "73362bfa-7bef-489d-8294-f8092af58687", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:02 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/4212f8e2-d073-4267-9461-c58218a42b00?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "187" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4212f8e2-d073-4267-9461-c58218a42b00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "be62cac8-0339-4218-9eac-1a4adf7e2b6c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "968071e0-b5a9-4389-87d5-fb21d6692331", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "4212f8e2-d073-4267-9461-c58218a42b00", + "lastUpdateDateTime": "2022-05-06T20:00:03Z", + "createdDateTime": "2022-05-06T20:00:03Z", + "expirationDateTime": "2022-05-07T20:00:03Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4212f8e2-d073-4267-9461-c58218a42b00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b74a3ca3-e089-4fcc-b2ef-411b8f1ac5a5" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8b75744b-d539-4c84-b0d9-1a09df230da1", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "4212f8e2-d073-4267-9461-c58218a42b00", + "lastUpdateDateTime": "2022-05-06T20:00:03Z", + "createdDateTime": "2022-05-06T20:00:03Z", + "expirationDateTime": "2022-05-07T20:00:03Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4212f8e2-d073-4267-9461-c58218a42b00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e5bfbb58-fd53-40c3-b234-027ba07e3af4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "181aceba-0439-4364-96a9-905f3dd644cf", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "56" + }, + "ResponseBody": { + "jobId": "4212f8e2-d073-4267-9461-c58218a42b00", + "lastUpdateDateTime": "2022-05-06T20:00:04Z", + "createdDateTime": "2022-05-06T20:00:03Z", + "expirationDateTime": "2022-05-07T20:00:03Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:04.1033766Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4212f8e2-d073-4267-9461-c58218a42b00?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5d277adf-9d6b-4d50-b4e0-3f39549ab69a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8feff11a-a83f-4e38-b578-fb5c97ecd3de", + "Content-Length": "11360", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "54" + }, + "ResponseBody": { + "jobId": "4212f8e2-d073-4267-9461-c58218a42b00", + "lastUpdateDateTime": "2022-05-06T20:00:04Z", + "createdDateTime": "2022-05-06T20:00:03Z", + "expirationDateTime": "2022-05-07T20:00:03Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:04.1033766Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": [] + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json new file mode 100644 index 000000000000..57b9b0a1b574 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_healthcare_with_fhir.json @@ -0,0 +1,5543 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "413", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "56db00c9-46b0-447b-bc09-d722d4ae20e8" + }, + "RequestBody": { + "analysisInput": { + "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" + }, + { + "id": "2", + "text": "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "fhirVersion": "4.0.1" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5ef8f4fc-e1cf-495f-b262-bf3bb4728e56", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:05 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/7d5ed35a-fbcf-49ef-865f-a6d65306bae8?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "173" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7d5ed35a-fbcf-49ef-865f-a6d65306bae8?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a9d7d19e-99cc-42a4-b65e-1f9afa24e5ea" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "40615fa0-7bf0-4555-866c-1d816c8f10e4", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "7d5ed35a-fbcf-49ef-865f-a6d65306bae8", + "lastUpdateDateTime": "2022-05-06T20:00:06Z", + "createdDateTime": "2022-05-06T20:00:06Z", + "expirationDateTime": "2022-05-07T20:00:06Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7d5ed35a-fbcf-49ef-865f-a6d65306bae8?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "56d42e52-c2d4-4a8e-8a37-9fc8a680a97d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b8edad20-a0a5-42a7-981f-5a6a1af71861", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "7d5ed35a-fbcf-49ef-865f-a6d65306bae8", + "lastUpdateDateTime": "2022-05-06T20:00:06Z", + "createdDateTime": "2022-05-06T20:00:06Z", + "expirationDateTime": "2022-05-07T20:00:06Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7d5ed35a-fbcf-49ef-865f-a6d65306bae8?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1b09dc43-3e47-423f-828f-f06dc7cdabdb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f4741fb5-ec1f-4527-9ea4-88b2413a0f35", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63" + }, + "ResponseBody": { + "jobId": "7d5ed35a-fbcf-49ef-865f-a6d65306bae8", + "lastUpdateDateTime": "2022-05-06T20:00:07Z", + "createdDateTime": "2022-05-06T20:00:06Z", + "expirationDateTime": "2022-05-07T20:00:06Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:07.9525933Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "47456ee5-d20d-434e-a3ce-6c73d1e6c35a", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:47456ee5-d20d-434e-a3ce-6c73d1e6c35a" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/361d3a72-6169-4983-8b6e-3be655a3dc45", + "resource": { + "resourceType": "Composition", + "id": "361d3a72-6169-4983-8b6e-3be655a3dc45", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/da14be3a-1a89-4ba8-9438-0946dfe36043", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/79b17289-9d32-444c-af07-a8a3c3848713", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/da14be3a-1a89-4ba8-9438-0946dfe36043", + "resource": { + "resourceType": "Practitioner", + "id": "da14be3a-1a89-4ba8-9438-0946dfe36043", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "resource": { + "resourceType": "Patient", + "id": "28e2f222-6667-4711-b75b-cfb122874742", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "resource": { + "resourceType": "Encounter", + "id": "330a1f2c-742d-422a-b2ab-8ab377d37883", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "resource": { + "resourceType": "Observation", + "id": "44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/79b17289-9d32-444c-af07-a8a3c3848713", + "resource": { + "resourceType": "List", + "id": "79b17289-9d32-444c-af07-a8a3c3848713", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "56ae27e0-b0b6-401d-b3c9-d17922887cb6", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:56ae27e0-b0b6-401d-b3c9-d17922887cb6" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/7aa78cb7-fc40-4589-b7f7-1c73f19b9cfa", + "resource": { + "resourceType": "Composition", + "id": "7aa78cb7-fc40-4589-b7f7-1c73f19b9cfa", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/a36133ff-30d0-4844-abce-aebc7cfafab9", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/be44e750-bba2-4d87-8ead-2369a428ae6c", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/a36133ff-30d0-4844-abce-aebc7cfafab9", + "resource": { + "resourceType": "Practitioner", + "id": "a36133ff-30d0-4844-abce-aebc7cfafab9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "resource": { + "resourceType": "Patient", + "id": "74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "resource": { + "resourceType": "Encounter", + "id": "1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/6bcc9731-e961-492b-87ca-1b808daa041e", + "resource": { + "resourceType": "MedicationStatement", + "id": "6bcc9731-e961-492b-87ca-1b808daa041e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "context": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/be44e750-bba2-4d87-8ead-2369a428ae6c", + "resource": { + "resourceType": "List", + "id": "be44e750-bba2-4d87-8ead-2369a428ae6c", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/6bcc9731-e961-492b-87ca-1b808daa041e", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "8e8dd928-7fd0-40a6-aeb7-ae44571f889b", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:8e8dd928-7fd0-40a6-aeb7-ae44571f889b" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/5ef58743-8b2a-4364-8515-d0a59f3ca2af", + "resource": { + "resourceType": "Composition", + "id": "5ef58743-8b2a-4364-8515-d0a59f3ca2af", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "resource": { + "resourceType": "Practitioner", + "id": "953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "resource": { + "resourceType": "Patient", + "id": "d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "resource": { + "resourceType": "Encounter", + "id": "9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/5629c190-f61d-4c27-8e3c-824e7bbb2997", + "resource": { + "resourceType": "Condition", + "id": "5629c190-f61d-4c27-8e3c-824e7bbb2997", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "resource": { + "resourceType": "Observation", + "id": "5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "resource": { + "resourceType": "MedicationStatement", + "id": "fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "context": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "resource": { + "resourceType": "List", + "id": "4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/5629c190-f61d-4c27-8e3c-824e7bbb2997", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/7d5ed35a-fbcf-49ef-865f-a6d65306bae8?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b81a76f5-b290-4c1c-bb67-7516784c8569" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "af579d15-cabc-4890-b985-257838062f13", + "Content-Length": "37747", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:08 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "54" + }, + "ResponseBody": { + "jobId": "7d5ed35a-fbcf-49ef-865f-a6d65306bae8", + "lastUpdateDateTime": "2022-05-06T20:00:07Z", + "createdDateTime": "2022-05-06T20:00:06Z", + "expirationDateTime": "2022-05-07T20:00:06Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:07.9525933Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "47456ee5-d20d-434e-a3ce-6c73d1e6c35a", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:47456ee5-d20d-434e-a3ce-6c73d1e6c35a" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/361d3a72-6169-4983-8b6e-3be655a3dc45", + "resource": { + "resourceType": "Composition", + "id": "361d3a72-6169-4983-8b6e-3be655a3dc45", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/da14be3a-1a89-4ba8-9438-0946dfe36043", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPatient does not suffer from high blood pressure.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/79b17289-9d32-444c-af07-a8a3c3848713", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/da14be3a-1a89-4ba8-9438-0946dfe36043", + "resource": { + "resourceType": "Practitioner", + "id": "da14be3a-1a89-4ba8-9438-0946dfe36043", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "resource": { + "resourceType": "Patient", + "id": "28e2f222-6667-4711-b75b-cfb122874742", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "resource": { + "resourceType": "Encounter", + "id": "330a1f2c-742d-422a-b2ab-8ab377d37883", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + } + } + }, + { + "fullUrl": "Observation/44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "resource": { + "resourceType": "Observation", + "id": "44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 29 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "high blood pressure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "high blood pressure" + }, + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "List/79b17289-9d32-444c-af07-a8a3c3848713", + "resource": { + "resourceType": "List", + "id": "79b17289-9d32-444c-af07-a8a3c3848713", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/28e2f222-6667-4711-b75b-cfb122874742", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/330a1f2c-742d-422a-b2ab-8ab377d37883", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/44730c8b-b5d7-43f8-a4d1-b11eb0a08727", + "type": "Observation", + "display": "high blood pressure" + } + } + ] + } + } + ] + } + }, + { + "id": "1", + "entities": [ + { + "offset": 11, + "length": 5, + "text": "100mg", + "category": "Dosage", + "confidenceScore": 0.98 + }, + { + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "56ae27e0-b0b6-401d-b3c9-d17922887cb6", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:56ae27e0-b0b6-401d-b3c9-d17922887cb6" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/7aa78cb7-fc40-4589-b7f7-1c73f19b9cfa", + "resource": { + "resourceType": "Composition", + "id": "7aa78cb7-fc40-4589-b7f7-1c73f19b9cfa", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/a36133ff-30d0-4844-abce-aebc7cfafab9", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EPrescribed 100mg ibuprofen, taken twice daily.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/be44e750-bba2-4d87-8ead-2369a428ae6c", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/a36133ff-30d0-4844-abce-aebc7cfafab9", + "resource": { + "resourceType": "Practitioner", + "id": "a36133ff-30d0-4844-abce-aebc7cfafab9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "resource": { + "resourceType": "Patient", + "id": "74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "resource": { + "resourceType": "Encounter", + "id": "1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + } + } + }, + { + "fullUrl": "MedicationStatement/6bcc9731-e961-492b-87ca-1b808daa041e", + "resource": { + "resourceType": "MedicationStatement", + "id": "6bcc9731-e961-492b-87ca-1b808daa041e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 17 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020740", + "display": "ibuprofen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019879" + }, + { + "system": "http://www.whocc.no/atc", + "code": "M01AE01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1611" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh97005926" + }, + { + "system": "http://loinc.org", + "code": "LP16165-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "WK2XYI10QM" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0256857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "WK2XYI10QM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000613511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002377" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02MO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5640" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7772" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-603C0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387207008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m39860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000060" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017840" + } + ], + "text": "ibuprofen" + }, + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "context": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "twice daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100 + } + } + ] + } + ] + } + }, + { + "fullUrl": "List/be44e750-bba2-4d87-8ead-2369a428ae6c", + "resource": { + "resourceType": "List", + "id": "be44e750-bba2-4d87-8ead-2369a428ae6c", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/74d55bd3-b0bd-4d38-a3c2-03e2d375916a", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/1273cb8b-90ee-4f5d-af0b-1ff5ca178f03", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/6bcc9731-e961-492b-87ca-1b808daa041e", + "type": "MedicationStatement", + "display": "ibuprofen" + } + } + ] + } + } + ] + } + }, + { + "id": "2", + "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": "CCSR_ICD10CM", + "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": "NCI_caDSR", + "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": 0.98, + "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": "CCSR_ICD10CM", + "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_GDC", + "id": "C3038" + }, + { + "dataSource": "NCI_NCI-GLOSS", + "id": "CDR0000450108" + }, + { + "dataSource": "NCI_NICHD", + "id": "C3038" + }, + { + "dataSource": "NCI_caDSR", + "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": "NCI_caDSR", + "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.84, + "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": [], + "fhirBundle": { + "resourceType": "Bundle", + "id": "8e8dd928-7fd0-40a6-aeb7-ae44571f889b", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:8e8dd928-7fd0-40a6-aeb7-ae44571f889b" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/5ef58743-8b2a-4364-8515-d0a59f3ca2af", + "resource": { + "resourceType": "Composition", + "id": "5ef58743-8b2a-4364-8515-d0a59f3ca2af", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11526-1", + "display": "Pathology study" + } + ], + "text": "Pathology study" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-05-06", + "author": [ + { + "reference": "Practitioner/953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Pathology study", + "section": [ + { + "title": "General", + "code": { + "coding": [ + { + "system": "", + "display": "Unrecognized Section" + } + ], + "text": "General" + }, + "text": { + "div": "\u003Cdiv\u003E\r\n\t\t\t\t\t\t\t\u003Ch1\u003EGeneral\u003C/h1\u003E\r\n\t\t\t\t\t\t\t\u003Cp\u003EBaby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\u003C/p\u003E\r\n\t\t\t\t\t\u003C/div\u003E" + }, + "entry": [ + { + "reference": "List/4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "type": "List", + "display": "General" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "resource": { + "resourceType": "Practitioner", + "id": "953f8538-d6ce-4d16-b75f-a6bd5b7c9b40", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "resource": { + "resourceType": "Patient", + "id": "d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "gender": "unknown" + } + }, + { + "fullUrl": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "resource": { + "resourceType": "Encounter", + "id": "9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/5629c190-f61d-4c27-8e3c-824e7bbb2997", + "resource": { + "resourceType": "Condition", + "id": "5629c190-f61d-4c27-8e3c-824e7bbb2997", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 24 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025289", + "display": "Meningitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000006185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "NVS001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007932" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2042-5301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "MENINGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001287" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "G03.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "322.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU048434" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "N71002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85083562" + }, + { + "system": "http://loinc.org", + "code": "LP20756-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10027199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31192" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "324" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02899" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000471780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26828" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "30660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X000H" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-10010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "7180009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0955" + } + ], + "text": "Meningitis" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "resource": { + "resourceType": "Observation", + "id": "5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 47 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "MedicationStatement/fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "resource": { + "resourceType": "MedicationStatement", + "id": "fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 77 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030842", + "display": "Penicillin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019206" + }, + { + "system": "http://www.whocc.no/atc", + "code": "J01C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0199-8025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099402" + }, + { + "system": "http://loinc.org", + "code": "LP14319-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010406" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0402815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016121" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "37190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x009C" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7260" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-54000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "764146007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019880" + } + ], + "text": "Penicillin" + }, + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "context": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "resource": { + "resourceType": "List", + "id": "4997df6c-824d-4ee5-a1bf-c01c187f8e85", + "status": "current", + "mode": "snapshot", + "title": "General", + "subject": { + "reference": "Patient/d1f207f2-6442-4d61-b75f-49a1bc08e7b8", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/9cd9496b-e3b4-46a1-8c4a-4d79cc94e136", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/5629c190-f61d-4c27-8e3c-824e7bbb2997", + "type": "Condition", + "display": "Meningitis" + } + }, + { + "item": { + "reference": "Observation/5b07857d-b35a-471d-a0be-d8dbeaeb536c", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "MedicationStatement/fe7291c7-44a2-4ed9-9848-12fb66ca6a8c", + "type": "MedicationStatement", + "display": "Penicillin" + } + } + ] + } + } + ] + } + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json new file mode 100644 index 000000000000..779efbb08e4f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_key_phrase_extraction.json @@ -0,0 +1,266 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "287", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "264a41ea-aa5d-4e90-89f4-77dab25baf2d" + }, + "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": [ + { + "kind": "KeyPhraseExtraction", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "c3108dea-a94c-4694-952e-7bb10685faf4", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:37 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a2f7290f-ed2b-4588-a109-1f01221703e1?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "156" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a2f7290f-ed2b-4588-a109-1f01221703e1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b8e7a8d2-ecd1-4732-90a0-87e76c1d457c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "65e97721-6ee5-4372-a48a-e13832e4127a", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a2f7290f-ed2b-4588-a109-1f01221703e1", + "lastUpdateDateTime": "2022-05-06T19:59:37Z", + "createdDateTime": "2022-05-06T19:59:37Z", + "expirationDateTime": "2022-05-07T19:59:37Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a2f7290f-ed2b-4588-a109-1f01221703e1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bb5ae0ab-49db-44b7-91d0-29a935db920c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0790982b-974b-400a-9e4f-a2b66f93afc1", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:37 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "a2f7290f-ed2b-4588-a109-1f01221703e1", + "lastUpdateDateTime": "2022-05-06T19:59:37Z", + "createdDateTime": "2022-05-06T19:59:37Z", + "expirationDateTime": "2022-05-07T19:59:37Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a2f7290f-ed2b-4588-a109-1f01221703e1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "77dccf86-c467-49df-84d7-d824d7e9c284" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bd976637-741d-4cc5-a02a-f03eb7fb96fd", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "40" + }, + "ResponseBody": { + "jobId": "a2f7290f-ed2b-4588-a109-1f01221703e1", + "lastUpdateDateTime": "2022-05-06T19:59:39Z", + "createdDateTime": "2022-05-06T19:59:37Z", + "expirationDateTime": "2022-05-07T19:59:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:39.6877489Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a2f7290f-ed2b-4588-a109-1f01221703e1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dc26a62b-3587-4cbb-b4e7-6cad0181329f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d9f0d434-a653-4cce-b6a4-d507648ad55a", + "Content-Length": "616", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "44" + }, + "ResponseBody": { + "jobId": "a2f7290f-ed2b-4588-a109-1f01221703e1", + "lastUpdateDateTime": "2022-05-06T19:59:39Z", + "createdDateTime": "2022-05-06T19:59:37Z", + "expirationDateTime": "2022-05-07T19:59:37Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:39.6877489Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json new file mode 100644 index 000000000000..133dd59bb36f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "397", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "24845fdb-8de6-4b7f-9b63-62662c777148" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "My SSN is 859-98-0987.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + }, + { + "id": "2", + "text": "Is 998.214.865-68 your Brazilian CPF number?", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "38ec53ca-bcfb-4145-b704-cde0a45a35bc", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:44 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a296204a-ca1e-43a3-831d-ea269869acb1?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "172" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a296204a-ca1e-43a3-831d-ea269869acb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3d2e085c-09d0-4d31-8d0a-5e6c51841449" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d93efc19-46c6-4d10-b67e-83103735b798", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "a296204a-ca1e-43a3-831d-ea269869acb1", + "lastUpdateDateTime": "2022-05-06T19:59:44Z", + "createdDateTime": "2022-05-06T19:59:44Z", + "expirationDateTime": "2022-05-07T19:59:44Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a296204a-ca1e-43a3-831d-ea269869acb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4de52ade-0e7d-4d5e-8ea0-3a3c85ab812a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2b7c2b69-86f5-4cfb-9169-a06749fd75a0", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "a296204a-ca1e-43a3-831d-ea269869acb1", + "lastUpdateDateTime": "2022-05-06T19:59:44Z", + "createdDateTime": "2022-05-06T19:59:44Z", + "expirationDateTime": "2022-05-07T19:59:44Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a296204a-ca1e-43a3-831d-ea269869acb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "587743ab-0365-4a27-b116-ab464fa4d889" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3d0ae764-e8ef-46bc-b9ce-821a24ab97a6", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "48" + }, + "ResponseBody": { + "jobId": "a296204a-ca1e-43a3-831d-ea269869acb1", + "lastUpdateDateTime": "2022-05-06T19:59:46Z", + "createdDateTime": "2022-05-06T19:59:44Z", + "expirationDateTime": "2022-05-07T19:59:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:46.4584084Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a296204a-ca1e-43a3-831d-ea269869acb1?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b00c61ff-c768-4704-82a1-ec24f45e77ff" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "96e213c8-ae0c-485d-b579-c8bfe1e5da26", + "Content-Length": "1197", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "a296204a-ca1e-43a3-831d-ea269869acb1", + "lastUpdateDateTime": "2022-05-06T19:59:46Z", + "createdDateTime": "2022-05-06T19:59:44Z", + "expirationDateTime": "2022-05-07T19:59:44Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:46.4584084Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is ***********.", + "id": "0", + "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": "1", + "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": "2", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json new file mode 100644 index 000000000000..d378e3e84939 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_filtered_categories.json @@ -0,0 +1,311 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "468", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4f2dd531-82ff-4138-bd7c-1322880a3e36" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "piiCategories": [ + "USSocialSecurityNumber" + ] + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5d669056-cf2c-4141-9536-f3bb1508e582", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:46 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "166" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3abe8385-b58f-4f33-9016-c3d045437e0e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e879485a-3135-4b6b-836b-f3687c4f89c9", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "ee259896-18bd-4148-b4bc-ab01b942cd41", + "lastUpdateDateTime": "2022-05-06T19:59:47Z", + "createdDateTime": "2022-05-06T19:59:47Z", + "expirationDateTime": "2022-05-07T19:59:47Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b36551af-05ef-4f9e-a32e-ec4b411e4fb1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0023bb0c-c152-4549-b07a-0bb5c04a20c2", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:46 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "ee259896-18bd-4148-b4bc-ab01b942cd41", + "lastUpdateDateTime": "2022-05-06T19:59:47Z", + "createdDateTime": "2022-05-06T19:59:47Z", + "expirationDateTime": "2022-05-07T19:59:47Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "26de1cf6-fe8e-4588-96a8-b7c97dcc0294" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "112eebaf-75ad-4bfa-b268-ecf981296678", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "ee259896-18bd-4148-b4bc-ab01b942cd41", + "lastUpdateDateTime": "2022-05-06T19:59:47Z", + "createdDateTime": "2022-05-06T19:59:47Z", + "expirationDateTime": "2022-05-07T19:59:47Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7a55deb3-a3b5-4240-88f6-bc0ee18c8691" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6fb55c08-739a-4d00-8c1c-428c3067c3ef", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:50 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "ee259896-18bd-4148-b4bc-ab01b942cd41", + "lastUpdateDateTime": "2022-05-06T19:59:49Z", + "createdDateTime": "2022-05-06T19:59:47Z", + "expirationDateTime": "2022-05-07T19:59:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:49.6972994Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/ee259896-18bd-4148-b4bc-ab01b942cd41?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "819e9793-09d4-4875-95f4-521201fed87b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "912c3d6d-3249-477d-b910-0ee7d0fffa27", + "Content-Length": "916", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "49" + }, + "ResponseBody": { + "jobId": "ee259896-18bd-4148-b4bc-ab01b942cd41", + "lastUpdateDateTime": "2022-05-06T19:59:49Z", + "createdDateTime": "2022-05-06T19:59:47Z", + "expirationDateTime": "2022-05-07T19:59:47Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:49.6972994Z", + "status": "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": "0", + "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": "1", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json new file mode 100644 index 000000000000..d75dae65cf34 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_pii_entity_recognition_with_phi_domain.json @@ -0,0 +1,357 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "440", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6cb8ead5-cda0-4e56-a6c8-793760153a6b" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "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.", + "language": "en" + }, + { + "id": "1", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "latest", + "domain": "phi" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "931c5605-ff6b-49cd-8c33-850097659559", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:51 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/5eedf827-8657-42c1-bb22-16fadd7675e7?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "171" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eedf827-8657-42c1-bb22-16fadd7675e7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e9752ed7-ccfe-4589-8011-367baab9ecec" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "11866112-9949-4bc5-a6fa-9738e022351a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "5eedf827-8657-42c1-bb22-16fadd7675e7", + "lastUpdateDateTime": "2022-05-06T19:59:51Z", + "createdDateTime": "2022-05-06T19:59:51Z", + "expirationDateTime": "2022-05-07T19:59:51Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eedf827-8657-42c1-bb22-16fadd7675e7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1f5acd14-6f8c-4030-9e5b-ab51e3704b10" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "faf668ba-8249-48d6-be54-cd0b548b7501", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "5eedf827-8657-42c1-bb22-16fadd7675e7", + "lastUpdateDateTime": "2022-05-06T19:59:51Z", + "createdDateTime": "2022-05-06T19:59:51Z", + "expirationDateTime": "2022-05-07T19:59:51Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eedf827-8657-42c1-bb22-16fadd7675e7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3512eea4-5ad4-4026-9ff3-2af6a99faa1a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "81c3ee1c-fb4e-4485-99dd-28e8fe611591", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "95" + }, + "ResponseBody": { + "jobId": "5eedf827-8657-42c1-bb22-16fadd7675e7", + "lastUpdateDateTime": "2022-05-06T19:59:53Z", + "createdDateTime": "2022-05-06T19:59:51Z", + "expirationDateTime": "2022-05-07T19:59:51Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:53.2156438Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/5eedf827-8657-42c1-bb22-16fadd7675e7?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8d529cfe-d566-45d8-b268-fa830e163b4a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "325c0eae-e239-4888-ba79-ac1a67d16224", + "Content-Length": "1495", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "58" + }, + "ResponseBody": { + "jobId": "5eedf827-8657-42c1-bb22-16fadd7675e7", + "lastUpdateDateTime": "2022-05-06T19:59:53Z", + "createdDateTime": "2022-05-06T19:59:51Z", + "expirationDateTime": "2022-05-07T19:59:51Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T19:59:53.2156438Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 10, + "length": 11, + "confidenceScore": 0.65 + }, + { + "text": "111000025", + "category": "PhoneNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.8 + }, + { + "text": "111000025", + "category": "ABARoutingNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.75 + }, + { + "text": "111000025", + "category": "NZSocialWelfareNumber", + "offset": 44, + "length": 9, + "confidenceScore": 0.65 + } + ], + "warnings": [] + }, + { + "redactedText": "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + "id": "1", + "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": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json new file mode 100644 index 000000000000..0fd26b026983 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_actions_prebuilt/recording_sentiment_analysis_with_opinion_mining.json @@ -0,0 +1,1618 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "740", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "232051b2-37ae-4679-be8f-ecb1fa013898" + }, + "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": [ + { + "kind": "SentimentAnalysis", + "parameters": { + "modelVersion": "latest", + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "4e8bb84b-92b4-450c-9774-a32edb06603a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 19:59:53 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "267" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ddfcd2ac-743f-40ba-976b-f34ce9bb69a2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ee437fd7-ff56-48c6-9f4c-44622a2a168c", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T19:59:54Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b2d1da4d-69de-4b02-b104-369a70f32a15" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e4a19e00-6bde-4ebd-a990-58c7ca31a0c8", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T19:59:54Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f4df2d05-1b51-4a7d-823a-c35e2ff54de6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ea9a64ae-6746-4869-895a-d3da2c075554", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T19:59:54Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "426c5df1-caea-4fe0-83da-043c8cbd21c6" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "332156f7-4351-4e35-9020-c8042a679fa8", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 19:59:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T19:59:54Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a5e74ae2-70bd-4feb-84ad-255cfa08375d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bde595ed-6af9-4bde-9ab9-1b72c947b809", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T19:59:54Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b5047831-a00f-41b4-9df1-e5484a392269" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d9518271-a1bb-477c-a96c-a318eaf57502", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "96" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T20:00:02Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:02.3309049Z", + "status": "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/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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/9cbf057e-a8df-45b6-aee9-072f0289ce0d?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "bf2c51c8-a0b8-45cc-a871-7a3025eb52a9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4ce96f68-fbd1-41c2-83e1-c1f712b47d3a", + "Content-Length": "8334", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "82" + }, + "ResponseBody": { + "jobId": "9cbf057e-a8df-45b6-aee9-072f0289ce0d", + "lastUpdateDateTime": "2022-05-06T20:00:02Z", + "createdDateTime": "2022-05-06T19:59:54Z", + "expirationDateTime": "2022-05-07T19:59:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:02.3309049Z", + "status": "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/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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..022707a38b72 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_all_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,610 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "357", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f1e0b1ff-a913-4699-b008-4ed4703f78fe" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "abb848a0-fd66-4ad7-87c1-fd37bd6a2483", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:24 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "230" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dbd9f4da-2af7-4f6f-b022-cb84bed35170" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d07299c3-1996-4af6-9def-57a9e3c6d8fe", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "bafb8034-21a4-4d5c-b972-313ee072b632", + "lastUpdateDateTime": "2022-05-06T20:00:24Z", + "createdDateTime": "2022-05-06T20:00:24Z", + "expirationDateTime": "2022-05-07T20:00:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3b1fca66-cab9-4dc9-8d55-59395ece77dd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "da6c8442-09d0-427c-b96b-d1245c44ea91", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "bafb8034-21a4-4d5c-b972-313ee072b632", + "lastUpdateDateTime": "2022-05-06T20:00:25Z", + "createdDateTime": "2022-05-06T20:00:24Z", + "expirationDateTime": "2022-05-07T20:00:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "89ef2d22-1bbd-44e8-afd0-8ed909729c4c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9a3fd89a-d100-4628-9b71-c9eed7102448", + "Content-Length": "1984", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "299" + }, + "ResponseBody": { + "jobId": "bafb8034-21a4-4d5c-b972-313ee072b632", + "lastUpdateDateTime": "2022-05-06T20:00:26Z", + "createdDateTime": "2022-05-06T20:00:24Z", + "expirationDateTime": "2022-05-07T20:00:24Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4170317Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4916709Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c98adabd-9a9f-428e-a067-e2320bcc491d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "34137aee-2682-49d5-8caa-69571465afa2", + "Content-Length": "2880", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "151" + }, + "ResponseBody": { + "jobId": "bafb8034-21a4-4d5c-b972-313ee072b632", + "lastUpdateDateTime": "2022-05-06T20:00:27Z", + "createdDateTime": "2022-05-06T20:00:24Z", + "expirationDateTime": "2022-05-07T20:00:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4170317Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4916709Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:27.4122534Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/bafb8034-21a4-4d5c-b972-313ee072b632?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "968da8b0-a01c-402a-9675-224c7febeb5e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4dbf800b-4b62-4084-8e45-d1cb2177d1a4", + "Content-Length": "2880", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "157" + }, + "ResponseBody": { + "jobId": "bafb8034-21a4-4d5c-b972-313ee072b632", + "lastUpdateDateTime": "2022-05-06T20:00:27Z", + "createdDateTime": "2022-05-06T20:00:24Z", + "expirationDateTime": "2022-05-07T20:00:24Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4170317Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:26.4916709Z", + "status": "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,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." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:27.4122534Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json new file mode 100644 index 000000000000..a48312a33708 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_cancel.json @@ -0,0 +1,129 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a7353d2-73f9-4e0b-a94b-3e1c5a224a9e" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "b4f8830c-c3fa-49d9-b4fc-b084dcbf6ad2", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:42 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/3072ea19-f450-4c03-936a-7b941166f6d5?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "307" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3072ea19-f450-4c03-936a-7b941166f6d5?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2985c0a5-3d5b-4908-9176-93f453de9a59" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4916aeff-fc35-4653-a5dd-ca34ec09fa7a", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "3072ea19-f450-4c03-936a-7b941166f6d5", + "lastUpdateDateTime": "2022-05-06T20:01:43Z", + "createdDateTime": "2022-05-06T20:01:42Z", + "expirationDateTime": "2022-05-07T20:01:42Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/3072ea19-f450-4c03-936a-7b941166f6d5:cancel?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "0", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "38009813-a90e-4136-93c7-07c44273333a" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6155ef05-50b5-4c68-aa15-2ce75abb74b2", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:42 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/3072ea19-f450-4c03-936a-7b941166f6d5?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "13" + }, + "ResponseBody": null + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json new file mode 100644 index 000000000000..d7e46bb7ce8e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_invalid_language_hint.json @@ -0,0 +1,590 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "296", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "facbddbc-d864-482f-a51c-a24a77aef5d6" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "This should fail because we\u0027re passing in an invalid language hint", + "language": "notalanguage" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "a7c3a776-06ec-4b85-b1ea-76cdbe57945c", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:18 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "145" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "c9e44317-9380-4dfc-9339-adfa589dd3a2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3d104eab-6651-42a6-9545-2561233c3019", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:18Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "18b45f62-98c4-4432-aba4-ccbf70f2f3e7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a7e8a072-0712-4975-b5a2-d8be7897d752", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:18Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f4fa7dd6-1d7e-4bd7-a67c-b107d3aad53e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d5b179f0-80d2-4a2c-a2a4-9df9ba213298", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:20 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:20Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:19.7125046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:20.0151863Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "29a5806a-2df3-4e70-be33-0ba8183ef350" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "70a776dc-bb94-40c8-a9d0-04deaf674c22", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:22 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:20Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:19.7125046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:20.0151863Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8eb5687a-0402-4390-8ca0-de306debc3c7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6529d552-eb11-484c-b093-28fc759a9349", + "Content-Length": "1358", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:24 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "80" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:24Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:19.7125046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:20.0151863Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a92f570-0208-4d3c-b108-3111f7b1ef2e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7fca6903-e3ce-4b02-95cf-f6d5f3d5fc47", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "87" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:25Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:25.7527112Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:19.7125046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:20.0151863Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/93fff7c5-b844-4189-bf83-798bcd81fdab?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1f3fc288-080e-477b-a7c5-56716e9e6901" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "0d8d7c6f-3ba7-43f7-89b1-3b03224fa1c5", + "Content-Length": "1902", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:26 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "82" + }, + "ResponseBody": { + "jobId": "93fff7c5-b844-4189-bf83-798bcd81fdab", + "lastUpdateDateTime": "2022-05-06T20:01:25Z", + "createdDateTime": "2022-05-06T20:01:18Z", + "expirationDateTime": "2022-05-07T20:01:18Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:25.7527112Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:19.7125046Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:20.0151863Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json new file mode 100644 index 000000000000..0da4bc5918dc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_operation_metadata.json @@ -0,0 +1,188 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "172", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2378ec29-e2fc-41a8-855a-5ff6cb2fe3c2" + }, + "RequestBody": { + "displayName": "testJob", + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "end" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "af7ccb8c-1389-474c-ada2-19190858085b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:40 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/08557a9d-8e30-4fe3-be49-430398d92190?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "191" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/08557a9d-8e30-4fe3-be49-430398d92190?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1680c6af-701e-4b26-a89b-c2bdcebefaf4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "36025df3-8e65-4c31-a492-f4f7c6889d47", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "08557a9d-8e30-4fe3-be49-430398d92190", + "lastUpdateDateTime": "2022-05-06T20:01:40Z", + "createdDateTime": "2022-05-06T20:01:40Z", + "expirationDateTime": "2022-05-07T20:01:40Z", + "status": "running", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/08557a9d-8e30-4fe3-be49-430398d92190?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4ed3ad0b-acc7-437b-92b2-c4cb8425692d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ab5aa81c-a690-4dd1-be21-ecb09a9a80b9", + "Content-Length": "303", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "08557a9d-8e30-4fe3-be49-430398d92190", + "lastUpdateDateTime": "2022-05-06T20:01:40Z", + "createdDateTime": "2022-05-06T20:01:40Z", + "expirationDateTime": "2022-05-07T20:01:40Z", + "status": "running", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/08557a9d-8e30-4fe3-be49-430398d92190?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "49c87698-99db-439c-b3d5-ca9a0a51f91a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5ac127b8-7e47-4e35-940f-d6180426e460", + "Content-Length": "846", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "jobId": "08557a9d-8e30-4fe3-be49-430398d92190", + "lastUpdateDateTime": "2022-05-06T20:01:41Z", + "createdDateTime": "2022-05-06T20:01:40Z", + "expirationDateTime": "2022-05-07T20:01:40Z", + "status": "succeeded", + "errors": [], + "displayName": "testJob", + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:41.8837855Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json new file mode 100644 index 000000000000..5757d23ba7c9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_out_of_order_input_ids_with_multiple_actions.json @@ -0,0 +1,798 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "300", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ffd94467-deff-47eb-a1f4-e42db53fda2f" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "56", + "text": ":)" + }, + { + "id": "0", + "text": ":(" + }, + { + "id": "22", + "text": "w" + }, + { + "id": "19", + "text": ":P" + }, + { + "id": "1", + "text": ":D" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "aa56c811-f2ad-4f7d-b0b6-d5f4aa3c13ab", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:35 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "281" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a4fce242-2571-4450-abd3-a819f495c57a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "01762d2e-1d09-4d4d-89d0-e83ece4e3df9", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:36Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f0f0d58c-ee6a-407c-9f55-e28d09157388" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a07cd8eb-54b7-4478-b1b4-70b7ec2d1537", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:36Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f5b9bfd9-cae7-4bcb-9215-d77ce1db7ce4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ccc2cecc-55bd-478c-a95b-38473abc9f40", + "Content-Length": "1132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:38 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:37Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.6107397Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.7091756Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ec578b53-b1db-4261-a5a5-5173077b8444" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b0f522e0-40c8-475c-9753-63c1007e1e10", + "Content-Length": "1132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:40 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "121" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:37Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.6107397Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.7091756Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "26e2ac33-6f3e-44bf-b6c1-ddd9ec2318d4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "36e7e701-4bdd-4708-895c-01e9785342f5", + "Content-Length": "1132", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:42 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "124" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:37Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.6107397Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.7091756Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "98778d09-ad16-4a1e-8a82-eee532b1f2f4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b40a300d-2246-4de1-ae3c-68fc9da0890b", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "209" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:44Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.6107397Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.7091756Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:44.1948894Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/34ff3288-8dd9-4c51-a065-89f05a9b975a?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cd75de3a-7350-4221-b0b7-96d23b70b9e8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8ba3c7e9-fe19-41cc-912a-56178e280f66", + "Content-Length": "1522", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "238" + }, + "ResponseBody": { + "jobId": "34ff3288-8dd9-4c51-a065-89f05a9b975a", + "lastUpdateDateTime": "2022-05-06T20:00:44Z", + "createdDateTime": "2022-05-06T20:00:35Z", + "expirationDateTime": "2022-05-07T20:00:35Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.6107397Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:37.7091756Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:44.1948894Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json new file mode 100644 index 000000000000..0b9f8e2bf6fd --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -0,0 +1,620 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "307", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "57414452-22de-4fb1-aa72-c027d3496a67" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "one" + }, + { + "id": "2", + "text": "two" + }, + { + "id": "3", + "text": "three" + }, + { + "id": "4", + "text": "four" + }, + { + "id": "5", + "text": "five" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "da641a3f-e61f-4ca3-ba79-3c93c946c524", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:30 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "248" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d67acd21-c84a-4cf7-9b44-a41feb3034d7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "46a7e8a6-270a-421d-927f-6f8ebb18eb63", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "05930cf0-b41b-42fc-abf5-579073b5abbc", + "lastUpdateDateTime": "2022-05-06T20:00:30Z", + "createdDateTime": "2022-05-06T20:00:30Z", + "expirationDateTime": "2022-05-07T20:00:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2e5cdfff-de81-4417-a138-668419875cc8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fc6079e1-52b9-4baa-afd7-dbf1fec815e1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:30 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "05930cf0-b41b-42fc-abf5-579073b5abbc", + "lastUpdateDateTime": "2022-05-06T20:00:30Z", + "createdDateTime": "2022-05-06T20:00:30Z", + "expirationDateTime": "2022-05-07T20:00:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f7f38dc6-4fe2-489f-830e-3396c0522e2d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ac31f4cc-01f3-47a1-b821-c6f8bd2312ed", + "Content-Length": "763", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:32 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "94" + }, + "ResponseBody": { + "jobId": "05930cf0-b41b-42fc-abf5-579073b5abbc", + "lastUpdateDateTime": "2022-05-06T20:00:32Z", + "createdDateTime": "2022-05-06T20:00:30Z", + "expirationDateTime": "2022-05-07T20:00:30Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:32.2713495Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4412658b-c7ee-4273-bfda-dec521d34ee9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "84ae48c3-7378-47bf-95bc-887f21dc105c", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:34 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "186" + }, + "ResponseBody": { + "jobId": "05930cf0-b41b-42fc-abf5-579073b5abbc", + "lastUpdateDateTime": "2022-05-06T20:00:34Z", + "createdDateTime": "2022-05-06T20:00:30Z", + "expirationDateTime": "2022-05-07T20:00:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:34.6039655Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:32.2713495Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:33.6994045Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/05930cf0-b41b-42fc-abf5-579073b5abbc?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8c3d9cdc-72ee-45f4-8575-415f85b37b4f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "3289a3ad-3a69-4742-92dd-eb9e1a192e85", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:35 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "214" + }, + "ResponseBody": { + "jobId": "05930cf0-b41b-42fc-abf5-579073b5abbc", + "lastUpdateDateTime": "2022-05-06T20:00:34Z", + "createdDateTime": "2022-05-06T20:00:30Z", + "expirationDateTime": "2022-05-07T20:00:30Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:34.6039655Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:32.2713495Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:33.6994045Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json new file mode 100644 index 000000000000..1aa882094c44 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_paged_results_with_custom_page_size.json @@ -0,0 +1,1436 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "1389", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1bd3e12d-bf1e-4ffa-9544-0e3e5c496ab8" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "d812b080-f484-41c6-80ae-c9fe8643da1c", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:27 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "953" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "58f2af25-dccb-4089-b3e2-d89e98f6ac15" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1507e569-d9ea-4d00-bc5d-10ae1bf00b7b", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:28Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "05c4208e-e1b0-419d-98bc-54834c124909" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "08d5d45e-8f70-406d-923f-e6e99d227753", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:27 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:28Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8a17260b-0574-49d8-8f17-8acbb6894316" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a553bdf9-934f-4580-94c6-6c0b0817ab9e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:29 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:28Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3d66dabb-9c4e-44bd-9846-28910a1844da" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9978fd76-234a-4bfa-8629-ab02e37c0ed1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:31 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:28Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b7dd850d-3223-4a8d-ae92-a7db510dd181" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "48620979-9101-4f66-be30-cb99c68af822", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:33 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "223" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:33Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6d155f35-7c24-45ec-aae1-490ee87acfac" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ca15e333-4689-4242-a8cb-9e7b3bab6fbd", + "Content-Length": "1401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:36 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "329" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:36Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 1, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "592d7bf7-8b95-4bae-95f2-574b3aedef9f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "73f04abe-f065-44aa-9fe0-85225af6ba4d", + "Content-Length": "2673", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "394" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:38Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:38.1078632Z", + "status": "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/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?api-version=2022-04-01-preview\u0026top=10", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d4586a8a-ed0b-4d6a-b400-d9011eee23e9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "efe442ae-dd83-44f4-850d-d4aaa7d06beb", + "Content-Length": "1724", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "203" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:38Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:38.1078632Z", + "status": "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/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=10\u0026skip=10\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2b1ad9e5-9a64-4580-bad5-e7d7f331553d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "094ce5d3-6226-4740-b123-6cddc940475c", + "Content-Length": "1743", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "284" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:38Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:38.1078632Z", + "status": "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/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview" + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a1608d24-e69b-4020-813f-d803f0d3876e?showStats=False\u0026top=5\u0026skip=20\u0026api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "62d30222-9a8c-44f0-9267-d1c332088ba1" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "62cefdc4-0f49-44b7-996e-5f6414fdfb39", + "Content-Length": "1403", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:39 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "137" + }, + "ResponseBody": { + "jobId": "a1608d24-e69b-4020-813f-d803f0d3876e", + "lastUpdateDateTime": "2022-05-06T20:01:38Z", + "createdDateTime": "2022-05-06T20:01:27Z", + "expirationDateTime": "2022-05-07T20:01:27Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:33.5967874Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:38.1078632Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json new file mode 100644 index 000000000000..56b323ff10a3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_rehydrated_polling.json @@ -0,0 +1,4056 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "408", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5a5ae427-0845-4d6d-90c2-d6ad4f344ef6" + }, + "RequestBody": { + "analysisInput": { + "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" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + }, + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "SentimentAnalysis", + "parameters": { + "opinionMining": true + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "7f806428-6f8b-415c-8ddb-be1fb634e70c", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:43 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "261" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7c22ce84-b364-4f4d-9429-f559ac2c51eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "82d46a79-a466-451b-a56a-5a5f63339576", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:43Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "378fba51-6c2b-4425-8b49-27e4789ba631" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ad70ce59-caeb-4f72-ab8c-f45fed744c56", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:43Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ea544632-1c4a-4d8e-b0b6-6549575b9d8c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "fe877796-f095-4c85-9714-d5867b89aca1", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:43 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:43Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 4, + "total": 4, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "98196dbb-5575-42f1-a06f-5ab90bcb8566" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "93941b8c-8cdb-4eef-a83d-1bd7db80bff9", + "Content-Length": "4887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "82" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:45Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 2, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "84e1e2fe-f92c-421e-b3ac-fb2d4caa89e9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "be6a462f-9a6b-40b6-899b-f62fdbaba4f5", + "Content-Length": "4887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "76" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:45Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 2, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "92de3b7c-0824-4cd7-84fc-63b538c93999" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a0e419cd-5ef0-4639-b7b3-995abdb05d4b", + "Content-Length": "4887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "91" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:49Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 2, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0c7566c1-2f79-429a-8cbc-af935e732868" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "61dc4dd1-e996-4e59-95fa-60c920ab207a", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:51 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:51Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:51.0332774Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:50.7268135Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d9cf63f0-7f10-4d4f-ab85-7cf9df4a92e9" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "34da55ae-86ee-4ba5-9e58-2344d515d281", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "412" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:51Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:51.0332774Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:50.7268135Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "33027bd4-4e4b-4539-baaf-20c949cf2694" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "163f28a2-af28-40a9-922f-92b0ca3fcda1", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:51Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:51.0332774Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:50.7268135Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/be148c0e-d947-47c0-9ecb-620e57031257?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7cb65e08-4a57-4b2f-8c40-85ea36afd443" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a7b94c6e-b3af-4d7a-a719-c0737e49f888", + "Content-Length": "6715", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "279" + }, + "ResponseBody": { + "jobId": "be148c0e-d947-47c0-9ecb-620e57031257", + "lastUpdateDateTime": "2022-05-06T20:01:51Z", + "createdDateTime": "2022-05-06T20:01:43Z", + "expirationDateTime": "2022-05-07T20:01:43Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 4, + "failed": 0, + "inProgress": 0, + "total": 4, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:44.3069287Z", + "status": "succeeded", + "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": "NCI_caDSR", + "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": 0.98 + }, + { + "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": "2022-03-01" + } + }, + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:51.0332774Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "1", + "entities": [ + { + "text": "100mg", + "category": "Quantity", + "subcategory": "Dimension", + "offset": 11, + "length": 5, + "confidenceScore": 0.8 + }, + { + "text": "ibuprofen", + "category": "Product", + "offset": 17, + "length": 9, + "confidenceScore": 0.89 + }, + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:45.341422Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "******* does not suffer from high blood pressure.", + "id": "0", + "entities": [ + { + "text": "Patient", + "category": "PersonType", + "offset": 0, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "redactedText": "Prescribed 100mg ibuprofen, taken twice *****.", + "id": "1", + "entities": [ + { + "text": "daily", + "category": "DateTime", + "subcategory": "Set", + "offset": 40, + "length": 5, + "confidenceScore": 0.8 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "SentimentAnalysisLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:50.7268135Z", + "status": "succeeded", + "results": { + "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": 49, + "text": "Patient does not suffer from high blood pressure.", + "targets": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 0, + "length": 7, + "text": "Patient", + "relations": [ + { + "relationType": "assessment", + "ref": "#/documents/0/sentences/0/assessments/0" + } + ] + } + ], + "assessments": [ + { + "sentiment": "positive", + "confidenceScores": { + "positive": 0.94, + "negative": 0.06 + }, + "offset": 17, + "length": 6, + "text": "suffer", + "isNegated": true + } + ] + } + ], + "warnings": [] + }, + { + "id": "1", + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "sentences": [ + { + "sentiment": "neutral", + "confidenceScores": { + "positive": 0.03, + "neutral": 0.89, + "negative": 0.08 + }, + "offset": 0, + "length": 46, + "text": "Prescribed 100mg ibuprofen, taken twice daily.", + "targets": [], + "assessments": [] + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2020-04-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..b266faa6ca55 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_some_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,606 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "417", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ff296db7-0304-4bb9-a80a-08d81410541d" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "baacd3d1-f7a1-4645-a570-65274e8e7aeb", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:19 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "246" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "aa56a693-74bf-462e-b40f-2afda550f920" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "8a4a3301-e477-4934-afff-c6b6ad9e8ed4", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "10dfb9cf-d3c6-49fc-96c3-631fb71b8c75", + "lastUpdateDateTime": "2022-05-06T20:00:19Z", + "createdDateTime": "2022-05-06T20:00:19Z", + "expirationDateTime": "2022-05-07T20:00:19Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9f1d792d-7336-4698-bcf0-0d6b5a7bd8d4" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "03ad9d3e-d161-490a-9961-4c13ee50f6f5", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "10dfb9cf-d3c6-49fc-96c3-631fb71b8c75", + "lastUpdateDateTime": "2022-05-06T20:00:19Z", + "createdDateTime": "2022-05-06T20:00:19Z", + "expirationDateTime": "2022-05-07T20:00:19Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "182af008-5003-454f-a8bf-5f2c86ae9d10" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9e6b621d-e557-49f4-9c06-b5876f90ef47", + "Content-Length": "1928", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:21 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "144" + }, + "ResponseBody": { + "jobId": "10dfb9cf-d3c6-49fc-96c3-631fb71b8c75", + "lastUpdateDateTime": "2022-05-06T20:00:21Z", + "createdDateTime": "2022-05-06T20:00:19Z", + "expirationDateTime": "2022-05-07T20:00:19Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.3745906Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.4444258Z", + "status": "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": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3e15d180-a974-4edb-b5e0-134b63c555c8" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7ef221c1-1a31-441a-a62b-d9fe490eff12", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "173" + }, + "ResponseBody": { + "jobId": "10dfb9cf-d3c6-49fc-96c3-631fb71b8c75", + "lastUpdateDateTime": "2022-05-06T20:00:22Z", + "createdDateTime": "2022-05-06T20:00:19Z", + "expirationDateTime": "2022-05-07T20:00:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.3745906Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.4444258Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:22.6634655Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/10dfb9cf-d3c6-49fc-96c3-631fb71b8c75?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b59edea8-8b23-4dfd-88a5-b7f1d16f04a7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a4604d25-c73e-4dcf-ba89-b844bdb4e968", + "Content-Length": "2725", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:23 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131" + }, + "ResponseBody": { + "jobId": "10dfb9cf-d3c6-49fc-96c3-631fb71b8c75", + "lastUpdateDateTime": "2022-05-06T20:00:22Z", + "createdDateTime": "2022-05-06T20:00:19Z", + "expirationDateTime": "2022-05-07T20:00:19Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.3745906Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:21.4444258Z", + "status": "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": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:22.6634655Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json new file mode 100644 index 000000000000..a3ec160efcf0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_statistics.json @@ -0,0 +1,1069 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "376", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "63401377-2e93-45eb-be7b-82e7e2908427" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": ":)", + "language": "en" + }, + { + "id": "1", + "text": ":(", + "language": "en" + }, + { + "id": "2", + "text": "", + "language": "en" + }, + { + "id": "3", + "text": ":P", + "language": "en" + }, + { + "id": "4", + "text": ":D", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "9a8f5599-78d7-4736-839c-0df58ad67c5b", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:44 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "244" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9d8a72eb-7e26-46b1-911e-f008b13230bb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "80f4e792-4d6e-41ee-81d2-cff79de542a0", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:45Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "422c1f48-15e1-4f71-a359-8a1db64e0b96" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "a2b1922e-0218-4bc0-bdee-80e1bda9c09e", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:45 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:45Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e7da3d7f-ad9e-487f-a544-83a4352f6081" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "51c83e2a-b062-46f5-8846-6dd093714515", + "Content-Length": "1120", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:47 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "64" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:47Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 2, + "total": 3, + "items": [ + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:47.4613902Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "00b80187-f73b-46f9-918d-2fa0ca8ae0eb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "caac709c-8657-4776-8fdf-460055f14601", + "Content-Length": "1951", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:49 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "158" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:48Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:48.844597Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:47.4613902Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "7e5d2790-21ce-48f5-8b52-5fc1564b7a40" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "1b2b53f9-4dce-4a34-927e-9b510fda7afa", + "Content-Length": "1951", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:52 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "168" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:48Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:48.844597Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:47.4613902Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9ae2042d-944c-4815-a91f-40afe50e9090" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "797af911-38eb-465e-a69a-c45209c76b4e", + "Content-Length": "2868", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:54 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "209" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:53Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:48.844597Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:53.6338066Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:47.4613902Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/537c428f-8c66-44aa-b116-36fbfe653cb7?api-version=2022-04-01-preview\u0026showStats=true", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "522b69a8-f7c9-4197-b09b-4bde5e17b486" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "bdefe1e3-ccc8-4a1f-9295-65df220f45af", + "Content-Length": "2868", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "248" + }, + "ResponseBody": { + "jobId": "537c428f-8c66-44aa-b116-36fbfe653cb7", + "lastUpdateDateTime": "2022-05-06T20:00:53Z", + "createdDateTime": "2022-05-06T20:00:45Z", + "expirationDateTime": "2022-05-07T20:00:45Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:48.844597Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:53.6338066Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "redactedText": ":)", + "id": "0", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":(", + "id": "1", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":P", + "id": "3", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + }, + { + "redactedText": ":D", + "id": "4", + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "entities": [], + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:47.4613902Z", + "status": "succeeded", + "results": { + "statistics": { + "documentsCount": 5, + "validDocumentsCount": 4, + "erroneousDocumentsCount": 1, + "transactionsCount": 4 + }, + "documents": [ + { + "id": "0", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "1", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + }, + { + "id": "4", + "keyPhrases": [], + "statistics": { + "charactersCount": 2, + "transactionsCount": 1 + }, + "warnings": [] + } + ], + "errors": [ + { + "id": "2", + "error": { + "code": "InvalidArgument", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocument", + "message": "Document text is empty." + } + } + } + ], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json new file mode 100644 index 000000000000..ac6641795fe5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_unique_multiple_actions_per_type_are_allowed.json @@ -0,0 +1,279 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "240", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "36a02d4d-e5b2-4836-a264-4aabc573e186" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "taskName": "action1", + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "taskName": "action2", + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5817f417-a342-4f13-8277-8fe6c1903c7a", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:16 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/6c306807-4d7f-4ab4-96e3-4550a6e299d5?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "160" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6c306807-4d7f-4ab4-96e3-4550a6e299d5?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b63a0118-7769-4182-8c2e-34f20e57040d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e71f6eb0-764e-44d3-b24c-c5270f11dbc3", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "6c306807-4d7f-4ab4-96e3-4550a6e299d5", + "lastUpdateDateTime": "2022-05-06T20:00:17Z", + "createdDateTime": "2022-05-06T20:00:16Z", + "expirationDateTime": "2022-05-07T20:00:16Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6c306807-4d7f-4ab4-96e3-4550a6e299d5?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0135105c-22f2-45d6-afe7-7017f592c4f2" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7b6a316d-569a-4910-a756-cba7e53a1701", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "9" + }, + "ResponseBody": { + "jobId": "6c306807-4d7f-4ab4-96e3-4550a6e299d5", + "lastUpdateDateTime": "2022-05-06T20:00:17Z", + "createdDateTime": "2022-05-06T20:00:16Z", + "expirationDateTime": "2022-05-07T20:00:16Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 2, + "total": 2, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6c306807-4d7f-4ab4-96e3-4550a6e299d5?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3599bd7b-e5a5-449c-a271-2a71270aca6c" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6c13713b-0e5d-4037-8dcd-f20bcb4cb2dc", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:18 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "51" + }, + "ResponseBody": { + "jobId": "6c306807-4d7f-4ab4-96e3-4550a6e299d5", + "lastUpdateDateTime": "2022-05-06T20:00:18Z", + "createdDateTime": "2022-05-06T20:00:16Z", + "expirationDateTime": "2022-05-07T20:00:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:00:18.5925093Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:00:18.7249874Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/6c306807-4d7f-4ab4-96e3-4550a6e299d5?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9dab4e09-608d-478e-9283-6a676aeb000e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e0b510c2-3b96-4b4c-a9f1-08fe50c2c993", + "Content-Length": "842", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:19 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "55" + }, + "ResponseBody": { + "jobId": "6c306807-4d7f-4ab4-96e3-4550a6e299d5", + "lastUpdateDateTime": "2022-05-06T20:00:18Z", + "createdDateTime": "2022-05-06T20:00:16Z", + "expirationDateTime": "2022-05-07T20:00:16Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 0, + "total": 2, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action1", + "lastUpdateDateTime": "2022-05-06T20:00:18.5925093Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "taskName": "action2", + "lastUpdateDateTime": "2022-05-06T20:00:18.7249874Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "0", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json new file mode 100644 index 000000000000..ea60f47a10e5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_input_with_a_language_hint.json @@ -0,0 +1,424 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "320", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f36276a5-2198-4e97-9eaa-70e0ec6f3f73" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "1", + "text": "I will go to the park." + }, + { + "id": "2", + "text": "Este es un document escrito en Espa\u00F1ol." + }, + { + "id": "3", + "text": "\u732B\u306F\u5E78\u305B" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "cbb4453d-0085-498f-b1b4-d21268330371", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:14 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/0b53299f-1692-477f-944c-b5e328aa4d62?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "249" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0b53299f-1692-477f-944c-b5e328aa4d62?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a5421db9-8806-4edf-b10d-16357e632c7f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "88e3bf91-b69b-419e-b0d1-de656c924cb2", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "0b53299f-1692-477f-944c-b5e328aa4d62", + "lastUpdateDateTime": "2022-05-06T20:01:15Z", + "createdDateTime": "2022-05-06T20:01:15Z", + "expirationDateTime": "2022-05-07T20:01:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0b53299f-1692-477f-944c-b5e328aa4d62?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f50731c1-afe5-4c32-a214-b805355a8aab" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "9c24e315-052f-4fd8-a741-130425e38789", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "0b53299f-1692-477f-944c-b5e328aa4d62", + "lastUpdateDateTime": "2022-05-06T20:01:15Z", + "createdDateTime": "2022-05-06T20:01:15Z", + "expirationDateTime": "2022-05-07T20:01:15Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0b53299f-1692-477f-944c-b5e328aa4d62?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a8d486f9-b1e3-48b7-847c-03c1961a5018" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c9a83d44-90e4-40d6-a56f-4219666d04dc", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "134" + }, + "ResponseBody": { + "jobId": "0b53299f-1692-477f-944c-b5e328aa4d62", + "lastUpdateDateTime": "2022-05-06T20:01:17Z", + "createdDateTime": "2022-05-06T20:01:15Z", + "expirationDateTime": "2022-05-07T20:01:15Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:16.8174489Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:16.9067431Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:17.5051246Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/0b53299f-1692-477f-944c-b5e328aa4d62?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "3b227dfe-b2cc-4c3a-a82e-e43c52f87c35" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ae531a89-c8c1-47b7-98f2-86768422fd37", + "Content-Length": "1509", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:17 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "159" + }, + "ResponseBody": { + "jobId": "0b53299f-1692-477f-944c-b5e328aa4d62", + "lastUpdateDateTime": "2022-05-06T20:01:17Z", + "createdDateTime": "2022-05-06T20:01:15Z", + "expirationDateTime": "2022-05-07T20:01:15Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:16.8174489Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "entities": [ + { + "text": "park", + "category": "Location", + "offset": 17, + "length": 4, + "confidenceScore": 0.99 + } + ], + "warnings": [] + }, + { + "id": "2", + "entities": [ + { + "text": "Espa\u00F1ol", + "category": "Skill", + "offset": 31, + "length": 7, + "confidenceScore": 0.94 + } + ], + "warnings": [] + }, + { + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:16.9067431Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "I will go to the park.", + "id": "1", + "entities": [], + "warnings": [] + }, + { + "redactedText": "Este es un document escrito en Espa\u00F1ol.", + "id": "2", + "entities": [], + "warnings": [] + }, + { + "redactedText": "\u732B\u306F\u5E78\u305B", + "id": "3", + "entities": [], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:17.5051246Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "1", + "keyPhrases": [ + "park" + ], + "warnings": [] + }, + { + "id": "2", + "keyPhrases": [ + "Espa\u00F1ol", + "document" + ], + "warnings": [] + }, + { + "id": "3", + "keyPhrases": [ + "\u306F\u5E78\u305B" + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-06-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..575f72fc9791 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_language_hint.json @@ -0,0 +1,762 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cdcef3fc-48e0-41be-98bb-99c76e905bae" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "57de7983-93f1-40ce-be35-ed410486b164", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:00:55 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "220" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b83f06c1-a1f7-489e-a6b1-c23c3183a322" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2de28c7b-f55e-4901-a84d-62580665d0af", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "11" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:00:55Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b3780b5d-79cc-4f4d-84d6-64727767a235" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "6758d063-94e0-483b-a51d-17bba1a4a0c5", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:55 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:00:56Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "26b45948-c484-4e51-8055-ea2fe512c026" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d5327005-70de-4a52-99d9-ee830104ab06", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:00:57 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "235" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:00:57Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.4730426Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.5731959Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d3442d89-e9fd-460e-a877-b5093a9fd274" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c301a09f-e5f7-4a1a-bc5e-5ff3c2cdfe28", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:00 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "132" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:00:57Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.4730426Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.5731959Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b13f2e62-bccf-4ad3-87c1-cf31cd0aee0e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "82f97cd4-ce12-42cf-97b0-c459ecd880d2", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:02 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "151" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:00:57Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.4730426Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.5731959Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1916c705-2086-4209-9fdc-2c4a10bc5b33" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7b790aea-6be3-47d5-b405-5597d68474f5", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "146" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:01:03Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.4730426Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.5731959Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:03.7489568Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/a4a527f5-16c7-498b-9f95-cb12be75c7f9?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e6ea3ba4-eec5-43b5-99bf-7e0cbcd8dc6f" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "16af89a8-31eb-470c-a0dc-dea1918bded3", + "Content-Length": "1601", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "140" + }, + "ResponseBody": { + "jobId": "a4a527f5-16c7-498b-9f95-cb12be75c7f9", + "lastUpdateDateTime": "2022-05-06T20:01:03Z", + "createdDateTime": "2022-05-06T20:00:55Z", + "expirationDateTime": "2022-05-07T20:00:55Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.4730426Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:00:57.5731959Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:03.7489568Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json new file mode 100644 index 000000000000..800a3fe3d7e0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior/recording_whole_batch_with_no_language_hint.json @@ -0,0 +1,762 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "429", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5c0babb8-8541-4b05-9d19-67c023d02446" + }, + "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": [ + { + "kind": "EntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "KeyPhraseExtraction", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "83a441f7-0427-4645-b6ee-2808618093da", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:05 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "253" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5001eaa9-f1a9-4657-9cc2-3825c5afe6f0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4d8fa861-5f80-4b11-ac80-4b1d7840b56a", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:05Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e10ff2ac-9e8b-47c0-ac67-0fd692783632" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "10c37447-cdfd-4715-8f92-4f87b9f74ec2", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:05 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:05Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 3, + "total": 3, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cd6f6933-ff1b-48bd-b209-bec344da6fe0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d585c45e-7b78-428c-88e7-a1121d9d770b", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:07 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "89" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:07Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3333499Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3160625Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "37d483a3-9b22-4d2a-ad70-3c705e009f7a" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "b9f98ed3-22db-467c-aaba-091dd0af6d82", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:09 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "89" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:07Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3333499Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3160625Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6da070c5-22ae-48b8-bb5e-a43379e6aba0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "506f397a-5f8c-4dea-b462-7ca0b436ec13", + "Content-Length": "1260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:12 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "128" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:07Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "running", + "errors": [], + "tasks": { + "completed": 2, + "failed": 0, + "inProgress": 1, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3333499Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3160625Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8fcb10af-0086-45ad-b145-d98f8cada895" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "98939cf8-306c-4d82-a2ac-1149137e0d66", + "Content-Length": "1600", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "130" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:13Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3333499Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3160625Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:13.589501Z", + "status": "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" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/e9c63d07-fb27-4af0-bf52-aab79aa0edba?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "98877c0c-fe93-4db1-bf3e-c616fb055f66" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5cf86049-8b52-42c8-a51e-37cffa18cfff", + "Content-Length": "1600", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:14 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "131" + }, + "ResponseBody": { + "jobId": "e9c63d07-fb27-4af0-bf52-aab79aa0edba", + "lastUpdateDateTime": "2022-05-06T20:01:13Z", + "createdDateTime": "2022-05-06T20:01:05Z", + "expirationDateTime": "2022-05-07T20:01:05Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 3, + "failed": 0, + "inProgress": 0, + "total": 3, + "items": [ + { + "kind": "EntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3333499Z", + "status": "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" + } + }, + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:07.3160625Z", + "status": "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" + } + }, + { + "kind": "KeyPhraseExtractionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:13.589501Z", + "status": "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" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json new file mode 100644 index 000000000000..d5f466d68f95 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_bad_request_empty_string.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "125", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "a0f2fbfe-707f-4444-a8f9-4bad8e1231c7" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "EntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "73a284e5-db95-4337-b323-7012f2c8ab86", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Document text is empty." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json new file mode 100644 index 000000000000..f358992ca909 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_big_document_causes_a_warning.json @@ -0,0 +1,245 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "5239", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "1f18e416-ece3-4991-870d-bd414f98f3a3" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "6dcd17ef-7e0c-432b-8f15-c4dc2aa20624", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:53 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/4970e68d-07a5-41a5-bfcb-da5b0d45cb45?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "124" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4970e68d-07a5-41a5-bfcb-da5b0d45cb45?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e41b3c8b-1b0f-4c15-8821-42cdf25b7bfb" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "5fc1ac3b-b41a-4e47-8ab3-76f6afa2f369", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "4970e68d-07a5-41a5-bfcb-da5b0d45cb45", + "lastUpdateDateTime": "2022-05-06T20:01:54Z", + "createdDateTime": "2022-05-06T20:01:54Z", + "expirationDateTime": "2022-05-07T20:01:54Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4970e68d-07a5-41a5-bfcb-da5b0d45cb45?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6e0d6520-d63b-4584-beb5-5ecfdccbf359" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f1a84e74-c0bd-4470-a813-573daef0efe3", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "4970e68d-07a5-41a5-bfcb-da5b0d45cb45", + "lastUpdateDateTime": "2022-05-06T20:01:54Z", + "createdDateTime": "2022-05-06T20:01:54Z", + "expirationDateTime": "2022-05-07T20:01:54Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4970e68d-07a5-41a5-bfcb-da5b0d45cb45?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e6ec4eb4-c714-441c-9088-e9c5d80528a7" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "67d885f6-3217-4a52-82b3-280db6062180", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "37" + }, + "ResponseBody": { + "jobId": "4970e68d-07a5-41a5-bfcb-da5b0d45cb45", + "lastUpdateDateTime": "2022-05-06T20:01:56Z", + "createdDateTime": "2022-05-06T20:01:54Z", + "expirationDateTime": "2022-05-07T20:01:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:56.5210261Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/4970e68d-07a5-41a5-bfcb-da5b0d45cb45?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "78d89b1b-9ec0-4b7f-9feb-c7494953872e" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "ad91c113-225a-438e-ab03-f46aab8b8f64", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "29" + }, + "ResponseBody": { + "jobId": "4970e68d-07a5-41a5-bfcb-da5b0d45cb45", + "lastUpdateDateTime": "2022-05-06T20:01:56Z", + "createdDateTime": "2022-05-06T20:01:54Z", + "expirationDateTime": "2022-05-07T20:01:54Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:56.5210261Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [], + "relations": [], + "warnings": [ + { + "code": "DocumentTruncated", + "message": "Document is large and must be split to be processed; relations across splits may not be caught by the model" + } + ] + } + ], + "errors": [], + "modelVersion": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json new file mode 100644 index 000000000000..b4caa494e04b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_duplicate_actions_of_the_same_type_are_disallowed.json @@ -0,0 +1,60 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "198", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f73671f6-7e48-4ca9-96a0-b97028a9c6cf" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": {} + }, + { + "kind": "PiiEntityRecognition", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "1b1097dc-509e-4d9d-9e82-4b77b1ccee34", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "4" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "InvalidTask in AnalyzeInput", + "innererror": { + "code": "InvalidRequestBodyFormat", + "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json new file mode 100644 index 000000000000..39f02c7e3d78 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_malformed_action.json @@ -0,0 +1,58 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "170", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5a2a6647-74f9-4807-8f07-12514224b92d" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "I will go to the park.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "modelVersion": "bad" + } + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "c7e5b94f-94bd-4b7f-ab4d-9b9e2db1000a", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 12 May 2022 22:36:44 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "5" + }, + "ResponseBody": { + "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." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json new file mode 100644 index 000000000000..ffc1a5f0e9b6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_payload_too_large.json @@ -0,0 +1,2551 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "710471", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "295c0c2a-b478-4d1e-93b3-4224f18b7e09" + }, + "RequestBody": { + "analysisInput": { + "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 413, + "ResponseHeaders": { + "apim-request-id": "5b694fa4-baca-429e-9cbe-95ebff30d963", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:53 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "Transfer-Encoding": "chunked", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "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: 125000" + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json new file mode 100644 index 000000000000..73ed234b6eaa --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_errors_and_warnings/recording_too_many_documents.json @@ -0,0 +1,181 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "1345", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "6eb8c85b-e2ad-4a0d-bf55-721246ef5a21" + }, + "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": "random text", + "language": "en" + }, + { + "id": "25", + "text": "random text", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": {} + } + ] + }, + "StatusCode": 400, + "ResponseHeaders": { + "apim-request-id": "aaaae0b0-3034-4e43-86a3-fa110d221c80", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 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": "5" + }, + "ResponseBody": { + "error": { + "code": "InvalidRequest", + "message": "Invalid Document in request.", + "innererror": { + "code": "InvalidDocumentBatch", + "message": "Batch request contains too many records. Max 25 records are permitted." + } + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json new file mode 100644 index 000000000000..65a084e78a06 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier.json @@ -0,0 +1,253 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "222", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5c8111be-fdf9-4eb7-b769-61ab8ef275a5" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "PiiEntityRecognition", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "ea934956-d3d0-4c85-8cbd-44b3f3ba6b71", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:56 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/d7c581cd-1023-42c7-9206-bcc65e536447?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "148" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7c581cd-1023-42c7-9206-bcc65e536447?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "243f8701-180b-4b50-b1bc-d65c8aad4915" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "4ebe9edc-8dc3-43cc-9b77-e5bcf69b943e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "d7c581cd-1023-42c7-9206-bcc65e536447", + "lastUpdateDateTime": "2022-05-06T20:01:56Z", + "createdDateTime": "2022-05-06T20:01:56Z", + "expirationDateTime": "2022-05-07T20:01:56Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7c581cd-1023-42c7-9206-bcc65e536447?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "d4637a0f-da12-4ec4-a3cd-b3eff79549db" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "c81d4438-b32d-4eee-b39b-3efa59b2320e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:56 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "d7c581cd-1023-42c7-9206-bcc65e536447", + "lastUpdateDateTime": "2022-05-06T20:01:56Z", + "createdDateTime": "2022-05-06T20:01:56Z", + "expirationDateTime": "2022-05-07T20:01:56Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7c581cd-1023-42c7-9206-bcc65e536447?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "9a4c3c60-6d0d-4f33-a6c4-2f35edcaa6ea" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "d90e836a-2d8c-4def-9b79-be457ddfd9b9", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:58 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "46" + }, + "ResponseBody": { + "jobId": "d7c581cd-1023-42c7-9206-bcc65e536447", + "lastUpdateDateTime": "2022-05-06T20:01:58Z", + "createdDateTime": "2022-05-06T20:01:56Z", + "expirationDateTime": "2022-05-07T20:01:56Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:58.5943056Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/d7c581cd-1023-42c7-9206-bcc65e536447?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "41747f3d-eda6-49ac-95f5-1e7e92411b5d" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2a0bac73-f11f-4c7f-b756-e152798f0a4b", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "47" + }, + "ResponseBody": { + "jobId": "d7c581cd-1023-42c7-9206-bcc65e536447", + "lastUpdateDateTime": "2022-05-06T20:01:58Z", + "createdDateTime": "2022-05-06T20:01:56Z", + "expirationDateTime": "2022-05-07T20:01:56Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "PiiEntityRecognitionLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:58.5943056Z", + "status": "succeeded", + "results": { + "documents": [ + { + "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", + "id": "0", + "entities": [ + { + "text": "859-98-0987", + "category": "USSocialSecurityNumber", + "offset": 17, + "length": 11, + "confidenceScore": 0.65 + } + ], + "warnings": [] + } + ], + "errors": [], + "modelVersion": "2021-01-15" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json new file mode 100644 index 000000000000..270ae1eae93a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -0,0 +1,499 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "205", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b53d0688-ea27-4f44-8eea-2c576a5b7afd" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "UnicodeCodePoint" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "68f1d845-39c9-4380-a606-eb2c44796c11", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:02:01 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "122" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "54300685-3291-4b5e-a004-ddb4eb29da80" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "e3fb0432-0c6f-4003-a198-71689dc8d2ac", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2", + "lastUpdateDateTime": "2022-05-06T20:02:01Z", + "createdDateTime": "2022-05-06T20:02:01Z", + "expirationDateTime": "2022-05-07T20:02:01Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2f344a13-72f6-421c-8105-2c7711fd88bd" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "db3a170a-fb77-4869-95e4-5f4517cfb38e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "8" + }, + "ResponseBody": { + "jobId": "63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2", + "lastUpdateDateTime": "2022-05-06T20:02:01Z", + "createdDateTime": "2022-05-06T20:02:01Z", + "expirationDateTime": "2022-05-07T20:02:01Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "2943ccb1-822c-4f93-8a75-d5f4b5b11d95" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2c443220-533c-4563-88eb-4c8d24768959", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "30" + }, + "ResponseBody": { + "jobId": "63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2", + "lastUpdateDateTime": "2022-05-06T20:02:02Z", + "createdDateTime": "2022-05-06T20:02:01Z", + "expirationDateTime": "2022-05-07T20:02:01Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:02.3791831Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0d6ac7c2-71cd-4841-b12b-a542b86cd9c0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "f5557217-a1fb-4615-bb60-c02eaf83131e", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:03 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "34" + }, + "ResponseBody": { + "jobId": "63fa8dec-f8f8-48c1-ba4d-5f66d694b4c2", + "lastUpdateDateTime": "2022-05-06T20:02:02Z", + "createdDateTime": "2022-05-06T20:02:01Z", + "expirationDateTime": "2022-05-07T20:02:01Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:02:02.3791831Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 12, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json new file mode 100644 index 000000000000..1651f798965e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalysisclient_analyzebatch_general_behavior_stringindextype/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -0,0 +1,499 @@ +{ + "Entries": [ + { + "RequestUri": "https://endpoint/language/analyze-text/jobs?api-version=2022-04-01-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Content-Length": "202", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "acb78b50-f2b0-4cd0-854d-927d6719e3c3" + }, + "RequestBody": { + "analysisInput": { + "documents": [ + { + "id": "0", + "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", + "language": "en" + } + ] + }, + "tasks": [ + { + "kind": "Healthcare", + "parameters": { + "stringIndexType": "Utf16CodeUnit" + } + } + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "apim-request-id": "5555f3ca-e04a-417a-921b-836da109fb60", + "Content-Length": "0", + "Date": "Fri, 06 May 2022 20:01:59 GMT", + "operation-location": "https://endpoint/language/analyze-text/jobs/1a7a27f7-9451-48be-812c-4539c34177c0?api-version=2022-04-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "150" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1a7a27f7-9451-48be-812c-4539c34177c0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "eb143726-321b-4d26-8810-4640e9a0b473" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "122eadb8-a42c-4f80-b610-a2c3b2759e56", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "10" + }, + "ResponseBody": { + "jobId": "1a7a27f7-9451-48be-812c-4539c34177c0", + "lastUpdateDateTime": "2022-05-06T20:01:59Z", + "createdDateTime": "2022-05-06T20:01:59Z", + "expirationDateTime": "2022-05-07T20:01:59Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1a7a27f7-9451-48be-812c-4539c34177c0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "8d541b60-b3c5-4be7-97eb-cf946080f8c0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "7dd54316-cc97-4f49-8e79-92b63ff3410e", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:01:59 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7" + }, + "ResponseBody": { + "jobId": "1a7a27f7-9451-48be-812c-4539c34177c0", + "lastUpdateDateTime": "2022-05-06T20:01:59Z", + "createdDateTime": "2022-05-06T20:01:59Z", + "expirationDateTime": "2022-05-07T20:01:59Z", + "status": "notStarted", + "errors": [], + "tasks": { + "completed": 0, + "failed": 0, + "inProgress": 1, + "total": 1, + "items": [] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1a7a27f7-9451-48be-812c-4539c34177c0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "faf54017-4cec-4b94-a1d1-387b8f4a679b" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2aa96161-8132-4ad6-9fb7-a3ed5a9563f2", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "51" + }, + "ResponseBody": { + "jobId": "1a7a27f7-9451-48be-812c-4539c34177c0", + "lastUpdateDateTime": "2022-05-06T20:01:59Z", + "createdDateTime": "2022-05-06T20:01:59Z", + "expirationDateTime": "2022-05-07T20:01:59Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:59.6385092Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + }, + { + "RequestUri": "https://endpoint/language/analyze-text/jobs/1a7a27f7-9451-48be-812c-4539c34177c0?api-version=2022-04-01-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip,deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "api_key", + "User-Agent": "azsdk-js-ai-text-analytics/6.0.0-beta.1 core-rest-pipeline/1.8.1 Node/v16.13.2 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "dc08ac63-3239-4871-82b0-81fe2b8ff4cc" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "apim-request-id": "2980cbb2-4214-42bb-9ddf-4be179202782", + "Content-Length": "1787", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 06 May 2022 20:02:01 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "36" + }, + "ResponseBody": { + "jobId": "1a7a27f7-9451-48be-812c-4539c34177c0", + "lastUpdateDateTime": "2022-05-06T20:01:59Z", + "createdDateTime": "2022-05-06T20:01:59Z", + "expirationDateTime": "2022-05-07T20:01:59Z", + "status": "succeeded", + "errors": [], + "tasks": { + "completed": 1, + "failed": 0, + "inProgress": 0, + "total": 1, + "items": [ + { + "kind": "HealthcareLROResults", + "lastUpdateDateTime": "2022-05-06T20:01:59.6385092Z", + "status": "succeeded", + "results": { + "documents": [ + { + "id": "0", + "entities": [ + { + "offset": 20, + "length": 9, + "text": "ibuprofen", + "category": "MedicationName", + "confidenceScore": 0.95, + "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": "2022-03-01" + } + } + ] + } + } + } + ], + "Variables": {} +} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json deleted file mode 100644 index 454de27122c5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000002-0000000000000004-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2c969109-8491-4148-9502-44d01e104ce9" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c252dc98-62de-42a3-849a-6554d90aa57a", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:58:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "389" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 5c3df673bbe6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000003-0000000000000006-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "307ded3f-221c-45d6-ad3c-5dbbff9ceb3f" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "30395cc1-72a2-4b15-bf01-236832c1ab3d", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:58:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "176" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json deleted file mode 100644 index f9663b19cb12..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000007-0000000000000014-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "86502000-e89c-4ae2-808e-59f24a054e82" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "33443c55-dc10-4f14-b708-b2ad4dcc3448", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 18:59:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "273" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer." - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json deleted file mode 100644 index fd594314a7ea..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "84", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000009-0000000000000018-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6760927f-7a6e-4ef1-bf42-904608af2bfb" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "The food and service is not good", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f276b695-88e0-478c-9bfa-faadaeca54ee", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "140" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json deleted file mode 100644 index 9fa5eb095bb4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "70", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000010-0000000000000020-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "595609c0-da90-4578-8015-540dfe7e7b3a" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "today is a hot day", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "91062806-036e-4bb2-9fe5-90d4b639973f", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "133" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json deleted file mode 100644 index 3583407921be..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "126", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000008-0000000000000016-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dd0daa5e-8598-402c-be23-0086968b079d" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "It has a sleek premium aluminum design that makes it beautiful to look at.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5d2715de-487a-4622-9be4-72d92b9d365d", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:01 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "127" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} 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.json 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.json deleted file mode 100644 index d9fad7a9a659..000000000000 --- 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.json +++ /dev/null @@ -1,700 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit\u0026opinionMining=true", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "622", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000005-0000000000000010-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "492b806d-2bdf-42bb-90eb-2fc1ba1143db" - }, - "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" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "97c72233-cc0c-4e23-a9a9-a9acc9dacfdb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", - "Date": "Fri, 18 Feb 2022 18:58:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "152" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json deleted file mode 100644 index 78a939612ef6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json +++ /dev/null @@ -1,181 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "531", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000006-0000000000000012-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a1ee9ebc-2ca6-4c85-852f-d9b4c7a2b7b8" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "67fb5679-7d5e-4c00-8bb6-2807946eaa62", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "159" - }, - "ResponseBody": { - "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\u0027t 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\u0027t 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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json deleted file mode 100644 index b9b19f5879f1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/sentiment?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000004-0000000000000008-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e805373e-9367-4810-8fc2-037987e06aa5" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Hello world!", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4dfdce1c-7186-4703-a74b-ae725a35fb7c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:58:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json deleted file mode 100644 index 09f8a8cfd1b0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "65", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000012-0000000000000024-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "41fa7899-1cf0-41e7-85b9-ecac5b0450a4" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "impossible", - "countryHint": "fr" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "52a140e1-6676-40c0-9fab-563691c5b097", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "French", - "iso6391Name": "fr", - "confidenceScore": 1.0 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json deleted file mode 100644 index 139ac1ef7c4a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "651", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000016-0000000000000032-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a05ceec5-ffc3-4564-959a-d41f6b0fe1e7" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "mx" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cc00b97c-13cb-4b19-844f-1bc173126f71", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 18:59:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json deleted file mode 100644 index 54dcb7bda7ee..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "506", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000011-0000000000000022-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "db9f08f4-1ffc-4218-ab80-1afd15b46be9" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "countryHint": "us" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fce43d7a-05a7-4f96-8d69-73739739255b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json deleted file mode 100644 index b2c354f49796..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "715", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000014-0000000000000028-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "43c31285-8662-422c-9bde-e482a3c6a4da" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "40f64202-daaa-4c75-b948-abcc93489251", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 18:59:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json deleted file mode 100644 index c217fbca8f48..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "97", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000013-0000000000000026-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b91b7ac9-502f-464b-ba73-40b471d72246" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I use Azure Functions to develop my service.", - "countryHint": "" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c346c7a5-5a57-4e5c-ae5f-196acfeb4b79", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "detectedLanguage": { - "name": "English", - "iso6391Name": "en", - "confidenceScore": 0.95 - }, - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json deleted file mode 100644 index 1c91428f65f7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/languages", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "72", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000015-0000000000000030-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cfd72c25-2c6a-4720-b0a4-a2624c7dd652" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "hello", - "countryHint": "invalidcountry" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "432f651b-e452-4c7e-93da-d03666287639", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "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-11-20" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index 2b945e40b725..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000025-0000000000000050-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ecc92ef5-aeb0-4c43-84dd-890af9308c7e" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "53ff0376-963d-434d-a738-3d133996071c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "Date": "Fri, 18 Feb 2022 18:59:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "16" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "4", - "keyPhrases": [ - "last book" - ], - "warnings": [] - }, - { - "id": "5", - "keyPhrases": [ - "Monte Rainier", - "caminos" - ], - "warnings": [] - }, - { - "id": "6", - "keyPhrases": [ - "mucho tr\u00E1fico", - "d\u00EDa", - "carretera", - "ayer" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index d73ca1f6f5f7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000023-0000000000000046-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4440e977-fca6-403f-8658-15157ad88542" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5f5d37d5-c49b-48b5-b156-70f38fbf2e97", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "20" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 5cae60713c8a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000022-0000000000000044-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9033d2f4-4ab3-4e8a-a41a-b81e63ddf327" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e80596ea-9fda-4257-8d93-d5909e0a32a8", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "keyPhrases": [ - "wonderful trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "1", - "keyPhrases": [ - "entire trip", - "Space Needle", - "Seattle" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "movie", - "Saturday" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "last book" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index 2e7951b79382..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/keyPhrases", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000024-0000000000000048-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "222c00a2-ee68-4af4-9cdd-6e0fed39084c" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "99f03562-1a42-4873-95f2-e4934abe937a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index a661319582ae..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000020-0000000000000040-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bd66b60c-ee23-4c74-9aaf-0c777e55db9a" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d722031a-5f60-484d-a0f9-510a506c9308", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 18:59:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.85 - } - ], - "warnings": [] - }, - { - "id": "5", - "entities": [ - { - "text": "carretera", - "category": "Location", - "offset": 3, - "length": 9, - "confidenceScore": 0.81 - }, - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index 14303cec2f84..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000018-0000000000000036-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "37293115-4fd8-4240-8ccf-1c054fcfbd1d" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "43fbba90-9e70-4fd5-8e56-58ba9a63c46c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "52" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index ba65b5ff07bc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000017-0000000000000034-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0ba4f3ae-887f-49b3-9f85-47e56edb7ffb" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2d3568b9-477b-4215-92ba-2fb2db917b60", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:07 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "trip", - "category": "Event", - "offset": 18, - "length": 4, - "confidenceScore": 0.61 - }, - { - "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.96 - }, - { - "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.82 - }, - { - "text": "Seattle", - "category": "Location", - "subcategory": "GPE", - "offset": 50, - "length": 7, - "confidenceScore": 1.0 - }, - { - "text": "Space Needle", - "category": "Location", - "offset": 90, - "length": 12, - "confidenceScore": 0.92 - } - ], - "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.92 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json deleted file mode 100644 index 197aa19f7c5e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000021-0000000000000042-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e2c9ced1-f53a-4cd2-bc0f-05399f43354c" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "d4faa034-3372-429b-a819-36f004df6ba2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index 9f114af675f5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000019-0000000000000038-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f75e4360-750c-4685-81b1-9b1bf7c15680" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ce4d349c-d39b-4064-a41d-7b4a6478558f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index 48e994bb1b8b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000039-0000000000000078-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ad5bc4fb-767d-44ba-b058-e21d0261d8b8" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4964ee30-f274-4218-8c79-b4b74c869284", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 18:59:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "49" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index 4453b24d3c8d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000037-0000000000000074-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3c69eda0-d1f7-4a5d-83b5-f968469b4263" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dd61374c-6728-41fe-b93b-8460fe7e1244", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index f5b1c6451f8f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000036-0000000000000072-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a9fbfe4e-2c8d-4efc-9f69-bf407a965f98" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "53152616-1e6e-4f60-9216-f650093bf6d7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json deleted file mode 100644 index f85e8aae5c80..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/general?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "709", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000040-0000000000000080-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "842798aa-af98-4b86-8e25-67b35542cf5c" - }, - "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\u0027t 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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "6542985a-1284-48b9-b29d-012e26d532e9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 5 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index 01f842a6ae50..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/linking?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000038-0000000000000076-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5b80a180-d76e-475b-b878-eafc4d31de3d" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ed6cb271-be9d-4cf4-9ed3-2e9b22516128", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json deleted file mode 100644 index 25aa8f6b2c0c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026domain=PHI", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "107", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000032-0000000000000064-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "10a91f0e-8bcd-447c-9042-681f508d1cbc" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "I work at Microsoft and my phone number is 333-333-3333", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "da1dfbb3-9583-47a2-8630-9aed290da712", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "I work at ********* and my phone number is ************", - "id": "0", - "entities": [ - { - "text": "Microsoft", - "category": "Organization", - "offset": 10, - "length": 9, - "confidenceScore": 0.94 - }, - { - "text": "333-333-3333", - "category": "PhoneNumber", - "offset": 43, - "length": 12, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json deleted file mode 100644 index 96a932792255..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000033-0000000000000066-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e2d42550-a1ed-4097-9978-ade99e0ae858" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0aa1ed2e-6131-4106-baa3-c3f1506d8cf9", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json deleted file mode 100644 index bcd1dbfec22a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "630", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000031-0000000000000062-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0078eeb9-5e6d-4ca1-8ddb-09fce0a38f31" - }, - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ayer.", - "language": "es" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "67c8e043-ad73-4e65-bb61-cbe119ad5721", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "Date": "Fri, 18 Feb 2022 18:59:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "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\u0027t 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\u00EDa mucho tr\u00E1fico el d\u00EDa de ****.", - "id": "5", - "entities": [ - { - "text": "ayer", - "category": "DateTime", - "subcategory": "Date", - "offset": 60, - "length": 4, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json deleted file mode 100644 index cc3dfca09ab3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000028-0000000000000056-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1fff3cc3-55d3-4fb3-ad0d-5480257716f1" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "49c6c337-9785-4944-93d2-9407ce521fae", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "44" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json deleted file mode 100644 index 5e3f8aff7f0d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "494", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000027-0000000000000054-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "63a84d54-8814-4c7a-9e2a-5f786f09bfc0" - }, - "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\u0027t 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\u0027t like the last book I read at all.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "75de309b-c248-4e56-b3c9-a5174ace173c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Fri, 18 Feb 2022 18:59:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "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\u0027t 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\u0027t like the last book I read at all.", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json deleted file mode 100644 index 8134db158092..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "95", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000029-0000000000000058-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f84dd7db-98d7-4d00-b15e-ccd24dce6c43" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Your Social Security Number is 859-98-0987.", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6f54c84d-efc2-4e0e-9061-2e4469d2e0a0", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json deleted file mode 100644 index 94367acc2788..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "16", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000026-0000000000000052-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a8768bcc-b227-4362-aa67-db2f16adac22" - }, - "RequestBody": { - "documents": [] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "76d65e89-1237-4437-bfe0-484745c5e7d8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid Request.", - "innererror": { - "code": "MissingInputRecords", - "message": "Missing input records." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json deleted file mode 100644 index 3173ebe5ca75..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000034-0000000000000068-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "32f7a30c-dff4-40ec-8ac3-525b7e66501e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5bffa3e7-0e10-4632-8d96-52df1ed24552", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "Patient name is *** and SSN is ***********", - "id": "0", - "entities": [ - { - "text": "Joe", - "category": "Person", - "offset": 16, - "length": 3, - "confidenceScore": 0.78 - }, - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 31, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit\u0026piiCategories=USSocialSecurityNumber", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000035-0000000000000070-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ec4434e3-2a1a-4ded-82ae-4c87283a0a3d" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "Patient name is Joe and SSN is 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aaef8467-c822-408a-bdcf-5b1d1091ba03", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json deleted file mode 100644 index 345be620b93e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000030-0000000000000060-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "23d9d0b7-ba7d-45df-909e-041dc08b9ef8" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This is some text, but it doesn\u0027t matter.", - "language": "notalanguage" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d9a46987-697f-47cd-95b5-af93c641de86", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "2" - }, - "ResponseBody": { - "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" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json deleted file mode 100644 index f2cfc5497662..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000045-0000000000000090-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b82aabb2-b385-4e2c-a90a-967f027bbe36" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5f2d1ba5-fa60-423f-bc64-9fe05aacc1a6", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json deleted file mode 100644 index 29020ad6f801..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000046-0000000000000092-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "620b00e4-a36c-48d7-b1c1-b3544748691e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5982e32f-03db-4793-8622-6b294db2fd42", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json deleted file mode 100644 index 3884526a3cf1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000041-0000000000000082-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6da7e0d7-e1b3-4c4f-93cf-66974d1f03ec" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2e633069-6837-4f0e-8443-408469a72398", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} 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.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 4b1f4aab2bb2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000042-0000000000000084-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9176dd32-fbb4-4841-a77b-bb15db30081f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1c8f3681-8b26-4f6d-80d3-cfb5c21d9273", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json deleted file mode 100644 index b75c1dcfdd0e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000043-0000000000000086-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9240dc93-1199-441b-aaa4-d2a5d9b8db6c" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1063be61-d851-4f4f-a88d-c7300bc8a4a0", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index f419a1dcd86c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000044-0000000000000088-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f5db8967-86d1-4051-8bb5-d4f6213ee07c" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "47f7897e-ef08-4ad5-ba90-cb21ead833fc", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 25, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json deleted file mode 100644 index de06a2cf32a6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000047-0000000000000094-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d19f915e-7874-43a2-bbca-9c6ca48d8da7" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "94b413e9-0ec5-4f84-86d2-a7b3a859b584", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json deleted file mode 100644 index cdf4bbd88333..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000048-0000000000000096-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7cf14997-4e33-4306-975d-23905e3a3220" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8110e68b-948f-42e1-ba9f-3602edf7b4fb", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json deleted file mode 100644 index 456a2d09d974..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000049-0000000000000098-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7254983a-0713-461c-8587-1352bce7bc3a" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e77c1a78-e164-4bde-a3d0-83bbb39a6ff7", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json deleted file mode 100644 index 6a6a3e029bd6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000063-0000000000000126-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "186790c2-d8ba-408c-8a6c-9ed940e460de" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "41f9e2e9-47d2-43e3-84b1-626d278edc0e", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json deleted file mode 100644 index 37445304fd67..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000064-0000000000000128-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "16b2b929-e6ae-47f4-9db2-b5fea800e850" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "217c5e66-4701-44ba-bf23-8f06f830277b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json deleted file mode 100644 index cc0c20cbfc1a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000059-0000000000000118-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8c485383-afcc-41e1-b226-162013070abe" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1080c4e5-6bfa-4d70-9922-8964e083a4b3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 018949371725..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000060-0000000000000120-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "89e1c0c2-d847-44f0-8b00-014f541594d2" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5e04f252-7826-4d2c-82a1-7c88144cccbd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json deleted file mode 100644 index 85b886a92f33..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000061-0000000000000122-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3407213c-c6c3-4a6a-821a-48ccd7e86a7e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6dcfe337-f614-49b3-9485-d47e18859d39", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 860efbdc6e7c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000062-0000000000000124-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6e33f6cd-d0b5-4e10-b0d6-8f7dfd80aca9" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dece0b26-1dfd-4aea-8fde-0cfa8881d16b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json deleted file mode 100644 index 19a558241f67..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000065-0000000000000130-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b3731538-3981-4fbb-b257-a2be8e9549ce" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7b924d9b-488c-4072-936c-bb1968794395", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json deleted file mode 100644 index 350bf235e6af..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000066-0000000000000132-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8c2de250-7d10-4cd1-93f2-794fe1f564e0" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "77632087-777d-494a-8616-0960cb6d8edd", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json deleted file mode 100644 index ec51996301b9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=TextElement_v8", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000067-0000000000000134-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1f38e871-e191-4c1b-b3c8-b70a213fcd4e" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f211e6ad-82bc-47a5-b239-b01259a17203", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json deleted file mode 100644 index 33d9b0cb3415..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000054-0000000000000108-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "75250201-f59e-4f7a-8448-b3e303bc3763" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "a\u00F1o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8cd70385-cf9d-48d2-abaa-298a0814a16c", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "a\u00F1o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 9, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json deleted file mode 100644 index dccd0324b7b7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "74", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000055-0000000000000110-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d7f746a1-fb17-462d-9256-e166da3f1be1" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "an\u0303o SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a5ba45a1-3c0a-4814-a84c-94fa7fd17f29", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "26" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "an\u0303o SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 10, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json deleted file mode 100644 index 51d2e85942ef..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "73", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000050-0000000000000100-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1e7ca25b-36da-494a-9b47-9973ef811105" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e833050e-03c7-44e6-b59a-d936d33a1335", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "25" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 7, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 5da4314c1075..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "77", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000051-0000000000000102-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "84c372f2-bfbb-4110-accf-7df157b30584" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9d977f37-ef16-4ad8-84a4-8920338d09f3", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json deleted file mode 100644 index 9ee57f0c46aa..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "94", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000052-0000000000000104-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b4dfa091-3072-4991-97ee-609b9d13afde" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9648c1d8-2e6e-41ab-8e81-ccfa6b18641d", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\u200D\uD83D\uDC69\u200D\uD83D\uDC67\u200D\uD83D\uDC67 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 13, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json deleted file mode 100644 index 196d6e55e8ed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_with_skin_tone_modifier.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "110", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000053-0000000000000106-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bf40809a-abdc-44ec-82ab-464f0c4e5a12" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "457250d8-e400-49f7-a85a-c5f4777e4ced", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json deleted file mode 100644 index f75960050fed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000056-0000000000000112-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "820e76de-1498-4e07-ab76-e8078d856b1f" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "972fcc49-cddb-4edf-9f38-297918671e9b", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json deleted file mode 100644 index 3e063fc72c61..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "75", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000057-0000000000000114-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "434f639c-9532-4155-8d67-f987884a9573" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uC544\uAC00 SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "29fec400-9fef-4831-8b17-0f8ccb4f58ad", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "\uC544\uAC00 SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 8, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json deleted file mode 100644 index 626a41393769..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/recognition/pii?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "296", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000058-0000000000000116-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ed2f28de-651c-4c16-8780-e9a2f2c04944" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: 859-98-0987", - "language": "en" - } - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5eb152fe-ed2c-4f97-85d7-d36324e04240", - "Content-Type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Fri, 18 Feb 2022 18:59:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "documents": [ - { - "redactedText": "o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 121, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json deleted file mode 100644 index 1bf528642348..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,627 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "497", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000137-0000000000000274-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1ccad2d3-c420-42c9-b38e-7970324867c8" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "4e4eb7d3-78e9-4ae2-ad48-fd5f6281f789", - "Date": "Fri, 18 Feb 2022 19:00:38 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "335" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000138-0000000000000276-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "592a82b5-6255-4f09-b736-aa628000adc5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "23e18f8f-2eba-4ad9-b51c-f5f8de8b1dd6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "e2fcec9a-dc33-4326-817f-353032920122", - "lastUpdateDateTime": "2022-02-18T19:00:39Z", - "createdDateTime": "2022-02-18T19:00:38Z", - "expirationDateTime": "2022-02-19T19:00:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000139-0000000000000278-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2dc1d9db-2f1f-4910-9fa5-aea1cfb45c45" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d1302afa-7ceb-4655-821b-a289fe21b7ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "e2fcec9a-dc33-4326-817f-353032920122", - "lastUpdateDateTime": "2022-02-18T19:00:39Z", - "createdDateTime": "2022-02-18T19:00:38Z", - "expirationDateTime": "2022-02-19T19:00:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000140-0000000000000280-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b41ed854-84d0-40f1-9b65-73cd41cee67b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bc832e5c-b5b5-446b-8103-f1298a86361b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" - }, - "ResponseBody": { - "jobId": "e2fcec9a-dc33-4326-817f-353032920122", - "lastUpdateDateTime": "2022-02-18T19:00:40Z", - "createdDateTime": "2022-02-18T19:00:38Z", - "expirationDateTime": "2022-02-19T19:00:38Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:40.8846771Z", - "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": "2022-02-18T19:00:40.9222756Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000141-0000000000000282-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "120bef1f-531b-4fa8-ae48-95c5c80de54f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1e0d12e4-64b1-4e49-aa04-d6df771e071e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "158" - }, - "ResponseBody": { - "jobId": "e2fcec9a-dc33-4326-817f-353032920122", - "lastUpdateDateTime": "2022-02-18T19:00:42Z", - "createdDateTime": "2022-02-18T19:00:38Z", - "expirationDateTime": "2022-02-19T19:00:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:40.8846771Z", - "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": "2022-02-18T19:00:40.9222756Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:42.9312364Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e2fcec9a-dc33-4326-817f-353032920122?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000142-0000000000000284-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e4e2aa05-d86a-4b25-9572-04b8e7ec474a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4d5f9a89-0b14-4ab5-a6ee-733cd93d11cd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147" - }, - "ResponseBody": { - "jobId": "e2fcec9a-dc33-4326-817f-353032920122", - "lastUpdateDateTime": "2022-02-18T19:00:42Z", - "createdDateTime": "2022-02-18T19:00:38Z", - "expirationDateTime": "2022-02-19T19:00:38Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:40.8846771Z", - "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": "2022-02-18T19:00:40.9222756Z", - "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,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." - } - } - } - ], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:42.9312364Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json deleted file mode 100644 index 6e0ef11bf3d7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "186", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000130-0000000000000260-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "569cd58a-2b74-436d-98ac-420a4cefa41b" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "c7fa427f-b099-4bb2-9ca6-ec7519e40226", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Document text is empty." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json deleted file mode 100644 index e98673a43f16..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_duplicate_actions_of_the_same_type_are_disallowed.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "268", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000227-0000000000000454-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c720029a-103d-4f87-92e4-44fab26c3105" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "13403ec7-9180-4da9-bb6e-cfef250185ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "InvalidTask in AnalyzeInput", - "innererror": { - "code": "InvalidRequestBodyFormat", - "message": "Duplicate task name for task type PersonallyIdentifiableInformation. Make sure each task under a task type has a unique name" - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json deleted file mode 100644 index 27c42c1198f3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json +++ /dev/null @@ -1,562 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "510", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000172-0000000000000344-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9bb7d1dc-3e33-4fe4-adc1-0de1e5b8ed10" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b7fc7964-8d37-41c3-8c18-a7ddd5a19d70", - "Date": "Fri, 18 Feb 2022 19:01:18 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "198" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000173-0000000000000346-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bce73224-538a-4db7-8101-42086162e885" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "18283456-f66c-41eb-ae04-d4cbfb1acfa3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "lastUpdateDateTime": "2022-02-18T19:01:19Z", - "createdDateTime": "2022-02-18T19:01:19Z", - "expirationDateTime": "2022-02-19T19:01:19Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000174-0000000000000348-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "da438b00-e0ce-4471-a7f6-8f054e3b6304" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "94ddc65f-86fa-4697-b529-36f6f96eb78f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "lastUpdateDateTime": "2022-02-18T19:01:19Z", - "createdDateTime": "2022-02-18T19:01:19Z", - "expirationDateTime": "2022-02-19T19:01:19Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000175-0000000000000350-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "41554bd4-3861-4be2-94e7-e6aa474bf821" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "78bdac9d-a53f-4eba-98ea-ed103a90b3a4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "978" - }, - "ResponseBody": { - "jobId": "5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "lastUpdateDateTime": "2022-02-18T19:01:21Z", - "createdDateTime": "2022-02-18T19:01:19Z", - "expirationDateTime": "2022-02-19T19:01:19Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:21.2176281Z", - "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": "2022-02-18T19:01:21.201523Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000176-0000000000000352-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9bf95424-5004-49d0-9f0a-eaad2145ac62" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a5bfa69c-fe67-4bb1-bcb7-360a16fc8a9f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "147" - }, - "ResponseBody": { - "jobId": "5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "lastUpdateDateTime": "2022-02-18T19:01:22Z", - "createdDateTime": "2022-02-18T19:01:19Z", - "expirationDateTime": "2022-02-19T19:01:19Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:22.5431381Z", - "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": "2022-02-18T19:01:21.2176281Z", - "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": "2022-02-18T19:01:21.201523Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000177-0000000000000354-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "279385fe-a218-4bba-a5a0-8f45b06c05f5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "01a75142-a1b6-4b68-ad71-1524bb79b865", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "186" - }, - "ResponseBody": { - "jobId": "5fe3a3f4-71ef-4f35-bd8c-e7740720aaf8", - "lastUpdateDateTime": "2022-02-18T19:01:22Z", - "createdDateTime": "2022-02-18T19:01:19Z", - "expirationDateTime": "2022-02-19T19:01:19Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:22.5431381Z", - "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": "2022-02-18T19:01:21.2176281Z", - "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": "2022-02-18T19:01:21.201523Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json deleted file mode 100644 index 17946fa909de..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "247", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000218-0000000000000436-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f152975f-297a-4f37-93a9-cd0c48020e2a" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: 859-98-0987", - "language": "en" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "UnicodeCodePoint" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "297481fa-20ca-4585-833c-fd0ee1248ea0", - "Date": "Fri, 18 Feb 2022 19:02:14 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000219-0000000000000438-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b7f03902-cf1b-432e-8a3f-7df921140c61" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "128d38dc-573b-474b-bb62-5afab4091775", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:15Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000220-0000000000000440-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "920b8e02-0588-4a7b-99ea-4cfb5d980834" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "198f0ed9-49b3-452f-af93-0c3194febc28", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:15Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000221-0000000000000442-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2735d426-2f08-4456-9985-9e8b891032a5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6becd098-013e-4961-b7d4-5fc981f46dae", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:15Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000222-0000000000000444-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "67ed1d71-d6ca-44c6-b3e2-94db06065022" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ae045479-c0ad-4fa4-b1a0-f211fab3a7aa", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:15Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000223-0000000000000446-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1c7f43c5-70e9-41d4-ab32-820a331becfb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7dc0fda3-7645-4c8b-aff5-c6fe4dcd5100", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:15Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000224-0000000000000448-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3d1af604-cf77-4835-97be-d5bd5e1c66ad" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "af8173c4-cbf9-4523-ba79-4e8803de6ae7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "37" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:22Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:22.7182769Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/18dc5b2a-8117-4a28-b1d0-57644d5ab31b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000225-0000000000000450-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0c549d71-cb4c-400b-9669-ed9090230170" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1de102f1-2edd-4b0a-9597-24f765fee11e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "18dc5b2a-8117-4a28-b1d0-57644d5ab31b", - "lastUpdateDateTime": "2022-02-18T19:02:22Z", - "createdDateTime": "2022-02-18T19:02:15Z", - "expirationDateTime": "2022-02-19T19:02:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:22.7182769Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF SSN: ***********", - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "USSocialSecurityNumber", - "offset": 17, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json deleted file mode 100644 index bf5a9ed0fb41..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json +++ /dev/null @@ -1,609 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "436", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000184-0000000000000368-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2a9f798d-d9b1-4f7a-a781-37a92ddf2cc6" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re 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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "6064b81e-1bd7-4260-a18a-b475c8050dac", - "Date": "Fri, 18 Feb 2022 19:01:31 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "199" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000185-0000000000000370-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "366413f3-2221-4f79-89ed-dd4aa4e8ea5c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "affe305f-f780-48d3-992f-38b23b2b71fd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:31Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000186-0000000000000372-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "60c0605d-b828-4756-a700-897decdbba92" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3be51cbc-213c-4256-98e6-fddcc392eaf4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:32Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000187-0000000000000374-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ad342999-e5ce-41ec-b5a3-2a105eefcb06" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0fa1f633-f4db-4837-a562-4a1708553cdc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "64" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:33Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:33.3401663Z", - "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": "2022-02-18T19:01:33.4111793Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000188-0000000000000376-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b9fb4db9-c4c0-436e-91a0-309ebae0beb7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b1e3b79-d08c-4171-a476-11c0539f3ac8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "61" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:33Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:33.3401663Z", - "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": "2022-02-18T19:01:33.4111793Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000189-0000000000000378-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "11cc70fc-b2b2-4d2c-bd09-502c7fa35f0e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0f89c732-6208-420a-814c-869c968788db", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "71" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:33Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:33.3401663Z", - "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": "2022-02-18T19:01:33.4111793Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000190-0000000000000380-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c854d2e2-ab08-4cf9-b6b9-0cfe38c77acd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a776ca9c-b36f-4870-95d1-81e7f7b9f8ee", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:38Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:33.3401663Z", - "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": "2022-02-18T19:01:33.4111793Z", - "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": "2022-02-18T19:01:38.633224Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/224d500a-d8d4-4123-a029-58376ecdea41?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000191-0000000000000382-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8bbcba74-0928-412e-b7d5-5cae3c62b130" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0040d881-edad-4002-8093-b63a77c82d71", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "96" - }, - "ResponseBody": { - "jobId": "224d500a-d8d4-4123-a029-58376ecdea41", - "lastUpdateDateTime": "2022-02-18T19:01:38Z", - "createdDateTime": "2022-02-18T19:01:31Z", - "expirationDateTime": "2022-02-19T19:01:31Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:33.3401663Z", - "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": "2022-02-18T19:01:33.4111793Z", - "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": "2022-02-18T19:01:38.633224Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json deleted file mode 100644 index 5f369293e3f8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "190", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000226-0000000000000452-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "33d67cc1-6de0-43c3-acf3-051b33c36d32" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "bad", - "stringIndexType": "TextElement_v8" - } - } - ] - } - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "94967135-60c9-430d-915e-8319c67b1694", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "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." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json deleted file mode 100644 index 3f69457ede79..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "92c9ab63-92c3-4ee1-9013-3b9c52f66781" - }, - "RequestBody": { - "displayName": "testJob", - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "63c9fefa-3cb7-4e8c-9569-7b9cd63c6818", - "Date": "Fri, 18 Feb 2022 19:38:21 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "203" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aa172766-4a6f-47bf-b15b-17d04bc2dee5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3dd54ae4-5f33-4760-b38e-95fcbf5e8f57", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c", - "lastUpdateDateTime": "2022-02-18T19:38:21Z", - "createdDateTime": "2022-02-18T19:38:21Z", - "expirationDateTime": "2022-02-19T19:38:21Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a9601c17-e684-4358-b20f-fff006a3f839" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "45f3de56-3338-4cd0-96d3-48cc374807d8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c", - "lastUpdateDateTime": "2022-02-18T19:38:21Z", - "createdDateTime": "2022-02-18T19:38:21Z", - "expirationDateTime": "2022-02-19T19:38:21Z", - "status": "notStarted", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6a6724f3-ae0c-467f-bcaa-844364e57550" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "51e88f9f-b6aa-49f2-a55f-9c7ee42f385d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c", - "lastUpdateDateTime": "2022-02-18T19:38:22Z", - "createdDateTime": "2022-02-18T19:38:21Z", - "expirationDateTime": "2022-02-19T19:38:21Z", - "status": "running", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6f14927d-cf63-4f4d-a901-4ba5008987a9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7d954b92-50b3-47de-b5e8-888b583864e9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:38:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100" - }, - "ResponseBody": { - "jobId": "9a6d42da-a1d5-4b67-8d8c-f5c66aa6534c", - "lastUpdateDateTime": "2022-02-18T19:38:25Z", - "createdDateTime": "2022-02-18T19:38:21Z", - "expirationDateTime": "2022-02-19T19:38:21Z", - "status": "succeeded", - "errors": [], - "displayName": "testJob", - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:38:25.699689Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json deleted file mode 100644 index 802b6da76756..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json +++ /dev/null @@ -1,658 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "440", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000150-0000000000000300-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1a7110a2-4221-4bc4-8daf-04b527ad9cba" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5626ce1c-44c1-4875-ae2b-e135c0a02043", - "Date": "Fri, 18 Feb 2022 19:00:52 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "348" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000151-0000000000000302-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "950fc170-6a63-481f-a039-6bf99af56a90" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2b9ba3c8-c7c1-49a6-aa7f-53556b863df0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:52Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000152-0000000000000304-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ca5ec04d-4cd9-4851-9cb1-cf5e02b02383" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fba46cc3-3f92-41ef-8e2b-3939392a15e3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "44" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:53Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000153-0000000000000306-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4220d775-66ea-41f9-96c6-29189c016da2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cb03871c-211c-4eb3-97a4-591a2710e3c4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "66" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:55Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:55.0882017Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000154-0000000000000308-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "07d14759-fbb8-4aa2-810a-87a021fdb625" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e2f3f26a-c496-441b-ab2e-e82908d6c09f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "158" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:56Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:55.0882017Z", - "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": "2022-02-18T19:00:55.9996668Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000155-0000000000000310-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "77d36f65-6570-426e-bb03-51ba6a530c06" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ecd6d054-fd3c-46dd-87a2-4aaed21b9b3f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "842" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:57Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:55.0882017Z", - "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": "2022-02-18T19:00:55.9996668Z", - "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": "2022-02-18T19:00:57.3733007Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/735e70b8-2f46-411c-89b4-688cafa425ba?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000156-0000000000000312-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3bed53e6-7c4f-4320-bc2f-c7566c87fb67" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9225135e-62c9-43f8-991e-89ef17d63491", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "254" - }, - "ResponseBody": { - "jobId": "735e70b8-2f46-411c-89b4-688cafa425ba", - "lastUpdateDateTime": "2022-02-18T19:00:57Z", - "createdDateTime": "2022-02-18T19:00:52Z", - "expirationDateTime": "2022-02-19T19:00:52Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:55.0882017Z", - "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": "2022-02-18T19:00:55.9996668Z", - "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": "2022-02-18T19:00:57.3733007Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} 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.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json deleted file mode 100644 index b5cb8adad89c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json +++ /dev/null @@ -1,674 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "447", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000143-0000000000000286-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c43461ad-7685-422f-b6fb-39fae1c89357" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "82a75ab4-8ab6-4d07-b690-13b62dfe3030", - "Date": "Fri, 18 Feb 2022 19:00:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "225" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000144-0000000000000288-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1d7536c9-24ab-4c65-8e24-9a83f83e3060" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "92c5079f-055f-47d5-826a-4ba5fae8d2e8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:44Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000145-0000000000000290-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5374f88a-3cf0-4f71-a894-c72322a7f9d8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "05cf717c-6117-4432-90a6-6b5ece69c412", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:45Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000146-0000000000000292-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0c12cceb-7513-4d58-91e5-98b6427b8a09" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "01232a11-2523-4f47-b746-167bf03b2c5d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:45Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000147-0000000000000294-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5d31c835-6243-4839-86c7-25050deefbcb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9642dbd8-fdcb-4c88-98fb-5e8444721d6e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:48Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:48.9841083Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000148-0000000000000296-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "95f3a0d1-7d77-4f4c-aebd-3c1da71e44a3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8e4b9ab6-5f3b-42df-a315-078260947517", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "189" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:49Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:49.7946302Z", - "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": "2022-02-18T19:00:48.9841083Z", - "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": "2022-02-18T19:00:49.2394054Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/fe88074d-ddeb-4405-91a7-f955130e7806?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000149-0000000000000298-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "72bb27cc-b38c-4463-aa07-98db739b506b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4cf15411-9750-4f57-a1f2-23ca24c74d4e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "313" - }, - "ResponseBody": { - "jobId": "fe88074d-ddeb-4405-91a7-f955130e7806", - "lastUpdateDateTime": "2022-02-18T19:00:49Z", - "createdDateTime": "2022-02-18T19:00:44Z", - "expirationDateTime": "2022-02-19T19:00:44Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:49.7946302Z", - "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": "2022-02-18T19:00:48.9841083Z", - "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": "2022-02-18T19:00:49.2394054Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json deleted file mode 100644 index 77d255afe56e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json +++ /dev/null @@ -1,1833 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "1471", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000192-0000000000000384-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9f958fe5-e9c7-4142-a689-3eda6d27da94" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3abe1c2e-c04c-4a90-ba59-6e23586b8f3d", - "Date": "Fri, 18 Feb 2022 19:01:41 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "619" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000193-0000000000000386-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f7150ed7-9132-4e45-8651-e0cd30e57402" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4024762c-a136-4b0e-95d9-52bfb6e051d0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:42Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000194-0000000000000388-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "de1376ee-b8f5-4f5a-a02c-f3aacbddae82" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dc686ac8-4c84-48e2-af7b-0e543e444aab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:42Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000195-0000000000000390-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d5d0cc2f-2aac-43b1-aa9d-d991185b6cf1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "210e085d-7042-4136-ae1e-a667d6073687", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:43 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:42Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000196-0000000000000392-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "984d8813-643e-4f67-bebb-9bb35cfbff4d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8f7983e7-8c3f-473b-b6f0-87c6085f7c9e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:42Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000197-0000000000000394-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cb75d313-61a5-45ee-a0ab-b2a2277febef" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d4478b14-b0ba-4a45-be74-066d8ad52650", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:48Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000198-0000000000000396-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0df60d7a-6a83-4499-9cb9-39a2a7931975" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6c775de2-f296-41a6-9260-12354144468c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:48Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000199-0000000000000398-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "57ecfb58-a9ce-42ff-8065-22c84a6643a2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4064b1b4-8328-4807-bb43-d1fc34fb19c0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:52Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000200-0000000000000400-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "10359d07-107e-4729-9e3c-227133819143" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7571f95b-79b4-4896-8015-1da4ef90f4b0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "468" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:52Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000201-0000000000000402-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "11e98776-00c9-4bcf-8f1d-429b9b34094a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c0b5274f-cf3c-482f-b8f7-f634142e519f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "584" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:56Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000202-0000000000000404-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0177e6cc-60b7-4bfb-87ef-3ef843a83cfd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c887ee78-4bfc-4213-aa42-f9bfdfc2d3ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "305" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:01:59Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000203-0000000000000406-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "05213abd-ccc0-4a41-9896-78cc9b72bae4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "25bc6739-95a1-4670-8447-dff9324d1a05", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "544" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:02:00Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:00.1805547Z", - "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": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$top=10\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000204-0000000000000408-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "29e774bc-c414-4e77-b38c-d8e12e63c6f0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "96d07aef-994e-4f71-a2ac-6fdfb0c6f435", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "399" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:02:00Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:00.1805547Z", - "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": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=10\u0026$top=10\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=10\u0026$top=10\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000205-0000000000000410-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "81c6f2b2-5748-49ac-b9af-1e53bb4f31f3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b5900b1-5ff0-48e1-a4e3-bab221ced41c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "272" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:02:00Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:00.1805547Z", - "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": "2022-02-18T19:01:52.9813737Z", - "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.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False" - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/f84fb601-490c-4ab6-87ce-1ea529cfdc37?$skip=20\u0026$top=5\u0026showStats=False", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000206-0000000000000412-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7ca69d94-d4d2-4803-8a0f-09cd36747bf0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c7239487-8326-4e17-bfda-47a142ae1363", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "171" - }, - "ResponseBody": { - "jobId": "f84fb601-490c-4ab6-87ce-1ea529cfdc37", - "lastUpdateDateTime": "2022-02-18T19:02:00Z", - "createdDateTime": "2022-02-18T19:01:41Z", - "expirationDateTime": "2022-02-19T19:01:41Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:00.1805547Z", - "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": "2022-02-18T19:01:52.9813737Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json deleted file mode 100644 index 8cb32282e7df..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "286", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000207-0000000000000414-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5d55c3c8-1af9-4bd4-ba71-7c13c6fb3942" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "99a6f784-5ffa-4798-be32-ecb27d85059c", - "Date": "Fri, 18 Feb 2022 19:02:04 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "171" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000208-0000000000000416-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7ce615bc-d982-4c63-9dbf-8d13f5abc76b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "955e4643-6464-476f-b542-71c39daabb85", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "lastUpdateDateTime": "2022-02-18T19:02:04Z", - "createdDateTime": "2022-02-18T19:02:04Z", - "expirationDateTime": "2022-02-19T19:02:04Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000209-0000000000000418-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e88026a-8e20-46dc-9b6e-f75bcbb0096d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b632c8c6-af2c-401a-92e2-2b10705e175f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "lastUpdateDateTime": "2022-02-18T19:02:05Z", - "createdDateTime": "2022-02-18T19:02:04Z", - "expirationDateTime": "2022-02-19T19:02:04Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000210-0000000000000420-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e5f9f397-9f71-489e-933f-ea941d44f054" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "df302711-6ce5-40de-9ac4-5ba3e1e3f9ee", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "24" - }, - "ResponseBody": { - "jobId": "ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "lastUpdateDateTime": "2022-02-18T19:02:05Z", - "createdDateTime": "2022-02-18T19:02:04Z", - "expirationDateTime": "2022-02-19T19:02:04Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000211-0000000000000422-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c23045bc-fd9b-4df2-a4df-e8111a777993" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1a2ba40e-ad6c-40cf-933c-e758153fd2ea", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187" - }, - "ResponseBody": { - "jobId": "ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "lastUpdateDateTime": "2022-02-18T19:02:07Z", - "createdDateTime": "2022-02-18T19:02:04Z", - "expirationDateTime": "2022-02-19T19:02:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:07.7633882Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/ad6594a3-c9f3-48ad-8daf-0b65cd10860f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000212-0000000000000424-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5e3a23d1-42b9-4b0f-a74a-fe75e6f625f4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "37de8323-57cb-47dd-b2e9-47c95d3d83fd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "60" - }, - "ResponseBody": { - "jobId": "ad6594a3-c9f3-48ad-8daf-0b65cd10860f", - "lastUpdateDateTime": "2022-02-18T19:02:07Z", - "createdDateTime": "2022-02-18T19:02:04Z", - "expirationDateTime": "2022-02-19T19:02:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:07.7633882Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json deleted file mode 100644 index 26597d77749d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_multiple_category_classification_action.json +++ /dev/null @@ -1,235 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "484", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fc25ff77-a79b-4143-9660-dcdb0e76555d" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customMultiClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1d8151bd-6dcf-4da1-829a-bd98ec2c1152", - "Date": "Fri, 18 Feb 2022 19:31:20 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "194" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0acf282c-b7a9-43fb-a883-f368f8abfc3c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f927f5dc-644a-4c01-8034-8fe8e6a0242e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0", - "lastUpdateDateTime": "2022-02-18T19:31:21Z", - "createdDateTime": "2022-02-18T19:31:21Z", - "expirationDateTime": "2022-02-19T19:31:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "efccb846-790f-4f48-84ca-1168d5912214" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d85aa919-80b9-49d2-a74f-b9c0550f010f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:21 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0", - "lastUpdateDateTime": "2022-02-18T19:31:21Z", - "createdDateTime": "2022-02-18T19:31:21Z", - "expirationDateTime": "2022-02-19T19:31:21Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bdf94c13-c937-4bc0-a69f-de4e4f161f34" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "64164e66-980e-4122-836d-517294d86fd2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0", - "lastUpdateDateTime": "2022-02-18T19:31:23Z", - "createdDateTime": "2022-02-18T19:31:21Z", - "expirationDateTime": "2022-02-19T19:31:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:23.160365Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5e94c676-931d-4e0f-a3b6-a0a01db85960" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "41ba753d-a39c-44e4-8950-f8a3a67ff65b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "41" - }, - "ResponseBody": { - "jobId": "7fb27d09-b7fd-47b6-9c8f-0b2cb26b26d0", - "lastUpdateDateTime": "2022-02-18T19:31:23Z", - "createdDateTime": "2022-02-18T19:31:21Z", - "expirationDateTime": "2022-02-19T19:31:21Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customMultiClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:23.160365Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classifications": [], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json deleted file mode 100644 index 3170fd5973e4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_document_single_category_classification_action.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "485", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8b505111-480e-4041-9641-39c3c9e7efbc" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customSingleClassificationTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5b3b52ca-b198-4d00-b9fa-de08894a6f9a", - "Date": "Fri, 18 Feb 2022 19:31:17 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c530336b-96d0-464d-baca-5f30e0bb7f56", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "244" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c530336b-96d0-464d-baca-5f30e0bb7f56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a5ec80b3-e45e-4e92-b3ef-9fe70d4b1346" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d1869b24-174d-4858-85d8-60529aebca2b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "c530336b-96d0-464d-baca-5f30e0bb7f56", - "lastUpdateDateTime": "2022-02-18T19:31:18Z", - "createdDateTime": "2022-02-18T19:31:18Z", - "expirationDateTime": "2022-02-19T19:31:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c530336b-96d0-464d-baca-5f30e0bb7f56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ac2128cb-0992-4865-84bd-a7081e6a30ab" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9a3a6a20-6541-4675-b441-2959670895a6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "c530336b-96d0-464d-baca-5f30e0bb7f56", - "lastUpdateDateTime": "2022-02-18T19:31:18Z", - "createdDateTime": "2022-02-18T19:31:18Z", - "expirationDateTime": "2022-02-19T19:31:18Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c530336b-96d0-464d-baca-5f30e0bb7f56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a5b22303-4913-4f70-98c3-59117480733f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "20a05473-cf34-4e42-b370-6999f74ee4f7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "27" - }, - "ResponseBody": { - "jobId": "c530336b-96d0-464d-baca-5f30e0bb7f56", - "lastUpdateDateTime": "2022-02-18T19:31:19Z", - "createdDateTime": "2022-02-18T19:31:18Z", - "expirationDateTime": "2022-02-19T19:31:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:19.6893889Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/c530336b-96d0-464d-baca-5f30e0bb7f56?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8f9cb691-2079-4fba-ace2-3ed20cce9e88" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d5be93fd-729b-4476-9318-ebda2f67cb41", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "36" - }, - "ResponseBody": { - "jobId": "c530336b-96d0-464d-baca-5f30e0bb7f56", - "lastUpdateDateTime": "2022-02-18T19:31:19Z", - "createdDateTime": "2022-02-18T19:31:18Z", - "expirationDateTime": "2022-02-19T19:31:18Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customSingleClassificationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:19.6893889Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "classification": { - "category": "RateBook", - "confidenceScore": 0.76 - }, - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json deleted file mode 100644 index 7c93370fb2b8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_custom_entity_recognition_action.json +++ /dev/null @@ -1,462 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "516", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7e423efe-278b-4bf7-bb2b-7fe3fceb3509" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - "language": "en" - } - ] - }, - "tasks": { - "customEntityRecognitionTasks": [ - { - "parameters": { - "project-name": "sanitized", - "deployment-name": "sanitized", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fe9298ee-7eab-4848-ae80-712980260489", - "Date": "Fri, 18 Feb 2022 19:31:14 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/70ed07f4-3e9f-487a-b17f-501590daee9e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "419" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/70ed07f4-3e9f-487a-b17f-501590daee9e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e9afb4b5-f296-4d15-a5b4-cf2f83e757d3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d3d310d2-d57c-4ecb-939a-abecb294245a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "70ed07f4-3e9f-487a-b17f-501590daee9e", - "lastUpdateDateTime": "2022-02-18T19:31:15Z", - "createdDateTime": "2022-02-18T19:31:15Z", - "expirationDateTime": "2022-02-19T19:31:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/70ed07f4-3e9f-487a-b17f-501590daee9e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a3771400-bce6-4967-899e-372814bd20b1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "07c64ae3-8b0e-4016-95d5-148d8a2520a2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "70ed07f4-3e9f-487a-b17f-501590daee9e", - "lastUpdateDateTime": "2022-02-18T19:31:15Z", - "createdDateTime": "2022-02-18T19:31:15Z", - "expirationDateTime": "2022-02-19T19:31:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/70ed07f4-3e9f-487a-b17f-501590daee9e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "61d8f1b9-b05f-4eaf-bb7f-9973a03740b2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1f4f77cb-4747-4bcf-aa34-b8bbbe6dd248", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "70ed07f4-3e9f-487a-b17f-501590daee9e", - "lastUpdateDateTime": "2022-02-18T19:31:16Z", - "createdDateTime": "2022-02-18T19:31:15Z", - "expirationDateTime": "2022-02-19T19:31:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:16.2607063Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/70ed07f4-3e9f-487a-b17f-501590daee9e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "052eed48-6917-4fc8-b791-0c9cf04ecbd5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ac0e7621-7ef3-4d4f-ba0e-a18d622b71d2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:31:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "33" - }, - "ResponseBody": { - "jobId": "70ed07f4-3e9f-487a-b17f-501590daee9e", - "lastUpdateDateTime": "2022-02-18T19:31:16Z", - "createdDateTime": "2022-02-18T19:31:15Z", - "expirationDateTime": "2022-02-19T19:31:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "customEntityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:31:16.2607063Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Government", - "category": "restaurant_name", - "offset": 23, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "Office", - "category": "restaurant_name", - "offset": 49, - "length": 6, - "confidenceScore": 0.11 - }, - { - "text": "GAO", - "category": "restaurant_name", - "offset": 57, - "length": 3, - "confidenceScore": 0.04 - }, - { - "text": "Accountability", - "category": "geographic_poi", - "offset": 34, - "length": 14, - "confidenceScore": 0.07 - }, - { - "text": "natural", - "category": "geographic_poi", - "offset": 106, - "length": 7, - "confidenceScore": 0.04 - }, - { - "text": "dramatic", - "category": "sort", - "offset": 77, - "length": 8, - "confidenceScore": 0.03 - }, - { - "text": "oil", - "category": "restaurant_type", - "offset": 98, - "length": 3, - "confidenceScore": 0.03 - }, - { - "text": "gas", - "category": "restaurant_type", - "offset": 114, - "length": 3, - "confidenceScore": 0.09 - }, - { - "text": "and", - "category": "served_dish", - "offset": 102, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "development", - "category": "object_type", - "offset": 118, - "length": 11, - "confidenceScore": 0.06 - }, - { - "text": "federal", - "category": "state", - "offset": 133, - "length": 7, - "confidenceScore": 0.07 - }, - { - "text": "protection", - "category": "state", - "offset": 267, - "length": 10, - "confidenceScore": 0.05 - }, - { - "text": "lands", - "category": "poi", - "offset": 141, - "length": 5, - "confidenceScore": 0.04 - }, - { - "text": "BLM", - "category": "poi", - "offset": 202, - "length": 3, - "confidenceScore": 0.07 - }, - { - "text": "the", - "category": "timeRange", - "offset": 152, - "length": 3, - "confidenceScore": 0.24 - }, - { - "text": "past six years", - "category": "timeRange", - "offset": 156, - "length": 14, - "confidenceScore": 0.54 - } - ], - "warnings": [] - } - ], - "errors": [], - "projectName": "sanitized", - "deploymentName": "sanitized" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json deleted file mode 100644 index 1883613ac6ad..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json +++ /dev/null @@ -1,518 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "346", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000106-0000000000000212-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a60154af-ed4f-4799-8820-efb112d6e69f" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3564dbcd-964b-482f-ad34-1e9dc86a7a4a", - "Date": "Fri, 18 Feb 2022 19:00:09 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "221" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000107-0000000000000214-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e22bc344-9ace-4349-b062-b83538e3bb62" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8cb06ef9-a4f0-449d-ab24-af999c92dee3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "1895c38c-3b66-4281-b967-e2789d01711d", - "lastUpdateDateTime": "2022-02-18T19:00:10Z", - "createdDateTime": "2022-02-18T19:00:09Z", - "expirationDateTime": "2022-02-19T19:00:09Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000108-0000000000000216-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dd587c77-c159-4962-a0b6-ac948d869ee2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c2ed218b-0034-4e98-a5e6-1a09a39fef2b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "18" - }, - "ResponseBody": { - "jobId": "1895c38c-3b66-4281-b967-e2789d01711d", - "lastUpdateDateTime": "2022-02-18T19:00:10Z", - "createdDateTime": "2022-02-18T19:00:09Z", - "expirationDateTime": "2022-02-19T19:00:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000109-0000000000000218-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6ccdd26a-9b67-4be9-a669-75affa5fdd1d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b1dfebe6-1aed-47d1-b7d5-502e59cb573b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "1895c38c-3b66-4281-b967-e2789d01711d", - "lastUpdateDateTime": "2022-02-18T19:00:10Z", - "createdDateTime": "2022-02-18T19:00:09Z", - "expirationDateTime": "2022-02-19T19:00:09Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000110-0000000000000220-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2ff4d438-0878-4bba-ad31-d527a3bf80df" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "085c3878-ecb1-47fe-8ea0-989f2d25b5ad", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "1895c38c-3b66-4281-b967-e2789d01711d", - "lastUpdateDateTime": "2022-02-18T19:00:13Z", - "createdDateTime": "2022-02-18T19:00:09Z", - "expirationDateTime": "2022-02-19T19:00:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:13.0237135Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1895c38c-3b66-4281-b967-e2789d01711d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000111-0000000000000222-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f9dd9be7-fa2e-4e53-b85b-3da9b9e62936" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "32578f64-4577-483d-90bc-99b9da050081", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" - }, - "ResponseBody": { - "jobId": "1895c38c-3b66-4281-b967-e2789d01711d", - "lastUpdateDateTime": "2022-02-18T19:00:13Z", - "createdDateTime": "2022-02-18T19:00:09Z", - "expirationDateTime": "2022-02-19T19:00:09Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityLinkingTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:13.0237135Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "entities": [ - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", - "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" - }, - { - "bingId": "19fb6fb4-3c50-f314-30e4-7b5470e08274", - "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": [ - { - "bingId": "56ff0719-4791-406b-99de-0e99c3e8cefc", - "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" - }, - { - "bingId": "cf5db860-9fd2-390d-0b6d-5ba856efed49", - "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" - }, - { - "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", - "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" - }, - { - "bingId": "e23e51ed-d16f-4800-9a31-ed056168b9a2", - "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" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json deleted file mode 100644 index 1fad1f3fe2cd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json +++ /dev/null @@ -1,486 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "471", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000100-0000000000000200-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7e84f5bb-b358-4c4a-b2a9-0bc3c4d86e7d" - }, - "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\u00FCndet.", - "language": "de" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "41110fdc-07ce-4dd7-ac80-2d09abc57b91", - "Date": "Fri, 18 Feb 2022 19:00:04 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "186" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000101-0000000000000202-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "647ca47f-edde-4586-a2df-3e0e578b2ead" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "50fa6e19-645f-458c-ad8f-2ea636f7ccdb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "026f72ad-e4bd-4802-8591-4505b27fb77b", - "lastUpdateDateTime": "2022-02-18T19:00:04Z", - "createdDateTime": "2022-02-18T19:00:04Z", - "expirationDateTime": "2022-02-19T19:00:04Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000102-0000000000000204-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bb6182f4-0de1-4d4e-845e-eabf09cd1871" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1531b5a8-63c0-48e5-bb5c-50a79c3105a4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:04 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "026f72ad-e4bd-4802-8591-4505b27fb77b", - "lastUpdateDateTime": "2022-02-18T19:00:04Z", - "createdDateTime": "2022-02-18T19:00:04Z", - "expirationDateTime": "2022-02-19T19:00:04Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000103-0000000000000206-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8da12bd7-b3d2-41f4-8c60-1d3925210a26" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9f1f4fc0-e488-4653-b790-b3fbda2abbc5", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "026f72ad-e4bd-4802-8591-4505b27fb77b", - "lastUpdateDateTime": "2022-02-18T19:00:05Z", - "createdDateTime": "2022-02-18T19:00:04Z", - "expirationDateTime": "2022-02-19T19:00:04Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000104-0000000000000208-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "739cf73c-07ab-46fa-97a7-ecdd26d29ce8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cf1b96af-5a7d-4d24-871d-bbded23657b0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "026f72ad-e4bd-4802-8591-4505b27fb77b", - "lastUpdateDateTime": "2022-02-18T19:00:08Z", - "createdDateTime": "2022-02-18T19:00:04Z", - "expirationDateTime": "2022-02-19T19:00:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:08.3250317Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/026f72ad-e4bd-4802-8591-4505b27fb77b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000105-0000000000000210-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d6eaa3f8-670b-4f61-9cdf-2157f562f858" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5b0c6d17-40ef-4164-93b6-472fe9c12306", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "026f72ad-e4bd-4802-8591-4505b27fb77b", - "lastUpdateDateTime": "2022-02-18T19:00:08Z", - "createdDateTime": "2022-02-18T19:00:04Z", - "expirationDateTime": "2022-02-19T19:00:04Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:08.3250317Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json deleted file mode 100644 index 06a6cf14e77b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json +++ /dev/null @@ -1,341 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "319", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000090-0000000000000180-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fef522d0-0285-4fbe-8fe3-b7259331a614" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "47edda8d-7216-4735-bf99-4ee426ec19da", - "Date": "Fri, 18 Feb 2022 18:59:57 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9f4df116-1a56-45e3-b3ae-dec5f43f5461", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9f4df116-1a56-45e3-b3ae-dec5f43f5461?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000091-0000000000000182-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7966d162-5787-4e61-a940-e1af61dda15b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "50497761-cd11-433a-b2fa-6921bd2edac7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "jobId": "9f4df116-1a56-45e3-b3ae-dec5f43f5461", - "lastUpdateDateTime": "2022-02-18T18:59:57Z", - "createdDateTime": "2022-02-18T18:59:57Z", - "expirationDateTime": "2022-02-19T18:59:57Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9f4df116-1a56-45e3-b3ae-dec5f43f5461?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000092-0000000000000184-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d0b773a6-a702-47c3-9e6e-f0cf93a421cd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "07d0f51e-9df3-47f0-aab8-8fd81110dcc6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:57 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "9f4df116-1a56-45e3-b3ae-dec5f43f5461", - "lastUpdateDateTime": "2022-02-18T18:59:57Z", - "createdDateTime": "2022-02-18T18:59:57Z", - "expirationDateTime": "2022-02-19T18:59:57Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9f4df116-1a56-45e3-b3ae-dec5f43f5461?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000093-0000000000000186-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2fa9349b-ceac-4ac1-a76d-ed824f04a92d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1089f332-3d70-4006-9b37-8ad0c149cdd9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "43" - }, - "ResponseBody": { - "jobId": "9f4df116-1a56-45e3-b3ae-dec5f43f5461", - "lastUpdateDateTime": "2022-02-18T18:59:59Z", - "createdDateTime": "2022-02-18T18:59:57Z", - "expirationDateTime": "2022-02-19T18:59:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T18:59:59.5548059Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/9f4df116-1a56-45e3-b3ae-dec5f43f5461?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000094-0000000000000188-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7d93b41a-9cf1-420f-89f5-4fbfde36fcf4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8900da26-d0ff-486d-b88b-126a1d1087f3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" - }, - "ResponseBody": { - "jobId": "9f4df116-1a56-45e3-b3ae-dec5f43f5461", - "lastUpdateDateTime": "2022-02-18T18:59:59Z", - "createdDateTime": "2022-02-18T18:59:57Z", - "expirationDateTime": "2022-02-19T18:59:57Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T18:59:59.5548059Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json deleted file mode 100644 index 49387ec75553..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_extract_summary_action.json +++ /dev/null @@ -1,455 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "11477", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000083-0000000000000166-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cc83dea9-3dcd-448f-b707-75f85299b354" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "0", - "text": "\n No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.\n \n Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world.\n \n The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors.\n \n Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut.\n \n \u201CTraditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,\u201D he explained. \u201CBased on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.\u201D\n \n \u201CNow, with Windows 365, we can do that within less than an hour of the account being created,\u201D he said.\n \n Windows 365 puts Microsoft\u2019s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection.\n \n The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.\n \n \u201CWindows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not \u2013 maybe it was too costly, too complex or they didn\u2019t have the expertise in house to do it,\u201D said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia.\n \n With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs.\n \n The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user\u2019s choosing from anywhere with an internet connection.\n \n \u201CYou want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office \u2013 you want them to have that same experience,\u201D he said. \u201CAnd you want them to have that experience in such a way that it feels familiar to them. It\u2019s not this jolting thing that takes away all the things they love about Windows.\u201D\n \n Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft\u2019s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365.\n \n The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience \u2013 gamers \u2013 lacks an IT department to lean on when things glitch. \u201CThat started me thinking, \u2018How do we build something that doesn\u2019t require IT intervention, something that could truly scale to the consumer market?\u2019\u201D Manchester said.\n \n The consumer experience was Manchester\u2019s benchmark when he started work on virtualization.\n \n \u201CI took note of every time there was something that didn\u2019t quite deliver on that,\u201D he said. \u201CAnd, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.\u201D\n \n Covering that ground led to improvements in Microsoft\u2019s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT.\n \n To lead the development of Windows 365, Manchester leaned into his Arcadia mindset.\n \n \u201CWhen we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,\u201D he said.\n \n Soon after this bar was set, and the first batch of hires made \u2013 a handful of experts in virtualization and user experience \u2013 COVID-19 hit and changed the world.\n \n \u201CWe hired everybody else during the pandemic,\u201D Manchester said. \u201CThey were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations \u2013 their bar was the experience they had on their laptop \u2013 and we basically used Windows 365 to build Windows 365.\u201D\n \n As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC.\n \n \u201CWe\u2019re giving you Windows from the cloud,\u201D Manchester said.\n ", - "language": "en" - }, - { - "id": "1", - "text": "\n Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but \u201Cwhat really put the firecracker behind it was the pandemic, it accelerated everything,\u201D McKelvey said. She explained that customers were asking, \u201C\u2019How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?\u201D\n\n In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there \u2013 in the office, at home or a coffee shop.\n\n \u201CAnd then, when you\u2019re done, you\u2019re done. You won\u2019t have any issues around security because you\u2019re not saving anything on your device,\u201D McKelvey said, noting that all the data is stored in the cloud.\n\n The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise.\n\n \u201CI think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,\u201D McKelvey said.\n\n The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure.\n\n We didn\u2019t run it for very long,\u201D he said. \u201CIt didn\u2019t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.\u201D\n\n He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government\u2019s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester\u2019s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly.\n\n \u201CThe impact that I believe we are finding, and the impact that we\u2019re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,\u201D he said.\n\n \u201CBeing able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.\u201D\n ", - "language": "en" - } - ] - }, - "tasks": { - "extractiveSummarizationTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit", - "sentenceCount": 5, - "sortBy": "Offset" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "3372c0b4-37a4-4f57-a042-efb2676b3904", - "Date": "Fri, 18 Feb 2022 18:59:49 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "202" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000084-0000000000000168-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "02d99c39-0415-47e1-8b8c-6ea7f4160a48" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "96a0b917-a91c-48c6-b48f-81cf09dd9648", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:49Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000085-0000000000000170-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1313d569-63f6-4e30-bca3-81184c00355d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d9d0769d-977c-4778-91a5-1c245606eb6e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:49 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:49Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000086-0000000000000172-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "270d9bf8-1648-4dc1-98de-2c73f0a7dc64" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f1fa89e5-bf3e-46ee-95e0-2438ed7f531a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:49Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000087-0000000000000174-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d1ec2eb5-8aeb-4a4e-93d8-cae7f31e50b8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2914f158-eb3a-4ecf-8c97-89a9366c10cb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:54 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:49Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000088-0000000000000176-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cdeedd40-a664-4918-adca-b0c08abf9e29" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7b50d173-92af-4163-b055-97e2d2822305", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:55Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T18:59:55.0935647Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a294726c-3f4b-45ad-b692-bb1501ff0f5d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000089-0000000000000178-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cf327b6d-3763-4a46-bb3d-666942ac450f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e7d5a3db-0acf-4908-80c7-3699a7e2ffde", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 18:59:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "a294726c-3f4b-45ad-b692-bb1501ff0f5d", - "lastUpdateDateTime": "2022-02-18T18:59:55Z", - "createdDateTime": "2022-02-18T18:59:49Z", - "expirationDateTime": "2022-02-19T18:59:49Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "extractiveSummarizationTasks": [ - { - "lastUpdateDateTime": "2022-02-18T18:59:55.0935647Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "0", - "sentences": [ - { - "text": "About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years.", - "rankScore": 0.32, - "offset": 242, - "length": 116 - }, - { - "text": "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", - "rankScore": 0.35, - "offset": 531, - "length": 160 - }, - { - "text": "Windows 365 puts Microsoft\u2019s flagship operating system in the cloud.", - "rankScore": 0.34, - "offset": 1864, - "length": 68 - }, - { - "text": "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", - "rankScore": 0.69, - "offset": 2468, - "length": 156 - }, - { - "text": "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today\u2019s login-from-anywhere, mobile and elastic workforces.", - "rankScore": 1.0, - "offset": 2625, - "length": 156 - } - ], - "warnings": [] - }, - { - "id": "1", - "sentences": [ - { - "text": "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", - "rankScore": 0.9, - "offset": 482, - "length": 224 - }, - { - "text": "The ability to login to a Cloud PC from anywhere on any device is part of Microsoft\u2019s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added.", - "rankScore": 0.66, - "offset": 1109, - "length": 234 - }, - { - "text": "It enables employees accustomed to working from home to continue working from home;", - "rankScore": 1.0, - "offset": 1344, - "length": 83 - }, - { - "text": "it enables companies to hire interns from halfway around the world;", - "rankScore": 0.71, - "offset": 1428, - "length": 67 - }, - { - "text": "it allows startups to scale without requiring IT expertise.", - "rankScore": 0.68, - "offset": 1496, - "length": 59 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-08-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json deleted file mode 100644 index 61846475a650..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json +++ /dev/null @@ -1,268 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "287", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000095-0000000000000190-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "981b1293-5fe7-4207-966d-a090a751d46c" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "8a354d5b-748c-4684-b075-532042754b46", - "Date": "Fri, 18 Feb 2022 19:00:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e98e2c31-b806-4479-9eef-8ccf51fc011d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "195" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e98e2c31-b806-4479-9eef-8ccf51fc011d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000096-0000000000000192-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e891b27f-e9d9-42a2-ba87-51984d7f3abf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "52ff5630-9bdd-4254-b442-40754432edd9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "e98e2c31-b806-4479-9eef-8ccf51fc011d", - "lastUpdateDateTime": "2022-02-18T19:00:01Z", - "createdDateTime": "2022-02-18T19:00:00Z", - "expirationDateTime": "2022-02-19T19:00:00Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e98e2c31-b806-4479-9eef-8ccf51fc011d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000097-0000000000000194-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d81fe2be-5d03-436b-8385-4cd37eae4f27" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9b4a7ea1-2dce-4147-adf6-04eddeae3135", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "e98e2c31-b806-4479-9eef-8ccf51fc011d", - "lastUpdateDateTime": "2022-02-18T19:00:01Z", - "createdDateTime": "2022-02-18T19:00:00Z", - "expirationDateTime": "2022-02-19T19:00:00Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e98e2c31-b806-4479-9eef-8ccf51fc011d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000098-0000000000000196-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "465ada0b-08ba-40ba-aa9b-ec0b9bae9cd6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dfaefb39-8b25-48b4-94a5-1fd9701f8d23", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "e98e2c31-b806-4479-9eef-8ccf51fc011d", - "lastUpdateDateTime": "2022-02-18T19:00:02Z", - "createdDateTime": "2022-02-18T19:00:00Z", - "expirationDateTime": "2022-02-19T19:00:00Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:02.7559344Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/e98e2c31-b806-4479-9eef-8ccf51fc011d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000099-0000000000000198-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8602917e-6d84-4d00-858a-ce1b6fbd6b5a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b55dc0d3-2020-4914-a19d-4a945f218e43", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "e98e2c31-b806-4479-9eef-8ccf51fc011d", - "lastUpdateDateTime": "2022-02-18T19:00:02Z", - "createdDateTime": "2022-02-18T19:00:00Z", - "expirationDateTime": "2022-02-19T19:00:00Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:02.7559344Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json deleted file mode 100644 index 553cc2317851..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json +++ /dev/null @@ -1,407 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "383", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000112-0000000000000224-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5286c97f-6580-449e-8b7a-b770e5d08c2d" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "862b0ab3-7f57-42f8-9d03-ab04fe6e04f0", - "Date": "Fri, 18 Feb 2022 19:00:14 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "242" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000113-0000000000000226-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "531a38b0-3b08-4040-aa35-5560277c0c52" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6fac32d1-374d-409b-91cf-72a2a1ae7f4c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:15Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000114-0000000000000228-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a5babeac-4e60-4ad9-bcbd-b2cf14afb8da" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "067e8304-b263-4119-a8f6-1890f5554e03", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:14 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:15Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000115-0000000000000230-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "67bfab35-9c8d-446c-ba58-cc0977414352" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bc3221ed-92e1-4299-9954-2e68fa58959e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:16Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000116-0000000000000232-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f72e5ae5-e0a9-4f4b-bada-ccaff70193bc" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f7efdc75-6c09-4136-aae1-c03b66f43911", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:16Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000117-0000000000000234-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3f28f7f2-62a5-4289-92be-998ca4b68a9f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7d98d469-b357-4154-bdef-5cc03f7157c9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "247" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:20Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:20.6927315Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/2433e08b-d637-4955-b9ef-a870ea5e1c5b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000118-0000000000000236-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "84e3d0b6-44de-464e-bdb0-a198a9d27224" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f8446d70-ef8f-458e-9a38-836ec4705b99", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:22 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "59" - }, - "ResponseBody": { - "jobId": "2433e08b-d637-4955-b9ef-a870ea5e1c5b", - "lastUpdateDateTime": "2022-02-18T19:00:20Z", - "createdDateTime": "2022-02-18T19:00:15Z", - "expirationDateTime": "2022-02-19T19:00:15Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:20.6927315Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json deleted file mode 100644 index 4cd80b844e79..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "470", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000119-0000000000000238-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cb3c4b34-05ee-4257-a531-0dccbbf7f73f" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "71c26591-32ce-4628-810c-acc44cc45bf4", - "Date": "Fri, 18 Feb 2022 19:00:23 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4c462c53-a192-4852-b449-c49e66956cfb", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "154" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4c462c53-a192-4852-b449-c49e66956cfb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000120-0000000000000240-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a459a265-3f75-4a9f-825e-95a6ebb1ec2e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8e01f45a-894e-4f95-affc-39a6b9d3bb43", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "jobId": "4c462c53-a192-4852-b449-c49e66956cfb", - "lastUpdateDateTime": "2022-02-18T19:00:23Z", - "createdDateTime": "2022-02-18T19:00:23Z", - "expirationDateTime": "2022-02-19T19:00:23Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4c462c53-a192-4852-b449-c49e66956cfb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000121-0000000000000242-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "dfc20590-7abb-480b-ab31-07e57b212c86" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "addd402e-3a93-453b-a588-507884a5ee84", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "4c462c53-a192-4852-b449-c49e66956cfb", - "lastUpdateDateTime": "2022-02-18T19:00:23Z", - "createdDateTime": "2022-02-18T19:00:23Z", - "expirationDateTime": "2022-02-19T19:00:23Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4c462c53-a192-4852-b449-c49e66956cfb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000122-0000000000000244-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b01a44b2-d325-400a-becf-3cfa5da90b4d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "40e3e834-142f-424d-9433-08d7ec3de619", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130" - }, - "ResponseBody": { - "jobId": "4c462c53-a192-4852-b449-c49e66956cfb", - "lastUpdateDateTime": "2022-02-18T19:00:25Z", - "createdDateTime": "2022-02-18T19:00:23Z", - "expirationDateTime": "2022-02-19T19:00:23Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:25.4650255Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/4c462c53-a192-4852-b449-c49e66956cfb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000123-0000000000000246-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "30c8d8fe-97cd-47fe-bd4a-421d307d18ee" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "19849dab-053a-4b2b-b2bd-b8872b0d5649", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "4c462c53-a192-4852-b449-c49e66956cfb", - "lastUpdateDateTime": "2022-02-18T19:00:25Z", - "createdDateTime": "2022-02-18T19:00:23Z", - "expirationDateTime": "2022-02-19T19:00:23Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:25.4650255Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json deleted file mode 100644 index 9d6ace278d2b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json +++ /dev/null @@ -1,1544 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "749", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000124-0000000000000248-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2b5ab0d6-3929-4025-bc5c-eb42a908ff15" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "2d00c2f5-590c-40ad-947e-67ecaf924510", - "Date": "Fri, 18 Feb 2022 19:00:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "238" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000125-0000000000000250-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1aed2b0b-0f41-41cd-88a7-53d834f610e6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a10799cb-1e4f-43e2-8f04-7b5e2fbdcaca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "13" - }, - "ResponseBody": { - "jobId": "a36e85d6-3426-46ce-9795-ee0f67a936fb", - "lastUpdateDateTime": "2022-02-18T19:00:26Z", - "createdDateTime": "2022-02-18T19:00:26Z", - "expirationDateTime": "2022-02-19T19:00:26Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000126-0000000000000252-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "939faf36-e7be-45cf-b7b8-200ac8100257" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2e6a2fad-46b7-4085-bd99-41af98a2e68a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "a36e85d6-3426-46ce-9795-ee0f67a936fb", - "lastUpdateDateTime": "2022-02-18T19:00:26Z", - "createdDateTime": "2022-02-18T19:00:26Z", - "expirationDateTime": "2022-02-19T19:00:26Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000127-0000000000000254-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8fb13faf-69a6-4f58-a3e1-2e68ffadd588" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a0f4fc3a-e9c6-4524-8fee-5b96725d34e3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a36e85d6-3426-46ce-9795-ee0f67a936fb", - "lastUpdateDateTime": "2022-02-18T19:00:27Z", - "createdDateTime": "2022-02-18T19:00:26Z", - "expirationDateTime": "2022-02-19T19:00:26Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 1, - "total": 1 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000128-0000000000000256-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f8543ae5-f2cd-4fb3-afe2-d3d789b7ff6b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "42e103af-6ff3-4608-bb84-adad2f398720", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "168" - }, - "ResponseBody": { - "jobId": "a36e85d6-3426-46ce-9795-ee0f67a936fb", - "lastUpdateDateTime": "2022-02-18T19:00:30Z", - "createdDateTime": "2022-02-18T19:00:26Z", - "expirationDateTime": "2022-02-19T19:00:26Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:30.5914711Z", - "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/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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/a36e85d6-3426-46ce-9795-ee0f67a936fb?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000129-0000000000000258-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e19d4695-0470-4129-8c23-ab4fb4387ad0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "19e947ca-9953-4e4e-b11b-45a3855d4fd2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "116" - }, - "ResponseBody": { - "jobId": "a36e85d6-3426-46ce-9795-ee0f67a936fb", - "lastUpdateDateTime": "2022-02-18T19:00:30Z", - "createdDateTime": "2022-02-18T19:00:26Z", - "expirationDateTime": "2022-02-19T19:00:26Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 0, - "total": 1, - "sentimentAnalysisTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:30.5914711Z", - "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/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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json deleted file mode 100644 index ef395a910eca..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json +++ /dev/null @@ -1,576 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "557", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000131-0000000000000262-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8914b60b-d615-4556-b25f-7d3fa303b077" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "529b2828-fe34-43c5-8bdf-061fd9b4e939", - "Date": "Fri, 18 Feb 2022 19:00:32 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "265" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000132-0000000000000264-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4ff98cdd-04ba-409b-8c60-bc042e1c3253" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fc175a8f-7bc7-4380-bf10-ebb7ac19cd68", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "lastUpdateDateTime": "2022-02-18T19:00:33Z", - "createdDateTime": "2022-02-18T19:00:32Z", - "expirationDateTime": "2022-02-19T19:00:32Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000133-0000000000000266-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c239ae54-33bd-43cd-b9d2-a00960bb82d0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "393828e3-bf0b-41a1-ba62-eab3bd8a5636", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:32 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "lastUpdateDateTime": "2022-02-18T19:00:33Z", - "createdDateTime": "2022-02-18T19:00:32Z", - "expirationDateTime": "2022-02-19T19:00:32Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000134-0000000000000268-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "984ffc5c-81be-4232-b3b1-23477222d482" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1073e1b3-4bab-401f-9078-c652eff90d93", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:34 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "58" - }, - "ResponseBody": { - "jobId": "b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "lastUpdateDateTime": "2022-02-18T19:00:34Z", - "createdDateTime": "2022-02-18T19:00:32Z", - "expirationDateTime": "2022-02-19T19:00:32Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:34.9480297Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000135-0000000000000270-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "89814d2b-6939-4dc1-b8d5-8dd46d3d72a4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a1864ab4-525e-4e07-9f52-b34c595e1922", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156" - }, - "ResponseBody": { - "jobId": "b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "lastUpdateDateTime": "2022-02-18T19:00:36Z", - "createdDateTime": "2022-02-18T19:00:32Z", - "expirationDateTime": "2022-02-19T19:00:32Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:36.8123928Z", - "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": "2022-02-18T19:00:36.5994235Z", - "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": "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": "2022-02-18T19:00:34.9480297Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/b3356b5d-d770-4f4d-9ccd-5f0712bd0b75?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000136-0000000000000272-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ab0470b8-0bc8-462d-a343-3c5cdbd11dc1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b62944da-b6cc-4508-9237-342b871453f7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:00:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "329" - }, - "ResponseBody": { - "jobId": "b3356b5d-d770-4f4d-9ccd-5f0712bd0b75", - "lastUpdateDateTime": "2022-02-18T19:00:36Z", - "createdDateTime": "2022-02-18T19:00:32Z", - "expirationDateTime": "2022-02-19T19:00:32Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:00:36.8123928Z", - "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": "2022-02-18T19:00:36.5994235Z", - "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": "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": "2022-02-18T19:00:34.9480297Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json deleted file mode 100644 index 753eca6d6e94..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_unique_multiple_actions_per_type_are_allowed.json +++ /dev/null @@ -1,454 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "310", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000228-0000000000000456-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7dd971a8-7a79-498e-9261-af995f1dc186" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - } - ] - }, - "tasks": { - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action1" - }, - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "taskName": "action2" - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "fc47acc4-3249-4447-aefa-713135ab4be2", - "Date": "Fri, 18 Feb 2022 19:02:25 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "218" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000229-0000000000000458-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7ea9cc0a-6fea-43f9-a7a5-919ba78ed1c1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9262b5ec-f51b-44c7-8956-0cd37a2661ee", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:25Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000230-0000000000000460-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8e8de567-502d-4bc3-969d-fc6978a2d19a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8be8e34d-fa9f-47d5-8e0f-189966ecabe6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:25Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 2, - "total": 2 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000231-0000000000000462-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c543ee1a-c628-4608-9f38-a3d7d0d3e01f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "201b86b4-d278-4fd1-9983-0d9ad9ad0635", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "269" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:27Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:27.0132374Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000232-0000000000000464-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "696f970e-ba32-471b-b21b-e1c531ccede3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7292c3e2-74e2-4183-bda2-f2df822400b2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "31" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:27Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:27.0132374Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000233-0000000000000466-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b6dec938-9c7c-40cd-b3e9-04ca7491d833" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2b10c716-c1fe-4dbd-86f3-2b494798853b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "28" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:27Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 1, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:27.0132374Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000234-0000000000000468-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8d63276f-8aab-44fe-a21a-8e03769b38c2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "01366ac0-43b6-45b5-82b1-90b0111bf4b8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "170" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:33Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:27.0132374Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:02:33.1286595Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/cb765e76-b2c9-4086-b405-520d641b3f86?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000235-0000000000000470-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0510f157-7cbc-4ff8-9a7c-28c29cd3fe4a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4fddcf22-e5f2-4570-828a-8af798641099", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:33 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "cb765e76-b2c9-4086-b405-520d641b3f86", - "lastUpdateDateTime": "2022-02-18T19:02:33Z", - "createdDateTime": "2022-02-18T19:02:25Z", - "expirationDateTime": "2022-02-19T19:02:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 0, - "total": 2, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:02:27.0132374Z", - "taskName": "action1", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - }, - { - "lastUpdateDateTime": "2022-02-18T19:02:33.1286595Z", - "taskName": "action2", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json deleted file mode 100644 index 2dc73f8d2170..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "460", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000178-0000000000000356-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7b4dae77-ac66-44c3-bf4e-33e6a1d0ed39" - }, - "RequestBody": { - "analysisInput": { - "documents": [ - { - "id": "1", - "text": "I will go to the park." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "tasks": { - "entityRecognitionTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "parameters": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "parameters": { - "model-version": "latest" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "6db3f985-cacf-4605-b3a0-2ff295f2d12d", - "Date": "Fri, 18 Feb 2022 19:01:26 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "194" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000179-0000000000000358-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6a59a7ed-bf85-47a6-8e3f-5e0abbc094a6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "aaf78050-a4f0-4a3b-8dad-e6dc8368e707", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "599c8183-6120-41ef-9464-a3641cd7f4c3", - "lastUpdateDateTime": "2022-02-18T19:01:26Z", - "createdDateTime": "2022-02-18T19:01:25Z", - "expirationDateTime": "2022-02-19T19:01:25Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000180-0000000000000360-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7ece8476-e029-4a64-adea-905e7cba7234" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "04c6b809-cba6-42e2-9b57-de974c005939", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "599c8183-6120-41ef-9464-a3641cd7f4c3", - "lastUpdateDateTime": "2022-02-18T19:01:26Z", - "createdDateTime": "2022-02-18T19:01:25Z", - "expirationDateTime": "2022-02-19T19:01:25Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000181-0000000000000362-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fbcfd207-9fde-4a3a-ae95-a0198a786012" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6a84ec30-bdd0-475f-9446-7b554abe19b8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:28 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" - }, - "ResponseBody": { - "jobId": "599c8183-6120-41ef-9464-a3641cd7f4c3", - "lastUpdateDateTime": "2022-02-18T19:01:28Z", - "createdDateTime": "2022-02-18T19:01:25Z", - "expirationDateTime": "2022-02-19T19:01:25Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:28.1779654Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000182-0000000000000364-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aaa7256e-6ba0-4c16-927c-1606acfb84dd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6822e532-f860-4a5b-9927-e973a162d908", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "276" - }, - "ResponseBody": { - "jobId": "599c8183-6120-41ef-9464-a3641cd7f4c3", - "lastUpdateDateTime": "2022-02-18T19:01:29Z", - "createdDateTime": "2022-02-18T19:01:25Z", - "expirationDateTime": "2022-02-19T19:01:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:28.1779654Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:29.0549592Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:29.4120285Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/599c8183-6120-41ef-9464-a3641cd7f4c3?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000183-0000000000000366-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8b1c8e9e-c1f5-405a-8b91-66ab45538c3b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6f6c62e6-22cf-43d8-a72b-dc232e1187eb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "143" - }, - "ResponseBody": { - "jobId": "599c8183-6120-41ef-9464-a3641cd7f4c3", - "lastUpdateDateTime": "2022-02-18T19:01:29Z", - "createdDateTime": "2022-02-18T19:01:25Z", - "expirationDateTime": "2022-02-19T19:01:25Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:28.1779654Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "park", - "category": "Location", - "offset": 17, - "length": 4, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Espa\u00F1ol", - "category": "Skill", - "offset": 31, - "length": 7, - "confidenceScore": 0.94 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ], - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:29.0549592Z", - "state": "succeeded", - "results": { - "documents": [ - { - "redactedText": "I will go to the park.", - "id": "1", - "entities": [], - "warnings": [] - }, - { - "redactedText": "Este es un document escrito en Espa\u00F1ol.", - "id": "2", - "entities": [], - "warnings": [] - }, - { - "redactedText": "\u732B\u306F\u5E78\u305B", - "id": "3", - "entities": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-01-15" - } - } - ], - "keyPhraseExtractionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:29.4120285Z", - "state": "succeeded", - "results": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "park" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "Espa\u00F1ol", - "document" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "\u306F\u5E78\u305B" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-06-01" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json deleted file mode 100644 index 99e79365ebb5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,819 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000157-0000000000000314-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "255dc705-14ee-4bc3-a2d0-0b7946521985" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "7df891ad-f130-41bc-8df3-0d49ced2de8c", - "Date": "Fri, 18 Feb 2022 19:01:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "181" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000158-0000000000000316-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b5185a2e-577a-4619-b88b-f5b652c77a64" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6f8f92bd-6629-454a-b960-30032083aa77", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:01Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "notStarted", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000159-0000000000000318-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8e6f5dce-ccd4-40e0-952d-1e874e2b6aaf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "7c7a078d-630c-49a5-b912-2453cb23a0ac", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:01Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000160-0000000000000320-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "486ce4ec-419e-407b-a264-db13d1cc1b5e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "44d1b740-29ed-43de-aceb-b01be9309dfb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "16" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:01Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000161-0000000000000322-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "abb6267c-2ec4-4479-95c1-55eda2b2c668" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d6c453be-fd27-446c-9a2e-33a3da7698d0", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "109" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:04Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:04.4117035Z", - "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": "2022-02-18T19:01:03.8840074Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000162-0000000000000324-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ea2297dc-f08a-442a-b1d9-71c0f72cf488" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e3c4c826-b6c3-4dd4-bd17-dd979b780cff", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:07Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:04.4117035Z", - "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": "2022-02-18T19:01:03.8840074Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000163-0000000000000326-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6c27aa19-f738-4391-a0e8-274c75e7a793" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e51a6260-781b-49f9-8e4b-62eb704f7adb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:10 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "125" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:07Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 2, - "failed": 0, - "inProgress": 1, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:04.4117035Z", - "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": "2022-02-18T19:01:03.8840074Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000164-0000000000000328-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "36cb4dca-e848-4054-9dcd-fc98b472bf39" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cea76e36-82b6-462f-a82c-9da5184a2412", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "425" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:10Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:04.4117035Z", - "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": "2022-02-18T19:01:03.8840074Z", - "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": "2022-02-18T19:01:10.6769271Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000165-0000000000000330-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e73e6c69-0e1d-4f73-97be-2fb4fb6ec708" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27267c5a-911d-4598-84e9-077e47775b72", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "191" - }, - "ResponseBody": { - "jobId": "1a33c0b1-fbe3-4bbe-bbbf-d2b2ed0f5ecf", - "lastUpdateDateTime": "2022-02-18T19:01:10Z", - "createdDateTime": "2022-02-18T19:01:01Z", - "expirationDateTime": "2022-02-19T19:01:01Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:04.4117035Z", - "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": "2022-02-18T19:01:03.8840074Z", - "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": "2022-02-18T19:01:10.6769271Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json deleted file mode 100644 index 4a1f6a2802be..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json +++ /dev/null @@ -1,513 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "569", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000166-0000000000000332-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "871eaa7a-b3ad-4209-b962-f9ae435d1671" - }, - "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" - } - } - ] - } - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "91daa010-73ad-432c-b591-f2c5c36b10f5", - "Date": "Fri, 18 Feb 2022 19:01:13 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "266" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000167-0000000000000334-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "91e2f932-7cce-4308-9fd4-33e1e48cdc59" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3dcfacce-32a4-4941-be88-ecadaf09a761", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" - }, - "ResponseBody": { - "jobId": "da9dd4d7-eab5-4111-99cc-44cd1a532105", - "lastUpdateDateTime": "2022-02-18T19:01:14Z", - "createdDateTime": "2022-02-18T19:01:13Z", - "expirationDateTime": "2022-02-19T19:01:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000168-0000000000000336-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "aebc979d-a9b4-499e-a6b8-2c4ecd8dcd9f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cf77c2ee-e179-45cc-9437-78cd05fc3717", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:13 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "da9dd4d7-eab5-4111-99cc-44cd1a532105", - "lastUpdateDateTime": "2022-02-18T19:01:14Z", - "createdDateTime": "2022-02-18T19:01:13Z", - "expirationDateTime": "2022-02-19T19:01:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 0, - "failed": 0, - "inProgress": 3, - "total": 3 - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000169-0000000000000338-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e226b50-7940-4d0e-9e06-240eab6f533e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e4476a21-c72e-4321-b4a9-3a4f64d65d99", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "da9dd4d7-eab5-4111-99cc-44cd1a532105", - "lastUpdateDateTime": "2022-02-18T19:01:16Z", - "createdDateTime": "2022-02-18T19:01:13Z", - "expirationDateTime": "2022-02-19T19:01:13Z", - "status": "running", - "errors": [], - "tasks": { - "completed": 1, - "failed": 0, - "inProgress": 2, - "total": 3, - "entityRecognitionPiiTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:16.0237741Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000170-0000000000000340-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e562fb1c-73e1-4fb8-a133-e6b8ce546489" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fee2e13d-a871-4abc-90b6-26d331b20a2d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:17 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "170" - }, - "ResponseBody": { - "jobId": "da9dd4d7-eab5-4111-99cc-44cd1a532105", - "lastUpdateDateTime": "2022-02-18T19:01:17Z", - "createdDateTime": "2022-02-18T19:01:13Z", - "expirationDateTime": "2022-02-19T19:01:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:16.6338836Z", - "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": "2022-02-18T19:01:16.0237741Z", - "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": "2022-02-18T19:01:17.0556541Z", - "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" - } - } - ] - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/analyze/jobs/da9dd4d7-eab5-4111-99cc-44cd1a532105?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000171-0000000000000342-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8c309993-900c-4b3c-bddc-1837aaac1ff5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f50717db-e666-4ffe-a876-adfbeaebacfe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:01:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "183" - }, - "ResponseBody": { - "jobId": "da9dd4d7-eab5-4111-99cc-44cd1a532105", - "lastUpdateDateTime": "2022-02-18T19:01:17Z", - "createdDateTime": "2022-02-18T19:01:13Z", - "expirationDateTime": "2022-02-19T19:01:13Z", - "status": "succeeded", - "errors": [], - "tasks": { - "completed": 3, - "failed": 0, - "inProgress": 0, - "total": 3, - "entityRecognitionTasks": [ - { - "lastUpdateDateTime": "2022-02-18T19:01:16.6338836Z", - "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": "2022-02-18T19:01:16.0237741Z", - "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": "2022-02-18T19:01:17.0556541Z", - "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" - } - } - ] - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json deleted file mode 100644 index 488e9b23dcd6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "116", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000311-0000000000000622-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0b3e1168-dd0a-4c04-bd50-9a9faaf135a3" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "" - }, - { - "id": "2", - "text": "I did not like the hotel we stayed at.", - "language": "english" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a38064f5-c353-46f8-bdb8-b96674782e70", - "Date": "Fri, 18 Feb 2022 19:03:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "130" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000312-0000000000000624-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "58c2b3f4-51f1-4cb9-9891-1e00d1a7d267" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "51ce968e-3af7-4870-937c-032e08417b6b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" - }, - "ResponseBody": { - "jobId": "7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9", - "lastUpdateDateTime": "2022-02-18T19:03:24Z", - "createdDateTime": "2022-02-18T19:03:24Z", - "expirationDateTime": "2022-02-19T19:03:24Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000313-0000000000000626-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f3f6f8f1-5084-45fd-aaa6-bcfbf657a583" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0fb28448-3ae3-48da-87f3-ed8782e7dbac", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9", - "lastUpdateDateTime": "2022-02-18T19:03:24Z", - "createdDateTime": "2022-02-18T19:03:24Z", - "expirationDateTime": "2022-02-19T19:03:24Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000314-0000000000000628-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9fa501d3-083b-4c3c-93fd-d27654cba0a5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5b069568-3c43-41cb-8b49-1ce632ad5a59", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" - }, - "ResponseBody": { - "jobId": "7e4f60e9-7c6b-4f9f-8f8f-131225de8cb9", - "lastUpdateDateTime": "2022-02-18T19:03:24Z", - "createdDateTime": "2022-02-18T19:03:24Z", - "expirationDateTime": "2022-02-19T19:03:24Z", - "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" - } - } - } - ], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json deleted file mode 100644 index ea5cd75a23bf..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "180", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000256-0000000000000512-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "936a2c0f-5969-432d-a547-23b3852444f5" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "900fd21b-90b4-4dea-bae0-1f822673707e", - "Date": "Fri, 18 Feb 2022 19:02:48 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c88ce135-4c78-43fc-8294-f896c773b41d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "188" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c88ce135-4c78-43fc-8294-f896c773b41d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000257-0000000000000514-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2de2e94b-8815-4be6-bf1b-6d80d45d7c38" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a24d3de5-a544-4daf-9979-0dac1d1de052", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" - }, - "ResponseBody": { - "jobId": "c88ce135-4c78-43fc-8294-f896c773b41d", - "lastUpdateDateTime": "2022-02-18T19:02:49Z", - "createdDateTime": "2022-02-18T19:02:48Z", - "expirationDateTime": "2022-02-19T19:02:48Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c88ce135-4c78-43fc-8294-f896c773b41d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000258-0000000000000516-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3d49c861-5906-4413-a807-81663e8d47df" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "64827cd2-8240-4f98-9d35-8992717b021f", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "c88ce135-4c78-43fc-8294-f896c773b41d", - "lastUpdateDateTime": "2022-02-18T19:02:49Z", - "createdDateTime": "2022-02-18T19:02:48Z", - "expirationDateTime": "2022-02-19T19:02:48Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c88ce135-4c78-43fc-8294-f896c773b41d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000259-0000000000000518-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "53fc572c-7c3e-4a5b-b756-bb58906dd196" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ad1a9ed7-6eef-4270-b354-8eacc267acab", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "79" - }, - "ResponseBody": { - "jobId": "c88ce135-4c78-43fc-8294-f896c773b41d", - "lastUpdateDateTime": "2022-02-18T19:02:49Z", - "createdDateTime": "2022-02-18T19:02:48Z", - "expirationDateTime": "2022-02-19T19:02:48Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/c88ce135-4c78-43fc-8294-f896c773b41d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000260-0000000000000520-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a0595707-5534-4a0a-bf25-8e637609a073" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "27ca0829-8aeb-430e-86e8-56efeefe9476", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "57" - }, - "ResponseBody": { - "jobId": "c88ce135-4c78-43fc-8294-f896c773b41d", - "lastUpdateDateTime": "2022-02-18T19:02:49Z", - "createdDateTime": "2022-02-18T19:02:48Z", - "expirationDateTime": "2022-02-19T19:02:48Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json deleted file mode 100644 index 963072507254..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_big_document_causes_a_warning.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "5157", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000315-0000000000000630-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e3feb728-75c1-421e-b84d-46304cb85528" - }, - "RequestBody": { - "documents": [ - { - "id": "3", - "text": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "7285dcb7-cfc5-4477-b18a-d39c9e4dfd95", - "Date": "Fri, 18 Feb 2022 19:03:25 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "122" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000316-0000000000000632-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3cdcc8e2-efe0-4848-b48b-96d428d70337" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8650a760-155b-474e-980b-c9b4f9ecae12", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:25 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "lastUpdateDateTime": "2022-02-18T19:03:25Z", - "createdDateTime": "2022-02-18T19:03:25Z", - "expirationDateTime": "2022-02-19T19:03:25Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000317-0000000000000634-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ea8f47c6-ad1e-4074-9c06-6833b43f49d7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b05dc0c6-3ad9-4f08-b371-074cd3b17d4e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:26 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "lastUpdateDateTime": "2022-02-18T19:03:25Z", - "createdDateTime": "2022-02-18T19:03:25Z", - "expirationDateTime": "2022-02-19T19:03:25Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000318-0000000000000636-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c728dfc0-07fa-4a02-a240-e50f116967a6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e1e5aa8d-e54a-4bea-b6c8-7297640a0ae1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "lastUpdateDateTime": "2022-02-18T19:03:26Z", - "createdDateTime": "2022-02-18T19:03:25Z", - "expirationDateTime": "2022-02-19T19:03:25Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000319-0000000000000638-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "31571e53-ba2c-4b3c-aca4-076a819391e1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4ac15026-d717-4bc9-ad71-1d56979c374b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "38" - }, - "ResponseBody": { - "jobId": "1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "lastUpdateDateTime": "2022-02-18T19:03:29Z", - "createdDateTime": "2022-02-18T19:03:25Z", - "expirationDateTime": "2022-02-19T19:03:25Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/1f16adc7-482a-4894-bdd1-cabf0c1eb91f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000320-0000000000000640-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1ca95dcb-0e6f-4ca2-9b5b-609b39bcfe2f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "85572ccb-bbdf-4f96-b493-e37c64ccbe94", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "182" - }, - "ResponseBody": { - "jobId": "1f16adc7-482a-4894-bdd1-cabf0c1eb91f", - "lastUpdateDateTime": "2022-02-18T19:03:29Z", - "createdDateTime": "2022-02-18T19:03:25Z", - "expirationDateTime": "2022-02-19T19:03:25Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "3", - "entities": [], - "relations": [], - "warnings": [ - { - "code": "DocumentTruncated", - "message": "Document is greater than 5120 chars; relations across splits of 5120 chars may be skipped by the model" - } - ] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.json deleted file mode 100644 index 6fc86c13b2b4..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000322-0000000000000644-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "740429cc-39a0-4fe7-ab6b-f27857e1ba0e" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "bb2ceda9-e6af-4b56-83e3-9df2d382f0b2", - "Date": "Fri, 18 Feb 2022 19:03:31 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7591b184-2bb4-4e82-be37-df6018947af1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "154" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/7591b184-2bb4-4e82-be37-df6018947af1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000323-0000000000000646-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5d8db8c9-82f5-481a-b656-63d1cfe10475" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "316e0eda-fc2a-46aa-88ae-2bf633558dea", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:31 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "63" - }, - "ResponseBody": { - "jobId": "7591b184-2bb4-4e82-be37-df6018947af1", - "lastUpdateDateTime": "2022-02-18T19:03:31Z", - "createdDateTime": "2022-02-18T19:03:31Z", - "expirationDateTime": "2022-02-19T19:03:31Z", - "status": "running", - "errors": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.json deleted file mode 100644 index 0001b134022d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "76", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000263-0000000000000526-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "2f7d4bbe-f532-429d-8bdf-f7f897509c9e" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This won\u0027t actually create a warning :\u0027(" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "52e5d593-5c98-4b2b-92c4-3eb42b75727c", - "Date": "Fri, 18 Feb 2022 19:02:53 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/38f43ba8-e40a-4a4d-b275-98c75d60937d", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "128" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/38f43ba8-e40a-4a4d-b275-98c75d60937d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000264-0000000000000528-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6e1ec71e-23d9-4070-9c87-613aa7101a39" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4b47d7d1-40e6-499a-b494-83a13ce62a5b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "38f43ba8-e40a-4a4d-b275-98c75d60937d", - "lastUpdateDateTime": "2022-02-18T19:02:53Z", - "createdDateTime": "2022-02-18T19:02:53Z", - "expirationDateTime": "2022-02-19T19:02:53Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/38f43ba8-e40a-4a4d-b275-98c75d60937d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000265-0000000000000530-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cb8b9c7d-d61e-4019-8af4-8b33c39c655a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ff829ca6-51cc-4305-aacb-574237eb7acf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:53 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "38f43ba8-e40a-4a4d-b275-98c75d60937d", - "lastUpdateDateTime": "2022-02-18T19:02:53Z", - "createdDateTime": "2022-02-18T19:02:53Z", - "expirationDateTime": "2022-02-19T19:02:53Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/38f43ba8-e40a-4a4d-b275-98c75d60937d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000266-0000000000000532-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8941da84-b42f-40d0-8f7b-5fb62c458151" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ef815287-af9b-4b77-a92a-9a02d3ae342a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "38f43ba8-e40a-4a4d-b275-98c75d60937d", - "lastUpdateDateTime": "2022-02-18T19:02:54Z", - "createdDateTime": "2022-02-18T19:02:53Z", - "expirationDateTime": "2022-02-19T19:02:53Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/38f43ba8-e40a-4a4d-b275-98c75d60937d?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000267-0000000000000534-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c6d40d01-032f-4508-b291-145f008ad117" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "078c5616-ebef-46f9-9a1b-371f1fd0ad20", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:55 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "29" - }, - "ResponseBody": { - "jobId": "38f43ba8-e40a-4a4d-b275-98c75d60937d", - "lastUpdateDateTime": "2022-02-18T19:02:54Z", - "createdDateTime": "2022-02-18T19:02:53Z", - "expirationDateTime": "2022-02-19T19:02:53Z", - "status": "succeeded", - "errors": [], - "results": { - "documents": [ - { - "id": "1", - "entities": [], - "relations": [], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2021-05-15" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json deleted file mode 100644 index 09566810750a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "106", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000321-0000000000000642-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3b01aaec-162a-491f-bd12-342dd183f178" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "hello world" - }, - { - "id": "1", - "text": "I did not like the hotel we stayed at." - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "79fa22e2-c967-42e5-9581-d2e144f03068", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:30 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocument", - "message": "Request contains duplicated Ids. Make sure each document has a unique Id." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json deleted file mode 100644 index 6706cfcbb05e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json +++ /dev/null @@ -1,1574 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "157", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000241-0000000000000482-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4cd03c85-81ae-4c95-96ad-acbfeaedb46e" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "d42056e2-862c-4640-9feb-8a7601c1f661", - "Date": "Fri, 18 Feb 2022 19:02:39 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46973edd-f3a4-4b5b-b563-131712789e8a", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "146" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46973edd-f3a4-4b5b-b563-131712789e8a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000242-0000000000000484-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bf913b95-6a09-419b-b410-8a31a235ac0c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "cb7f8c46-d712-405b-aeaa-f50438c615c6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "46973edd-f3a4-4b5b-b563-131712789e8a", - "lastUpdateDateTime": "2022-02-18T19:02:39Z", - "createdDateTime": "2022-02-18T19:02:39Z", - "expirationDateTime": "2022-02-19T19:02:39Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46973edd-f3a4-4b5b-b563-131712789e8a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000243-0000000000000486-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ef7cf573-2703-4e57-8af9-0b7a2d63789d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c4ef298f-bef3-468c-a10f-5dddc73d4583", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:39 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "46973edd-f3a4-4b5b-b563-131712789e8a", - "lastUpdateDateTime": "2022-02-18T19:02:39Z", - "createdDateTime": "2022-02-18T19:02:39Z", - "expirationDateTime": "2022-02-19T19:02:39Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46973edd-f3a4-4b5b-b563-131712789e8a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000244-0000000000000488-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6f49815b-e689-4755-9f4f-44b1330fc02e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4e7ac2a6-966c-415f-b07d-75071f2cd1a2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "jobId": "46973edd-f3a4-4b5b-b563-131712789e8a", - "lastUpdateDateTime": "2022-02-18T19:02:40Z", - "createdDateTime": "2022-02-18T19:02:39Z", - "expirationDateTime": "2022-02-19T19:02:39Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/46973edd-f3a4-4b5b-b563-131712789e8a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000245-0000000000000490-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "31930a0d-6df4-4b82-86ee-8205cf0e06cd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0b17a1ab-abd9-43d6-831f-1e18e543cb27", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "49" - }, - "ResponseBody": { - "jobId": "46973edd-f3a4-4b5b-b563-131712789e8a", - "lastUpdateDateTime": "2022-02-18T19:02:40Z", - "createdDateTime": "2022-02-18T19:02:39Z", - "expirationDateTime": "2022-02-19T19:02:39Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json deleted file mode 100644 index e7b2552dbf68..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json +++ /dev/null @@ -1,454 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=UnicodeCodePoint", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000333-0000000000000666-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8fdce9a5-fbaf-48b7-a31b-db121c8236ce" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "635785dc-c834-4932-b596-7cb76078d3d0", - "Date": "Fri, 18 Feb 2022 19:03:38 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/383264f6-b783-4b0f-a402-973a96271136", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/383264f6-b783-4b0f-a402-973a96271136?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000334-0000000000000668-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "475281b3-8561-435f-a83e-797eb42e06ca" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "098cc7d5-ef1c-4e50-85ec-417e817011b1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "383264f6-b783-4b0f-a402-973a96271136", - "lastUpdateDateTime": "2022-02-18T19:03:38Z", - "createdDateTime": "2022-02-18T19:03:38Z", - "expirationDateTime": "2022-02-19T19:03:38Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/383264f6-b783-4b0f-a402-973a96271136?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000335-0000000000000670-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "270a8d54-f724-4f23-afe5-4a00924cdba4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "918c32c9-63cf-4f3c-be70-f4241220d996", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "383264f6-b783-4b0f-a402-973a96271136", - "lastUpdateDateTime": "2022-02-18T19:03:39Z", - "createdDateTime": "2022-02-18T19:03:38Z", - "expirationDateTime": "2022-02-19T19:03:38Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/383264f6-b783-4b0f-a402-973a96271136?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000336-0000000000000672-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d45d3035-8832-406f-8821-3a1d5138b15c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "d28eed73-b807-4093-abf4-a0bf26caf394", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:40 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "220" - }, - "ResponseBody": { - "jobId": "383264f6-b783-4b0f-a402-973a96271136", - "lastUpdateDateTime": "2022-02-18T19:03:39Z", - "createdDateTime": "2022-02-18T19:03:38Z", - "expirationDateTime": "2022-02-19T19:03:38Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/383264f6-b783-4b0f-a402-973a96271136?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000337-0000000000000674-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9c446f63-e247-43ba-9f52-c2b3c16866c2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "22f1f6ef-9308-4b68-b087-e420ec2cff70", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:41 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "30" - }, - "ResponseBody": { - "jobId": "383264f6-b783-4b0f-a402-973a96271136", - "lastUpdateDateTime": "2022-02-18T19:03:39Z", - "createdDateTime": "2022-02-18T19:03:38Z", - "expirationDateTime": "2022-02-19T19:03:38Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json deleted file mode 100644 index 78acdabc6bd0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json +++ /dev/null @@ -1,454 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "103", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000328-0000000000000656-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a194f371-98ef-4eb0-9b3c-19a737949afc" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "\uD83D\uDC69\uD83C\uDFFB\u200D\uD83D\uDC69\uD83C\uDFFD\u200D\uD83D\uDC67\uD83C\uDFFE\u200D\uD83D\uDC66\uD83C\uDFFF ibuprofen", - "language": "en" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "53d6a90d-7d79-4ad0-886a-8a13432ef69d", - "Date": "Fri, 18 Feb 2022 19:03:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/51ad626d-1329-45c8-92a8-5411a6147b38", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "123" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/51ad626d-1329-45c8-92a8-5411a6147b38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000329-0000000000000658-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4605e6a8-9355-4ea9-82c3-9454ecf3337f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "df1724f5-e457-4dec-a071-63d2262097f8", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "51ad626d-1329-45c8-92a8-5411a6147b38", - "lastUpdateDateTime": "2022-02-18T19:03:35Z", - "createdDateTime": "2022-02-18T19:03:35Z", - "expirationDateTime": "2022-02-19T19:03:35Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/51ad626d-1329-45c8-92a8-5411a6147b38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000330-0000000000000660-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a745a8c5-be83-4f43-b063-80ecb80e27bf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0c51ebba-f14f-4fb0-973f-fd1e06c1a9fe", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "51ad626d-1329-45c8-92a8-5411a6147b38", - "lastUpdateDateTime": "2022-02-18T19:03:35Z", - "createdDateTime": "2022-02-18T19:03:35Z", - "expirationDateTime": "2022-02-19T19:03:35Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/51ad626d-1329-45c8-92a8-5411a6147b38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000331-0000000000000662-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1715dd0d-c537-43e1-939f-ee8443eb301a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f9c1454f-6800-4259-a71e-fe2b85e57859", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "53" - }, - "ResponseBody": { - "jobId": "51ad626d-1329-45c8-92a8-5411a6147b38", - "lastUpdateDateTime": "2022-02-18T19:03:36Z", - "createdDateTime": "2022-02-18T19:03:35Z", - "expirationDateTime": "2022-02-19T19:03:35Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/51ad626d-1329-45c8-92a8-5411a6147b38?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000332-0000000000000664-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "823eec60-1059-44aa-b817-c45bca304e01" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "83a5fee4-f7ab-49eb-904e-cf6a80fec00b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:37 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "jobId": "51ad626d-1329-45c8-92a8-5411a6147b38", - "lastUpdateDateTime": "2022-02-18T19:03:36Z", - "createdDateTime": "2022-02-18T19:03:35Z", - "expirationDateTime": "2022-02-19T19:03:35Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.json deleted file mode 100644 index ab5d7e2da249..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.json +++ /dev/null @@ -1,941 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000246-0000000000000492-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4215c620-36ca-4dea-99fc-44449958d5cd" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "9825631e-f1e8-4571-b01a-abd80be433ef", - "Date": "Fri, 18 Feb 2022 19:02:42 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6652d240-6975-4d56-ab84-86da0359be9a", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "162" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6652d240-6975-4d56-ab84-86da0359be9a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000247-0000000000000494-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7353e371-1bce-4946-a5ff-e3d7c592312f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e7afa6eb-e052-4cc2-97d6-2562413ba882", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "6652d240-6975-4d56-ab84-86da0359be9a", - "lastUpdateDateTime": "2022-02-18T19:02:42Z", - "createdDateTime": "2022-02-18T19:02:42Z", - "expirationDateTime": "2022-02-19T19:02:42Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6652d240-6975-4d56-ab84-86da0359be9a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000248-0000000000000496-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "abce9d55-2ccf-44de-9f5d-efde0b860659" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "745307cb-93d5-49ee-bdc5-d2b1b9e14fb9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:42 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "6652d240-6975-4d56-ab84-86da0359be9a", - "lastUpdateDateTime": "2022-02-18T19:02:42Z", - "createdDateTime": "2022-02-18T19:02:42Z", - "expirationDateTime": "2022-02-19T19:02:42Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6652d240-6975-4d56-ab84-86da0359be9a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000249-0000000000000498-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "28565cae-c3bb-4ece-b2a9-acb27a27d70f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0d657a59-4e73-4e42-8c30-0a6d1a4e1617", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:44 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "105" - }, - "ResponseBody": { - "jobId": "6652d240-6975-4d56-ab84-86da0359be9a", - "lastUpdateDateTime": "2022-02-18T19:02:43Z", - "createdDateTime": "2022-02-18T19:02:42Z", - "expirationDateTime": "2022-02-19T19:02:42Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6652d240-6975-4d56-ab84-86da0359be9a?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000250-0000000000000500-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "53601e1f-90c6-4319-a9c2-6ef776eaa328" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6eddcfa1-3c63-4bd9-9322-89b9740ef009", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "49" - }, - "ResponseBody": { - "jobId": "6652d240-6975-4d56-ab84-86da0359be9a", - "lastUpdateDateTime": "2022-02-18T19:02:43Z", - "createdDateTime": "2022-02-18T19:02:42Z", - "expirationDateTime": "2022-02-19T19:02:42Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.json deleted file mode 100644 index 1909d952efa9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.json +++ /dev/null @@ -1,941 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000236-0000000000000472-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a8e6497a-00cc-4db8-9101-5fb5889735f5" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "499ad51c-aabf-43a8-8987-3641ce2c1642", - "Date": "Fri, 18 Feb 2022 19:02:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/88f5c931-844d-4773-864c-fda4c25b7c88", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "163" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/88f5c931-844d-4773-864c-fda4c25b7c88?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000237-0000000000000474-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c6f76da-cc82-44ff-945d-147f5e82b40d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0b1b18b5-ce2a-4ac8-bcc5-be2ffde26c4c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:35 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "88f5c931-844d-4773-864c-fda4c25b7c88", - "lastUpdateDateTime": "2022-02-18T19:02:35Z", - "createdDateTime": "2022-02-18T19:02:35Z", - "expirationDateTime": "2022-02-19T19:02:35Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/88f5c931-844d-4773-864c-fda4c25b7c88?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000238-0000000000000476-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b5bb9264-815f-4ffe-b55a-edf65dd3edb1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8443662b-8d15-48fe-a3dd-6a87fdc4280c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:36 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "879" - }, - "ResponseBody": { - "jobId": "88f5c931-844d-4773-864c-fda4c25b7c88", - "lastUpdateDateTime": "2022-02-18T19:02:36Z", - "createdDateTime": "2022-02-18T19:02:35Z", - "expirationDateTime": "2022-02-19T19:02:35Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/88f5c931-844d-4773-864c-fda4c25b7c88?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000239-0000000000000478-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4e3ff0ae-b85f-481e-9ca7-f9842e97bfbe" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "9f454c97-5953-484d-990c-a2ecaa11eb11", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "jobId": "88f5c931-844d-4773-864c-fda4c25b7c88", - "lastUpdateDateTime": "2022-02-18T19:02:36Z", - "createdDateTime": "2022-02-18T19:02:35Z", - "expirationDateTime": "2022-02-19T19:02:35Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/88f5c931-844d-4773-864c-fda4c25b7c88?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000240-0000000000000480-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8b73839d-dff3-4375-8760-c9954d10d235" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "15d83955-da97-4f9c-8c72-912205cc016e", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:38 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "117" - }, - "ResponseBody": { - "jobId": "88f5c931-844d-4773-864c-fda4c25b7c88", - "lastUpdateDateTime": "2022-02-18T19:02:36Z", - "createdDateTime": "2022-02-18T19:02:35Z", - "expirationDateTime": "2022-02-19T19:02:35Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json deleted file mode 100644 index 012499fce78b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000302-0000000000000604-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c4643071-1cc8-470c-857f-515febed14e4" - }, - "RequestBody": { - "documents": [ - { - "id": "0", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "784bb224-bd82-48e0-878e-06193028e7ad", - "Date": "Fri, 18 Feb 2022 19:03:19 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9d583d81-26d5-4bfd-a403-6e2ff408408e", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "199" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9d583d81-26d5-4bfd-a403-6e2ff408408e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000303-0000000000000606-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8ce56620-899d-482c-b573-6d103f64b56b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "de1a1ba7-22a6-44a5-89ad-5b71ac86ce2d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "9d583d81-26d5-4bfd-a403-6e2ff408408e", - "lastUpdateDateTime": "2022-02-18T19:03:20Z", - "createdDateTime": "2022-02-18T19:03:20Z", - "expirationDateTime": "2022-02-19T19:03:20Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9d583d81-26d5-4bfd-a403-6e2ff408408e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000304-0000000000000608-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b06e88a5-72c7-4f3e-98dd-41da81b9b846" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "f349e0df-eeaf-492e-96da-739d742aefff", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "jobId": "9d583d81-26d5-4bfd-a403-6e2ff408408e", - "lastUpdateDateTime": "2022-02-18T19:03:20Z", - "createdDateTime": "2022-02-18T19:03:20Z", - "expirationDateTime": "2022-02-19T19:03:20Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/9d583d81-26d5-4bfd-a403-6e2ff408408e?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000305-0000000000000610-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "783b49b3-1a6a-443b-8b63-5ce637d1861e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "acb29eb6-3e36-4ac2-8cae-4c695db4fe19", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:19 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "32" - }, - "ResponseBody": { - "jobId": "9d583d81-26d5-4bfd-a403-6e2ff408408e", - "lastUpdateDateTime": "2022-02-18T19:03:20Z", - "createdDateTime": "2022-02-18T19:03:20Z", - "expirationDateTime": "2022-02-19T19:03:20Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json deleted file mode 100644 index 6f5de9f2384e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "128", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000306-0000000000000612-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "6010e46e-f59e-4766-abaf-1708c784c3a8" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "This should fail because we\u0027re passing in an invalid language hint", - "language": "notalanguage" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "05787c28-ff4b-4c7f-8a14-28e6d32170d7", - "Date": "Fri, 18 Feb 2022 19:03:20 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/806256af-fa98-474f-aa98-c9198d9c1339", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "192" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/806256af-fa98-474f-aa98-c9198d9c1339?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000307-0000000000000614-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e64105a2-7416-4b18-91a4-45e9b741e96b" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3fead8c2-3aaa-4673-8cb9-99fcd586ccd7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:20 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "10" - }, - "ResponseBody": { - "jobId": "806256af-fa98-474f-aa98-c9198d9c1339", - "lastUpdateDateTime": "2022-02-18T19:03:21Z", - "createdDateTime": "2022-02-18T19:03:21Z", - "expirationDateTime": "2022-02-19T19:03:21Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/806256af-fa98-474f-aa98-c9198d9c1339?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000308-0000000000000616-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "f2f5174f-b485-4f82-98c6-2f1624b85bf8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "b6f5b53b-f24c-4efa-bb89-eadbec6ed724", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "806256af-fa98-474f-aa98-c9198d9c1339", - "lastUpdateDateTime": "2022-02-18T19:03:21Z", - "createdDateTime": "2022-02-18T19:03:21Z", - "expirationDateTime": "2022-02-19T19:03:21Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/806256af-fa98-474f-aa98-c9198d9c1339?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000309-0000000000000618-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "470d56c8-9274-4190-ba1b-17729bd978cc" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e2bb218e-4f2f-410d-948a-82dbdfef6aea", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:23 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "51" - }, - "ResponseBody": { - "jobId": "806256af-fa98-474f-aa98-c9198d9c1339", - "lastUpdateDateTime": "2022-02-18T19:03:21Z", - "createdDateTime": "2022-02-18T19:03:21Z", - "expirationDateTime": "2022-02-19T19:03:21Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/806256af-fa98-474f-aa98-c9198d9c1339?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000310-0000000000000620-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8636f467-94a8-4636-9d25-f9182544430e" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "eecdf3b4-3eca-4788-9a2b-30f00d3a8009", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:24 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "39" - }, - "ResponseBody": { - "jobId": "806256af-fa98-474f-aa98-c9198d9c1339", - "lastUpdateDateTime": "2022-02-18T19:03:21Z", - "createdDateTime": "2022-02-18T19:03:21Z", - "expirationDateTime": "2022-02-19T19:03:21Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json deleted file mode 100644 index 9d180304a588..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json +++ /dev/null @@ -1,521 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "184", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a33f87c3-bb98-4f9f-b5e3-73e5a52a6ae1" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b1cebf1f-325e-4590-bbcc-0e892618e9a9", - "Date": "Fri, 18 Feb 2022 19:46:27 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e125858d-3de1-48d9-9da4-6cf768bc4f33", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "213" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e125858d-3de1-48d9-9da4-6cf768bc4f33?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "98e698a3-4691-47fc-8f23-7e8d30d33475" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "06842697-0a17-4249-8463-af842d55d600", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "e125858d-3de1-48d9-9da4-6cf768bc4f33", - "lastUpdateDateTime": "2022-02-18T19:46:27Z", - "createdDateTime": "2022-02-18T19:46:27Z", - "expirationDateTime": "2022-02-19T19:46:27Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e125858d-3de1-48d9-9da4-6cf768bc4f33?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e41de60f-68fc-4f70-9a53-f3973c55e0a6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ed1b62ac-5735-4d29-90e3-c983b3e415ca", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:27 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" - }, - "ResponseBody": { - "jobId": "e125858d-3de1-48d9-9da4-6cf768bc4f33", - "lastUpdateDateTime": "2022-02-18T19:46:27Z", - "createdDateTime": "2022-02-18T19:46:27Z", - "expirationDateTime": "2022-02-19T19:46:27Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/e125858d-3de1-48d9-9da4-6cf768bc4f33?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d2ef2615-1ed0-4fee-bf78-4673d38bd606" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "bfd99518-cba4-4f09-a26b-5d0d3582022d", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:46:29 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "204" - }, - "ResponseBody": { - "jobId": "e125858d-3de1-48d9-9da4-6cf768bc4f33", - "lastUpdateDateTime": "2022-02-18T19:46:27Z", - "createdDateTime": "2022-02-18T19:46:27Z", - "expirationDateTime": "2022-02-19T19:46:27Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json deleted file mode 100644 index 0c14c8597338..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "139", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000268-0000000000000536-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "861b9c82-da1e-493f-a90c-f4a166e58f02" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "one" - }, - { - "id": "2", - "text": "two" - }, - { - "id": "3", - "text": "three" - }, - { - "id": "4", - "text": "four" - }, - { - "id": "5", - "text": "five" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "8a33b183-a41c-445e-8fe3-7792f0b99e00", - "Date": "Fri, 18 Feb 2022 19:02:56 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f1987ce-d4a3-4456-b7e2-1f31a03469b0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "193" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f1987ce-d4a3-4456-b7e2-1f31a03469b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000269-0000000000000538-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e7909029-982f-4415-bbb9-859c7664461d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4a3acf1f-c3f1-4e1c-ba5a-9d77fd7088c7", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:56 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" - }, - "ResponseBody": { - "jobId": "6f1987ce-d4a3-4456-b7e2-1f31a03469b0", - "lastUpdateDateTime": "2022-02-18T19:02:56Z", - "createdDateTime": "2022-02-18T19:02:56Z", - "expirationDateTime": "2022-02-19T19:02:56Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f1987ce-d4a3-4456-b7e2-1f31a03469b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000270-0000000000000540-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8fa2ba0a-ec17-4ed6-8866-db8d54a68934" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "dfc1b5bc-78e6-44a4-b382-e6b1b812d127", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19: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" - }, - "ResponseBody": { - "jobId": "6f1987ce-d4a3-4456-b7e2-1f31a03469b0", - "lastUpdateDateTime": "2022-02-18T19:02:56Z", - "createdDateTime": "2022-02-18T19:02:56Z", - "expirationDateTime": "2022-02-19T19:02:56Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f1987ce-d4a3-4456-b7e2-1f31a03469b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000271-0000000000000542-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9bd39f5e-58dd-42f6-861f-4a2ebc053788" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8295e73a-60ee-4889-b390-32e01a78f700", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:58 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" - }, - "ResponseBody": { - "jobId": "6f1987ce-d4a3-4456-b7e2-1f31a03469b0", - "lastUpdateDateTime": "2022-02-18T19:02:57Z", - "createdDateTime": "2022-02-18T19:02:56Z", - "expirationDateTime": "2022-02-19T19:02:56Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/6f1987ce-d4a3-4456-b7e2-1f31a03469b0?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000272-0000000000000544-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "08112091-6e7d-4dab-9f14-0e44b81151fb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1ccbeb17-9844-4c82-8fee-3da0facade74", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "239" - }, - "ResponseBody": { - "jobId": "6f1987ce-d4a3-4456-b7e2-1f31a03469b0", - "lastUpdateDateTime": "2022-02-18T19:02:57Z", - "createdDateTime": "2022-02-18T19:02:56Z", - "expirationDateTime": "2022-02-19T19:02:56Z", - "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" - } - } - } - ], - "Variables": {} -} 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.json 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.json deleted file mode 100644 index 25ec5cf80da3..000000000000 --- 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.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000273-0000000000000546-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e6a9a913-814e-4a3f-b60d-a30e6d32ceff" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b6b6a6a1-4dd5-4b14-899f-317ab136e3ca", - "Date": "Fri, 18 Feb 2022 19:02:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/10522fda-9791-4c39-b5e2-b310f27f9aee", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "208" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/10522fda-9791-4c39-b5e2-b310f27f9aee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000274-0000000000000548-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5aa3e377-08ad-4d46-99b1-0a2d670631ae" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "fdf4f02a-7a47-4501-ab39-2cc9f78f2974", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:59 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "10522fda-9791-4c39-b5e2-b310f27f9aee", - "lastUpdateDateTime": "2022-02-18T19:03:00Z", - "createdDateTime": "2022-02-18T19:03:00Z", - "expirationDateTime": "2022-02-19T19:03:00Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/10522fda-9791-4c39-b5e2-b310f27f9aee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000275-0000000000000550-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3ffaa307-7ff7-4b1f-86f3-451ff34291b4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ddc02489-8210-4010-9331-798a01c3a828", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:00 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "10522fda-9791-4c39-b5e2-b310f27f9aee", - "lastUpdateDateTime": "2022-02-18T19:03:00Z", - "createdDateTime": "2022-02-18T19:03:00Z", - "expirationDateTime": "2022-02-19T19:03:00Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/10522fda-9791-4c39-b5e2-b310f27f9aee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000276-0000000000000552-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "3e251b60-9f9d-4aa6-9825-d41bd8e7cdb2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e937fee2-99fd-488d-b595-785b28b243fd", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" - }, - "ResponseBody": { - "jobId": "10522fda-9791-4c39-b5e2-b310f27f9aee", - "lastUpdateDateTime": "2022-02-18T19:03:01Z", - "createdDateTime": "2022-02-18T19:03:00Z", - "expirationDateTime": "2022-02-19T19:03:00Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/10522fda-9791-4c39-b5e2-b310f27f9aee?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000277-0000000000000554-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4f65a90c-38b5-4aac-a30c-342c786c0b4c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "8dc821e9-d0c4-492e-9378-15e2ad600aa2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:02 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "78" - }, - "ResponseBody": { - "jobId": "10522fda-9791-4c39-b5e2-b310f27f9aee", - "lastUpdateDateTime": "2022-02-18T19:03:01Z", - "createdDateTime": "2022-02-18T19:03:00Z", - "expirationDateTime": "2022-02-19T19:03:00Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json deleted file mode 100644 index 733ba322e1a8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json +++ /dev/null @@ -1,2544 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "710405", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000262-0000000000000524-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "962173fc-f238-4ee6-9d0d-f8222da5a3df" - }, - "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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and 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\u0027s increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.", - "language": "en" - } - ] - }, - "StatusCode": 413, - "ResponseHeaders": { - "apim-request-id": "71602f95-15f3-4e33-bdf0-5bcee643cedb", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:52 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "34" - }, - "ResponseBody": { - "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" - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json deleted file mode 100644 index 613baa0569d1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?model-version=latest\u0026stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "131", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000278-0000000000000556-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a4953f8c-0de4-4ca5-81aa-2ad2f002975f" - }, - "RequestBody": { - "documents": [ - { - "id": "56", - "text": ":)" - }, - { - "id": "0", - "text": ":(" - }, - { - "id": "22", - "text": "" - }, - { - "id": "19", - "text": ":P" - }, - { - "id": "1", - "text": ":D" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "b2779f16-88eb-43f3-9b63-69979e348684", - "Date": "Fri, 18 Feb 2022 19:03:03 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/a6c3a3da-8224-4ca1-b5e1-13cc98e25576", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "209" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/a6c3a3da-8224-4ca1-b5e1-13cc98e25576?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000279-0000000000000558-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a79f79f7-2efa-4057-bc9a-bf40956c8c8a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2d5b7581-eec8-47eb-9f2d-485c723ecef4", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a6c3a3da-8224-4ca1-b5e1-13cc98e25576", - "lastUpdateDateTime": "2022-02-18T19:03:03Z", - "createdDateTime": "2022-02-18T19:03:03Z", - "expirationDateTime": "2022-02-19T19:03:03Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/a6c3a3da-8224-4ca1-b5e1-13cc98e25576?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000280-0000000000000560-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0d2fb6ec-6beb-4268-94df-980a1d3711a4" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "766d0afe-63f3-4593-9fe2-28f0b01f6f56", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:03 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "a6c3a3da-8224-4ca1-b5e1-13cc98e25576", - "lastUpdateDateTime": "2022-02-18T19:03:03Z", - "createdDateTime": "2022-02-18T19:03:03Z", - "expirationDateTime": "2022-02-19T19:03:03Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/a6c3a3da-8224-4ca1-b5e1-13cc98e25576?showStats=true\u0026$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000281-0000000000000562-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c7f8d3b7-d6e1-448e-805b-be06ba3c0ea2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "42267b8a-5c36-415d-8255-b99adb2da6cf", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:05 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "201" - }, - "ResponseBody": { - "jobId": "a6c3a3da-8224-4ca1-b5e1-13cc98e25576", - "lastUpdateDateTime": "2022-02-18T19:03:04Z", - "createdDateTime": "2022-02-18T19:03:03Z", - "expirationDateTime": "2022-02-19T19:03:03Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json deleted file mode 100644 index 66884b622172..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json +++ /dev/null @@ -1,592 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "226", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000251-0000000000000502-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cbe92142-7f91-4a21-82a0-b43ad91e9fc1" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1f4df6d1-e12a-4617-bed2-00963b850a9d", - "Date": "Fri, 18 Feb 2022 19:02:45 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/499d45ea-d038-4925-a22c-316ec72fec5c", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/499d45ea-d038-4925-a22c-316ec72fec5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000252-0000000000000504-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c834484b-4da3-4aa4-8e28-5b733ec27ec8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "337b491f-1200-4bf6-a578-d89657bab921", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "499d45ea-d038-4925-a22c-316ec72fec5c", - "lastUpdateDateTime": "2022-02-18T19:02:45Z", - "createdDateTime": "2022-02-18T19:02:45Z", - "expirationDateTime": "2022-02-19T19:02:45Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/499d45ea-d038-4925-a22c-316ec72fec5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000253-0000000000000506-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "214163a3-eb7a-4223-bfd7-d6b2adc81723" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "130bdf59-48c2-457b-bc33-359720739ed3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:45 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "499d45ea-d038-4925-a22c-316ec72fec5c", - "lastUpdateDateTime": "2022-02-18T19:02:45Z", - "createdDateTime": "2022-02-18T19:02:45Z", - "expirationDateTime": "2022-02-19T19:02:45Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/499d45ea-d038-4925-a22c-316ec72fec5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000254-0000000000000508-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "1eea5e62-0398-4d61-afbb-298110edf4dd" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4c90210d-478a-4dd8-aa46-d20d4d7c1165", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:47 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "jobId": "499d45ea-d038-4925-a22c-316ec72fec5c", - "lastUpdateDateTime": "2022-02-18T19:02:46Z", - "createdDateTime": "2022-02-18T19:02:45Z", - "expirationDateTime": "2022-02-19T19:02:45Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/499d45ea-d038-4925-a22c-316ec72fec5c?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000255-0000000000000510-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "397c0376-1477-4e8f-97b1-94b2826e9a4d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "3e99a45b-642b-4ad9-acf1-9a9b591956a9", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:48 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "49" - }, - "ResponseBody": { - "jobId": "499d45ea-d038-4925-a22c-316ec72fec5c", - "lastUpdateDateTime": "2022-02-18T19:02:46Z", - "createdDateTime": "2022-02-18T19:02:45Z", - "expirationDateTime": "2022-02-19T19:02:45Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json deleted file mode 100644 index 5b84fb7f4032..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "544", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000261-0000000000000522-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "9e983ae3-1523-4c7a-a22f-156c475d0cd5" - }, - "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" - } - ] - }, - "StatusCode": 400, - "ResponseHeaders": { - "apim-request-id": "cadde603-b138-4113-97b1-d3548c1f36a3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:02:51 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "42" - }, - "ResponseBody": { - "error": { - "code": "InvalidRequest", - "message": "Invalid document in request.", - "innererror": { - "code": "InvalidDocumentBatch", - "message": "Batch request contains too many records. Max 10 records are permitted." - } - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json deleted file mode 100644 index 764dedede176..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000287-0000000000000574-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "b5ae0b50-9043-43af-89ce-d0c87d11f25f" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "a39a7029-b560-4928-a2ef-2aa4c2d8107f", - "Date": "Fri, 18 Feb 2022 19:03:09 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "159" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000288-0000000000000576-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "e6cdce0b-e515-429f-a0b0-dbd73a1d154c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "0cfd44f7-4b57-4395-9eaa-a18f629ae90b", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1", - "lastUpdateDateTime": "2022-02-18T19:03:10Z", - "createdDateTime": "2022-02-18T19:03:09Z", - "expirationDateTime": "2022-02-19T19:03:09Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000289-0000000000000578-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "8b1d3f39-b003-4084-aeb9-c8e3106ab7ad" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "5b405653-130d-4a70-b54d-8f2a27fd9763", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:09 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "9" - }, - "ResponseBody": { - "jobId": "d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1", - "lastUpdateDateTime": "2022-02-18T19:03:10Z", - "createdDateTime": "2022-02-18T19:03:09Z", - "expirationDateTime": "2022-02-19T19:03:09Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000290-0000000000000580-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "71bdf6ab-4525-4e13-8bab-12c0277544a5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "e5b0f0d7-63e3-434f-ab9a-f8f8efe8f2e2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "56" - }, - "ResponseBody": { - "jobId": "d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1", - "lastUpdateDateTime": "2022-02-18T19:03:10Z", - "createdDateTime": "2022-02-18T19:03:09Z", - "expirationDateTime": "2022-02-19T19:03:09Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000291-0000000000000582-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fbb260ee-f013-4214-a965-1dd6009ae7e1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "6e1e60f9-5845-42c6-bb1f-0457c0bfbe15", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:11 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "d9c2715c-c1c8-4bc9-8b6f-0d38c33570d1", - "lastUpdateDateTime": "2022-02-18T19:03:10Z", - "createdDateTime": "2022-02-18T19:03:09Z", - "expirationDateTime": "2022-02-19T19:03:09Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json deleted file mode 100644 index 7736b2dca52d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "202", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000292-0000000000000584-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "4065cd49-366e-487a-b3b1-860587c40b97" - }, - "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." - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "878a553c-671e-449c-a055-62c07c20bff5", - "Date": "Fri, 18 Feb 2022 19:03:12 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/230623b4-2b69-43b2-a30f-78a11a036a9b", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "165" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/230623b4-2b69-43b2-a30f-78a11a036a9b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000293-0000000000000586-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a0efac9a-9de0-41e8-ba2c-374e1a165b1c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ac8baaf9-7e17-471f-9ecb-30f3f760868c", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "12" - }, - "ResponseBody": { - "jobId": "230623b4-2b69-43b2-a30f-78a11a036a9b", - "lastUpdateDateTime": "2022-02-18T19:03:13Z", - "createdDateTime": "2022-02-18T19:03:13Z", - "expirationDateTime": "2022-02-19T19:03:13Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/230623b4-2b69-43b2-a30f-78a11a036a9b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000294-0000000000000588-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "a173dcfc-f2f2-4fc3-b9e5-8f4a5a6fc226" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c85aa702-6d86-4845-b79f-073ad82b91dc", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:12 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "230623b4-2b69-43b2-a30f-78a11a036a9b", - "lastUpdateDateTime": "2022-02-18T19:03:13Z", - "createdDateTime": "2022-02-18T19:03:13Z", - "expirationDateTime": "2022-02-19T19:03:13Z", - "status": "running", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/230623b4-2b69-43b2-a30f-78a11a036a9b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000295-0000000000000590-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "49cfc5e6-c416-498e-8b6d-7ed896a807c8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "1aefa16f-19db-4021-81a1-0bc219282826", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "255" - }, - "ResponseBody": { - "jobId": "230623b4-2b69-43b2-a30f-78a11a036a9b", - "lastUpdateDateTime": "2022-02-18T19:03:13Z", - "createdDateTime": "2022-02-18T19:03:13Z", - "expirationDateTime": "2022-02-19T19:03:13Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/230623b4-2b69-43b2-a30f-78a11a036a9b?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000296-0000000000000592-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "bfc1a33f-e83e-4271-a558-7f6a203147ad" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ace0fd2e-a66e-496f-bc59-a2fb5a221309", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "61" - }, - "ResponseBody": { - "jobId": "230623b4-2b69-43b2-a30f-78a11a036a9b", - "lastUpdateDateTime": "2022-02-18T19:03:13Z", - "createdDateTime": "2022-02-18T19:03:13Z", - "expirationDateTime": "2022-02-19T19:03:13Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json deleted file mode 100644 index 74db42cd7443..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "261", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000282-0000000000000564-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0b2f91ce-7be8-4016-b782-5945d00ec00c" - }, - "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" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "1f8ddc0a-926f-4efa-9db2-40066dff9ae1", - "Date": "Fri, 18 Feb 2022 19:03:06 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8a4c12e3-1b93-4d52-970b-6db36b309655", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "209" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8a4c12e3-1b93-4d52-970b-6db36b309655?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000283-0000000000000566-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "55fb710f-1708-4a44-806e-c1ada753f190" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "19fb625a-cd37-4d6e-8e5e-212ae2189357", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "8a4c12e3-1b93-4d52-970b-6db36b309655", - "lastUpdateDateTime": "2022-02-18T19:03:06Z", - "createdDateTime": "2022-02-18T19:03:06Z", - "expirationDateTime": "2022-02-19T19:03:06Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8a4c12e3-1b93-4d52-970b-6db36b309655?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000284-0000000000000568-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "ae8d538f-8a7a-4394-a876-3982733eb615" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "4ce022e2-d443-4efa-a99b-3e0308497393", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:06 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "8a4c12e3-1b93-4d52-970b-6db36b309655", - "lastUpdateDateTime": "2022-02-18T19:03:06Z", - "createdDateTime": "2022-02-18T19:03:06Z", - "expirationDateTime": "2022-02-19T19:03:06Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8a4c12e3-1b93-4d52-970b-6db36b309655?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000285-0000000000000570-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "85d04df7-8677-4847-a153-e49ffe179ae1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "2cef1845-f168-4087-a2b6-f1fb5985a8a6", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "54" - }, - "ResponseBody": { - "jobId": "8a4c12e3-1b93-4d52-970b-6db36b309655", - "lastUpdateDateTime": "2022-02-18T19:03:07Z", - "createdDateTime": "2022-02-18T19:03:06Z", - "expirationDateTime": "2022-02-19T19:03:06Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/8a4c12e3-1b93-4d52-970b-6db36b309655?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000286-0000000000000572-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "5d93edbc-fe33-4d85-b7d4-4ea0007f2301" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "ce1fc0a3-77e0-4b59-beae-30a71675b53a", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:08 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "50" - }, - "ResponseBody": { - "jobId": "8a4c12e3-1b93-4d52-970b-6db36b309655", - "lastUpdateDateTime": "2022-02-18T19:03:07Z", - "createdDateTime": "2022-02-18T19:03:06Z", - "expirationDateTime": "2022-02-19T19:03:06Z", - "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" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json deleted file mode 100644 index 4f79a780cac8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs?stringIndexType=Utf16CodeUnit", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Content-Length": "171", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000297-0000000000000594-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "0ed1a5e0-7f0e-4dc9-a3b9-893d66df2f3b" - }, - "RequestBody": { - "documents": [ - { - "id": "1", - "text": "I should take my cat to the veterinarian." - }, - { - "id": "2", - "text": "Este es un document escrito en Espa\u00F1ol." - }, - { - "id": "3", - "text": "\u732B\u306F\u5E78\u305B" - } - ] - }, - "StatusCode": 202, - "ResponseHeaders": { - "apim-request-id": "5f0a799e-1738-477d-82d2-d7ed84980813", - "Date": "Fri, 18 Feb 2022 19:03:15 GMT", - "operation-location": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ed67a8cc-4b4c-49ab-922b-8028a569270f", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "202" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ed67a8cc-4b4c-49ab-922b-8028a569270f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000298-0000000000000596-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "fefa1c5f-4c34-4ffd-a77c-2d8a5adea23d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "c4ab2e54-182a-4b2e-90fc-31ce352f1b79", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:15 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" - }, - "ResponseBody": { - "jobId": "ed67a8cc-4b4c-49ab-922b-8028a569270f", - "lastUpdateDateTime": "2022-02-18T19:03:16Z", - "createdDateTime": "2022-02-18T19:03:16Z", - "expirationDateTime": "2022-02-19T19:03:16Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ed67a8cc-4b4c-49ab-922b-8028a569270f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000299-0000000000000598-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "afde8e39-aae7-44e2-a5b7-ba86a037fa9d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "a2e770d6-c663-43ab-9bf5-631d01f8a605", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:16 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "8" - }, - "ResponseBody": { - "jobId": "ed67a8cc-4b4c-49ab-922b-8028a569270f", - "lastUpdateDateTime": "2022-02-18T19:03:16Z", - "createdDateTime": "2022-02-18T19:03:16Z", - "expirationDateTime": "2022-02-19T19:03:16Z", - "status": "notStarted", - "errors": [] - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ed67a8cc-4b4c-49ab-922b-8028a569270f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000300-0000000000000600-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "d806c01f-6abd-4396-b9e9-9639e181fbb0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "36cadea1-c74d-4c4c-85e2-8a572d5f1c15", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "680" - }, - "ResponseBody": { - "jobId": "ed67a8cc-4b4c-49ab-922b-8028a569270f", - "lastUpdateDateTime": "2022-02-18T19:03:17Z", - "createdDateTime": "2022-02-18T19:03:16Z", - "expirationDateTime": "2022-02-19T19:03:16Z", - "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" - } - } - }, - { - "RequestUri": "https://endpoint/text/analytics/v3.2-preview.2/entities/health/jobs/ed67a8cc-4b4c-49ab-922b-8028a569270f?$top=20\u0026$skip=0", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", - "Connection": "keep-alive", - "Ocp-Apim-Subscription-Key": "api_key", - "traceparent": "00-00000000000000000000000000000301-0000000000000602-00", - "User-Agent": "azsdk-js-ai-text-analytics/5.2.0-beta.3 core-rest-pipeline/1.5.1 Node/v16.13.2 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "cfd0c03a-798f-40cf-b6be-b718af32913a" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "apim-request-id": "895516d3-9377-40bc-8608-300254012af2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 18 Feb 2022 19:03:18 GMT", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "Transfer-Encoding": "chunked", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "55" - }, - "ResponseBody": { - "jobId": "ed67a8cc-4b4c-49ab-922b-8028a569270f", - "lastUpdateDateTime": "2022-02-18T19:03:17Z", - "createdDateTime": "2022-02-18T19:03:16Z", - "expirationDateTime": "2022-02-19T19:03:16Z", - "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" - } - } - } - ], - "Variables": {} -} 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 2064f1798b5f..097146209832 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 @@ -14,185 +14,253 @@ import { PollOperationState } from '@azure/core-lro'; import { TokenCredential } from '@azure/core-auth'; // @public -export interface AnalysisPollOperationState extends PollOperationState, OperationMetadata { +export interface ActionCommon { + disableServiceLogs?: boolean; } // @public -export interface AnalyzeActionsOperationMetadata extends OperationMetadata { - actionsFailedCount: number; - actionsInProgressCount: number; - actionsSucceededCount: number; - displayName?: string; -} +export type ActionCustom = ActionCommon & { + projectName: string; + deploymentName: string; +}; // @public -export interface AnalyzeActionsOperationState extends AnalysisPollOperationState, AnalyzeActionsOperationMetadata { +export interface ActionMetadata { + readonly modelVersion: string; } // @public -export type AnalyzeActionsPollerLike = PollerLike; +export type ActionPrebuilt = ActionCommon & { + modelVersion?: string; +}; // @public -export interface AnalyzeActionsResult { - analyzeSentimentResults: AnalyzeSentimentActionResult[]; - extractKeyPhrasesResults: ExtractKeyPhrasesActionResult[]; - extractSummaryResults: ExtractSummaryActionResult[]; - multiCategoryClassifyResults: MultiCategoryClassifyActionResult[]; - recognizeCustomEntitiesResults: RecognizeCustomEntitiesActionResult[]; - recognizeEntitiesResults: RecognizeCategorizedEntitiesActionResult[]; - recognizeLinkedEntitiesResults: RecognizeLinkedEntitiesActionResult[]; - recognizePiiEntitiesResults: RecognizePiiEntitiesActionResult[]; - singleCategoryClassifyResults: SingleCategoryClassifyActionResult[]; -} +export type AnalyzeActionName = keyof typeof AnalyzeActionNames; // @public -export type AnalyzeHealthcareEntitiesErrorResult = TextAnalyticsErrorResult; +export const AnalyzeActionNames: { + readonly EntityLinking: "EntityLinking"; + readonly EntityRecognition: "EntityRecognition"; + readonly KeyPhraseExtraction: "KeyPhraseExtraction"; + readonly PiiEntityRecognition: "PiiEntityRecognition"; + readonly LanguageDetection: "LanguageDetection"; + readonly SentimentAnalysis: "SentimentAnalysis"; +}; // @public -export type AnalyzeHealthcareEntitiesPollerLike = PollerLike; +export type AnalyzeActionParameters = { + EntityLinking: EntityLinkingAction; + EntityRecognition: EntityRecognitionAction; + PiiEntityRecognition: PiiEntityRecognitionAction; + KeyPhraseExtraction: KeyPhraseExtractionAction; + SentimentAnalysis: SentimentAnalysisAction; + LanguageDetection: LanguageDetectionAction; +}[ActionName]; // @public -export type AnalyzeHealthcareEntitiesResult = AnalyzeHealthcareEntitiesSuccessResult | AnalyzeHealthcareEntitiesErrorResult; +export type AnalyzeBatchAction = EntityLinkingBatchAction | EntityRecognitionBatchAction | KeyPhraseExtractionBatchAction | PiiEntityRecognitionBatchAction | HealthcareBatchAction | ExtractiveSummarizationBatchAction | SentimentAnalysisBatchAction | CustomEntityRecognitionBatchAction | CustomSingleLabelClassificationBatchAction | CustomMultiLabelClassificationBatchAction; // @public -export interface AnalyzeHealthcareEntitiesResultArray extends Array { +export interface AnalyzeBatchActionCommon { + actionName?: string; } // @public -export interface AnalyzeHealthcareEntitiesSuccessResult extends TextAnalyticsSuccessResult { - entities: HealthcareEntity[]; - entityRelations: HealthcareEntityRelation[]; -} +export type AnalyzeBatchActionName = keyof typeof AnalyzeBatchActionNames; // @public -export interface AnalyzeHealthcareOperationState extends AnalysisPollOperationState { -} +export const AnalyzeBatchActionNames: { + readonly SentimentAnalysis: "SentimentAnalysis"; + readonly EntityRecognition: "EntityRecognition"; + readonly PiiEntityRecognition: "PiiEntityRecognition"; + readonly KeyPhraseExtraction: "KeyPhraseExtraction"; + readonly EntityLinking: "EntityLinking"; + readonly Healthcare: "Healthcare"; + readonly ExtractiveSummarization: "ExtractiveSummarization"; + readonly CustomEntityRecognition: "CustomEntityRecognition"; + readonly CustomSingleLabelClassification: "CustomSingleLabelClassification"; + readonly CustomMultiLabelClassification: "CustomMultiLabelClassification"; +}; // @public -export interface AnalyzeSentimentAction extends TextAnalyticsAction { - disableServiceLogs?: boolean; - includeOpinionMining?: boolean; - stringIndexType?: StringIndexType; +export interface AnalyzeBatchOperationMetadata { + readonly actionFailedCount: number; + readonly actionInProgressCount: number; + readonly actionSucceededCount: number; + readonly createdOn: Date; + readonly displayName?: string; + readonly expiresOn?: Date; + readonly lastModifiedOn: Date; + readonly operationId: string; + readonly status: OperationStatus; } // @public -export type AnalyzeSentimentActionErrorResult = TextAnalyticsActionErrorResult; +export interface AnalyzeBatchOperationState extends PollOperationState, AnalyzeBatchOperationMetadata { +} // @public -export type AnalyzeSentimentActionResult = AnalyzeSentimentActionSuccessResult | AnalyzeSentimentActionErrorResult; +export type AnalyzeBatchPoller = PollerLike; // @public -export interface AnalyzeSentimentActionSuccessResult extends TextAnalyticsActionSuccessState { - results: AnalyzeSentimentResultArray; -} +export type AnalyzeBatchResult = EntityLinkingBatchResult | EntityRecognitionBatchResult | KeyPhraseExtractionBatchResult | PiiEntityRecognitionBatchResult | SentimentAnalysisBatchResult | HealthcareBatchResult | ExtractiveSummarizationBatchResult | CustomEntityRecognitionBatchResult | CustomSingleLabelClassificationBatchResult | CustomMultiLabelClassificationBatchResult; // @public -export type AnalyzeSentimentErrorResult = TextAnalyticsErrorResult; +export type AnalyzeResult = { + EntityLinking: EntityLinkingResult[]; + EntityRecognition: EntityRecognitionResult[]; + PiiEntityRecognition: PiiEntityRecognitionResult[]; + KeyPhraseExtraction: KeyPhraseExtractionResult[]; + SentimentAnalysis: SentimentAnalysisResult[]; + LanguageDetection: LanguageDetectionResult[]; +}[ActionName]; // @public -export interface AnalyzeSentimentOptions extends TextAnalyticsOperationOptions { - includeOpinionMining?: boolean; - stringIndexType?: StringIndexType; +export interface AssessmentSentiment { + confidenceScores: TargetConfidenceScores; + isNegated: boolean; + length: number; + offset: number; + sentiment: TokenSentimentLabel; + text: string; } // @public -export type AnalyzeSentimentResult = AnalyzeSentimentSuccessResult | AnalyzeSentimentErrorResult; +export type Association = "subject" | "other"; + +export { AzureKeyCredential } // @public -export interface AnalyzeSentimentResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface BatchActionErrorResult extends BatchActionState { + readonly error: TextAnalysisError; + readonly failedOn: Date; } // @public -export interface AnalyzeSentimentSuccessResult extends TextAnalyticsSuccessResult { - confidenceScores: SentimentConfidenceScores; - sentences: SentenceSentiment[]; - sentiment: DocumentSentimentLabel; -} +export type BatchActionResult = BatchActionSuccessResult | BatchActionErrorResult; // @public -export interface AssessmentSentiment extends SentenceAssessment { +export interface BatchActionState { + readonly actionName?: string; + readonly kind: Kind; + readonly statistics?: TextDocumentBatchStatistics; } -export { AzureKeyCredential } +// @public +export interface BatchActionSuccessResult extends BatchActionState { + readonly completedOn: Date; + readonly error?: undefined; + readonly results: T[]; +} // @public -export interface BeginAnalyzeActionsOptions extends OperationOptions { +export interface BeginAnalyzeBatchOptions extends TextAnalysisOperationOptions { displayName?: string; - includeStatistics?: boolean; - resumeFrom?: string; updateIntervalInMs?: number; } // @public -export interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnalyticsOperationOptions { - resumeFrom?: string; - stringIndexType?: StringIndexType; - updateIntervalInMs?: number; -} +export type Certainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative"; // @public -export interface CategorizedEntity extends Entity { +export interface ClassificationCategory { + category: string; + confidenceScore: number; } // @public -export interface ClassificationCategory extends ClassificationResult { +export type Conditionality = "hypothetical" | "conditional"; + +// @public +export interface CustomActionMetadata { + readonly deploymentName: string; + readonly projectName: string; } -// @public (undocumented) -export interface ClassificationResult { - category: string; - confidenceScore: number; +// @public +export type CustomEntityRecognitionAction = ActionCustom & { + stringIndexType?: StringIndexType; +}; + +// @public +export interface CustomEntityRecognitionBatchAction extends AnalyzeBatchActionCommon, CustomEntityRecognitionAction { + kind: "CustomEntityRecognition"; } // @public -export interface CustomTextAnalyticsAction { - actionName?: string; - deploymentName: string; - projectName: string; +export type CustomEntityRecognitionBatchResult = CustomActionMetadata & BatchActionResult; + +// @public +export type CustomEntityRecognitionErrorResult = TextAnalysisErrorResult; + +// @public +export type CustomEntityRecognitionResult = CustomEntityRecognitionSuccessResult | CustomEntityRecognitionErrorResult; + +// @public +export interface CustomEntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + readonly entities: Entity[]; } // @public -export interface DetectedLanguage { - confidenceScore: number; - iso6391Name: string; - name: string; +export type CustomMultiLabelClassificationAction = ActionCustom; + +// @public +export interface CustomMultiLabelClassificationBatchAction extends AnalyzeBatchActionCommon, CustomMultiLabelClassificationAction { + kind: "CustomMultiLabelClassification"; } // @public -export type DetectLanguageErrorResult = TextAnalyticsErrorResult; +export type CustomMultiLabelClassificationBatchResult = CustomActionMetadata & BatchActionResult; // @public -export interface DetectLanguageInput { - // (undocumented) - countryHint?: string; - id: string; - // (undocumented) - text: string; +export type CustomMultiLabelClassificationErrorResult = TextAnalysisErrorResult; + +// @public +export type CustomMultiLabelClassificationResult = CustomMultiLabelClassificationSuccessResult | CustomMultiLabelClassificationErrorResult; + +// @public +export interface CustomMultiLabelClassificationSuccessResult extends TextAnalysisSuccessResult { + readonly classifications: ClassificationCategory[]; } // @public -export interface DetectLanguageOptions extends TextAnalyticsOperationOptions { +export type CustomSingleLabelClassificationAction = ActionCustom; + +// @public +export interface CustomSingleLabelClassificationBatchAction extends AnalyzeBatchActionCommon, CustomSingleLabelClassificationAction { + kind: "CustomSingleLabelClassification"; } // @public -export type DetectLanguageResult = DetectLanguageSuccessResult | DetectLanguageErrorResult; +export type CustomSingleLabelClassificationBatchResult = CustomActionMetadata & BatchActionResult; + +// @public +export type CustomSingleLabelClassificationErrorResult = TextAnalysisErrorResult; + +// @public +export type CustomSingleLabelClassificationResult = CustomSingleLabelClassificationSuccessResult | CustomSingleLabelClassificationErrorResult; // @public -export interface DetectLanguageResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface CustomSingleLabelClassificationSuccessResult extends TextAnalysisSuccessResult { + readonly classifications: ClassificationCategory[]; } // @public -export interface DetectLanguageSuccessResult extends TextAnalyticsSuccessResult { - readonly primaryLanguage: DetectedLanguage; +export interface DetectedLanguage { + confidenceScore: number; + iso6391Name: string; + name: string; } // @public export type DocumentSentimentLabel = "positive" | "neutral" | "negative" | "mixed"; +// @public +export interface DocumentWarning { + code: WarningCode; + message: string; +} + // @public export interface Entity { category: string; @@ -203,22 +271,6 @@ export interface Entity { text: string; } -// @public (undocumented) -export interface EntityAssertion { - association?: EntityAssociation; - certainty?: EntityCertainty; - conditionality?: EntityConditionality; -} - -// @public -export type EntityAssociation = "subject" | "other"; - -// @public -export type EntityCertainty = "positive" | "positivePossible" | "neutralPossible" | "negativePossible" | "negative"; - -// @public -export type EntityConditionality = "hypothetical" | "conditional"; - // @public export interface EntityDataSource { entityId: string; @@ -226,90 +278,101 @@ export interface EntityDataSource { } // @public -export type ErrorCode = ErrorCodeValue | InnerErrorCodeValue; +export type EntityLinkingAction = ActionPrebuilt & { + stringIndexType?: StringIndexType; +}; // @public -export type ErrorCodeValue = string; +export interface EntityLinkingBatchAction extends AnalyzeBatchActionCommon, EntityLinkingAction { + kind: "EntityLinking"; +} // @public -export interface ExtractKeyPhrasesAction extends TextAnalyticsAction { - disableServiceLogs?: boolean; -} +export type EntityLinkingBatchResult = ActionMetadata & BatchActionResult; // @public -export type ExtractKeyPhrasesActionErrorResult = TextAnalyticsActionErrorResult; +export type EntityLinkingErrorResult = TextAnalysisErrorResult; // @public -export type ExtractKeyPhrasesActionResult = ExtractKeyPhrasesActionSuccessResult | ExtractKeyPhrasesActionErrorResult; +export type EntityLinkingResult = EntityLinkingSuccessResult | EntityLinkingErrorResult; // @public -export interface ExtractKeyPhrasesActionSuccessResult extends TextAnalyticsActionSuccessState { - results: ExtractKeyPhrasesResultArray; +export interface EntityLinkingSuccessResult extends TextAnalysisSuccessResult { + readonly entities: LinkedEntity[]; } // @public -export type ExtractKeyPhrasesErrorResult = TextAnalyticsErrorResult; +export type EntityRecognitionAction = ActionPrebuilt & { + stringIndexType?: StringIndexType; +}; // @public -export interface ExtractKeyPhrasesOptions extends TextAnalyticsOperationOptions { +export interface EntityRecognitionBatchAction extends AnalyzeBatchActionCommon, EntityRecognitionAction { + kind: "EntityRecognition"; } // @public -export type ExtractKeyPhrasesResult = ExtractKeyPhrasesSuccessResult | ExtractKeyPhrasesErrorResult; +export type EntityRecognitionBatchResult = ActionMetadata & BatchActionResult; // @public -export interface ExtractKeyPhrasesResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; -} +export type EntityRecognitionErrorResult = TextAnalysisErrorResult; + +// @public +export type EntityRecognitionResult = EntityRecognitionSuccessResult | EntityRecognitionErrorResult; // @public -export interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResult { - keyPhrases: string[]; +export interface EntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + readonly entities: Entity[]; } // @public -export interface ExtractSummaryAction extends TextAnalyticsAction { - disableServiceLogs?: boolean; +export type ExtractiveSummarizationAction = ActionPrebuilt & { maxSentenceCount?: number; - orderBy?: string; + orderBy?: ExtractiveSummarizationOrderingCriteria; stringIndexType?: StringIndexType; -} +}; // @public -export type ExtractSummaryActionErrorResult = TextAnalyticsActionErrorResult; +export interface ExtractiveSummarizationBatchAction extends AnalyzeBatchActionCommon, ExtractiveSummarizationAction { + kind: "ExtractiveSummarization"; +} // @public -export type ExtractSummaryActionResult = ExtractSummaryActionSuccessResult | ExtractSummaryActionErrorResult; +export type ExtractiveSummarizationBatchResult = ActionMetadata & BatchActionResult; // @public -export interface ExtractSummaryActionSuccessResult extends TextAnalyticsActionSuccessState { - results: ExtractSummaryResultArray; -} +export type ExtractiveSummarizationOrderingCriteria = string; // @public -export type ExtractSummaryErrorResult = TextAnalyticsErrorResult; +export type FhirVersion = string; // @public -export type ExtractSummaryResult = ExtractSummarySuccessResult | ExtractSummaryErrorResult; +export type HealthcareAction = ActionPrebuilt & { + fhirVersion?: FhirVersion; + stringIndexType?: StringIndexType; +}; // @public -export interface ExtractSummaryResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface HealthcareAssertion { + association?: Association; + certainty?: Certainty; + conditionality?: Conditionality; } // @public -export interface ExtractSummarySuccessResult extends TextAnalyticsSuccessResult { - sentences: SummarySentence[]; +export interface HealthcareBatchAction extends AnalyzeBatchActionCommon, HealthcareAction { + kind: "Healthcare"; } +// @public +export type HealthcareBatchResult = ActionMetadata & BatchActionResult; + // @public export interface HealthcareEntity extends Entity { - assertion?: EntityAssertion; - category: HealthcareEntityCategory; - dataSources: EntityDataSource[]; - normalizedText?: string; + readonly assertion?: HealthcareAssertion; + readonly category: HealthcareEntityCategory; + readonly dataSources: EntityDataSource[]; + readonly normalizedText?: string; } // @public @@ -317,391 +380,654 @@ export type HealthcareEntityCategory = string; // @public export interface HealthcareEntityRelation { - relationType: HealthcareEntityRelationType; - roles: HealthcareEntityRelationRole[]; + readonly relationType: RelationType; + readonly roles: HealthcareEntityRelationRole[]; } // @public export interface HealthcareEntityRelationRole { - entity: HealthcareEntity; - name: HealthcareEntityRelationRoleType; + readonly entity: HealthcareEntity; + readonly name: HealthcareEntityRelationRoleType; } // @public export type HealthcareEntityRelationRoleType = string; // @public -export type HealthcareEntityRelationType = string; +export type HealthcareErrorResult = TextAnalysisErrorResult; + +// @public +export type HealthcareResult = HealthcareSuccessResult | HealthcareErrorResult; // @public -export type InnerErrorCodeValue = string; +export interface HealthcareSuccessResult extends TextAnalysisSuccessResult { + readonly entities: HealthcareEntity[]; + readonly entityRelations: HealthcareEntityRelation[]; + readonly fhirBundle?: Record; +} + +// @public +export type KeyPhraseExtractionAction = ActionPrebuilt; + +// @public +export interface KeyPhraseExtractionBatchAction extends AnalyzeBatchActionCommon, KeyPhraseExtractionAction { + kind: "KeyPhraseExtraction"; +} + +// @public +export type KeyPhraseExtractionBatchResult = ActionMetadata & BatchActionResult; + +// @public +export type KeyPhraseExtractionErrorResult = TextAnalysisErrorResult; + +// @public +export type KeyPhraseExtractionResult = KeyPhraseExtractionSuccessResult | KeyPhraseExtractionErrorResult; + +// @public +export interface KeyPhraseExtractionSuccessResult extends TextAnalysisSuccessResult { + readonly keyPhrases: string[]; +} // @public -export enum KnownHealthcareEntityCategory { +export enum KnownErrorCode { // (undocumented) - AdministrativeEvent = "ADMINISTRATIVE_EVENT", + AzureCognitiveSearchIndexLimitReached = "AzureCognitiveSearchIndexLimitReached", // (undocumented) - AGE = "AGE", + AzureCognitiveSearchIndexNotFound = "AzureCognitiveSearchIndexNotFound", // (undocumented) - BodyStructure = "BODY_STRUCTURE", + AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound", // (undocumented) - CareEnvironment = "CARE_ENVIRONMENT", + AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling", // (undocumented) - ConditionQualifier = "CONDITION_QUALIFIER", + Forbidden = "Forbidden", // (undocumented) - Date = "DATE", + InternalServerError = "InternalServerError", // (undocumented) - Diagnosis = "DIAGNOSIS", + InvalidArgument = "InvalidArgument", // (undocumented) - Direction = "DIRECTION", + InvalidRequest = "InvalidRequest", // (undocumented) - Dosage = "DOSAGE", + NotFound = "NotFound", // (undocumented) - ExaminationName = "EXAMINATION_NAME", + OperationNotFound = "OperationNotFound", // (undocumented) - FamilyRelation = "FAMILY_RELATION", + ProjectNotFound = "ProjectNotFound", // (undocumented) - Frequency = "FREQUENCY", + ServiceUnavailable = "ServiceUnavailable", // (undocumented) - Gender = "GENDER", + TooManyRequests = "TooManyRequests", // (undocumented) - GeneORProtein = "GENE_OR_PROTEIN", + Unauthorized = "Unauthorized" +} + +// @public +export enum KnownExtractiveSummarizationOrderingCriteria { + Offset = "Offset", + Rank = "Rank" +} + +// @public +export enum KnownFhirVersion { + "4.0.1" = "4.0.1" +} + +// @public +export enum KnownInnerErrorCode { + // (undocumented) + AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound", // (undocumented) - HealthcareProfession = "HEALTHCARE_PROFESSION", + AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling", // (undocumented) - MeasurementUnit = "MEASUREMENT_UNIT", + EmptyRequest = "EmptyRequest", // (undocumented) - MeasurementValue = "MEASUREMENT_VALUE", + ExtractionFailure = "ExtractionFailure", // (undocumented) - MedicationClass = "MEDICATION_CLASS", + InvalidCountryHint = "InvalidCountryHint", // (undocumented) - MedicationForm = "MEDICATION_FORM", + InvalidDocument = "InvalidDocument", // (undocumented) - MedicationName = "MEDICATION_NAME", + InvalidDocumentBatch = "InvalidDocumentBatch", // (undocumented) - MedicationRoute = "MEDICATION_ROUTE", + InvalidParameterValue = "InvalidParameterValue", // (undocumented) - RelationalOperator = "RELATIONAL_OPERATOR", + InvalidRequest = "InvalidRequest", // (undocumented) - SymptomORSign = "SYMPTOM_OR_SIGN", + InvalidRequestBodyFormat = "InvalidRequestBodyFormat", // (undocumented) - Time = "TIME", + KnowledgeBaseNotFound = "KnowledgeBaseNotFound", // (undocumented) - TreatmentName = "TREATMENT_NAME", + MissingInputDocuments = "MissingInputDocuments", // (undocumented) - Variant = "VARIANT" + ModelVersionIncorrect = "ModelVersionIncorrect", + // (undocumented) + UnsupportedLanguageCode = "UnsupportedLanguageCode" } // @public -export enum KnownInnerErrorCodeValue { +export enum KnownPiiCategory { // (undocumented) - EmptyRequest = "EmptyRequest", + ABARoutingNumber = "ABARoutingNumber", // (undocumented) - InvalidCountryHint = "InvalidCountryHint", + Address = "Address", // (undocumented) - InvalidDocument = "InvalidDocument", + Age = "Age", // (undocumented) - InvalidDocumentBatch = "InvalidDocumentBatch", + All = "All", // (undocumented) - InvalidParameterValue = "InvalidParameterValue", + ARNationalIdentityNumber = "ARNationalIdentityNumber", // (undocumented) - InvalidRequestBodyFormat = "InvalidRequestBodyFormat", + ATIdentityCard = "ATIdentityCard", // (undocumented) - MissingInputRecords = "MissingInputRecords", + ATTaxIdentificationNumber = "ATTaxIdentificationNumber", // (undocumented) - ModelVersionIncorrect = "ModelVersionIncorrect", + ATValueAddedTaxNumber = "ATValueAddedTaxNumber", // (undocumented) - UnsupportedLanguageCode = "UnsupportedLanguageCode" -} - -// @public -export type KnownSummarySentencesOrderBy = "Offset" | "Rank"; - -// @public -export enum KnownWarningCode { + AUBankAccountNumber = "AUBankAccountNumber", // (undocumented) - DocumentTruncated = "DocumentTruncated", + AUBusinessNumber = "AUBusinessNumber", // (undocumented) - LongWordsInDocument = "LongWordsInDocument" -} - -// @public -export interface LinkedEntity { - bingEntitySearchApiId?: string; - dataSource: string; - dataSourceEntityId?: string; - language: string; - matches: Match[]; - name: string; - url: string; -} - -// @public -export interface Match { - confidenceScore: number; - length: number; - offset: number; - text: string; -} - -// @public -export interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction { - disableServiceLogs?: boolean; -} - -// @public -export type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult; - -// @public -export type MultiCategoryClassifyActionResult = MultiCategoryClassifyActionSuccessResult | MultiCategoryClassifyActionErrorResult; - -// @public -export interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState { - results: MultiCategoryClassifyResultArray; -} - -// @public -export type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult; - -// @public -export type MultiCategoryClassifyResult = MultiCategoryClassifySuccessResult | MultiCategoryClassifyErrorResult; - -// @public -export interface MultiCategoryClassifyResultArray extends Array { - deploymentName: string; - projectName: string; - statistics?: TextDocumentBatchStatistics; -} - -// @public -export interface MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult { - classifications: ClassificationCategory[]; -} - -// @public -export interface OperationMetadata { - createdOn: Date; - expiresOn?: Date; - lastModifiedOn: Date; - operationId: string; - status: TextAnalyticsOperationStatus; -} - -// @public -export interface Opinion { - assessments: AssessmentSentiment[]; - target: TargetSentiment; + AUCompanyNumber = "AUCompanyNumber", + // (undocumented) + AUDriversLicenseNumber = "AUDriversLicenseNumber", + // (undocumented) + AUMedicalAccountNumber = "AUMedicalAccountNumber", + // (undocumented) + AUPassportNumber = "AUPassportNumber", + // (undocumented) + AUTaxFileNumber = "AUTaxFileNumber", + // (undocumented) + AzureDocumentDBAuthKey = "AzureDocumentDBAuthKey", + // (undocumented) + AzureIaasDatabaseConnectionAndSQLString = "AzureIAASDatabaseConnectionAndSQLString", + // (undocumented) + AzureIoTConnectionString = "AzureIoTConnectionString", + // (undocumented) + AzurePublishSettingPassword = "AzurePublishSettingPassword", + // (undocumented) + AzureRedisCacheString = "AzureRedisCacheString", + // (undocumented) + AzureSAS = "AzureSAS", + // (undocumented) + AzureServiceBusString = "AzureServiceBusString", + // (undocumented) + AzureStorageAccountGeneric = "AzureStorageAccountGeneric", + // (undocumented) + AzureStorageAccountKey = "AzureStorageAccountKey", + // (undocumented) + BENationalNumber = "BENationalNumber", + // (undocumented) + BENationalNumberV2 = "BENationalNumberV2", + // (undocumented) + BEValueAddedTaxNumber = "BEValueAddedTaxNumber", + // (undocumented) + BGUniformCivilNumber = "BGUniformCivilNumber", + // (undocumented) + BrcpfNumber = "BRCPFNumber", + // (undocumented) + BRLegalEntityNumber = "BRLegalEntityNumber", + // (undocumented) + BRNationalIdrg = "BRNationalIDRG", + // (undocumented) + CABankAccountNumber = "CABankAccountNumber", + // (undocumented) + CADriversLicenseNumber = "CADriversLicenseNumber", + // (undocumented) + CAHealthServiceNumber = "CAHealthServiceNumber", + // (undocumented) + CAPassportNumber = "CAPassportNumber", + // (undocumented) + CAPersonalHealthIdentification = "CAPersonalHealthIdentification", + // (undocumented) + CASocialInsuranceNumber = "CASocialInsuranceNumber", + // (undocumented) + CHSocialSecurityNumber = "CHSocialSecurityNumber", + // (undocumented) + CLIdentityCardNumber = "CLIdentityCardNumber", + // (undocumented) + CNResidentIdentityCardNumber = "CNResidentIdentityCardNumber", + // (undocumented) + CreditCardNumber = "CreditCardNumber", + // (undocumented) + CYIdentityCard = "CYIdentityCard", + // (undocumented) + CYTaxIdentificationNumber = "CYTaxIdentificationNumber", + // (undocumented) + CZPersonalIdentityNumber = "CZPersonalIdentityNumber", + // (undocumented) + CZPersonalIdentityV2 = "CZPersonalIdentityV2", + // (undocumented) + Date = "Date", + // (undocumented) + DEDriversLicenseNumber = "DEDriversLicenseNumber", + // (undocumented) + Default = "Default", + // (undocumented) + DEIdentityCardNumber = "DEIdentityCardNumber", + // (undocumented) + DEPassportNumber = "DEPassportNumber", + // (undocumented) + DETaxIdentificationNumber = "DETaxIdentificationNumber", + // (undocumented) + DEValueAddedNumber = "DEValueAddedNumber", + // (undocumented) + DKPersonalIdentificationNumber = "DKPersonalIdentificationNumber", + // (undocumented) + DKPersonalIdentificationV2 = "DKPersonalIdentificationV2", + // (undocumented) + DrugEnforcementAgencyNumber = "DrugEnforcementAgencyNumber", + // (undocumented) + EEPersonalIdentificationCode = "EEPersonalIdentificationCode", + // (undocumented) + Email = "Email", + // (undocumented) + Esdni = "ESDNI", + // (undocumented) + ESSocialSecurityNumber = "ESSocialSecurityNumber", + // (undocumented) + ESTaxIdentificationNumber = "ESTaxIdentificationNumber", + // (undocumented) + EUDebitCardNumber = "EUDebitCardNumber", + // (undocumented) + EUDriversLicenseNumber = "EUDriversLicenseNumber", + // (undocumented) + EugpsCoordinates = "EUGPSCoordinates", + // (undocumented) + EUNationalIdentificationNumber = "EUNationalIdentificationNumber", + // (undocumented) + EUPassportNumber = "EUPassportNumber", + // (undocumented) + EUSocialSecurityNumber = "EUSocialSecurityNumber", + // (undocumented) + EUTaxIdentificationNumber = "EUTaxIdentificationNumber", + // (undocumented) + FIEuropeanHealthNumber = "FIEuropeanHealthNumber", + // (undocumented) + FINationalID = "FINationalID", + // (undocumented) + FINationalIDV2 = "FINationalIDV2", + // (undocumented) + FIPassportNumber = "FIPassportNumber", + // (undocumented) + FRDriversLicenseNumber = "FRDriversLicenseNumber", + // (undocumented) + FRHealthInsuranceNumber = "FRHealthInsuranceNumber", + // (undocumented) + FRNationalID = "FRNationalID", + // (undocumented) + FRPassportNumber = "FRPassportNumber", + // (undocumented) + FRSocialSecurityNumber = "FRSocialSecurityNumber", + // (undocumented) + FRTaxIdentificationNumber = "FRTaxIdentificationNumber", + // (undocumented) + FRValueAddedTaxNumber = "FRValueAddedTaxNumber", + // (undocumented) + GRNationalIDCard = "GRNationalIDCard", + // (undocumented) + GRNationalIDV2 = "GRNationalIDV2", + // (undocumented) + GRTaxIdentificationNumber = "GRTaxIdentificationNumber", + // (undocumented) + HKIdentityCardNumber = "HKIdentityCardNumber", + // (undocumented) + HRIdentityCardNumber = "HRIdentityCardNumber", + // (undocumented) + HRNationalIDNumber = "HRNationalIDNumber", + // (undocumented) + HRPersonalIdentificationNumber = "HRPersonalIdentificationNumber", + // (undocumented) + HRPersonalIdentificationOIBNumberV2 = "HRPersonalIdentificationOIBNumberV2", + // (undocumented) + HUPersonalIdentificationNumber = "HUPersonalIdentificationNumber", + // (undocumented) + HUTaxIdentificationNumber = "HUTaxIdentificationNumber", + // (undocumented) + HUValueAddedNumber = "HUValueAddedNumber", + // (undocumented) + IDIdentityCardNumber = "IDIdentityCardNumber", + // (undocumented) + IEPersonalPublicServiceNumber = "IEPersonalPublicServiceNumber", + // (undocumented) + IEPersonalPublicServiceNumberV2 = "IEPersonalPublicServiceNumberV2", + // (undocumented) + ILBankAccountNumber = "ILBankAccountNumber", + // (undocumented) + ILNationalID = "ILNationalID", + // (undocumented) + INPermanentAccount = "INPermanentAccount", + // (undocumented) + InternationalBankingAccountNumber = "InternationalBankingAccountNumber", + // (undocumented) + INUniqueIdentificationNumber = "INUniqueIdentificationNumber", + // (undocumented) + IPAddress = "IPAddress", + // (undocumented) + ITDriversLicenseNumber = "ITDriversLicenseNumber", + // (undocumented) + ITFiscalCode = "ITFiscalCode", + // (undocumented) + ITValueAddedTaxNumber = "ITValueAddedTaxNumber", + // (undocumented) + JPBankAccountNumber = "JPBankAccountNumber", + // (undocumented) + JPDriversLicenseNumber = "JPDriversLicenseNumber", + // (undocumented) + JPMyNumberCorporate = "JPMyNumberCorporate", + // (undocumented) + JPMyNumberPersonal = "JPMyNumberPersonal", + // (undocumented) + JPPassportNumber = "JPPassportNumber", + // (undocumented) + JPResidenceCardNumber = "JPResidenceCardNumber", + // (undocumented) + JPResidentRegistrationNumber = "JPResidentRegistrationNumber", + // (undocumented) + JPSocialInsuranceNumber = "JPSocialInsuranceNumber", + // (undocumented) + KRResidentRegistrationNumber = "KRResidentRegistrationNumber", + // (undocumented) + LTPersonalCode = "LTPersonalCode", + // (undocumented) + LUNationalIdentificationNumberNatural = "LUNationalIdentificationNumberNatural", + // (undocumented) + LUNationalIdentificationNumberNonNatural = "LUNationalIdentificationNumberNonNatural", + // (undocumented) + LVPersonalCode = "LVPersonalCode", + // (undocumented) + MTIdentityCardNumber = "MTIdentityCardNumber", + // (undocumented) + MTTaxIDNumber = "MTTaxIDNumber", + // (undocumented) + MYIdentityCardNumber = "MYIdentityCardNumber", + // (undocumented) + NLCitizensServiceNumber = "NLCitizensServiceNumber", + // (undocumented) + NLCitizensServiceNumberV2 = "NLCitizensServiceNumberV2", + // (undocumented) + NLTaxIdentificationNumber = "NLTaxIdentificationNumber", + // (undocumented) + NLValueAddedTaxNumber = "NLValueAddedTaxNumber", + // (undocumented) + NOIdentityNumber = "NOIdentityNumber", + // (undocumented) + NZBankAccountNumber = "NZBankAccountNumber", + // (undocumented) + NZDriversLicenseNumber = "NZDriversLicenseNumber", + // (undocumented) + NZInlandRevenueNumber = "NZInlandRevenueNumber", + // (undocumented) + NZMinistryOfHealthNumber = "NZMinistryOfHealthNumber", + // (undocumented) + NZSocialWelfareNumber = "NZSocialWelfareNumber", + // (undocumented) + Organization = "Organization", + // (undocumented) + Person = "Person", + // (undocumented) + PhoneNumber = "PhoneNumber", + // (undocumented) + PHUnifiedMultiPurposeIDNumber = "PHUnifiedMultiPurposeIDNumber", + // (undocumented) + PLIdentityCard = "PLIdentityCard", + // (undocumented) + PLNationalID = "PLNationalID", + // (undocumented) + PLNationalIDV2 = "PLNationalIDV2", + // (undocumented) + PLPassportNumber = "PLPassportNumber", + // (undocumented) + PlregonNumber = "PLREGONNumber", + // (undocumented) + PLTaxIdentificationNumber = "PLTaxIdentificationNumber", + // (undocumented) + PTCitizenCardNumber = "PTCitizenCardNumber", + // (undocumented) + PTCitizenCardNumberV2 = "PTCitizenCardNumberV2", + // (undocumented) + PTTaxIdentificationNumber = "PTTaxIdentificationNumber", + // (undocumented) + ROPersonalNumericalCode = "ROPersonalNumericalCode", + // (undocumented) + RUPassportNumberDomestic = "RUPassportNumberDomestic", + // (undocumented) + RUPassportNumberInternational = "RUPassportNumberInternational", + // (undocumented) + SANationalID = "SANationalID", + // (undocumented) + SENationalID = "SENationalID", + // (undocumented) + SENationalIDV2 = "SENationalIDV2", + // (undocumented) + SEPassportNumber = "SEPassportNumber", + // (undocumented) + SETaxIdentificationNumber = "SETaxIdentificationNumber", + // (undocumented) + SGNationalRegistrationIdentityCardNumber = "SGNationalRegistrationIdentityCardNumber", + // (undocumented) + SITaxIdentificationNumber = "SITaxIdentificationNumber", + // (undocumented) + SIUniqueMasterCitizenNumber = "SIUniqueMasterCitizenNumber", + // (undocumented) + SKPersonalNumber = "SKPersonalNumber", + // (undocumented) + SQLServerConnectionString = "SQLServerConnectionString", + // (undocumented) + SwiftCode = "SWIFTCode", + // (undocumented) + THPopulationIdentificationCode = "THPopulationIdentificationCode", + // (undocumented) + TRNationalIdentificationNumber = "TRNationalIdentificationNumber", + // (undocumented) + TWNationalID = "TWNationalID", + // (undocumented) + TWPassportNumber = "TWPassportNumber", + // (undocumented) + TWResidentCertificate = "TWResidentCertificate", + // (undocumented) + UAPassportNumberDomestic = "UAPassportNumberDomestic", + // (undocumented) + UAPassportNumberInternational = "UAPassportNumberInternational", + // (undocumented) + UKDriversLicenseNumber = "UKDriversLicenseNumber", + // (undocumented) + UKElectoralRollNumber = "UKElectoralRollNumber", + // (undocumented) + UKNationalHealthNumber = "UKNationalHealthNumber", + // (undocumented) + UKNationalInsuranceNumber = "UKNationalInsuranceNumber", + // (undocumented) + UKUniqueTaxpayerNumber = "UKUniqueTaxpayerNumber", + // (undocumented) + URL = "URL", + // (undocumented) + USBankAccountNumber = "USBankAccountNumber", + // (undocumented) + USDriversLicenseNumber = "USDriversLicenseNumber", + // (undocumented) + USIndividualTaxpayerIdentification = "USIndividualTaxpayerIdentification", + // (undocumented) + USSocialSecurityNumber = "USSocialSecurityNumber", + // (undocumented) + UsukPassportNumber = "USUKPassportNumber", + // (undocumented) + ZAIdentificationNumber = "ZAIdentificationNumber" } // @public -export interface PagedAnalyzeActionsResult extends PagedAsyncIterableAnalyzeActionsResult { +export enum KnownPiiDomain { + None = "none", + Phi = "phi" } // @public -export interface PagedAnalyzeHealthcareEntitiesResult extends PagedAsyncIterableAnalyzeHealthcareEntitiesResult { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export enum KnownStringIndexType { + TextElementsV8 = "TextElements_v8", + UnicodeCodePoint = "UnicodeCodePoint", + Utf16CodeUnit = "Utf16CodeUnit" } // @public -export type PagedAsyncIterableAnalyzeActionsResult = PagedAsyncIterableIterator; - -// @public -export type PagedAsyncIterableAnalyzeHealthcareEntitiesResult = PagedAsyncIterableIterator; +export const KnownTextAnalysisErrorCode: { + InvalidRequest: KnownInnerErrorCode.InvalidRequest; + InvalidParameterValue: KnownInnerErrorCode.InvalidParameterValue; + KnowledgeBaseNotFound: KnownInnerErrorCode.KnowledgeBaseNotFound; + AzureCognitiveSearchNotFound: KnownInnerErrorCode.AzureCognitiveSearchNotFound; + AzureCognitiveSearchThrottling: KnownInnerErrorCode.AzureCognitiveSearchThrottling; + ExtractionFailure: KnownInnerErrorCode.ExtractionFailure; + InvalidRequestBodyFormat: KnownInnerErrorCode.InvalidRequestBodyFormat; + EmptyRequest: KnownInnerErrorCode.EmptyRequest; + MissingInputDocuments: KnownInnerErrorCode.MissingInputDocuments; + InvalidDocument: KnownInnerErrorCode.InvalidDocument; + ModelVersionIncorrect: KnownInnerErrorCode.ModelVersionIncorrect; + InvalidDocumentBatch: KnownInnerErrorCode.InvalidDocumentBatch; + UnsupportedLanguageCode: KnownInnerErrorCode.UnsupportedLanguageCode; + InvalidCountryHint: KnownInnerErrorCode.InvalidCountryHint; + InvalidArgument: KnownErrorCode.InvalidArgument; + Unauthorized: KnownErrorCode.Unauthorized; + Forbidden: KnownErrorCode.Forbidden; + NotFound: KnownErrorCode.NotFound; + ProjectNotFound: KnownErrorCode.ProjectNotFound; + OperationNotFound: KnownErrorCode.OperationNotFound; + AzureCognitiveSearchIndexNotFound: KnownErrorCode.AzureCognitiveSearchIndexNotFound; + TooManyRequests: KnownErrorCode.TooManyRequests; + AzureCognitiveSearchIndexLimitReached: KnownErrorCode.AzureCognitiveSearchIndexLimitReached; + InternalServerError: KnownErrorCode.InternalServerError; + ServiceUnavailable: KnownErrorCode.ServiceUnavailable; +}; // @public -export interface PiiEntity extends Entity { -} +export type LanguageDetectionAction = ActionPrebuilt; // @public -export type PiiEntityCategory = string; +export type LanguageDetectionErrorResult = TextAnalysisErrorResult; // @public -export enum PiiEntityDomain { - // (undocumented) - PROTECTED_HEALTH_INFORMATION = "PHI" -} - -// @public -export interface RecognizeCategorizedEntitiesAction extends TextAnalyticsAction { - disableServiceLogs?: boolean; - stringIndexType?: StringIndexType; +export interface LanguageDetectionInput { + countryHint?: string; + id: string; + text: string; } // @public -export type RecognizeCategorizedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -// @public -export type RecognizeCategorizedEntitiesActionResult = RecognizeCategorizedEntitiesActionSuccessResult | RecognizeCategorizedEntitiesActionErrorResult; +export type LanguageDetectionResult = LanguageDetectionSuccessResult | LanguageDetectionErrorResult; // @public -export interface RecognizeCategorizedEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState { - results: RecognizeCategorizedEntitiesResultArray; +export interface LanguageDetectionSuccessResult extends TextAnalysisSuccessResult { + readonly primaryLanguage: DetectedLanguage; } // @public -export type RecognizeCategorizedEntitiesErrorResult = TextAnalyticsErrorResult; - -// @public -export interface RecognizeCategorizedEntitiesOptions extends TextAnalyticsOperationOptions { - stringIndexType?: StringIndexType; +export interface LinkedEntity { + bingEntitySearchApiId?: string; + dataSource: string; + dataSourceEntityId?: string; + language: string; + matches: Match[]; + name: string; + url: string; } // @public -export type RecognizeCategorizedEntitiesResult = RecognizeCategorizedEntitiesSuccessResult | RecognizeCategorizedEntitiesErrorResult; - -// @public -export interface RecognizeCategorizedEntitiesResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface Match { + confidenceScore: number; + length: number; + offset: number; + text: string; } // @public -export interface RecognizeCategorizedEntitiesSuccessResult extends TextAnalyticsSuccessResult { - readonly entities: CategorizedEntity[]; -} +export type OperationStatus = "notStarted" | "running" | "succeeded" | "partiallySucceeded" | "failed" | "cancelled" | "cancelling"; // @public -export interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction { - disableServiceLogs?: boolean; - stringIndexType?: StringIndexType; +export interface Opinion { + readonly assessments: AssessmentSentiment[]; + readonly target: TargetSentiment; } // @public -export type RecognizeCustomEntitiesActionResult = RecongizeCustomEntitiesActionSuccessResult | RecongizeCustomEntitiesActionErrorResult; +export type PagedAnalyzeBatchResult = PagedAsyncIterableIterator; // @public -export type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult; +export type PiiCategory = string; // @public -export type RecognizeCustomEntitiesResult = RecognizeCustomEntitiesSuccessResult | RecognizeCustomEntitiesErrorResult; +export type PiiDomain = string; // @public -export interface RecognizeCustomEntitiesResultArray extends Array { - deploymentName: string; - projectName: string; - statistics?: TextDocumentBatchStatistics; -} - -// @public -export interface RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult { - entities: CategorizedEntity[]; -} - -// @public -export interface RecognizeLinkedEntitiesAction extends TextAnalyticsAction { - disableServiceLogs?: boolean; +export type PiiEntityRecognitionAction = ActionPrebuilt & { + domainFilter?: PiiDomain; + categoriesFilter?: PiiCategory[]; stringIndexType?: StringIndexType; -} - -// @public -export type RecognizeLinkedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; +}; // @public -export type RecognizeLinkedEntitiesActionResult = RecognizeLinkedEntitiesActionSuccessResult | RecognizeLinkedEntitiesActionErrorResult; - -// @public -export interface RecognizeLinkedEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState { - results: RecognizeLinkedEntitiesResultArray; +export interface PiiEntityRecognitionBatchAction extends AnalyzeBatchActionCommon, PiiEntityRecognitionAction { + kind: "PiiEntityRecognition"; } // @public -export type RecognizeLinkedEntitiesErrorResult = TextAnalyticsErrorResult; +export type PiiEntityRecognitionBatchResult = ActionMetadata & BatchActionResult; // @public -export interface RecognizeLinkedEntitiesOptions extends TextAnalyticsOperationOptions { - stringIndexType?: StringIndexType; -} +export type PiiEntityRecognitionErrorResult = TextAnalysisErrorResult; // @public -export type RecognizeLinkedEntitiesResult = RecognizeLinkedEntitiesSuccessResult | RecognizeLinkedEntitiesErrorResult; +export type PiiEntityRecognitionResult = PiiEntityRecognitionSuccessResult | PiiEntityRecognitionErrorResult; // @public -export interface RecognizeLinkedEntitiesResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface PiiEntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + readonly entities: Entity[]; + readonly redactedText: string; } // @public -export interface RecognizeLinkedEntitiesSuccessResult extends TextAnalyticsSuccessResult { - readonly entities: LinkedEntity[]; -} +export type RelationType = string; // @public -export interface RecognizePiiEntitiesAction extends TextAnalyticsAction { - categoriesFilter?: PiiEntityCategory[]; - disableServiceLogs?: boolean; - domainFilter?: PiiEntityDomain; - stringIndexType?: StringIndexType; +export interface RestoreAnalyzeBatchPollerOptions extends TextAnalysisOperationOptions { + updateIntervalInMs?: number; } // @public -export type RecognizePiiEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -// @public -export type RecognizePiiEntitiesActionResult = RecognizePiiEntitiesActionSuccessResult | RecognizePiiEntitiesActionErrorResult; - -// @public -export interface RecognizePiiEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState { - results: RecognizePiiEntitiesResultArray; +export interface SentenceSentiment { + readonly confidenceScores: SentimentConfidenceScores; + readonly length: number; + readonly offset: number; + readonly opinions: Opinion[]; + readonly sentiment: SentenceSentimentLabel; + readonly text: string; } // @public -export type RecognizePiiEntitiesErrorResult = TextAnalyticsErrorResult; +export type SentenceSentimentLabel = "positive" | "neutral" | "negative"; // @public -export interface RecognizePiiEntitiesOptions extends TextAnalyticsOperationOptions { - categoriesFilter?: PiiEntityCategory[]; - domainFilter?: PiiEntityDomain; +export type SentimentAnalysisAction = ActionPrebuilt & { + includeOpinionMining?: boolean; stringIndexType?: StringIndexType; -} - -// @public -export type RecognizePiiEntitiesResult = RecognizePiiEntitiesSuccessResult | RecognizePiiEntitiesErrorResult; +}; // @public -export interface RecognizePiiEntitiesResultArray extends Array { - modelVersion: string; - statistics?: TextDocumentBatchStatistics; +export interface SentimentAnalysisBatchAction extends AnalyzeBatchActionCommon, SentimentAnalysisAction { + kind: "SentimentAnalysis"; } // @public -export interface RecognizePiiEntitiesSuccessResult extends TextAnalyticsSuccessResult { - readonly entities: PiiEntity[]; - redactedText: string; -} +export type SentimentAnalysisBatchResult = ActionMetadata & BatchActionResult; // @public -export type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult; +export type SentimentAnalysisErrorResult = TextAnalysisErrorResult; // @public -export interface RecongizeCustomEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState { - results: RecognizeCustomEntitiesResultArray; -} - -// @public (undocumented) -export interface SentenceAssessment { - confidenceScores: TargetConfidenceScoreLabel; - isNegated: boolean; - length: number; - offset: number; - sentiment: TokenSentimentValue; - text: string; -} +export type SentimentAnalysisResult = SentimentAnalysisSuccessResult | SentimentAnalysisErrorResult; // @public -export interface SentenceSentiment { - confidenceScores: SentimentConfidenceScores; - length: number; - offset: number; - opinions: Opinion[]; - sentiment: SentenceSentimentLabel; - text: string; +export interface SentimentAnalysisSuccessResult extends TextAnalysisSuccessResult { + readonly confidenceScores: SentimentConfidenceScores; + readonly sentences: SentenceSentiment[]; + readonly sentiment: DocumentSentimentLabel; } -// @public -export type SentenceSentimentLabel = "positive" | "neutral" | "negative"; - // @public export interface SentimentConfidenceScores { // (undocumented) @@ -713,42 +1039,19 @@ export interface SentimentConfidenceScores { } // @public -export interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction { - disableServiceLogs?: boolean; -} +export type StringIndexType = string; // @public -export type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult; +export type SummarizationExtractionErrorResult = TextAnalysisErrorResult; // @public -export type SingleCategoryClassifyActionResult = SingleCategoryClassifyActionSuccessResult | SingleCategoryClassifyActionErrorResult; +export type SummarizationExtractionResult = SummarizationExtractionSuccessResult | SummarizationExtractionErrorResult; // @public -export interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState { - results: SingleCategoryClassifyResultArray; +export interface SummarizationExtractionSuccessResult extends TextAnalysisSuccessResult { + readonly sentences: SummarySentence[]; } -// @public -export type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult; - -// @public -export type SingleCategoryClassifyResult = SingleCategoryClassifySuccessResult | SingleCategoryClassifyErrorResult; - -// @public -export interface SingleCategoryClassifyResultArray extends Array { - deploymentName: string; - projectName: string; - statistics?: TextDocumentBatchStatistics; -} - -// @public -export interface SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult { - classification: ClassificationCategory; -} - -// @public -export type StringIndexType = "TextElement_v8" | "UnicodeCodePoint" | "Utf16CodeUnit"; - // @public export interface SummarySentence { length: number; @@ -758,7 +1061,7 @@ export interface SummarySentence { } // @public -export interface TargetConfidenceScoreLabel { +export interface TargetConfidenceScores { // (undocumented) negative: number; // (undocumented) @@ -767,114 +1070,58 @@ export interface TargetConfidenceScoreLabel { // @public export interface TargetSentiment { - confidenceScores: TargetConfidenceScoreLabel; - length: number; - offset: number; - sentiment: TokenSentimentValue; - text: string; -} - -// @public -export interface TextAnalyticsAction { - actionName?: string; - modelVersion?: string; + readonly confidenceScores: TargetConfidenceScores; + readonly length: number; + readonly offset: number; + readonly sentiment: TokenSentimentLabel; + readonly text: string; } // @public -export interface TextAnalyticsActionErrorResult extends TextAnalyticsActionState { - readonly error: TextAnalyticsError; - readonly failedOn: Date; -} - -// @public -export interface TextAnalyticsActions { - analyzeSentimentActions?: AnalyzeSentimentAction[]; - extractKeyPhrasesActions?: ExtractKeyPhrasesAction[]; - extractSummaryActions?: ExtractSummaryAction[]; - multiCategoryClassifyActions?: MultiCategoryClassifyAction[]; - recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[]; - recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[]; - recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[]; - recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[]; - singleCategoryClassifyActions?: SingleCategoryClassifyAction[]; -} - -// @public -export interface TextAnalyticsActionState { - actionName?: string; +export class TextAnalysisClient { + constructor(endpointUrl: string, credential: KeyCredential, options?: TextAnalysisClientOptions); + constructor(endpointUrl: string, credential: TokenCredential, options?: TextAnalysisClientOptions); + analyze(actionName: ActionName, documents: LanguageDetectionInput[], options?: AnalyzeActionParameters & TextAnalysisOperationOptions): Promise>; + analyze(actionName: ActionName, documents: string[], countryHint?: string, options?: AnalyzeActionParameters & TextAnalysisOperationOptions): Promise>; + analyze(actionName: ActionName, documents: TextDocumentInput[], options?: AnalyzeActionParameters & TextAnalysisOperationOptions): Promise>; + analyze(actionName: ActionName, documents: string[], languageCode?: string, options?: AnalyzeActionParameters & TextAnalysisOperationOptions): Promise>; + beginAnalyzeBatch(actions: AnalyzeBatchAction[], documents: string[], languageCode?: string, options?: BeginAnalyzeBatchOptions): Promise; + beginAnalyzeBatch(actions: AnalyzeBatchAction[], documents: TextDocumentInput[], options?: BeginAnalyzeBatchOptions): Promise; + restoreAnalyzeBatchPoller(serializedState: string, options?: RestoreAnalyzeBatchPollerOptions): Promise; } // @public -export interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState { - readonly completedOn: Date; - readonly error?: undefined; -} - -// @public -export class TextAnalyticsClient { - constructor(endpointUrl: string, credential: TokenCredential | KeyCredential, options?: TextAnalyticsClientOptions); - analyzeSentiment(documents: string[], language?: string, options?: AnalyzeSentimentOptions): Promise; - analyzeSentiment(documents: TextDocumentInput[], options?: AnalyzeSentimentOptions): Promise; - beginAnalyzeActions(documents: string[], actions: TextAnalyticsActions, language?: string, options?: BeginAnalyzeActionsOptions): Promise; - beginAnalyzeActions(documents: TextDocumentInput[], actions: TextAnalyticsActions, options?: BeginAnalyzeActionsOptions): Promise; - beginAnalyzeHealthcareEntities(documents: string[], language?: string, options?: BeginAnalyzeHealthcareEntitiesOptions): Promise; - beginAnalyzeHealthcareEntities(documents: TextDocumentInput[], options?: BeginAnalyzeHealthcareEntitiesOptions): Promise; - defaultCountryHint: string; - defaultLanguage: string; - detectLanguage(documents: string[], countryHint?: string, options?: DetectLanguageOptions): Promise; - detectLanguage(documents: DetectLanguageInput[], options?: DetectLanguageOptions): Promise; - readonly endpointUrl: string; - extractKeyPhrases(documents: string[], language?: string, options?: ExtractKeyPhrasesOptions): Promise; - extractKeyPhrases(documents: TextDocumentInput[], options?: ExtractKeyPhrasesOptions): Promise; - recognizeEntities(documents: string[], language?: string, options?: RecognizeCategorizedEntitiesOptions): Promise; - recognizeEntities(documents: TextDocumentInput[], options?: RecognizeCategorizedEntitiesOptions): Promise; - recognizeLinkedEntities(documents: string[], language?: string, options?: RecognizeLinkedEntitiesOptions): Promise; - recognizeLinkedEntities(documents: TextDocumentInput[], options?: RecognizeLinkedEntitiesOptions): Promise; - recognizePiiEntities(inputs: string[], language?: string, options?: RecognizePiiEntitiesOptions): Promise; - recognizePiiEntities(inputs: TextDocumentInput[], options?: RecognizePiiEntitiesOptions): Promise; -} - -// @public -export interface TextAnalyticsClientOptions extends CommonClientOptions { +export interface TextAnalysisClientOptions extends CommonClientOptions { + apiVersion?: string; defaultCountryHint?: string; defaultLanguage?: string; } // @public -export interface TextAnalyticsError { - readonly code: ErrorCode; +export interface TextAnalysisError { + readonly code: string; readonly message: string; readonly target?: string; } // @public -export interface TextAnalyticsErrorResult { - readonly error: TextAnalyticsError; +export interface TextAnalysisErrorResult { + readonly error: TextAnalysisError; readonly id: string; } // @public -export interface TextAnalyticsOperationOptions extends OperationOptions { - disableServiceLogs?: boolean; +export interface TextAnalysisOperationOptions extends OperationOptions { + apiVersion?: string; includeStatistics?: boolean; - modelVersion?: string; } // @public -export type TextAnalyticsOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "rejected" | "cancelled" | "cancelling"; - -// @public -export interface TextAnalyticsSuccessResult { +export interface TextAnalysisSuccessResult { readonly error?: undefined; readonly id: string; readonly statistics?: TextDocumentStatistics; - readonly warnings: TextAnalyticsWarning[]; -} - -// @public -export interface TextAnalyticsWarning { - code: WarningCode; - message: string; + readonly warnings: DocumentWarning[]; } // @public @@ -899,11 +1146,9 @@ export interface TextDocumentStatistics { } // @public -export type TokenSentimentValue = "positive" | "mixed" | "negative"; +export type TokenSentimentLabel = "positive" | "mixed" | "negative"; // @public export type WarningCode = string; -// (No @packageDocumentation comment for this package) - ``` diff --git a/sdk/textanalytics/ai-text-analytics/sample.env b/sdk/textanalytics/ai-text-analytics/sample.env index 614cea7d231b..045b6683c580 100644 --- a/sdk/textanalytics/ai-text-analytics/sample.env +++ b/sdk/textanalytics/ai-text-analytics/sample.env @@ -1,7 +1,7 @@ -# Used to authenticate with the Azure Text Analytics service. Retrieve these -# values from a Cognitive Services instance in the Azure Portal. +# Used to authenticate with the Azure Cognitive Language Service. Retrieve these +# values from a Azure Cognitive Language Service instance in the Azure Portal. ENDPOINT="https://.cognitiveservies.azure.com/" -TEXT_ANALYTICS_API_KEY="" +LANGUAGE_API_KEY="" # Used to authenticate using Azure AD as a service principal for role-based # authentication. @@ -10,5 +10,4 @@ TEXT_ANALYTICS_API_KEY="" # https://docs.microsoft.com/javascript/api/@azure/identity/environmentcredential AZURE_TENANT_ID= AZURE_CLIENT_ID= -AZURE_CLIENT_SECRET= - +AZURE_CLIENT_SECRET= \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/alternativeDocumentInput.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/alternativeDocumentInput.ts deleted file mode 100644 index a7a47161a39b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/alternativeDocumentInput.ts +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample demonstrates how to use objects with additional metadata as - * inputs to the Text Analytics service as an alternative to passing arrays of - * simple strings in the client methods. - * - * @summary uses objects with attached metadata instead of simple strings as - * inputs for flexibility - * @azsdk-weight 40 - */ - -import { - TextAnalyticsClient, - AzureKeyCredential, - DetectLanguageInput, - TextDocumentInput, -} from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set this environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -/** - * DetectLanguageInput objects allow for specification of country hints on a - * document-by-document basis. - * - * When using DetectLanguageInput, the `id` field is required and must be unique - * for each document in a given request. - */ -const detectLanguageInputs: DetectLanguageInput[] = [ - { id: "0", countryHint: "us", text: "I had the best day of my life." }, - { id: "1", countryHint: "us", text: "This was a waste of my time. The speaker put me to sleep." }, - { id: "2", countryHint: "us", text: "No tengo dinero ni nada que dar..." }, - { - id: "3", - countryHint: "fr", - text: "L'hôtel n'était pas très confortable. L'éclairage était trop sombre.", - }, -]; - -/** - * TextDocumentInput objects are used by all methods except for `detectLanguage`. - * They allow for specification of input language on a document-by-document basis. - * - * Like `DetectLanguageInput`, the `id` field is required and must be unique for - * each document in the request. - */ -const textDocumentInputs: TextDocumentInput[] = [ - { id: "0", language: "en", text: "I had the best day of my life." }, - { id: "1", language: "en", text: "This was a waste of my time. The speaker put me to sleep." }, - { id: "2", language: "es", text: "No tengo dinero ni nada que dar..." }, - { - id: "3", - language: "fr", - text: "L'hôtel n'était pas très confortable. L'éclairage était trop sombre.", - }, -]; - -export async function main() { - console.log("== Alternative Document Input Objects Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - console.log("-- Detect Language --"); - // DetectLanguageInput objects may be used with the detectLanguage method - for (const result of await client.detectLanguage(detectLanguageInputs)) { - if (!result.error) { - const { id, primaryLanguage } = result; - console.log(`Document ${id} is in ${primaryLanguage.name}.`); - } - } - - console.log("-- Extract Key Phrases --"); - // TextDocumentInput objects may be used with any other method - // (for example, extractKeyPhrases) - for (const result of await client.extractKeyPhrases(textDocumentInputs)) { - if (!result.error) { - const { id, keyPhrases } = result; - console.log(`Document ${id} has ${keyPhrases.length} key phrases:`); - for (const phrase of keyPhrases) { - console.log(`- ${phrase}`); - } - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentiment.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentiment.ts deleted file mode 100644 index 64efe15eea8a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentiment.ts +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * In this sample, we use the sentiment analysis endpoint to retrieve - * estimations of document sentiment (positive, negative, or mixed) within some - * example text. The endpoint allows us to analyze sentiment on a per-sentence - * or overall (per-document) basis. - * - * @summary analyzes the sentiment of a piece of text - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "I had the best day of my life.", - "This was a waste of my time. The speaker put me to sleep.", -]; - -export async function main() { - console.log("=== Analyze Sentiment Sample ==="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.analyzeSentiment(documents); - - for (let i = 0; i < results.length; i++) { - const result = results[i]; - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log(`\tDocument text: ${documents[i]}`); - console.log(`\tOverall Sentiment: ${result.sentiment}`); - console.log("\tSentiment confidence scores: ", result.confidenceScores); - console.log("\tSentences"); - for (const { sentiment, confidenceScores, text } of result.sentences) { - console.log(`\t- Sentence text: ${text}`); - console.log(`\t Sentence sentiment: ${sentiment}`); - console.log("\t Confidence scores:", confidenceScores); - } - } else { - console.error(` Error: ${result.error}`); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentimentWithOpinionMining.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentimentWithOpinionMining.ts deleted file mode 100644 index 59515c555f3f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/analyzeSentimentWithOpinionMining.ts +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample demonstrates how to analyze sentiment on a more granular level, - * mining individual assessments from reviews (also known as aspect-based - * sentiment analysis). In the example below, we analyze reviews about a hotel - * for sentiment and different assessments about targets in the reviews. - * - * @summary analyzes the sentiment of a piece of text and mine opinions about - * different targets - * @azsdk-weight 50 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - { - text: "The food and service were unacceptable, but the concierge were nice", - id: "0", - language: "en", - }, - { - text: "The rooms were beautiful but dirty. The AC was good and quiet, but the elevator was broken", - id: "1", - language: "en", - }, - { - text: "The breakfast was good, but the toilet was smelly", - id: "2", - language: "en", - }, - { - text: "Loved this hotel - good breakfast - nice shuttle service.", - id: "3", - language: "en", - }, - { - text: "I had a great unobstructed view of the Microsoft campus", - id: "4", - language: "en", - }, -]; - -export async function main() { - console.log("=== Opinion Mining Sample ==="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.analyzeSentiment(documents, { includeOpinionMining: true }); - - for (let i = 0; i < results.length; i++) { - const result = results[i]; - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log(`\tDocument text: ${documents[i].text}`); - console.log(`\tOverall Sentiment: ${result.sentiment}`); - console.log("\tSentiment confidence scores:", result.confidenceScores); - console.log("\tSentences"); - for (const { sentiment, confidenceScores, opinions } of result.sentences) { - console.log(`\t- Sentence sentiment: ${sentiment}`); - console.log("\t Confidence scores:", confidenceScores); - console.log("\t Mined opinions"); - for (const { target, assessments } of opinions) { - console.log(`\t\t- Target text: ${target.text}`); - console.log(`\t\t Target sentiment: ${target.sentiment}`); - console.log("\t\t Target confidence scores:", target.confidenceScores); - console.log("\t\t Target assessments"); - for (const { text, sentiment } of assessments) { - console.log(`\t\t\t- Text: ${text}`); - console.log(`\t\t\t Sentiment: ${sentiment}`); - } - } - } - } else { - console.error(`\tError: ${result.error}`); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/authenticationMethods.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/authenticationMethods.ts index ff9258797cf8..faee1d07843c 100644 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/authenticationMethods.ts +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/authenticationMethods.ts @@ -3,7 +3,7 @@ /** * This sample demonstrates how to use either an Azure Active Directory (RBAC) - * or an API Key to authenticate a TextAnalyticsClient. + * or an API Key to authenticate a TextAnalysisClient. * * @summary authenticates a service client using both Azure Active Directory * and an API key @@ -11,7 +11,7 @@ */ // To use an API Key, import `AzureKeyCredential` from the Text Analytics package -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; // To use Azure AD, import `DefaultAzureCredential` from the `@azure/identity` package import { DefaultAzureCredential } from "@azure/identity"; @@ -21,7 +21,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set this environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; async function useAad() { console.log("-- Azure Active Directory --"); @@ -32,9 +32,9 @@ async function useAad() { // - AZURE_CLIENT_SECRET: The client secret for the registered application const credential = new DefaultAzureCredential(); - const client = new TextAnalyticsClient(endpoint, credential); + const client = new TextAnalysisClient(endpoint, credential); - const [result] = await client.detectLanguage(["hello world"]); + const [result] = await client.analyze("LanguageDetection", ["hello world"]); if (!result.error) { console.log(`Primary language detected as ${result.primaryLanguage.name}`); @@ -45,13 +45,13 @@ async function useApiKey() { console.log("-- API Key --"); // If using an API Key, you will need to set this environment variable - const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; + const apiKey = process.env["LANGUAGE_API_KEY"] || ""; const credential = new AzureKeyCredential(apiKey); - const client = new TextAnalyticsClient(endpoint, credential); + const client = new TextAnalysisClient(endpoint, credential); - const [result] = await client.detectLanguage(["hello world"]); + const [result] = await client.analyze("LanguageDetection", ["hello world"]); if (!result.error) { console.log(`Primary language detected as ${result.primaryLanguage.name}`); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/batching.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/batching.ts new file mode 100644 index 000000000000..8292fe0fad4a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/batching.ts @@ -0,0 +1,125 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample extracts key phrases, entities, and pii entities from several documents + * using a long-running operation. This functionality uses the generic analysis + * endpoint, which provides a way to group several different Text Analytics actions + * into a single request. + * + * @summary applies multiple Text Analytics actions per document + * @azsdk-weight 40 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Microsoft was founded by Bill Gates and Paul Allen.", + "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", + "I need to take my cat to the veterinarian.", + "The employee's SSN is 555-55-5555.", + "We went to Contoso Steakhouse located at midtown NYC last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The Sirloin steak I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contososteakhouse.com, call 312-555-0176 or send email to order@contososteakhouse.com! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!", +]; + +export async function main() { + console.log("== Batch Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "EntityRecognition", + modelVersion: "latest", + }, + { + kind: "PiiEntityRecognition", + modelVersion: "latest", + }, + { + kind: "KeyPhraseExtraction", + modelVersion: "latest", + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + + poller.onProgress(() => { + console.log( + `Number of actions still in progress: ${poller.getOperationState().actionInProgressCount}` + ); + }); + + console.log(`The operation was created on ${poller.getOperationState().createdOn}`); + + console.log(`The operation results will expire on ${poller.getOperationState().expiresOn}`); + + const actionResults = await poller.pollUntilDone(); + + for await (const actionResult of actionResults) { + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + switch (actionResult.kind) { + case "KeyPhraseExtraction": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tKey phrases:"); + for (const phrase of doc.keyPhrases) { + console.log(`\t- ${phrase}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + case "EntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tEntities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + case "PiiEntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tPii Entities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + default: { + throw new Error(`Unexpected action results: ${actionResult.kind}`); + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeActions.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeActions.ts deleted file mode 100644 index 8fa92e4cfe71..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeActions.ts +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample extracts key phrases, entities, and pii entities from several documents - * using a long-running operation. This functionality uses the generic analysis - * endpoint, which provides a way to group several different Text Analytics actions - * into a single request. - * - * @summary applies multiple Text Analytics actions per document - * @azsdk-weight 40 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "Microsoft was founded by Bill Gates and Paul Allen.", - "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", - "I need to take my cat to the veterinarian.", - "The employee's SSN is 555-55-5555.", - "We went to Contoso Steakhouse located at midtown NYC last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The Sirloin steak I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contososteakhouse.com, call 312-555-0176 or send email to order@contososteakhouse.com! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!", -]; - -export async function main() { - console.log("== Analyze Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const actions = { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }], - }; - const poller = await client.beginAnalyzeActions(documents, actions, "en", { - includeStatistics: true, - }); - - poller.onProgress(() => { - console.log( - `Number of actions still in progress: ${poller.getOperationState().actionsInProgressCount}` - ); - }); - - console.log(`The analyze actions operation created on ${poller.getOperationState().createdOn}`); - - console.log( - `The analyze actions operation results will expire on ${poller.getOperationState().expiresOn}` - ); - - const resultPages = await poller.pollUntilDone(); - - for await (const page of resultPages) { - const keyPhrasesAction = page.extractKeyPhrasesResults[0]; - if (!keyPhrasesAction.error) { - for (const doc of keyPhrasesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tKey phrases:"); - for (const phrase of doc.keyPhrases) { - console.log(`\t- ${phrase}`); - } - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(keyPhrasesAction.results.statistics)); - } - - const entitiesAction = page.recognizeEntitiesResults[0]; - if (!entitiesAction.error) { - for (const doc of entitiesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tEntities:"); - for (const entity of doc.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); - } - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(entitiesAction.results.statistics)); - } - - const piiEntitiesAction = page.recognizePiiEntitiesResults[0]; - if (!piiEntitiesAction.error) { - for (const doc of piiEntitiesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tPii Entities:"); - for (const entity of doc.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); - } - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(piiEntitiesAction.results.statistics)); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeHealthcareEntities.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeHealthcareEntities.ts deleted file mode 100644 index 07246af85033..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/beginAnalyzeHealthcareEntities.ts +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample program uses the Text Analytics for Healthcare API to detect - * healthcare-related entities in some documents and prints them to the - * console. - * - * @summary detects healthcare entities in a piece of text - * @azsdk-weight 50 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months.", - "Prescribed 100mg ibuprofen, taken twice daily.", - "Patient does not suffer from high blood pressure.", -]; - -export async function main() { - console.log("== Recognize Healthcare Entities Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const poller = await client.beginAnalyzeHealthcareEntities(documents, "en", { - includeStatistics: true, - }); - - poller.onProgress(() => { - console.log( - `Last time the operation was updated was on: ${poller.getOperationState().lastModifiedOn}` - ); - }); - console.log( - `The analyze healthcare entities operation was created on ${ - poller.getOperationState().createdOn - }` - ); - console.log( - `The analyze healthcare entities operation results will expire on ${ - poller.getOperationState().expiresOn - }` - ); - - const results = await poller.pollUntilDone(); - - for await (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log("\tRecognized Entities:"); - for (const entity of result.entities) { - console.log(`\t- Entity "${entity.text}" of type ${entity.category}`); - if (entity.dataSources.length > 0) { - console.log("\t and it can be referenced in the following data sources:"); - for (const ds of entity.dataSources) { - console.log(`\t\t- ${ds.name} with Entity ID: ${ds.entityId}`); - } - } - } - if (result.entityRelations?.length > 0) { - console.log(`\tRecognized relations between entities:`); - for (const relation of result.entityRelations) { - console.log( - `\t\t- Relation of type ${relation.relationType} found between the following entities:` - ); - for (const role of relation.roles) { - console.log(`\t\t\t- "${role.entity.text}" with the role ${role.name}`); - } - } - } - } else console.error("\tError:", result.error); - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/customEntityRecognition.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/customEntityRecognition.ts new file mode 100644 index 000000000000..8459178ef5be --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/customEntityRecognition.ts @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample program demonstrates how to detect entities using custom models + * built using Azure Language Studio. + * + * @summary detects custom text in a piece of text + * @azsdk-weight 50 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; +const deploymentName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME"] || "deployment name"; +const projectName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME"] || "deployment name"; + +const documents = [ + "We love this trail and make the trip every year. The views are breathtaking and well worth the hike! Yesterday was foggy though, so we missed the spectacular views. We tried again today and it was amazing. Everyone in my family liked the trail although it was too challenging for the less athletic among us.", + "Last week we stayed at Hotel Foo to celebrate our anniversary. The staff knew about our anniversary so they helped me organize a little surprise for my partner. The room was clean and with the decoration I requested. It was perfect!", +]; + +export async function main() { + console.log("== Custom Entity Recognition Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomEntityRecognition", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "CustomEntityRecognition") { + throw new Error(`Expected a CustomEntityRecognition results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log("\tRecognized Entities:"); + for (const entity of result.entities) { + console.log(`\t- Entity "${entity.text}" of type ${entity.category}`); + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/customMultiLabelClassification.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/customMultiLabelClassification.ts new file mode 100644 index 000000000000..18abd6f78109 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/customMultiLabelClassification.ts @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample program demonstrates how to classify documents using custom + * multi-label models built using Azure Language Studio. + * + * @summary multi-label classification of pieces of text + * @azsdk-weight 50 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; +const deploymentName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME"] || "deployment name"; +const projectName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME"] || "deployment name"; + +const documents = [ + "The plot begins with a large group of characters where everyone thinks that the two main ones should be together but foolish things keep them apart. Misunderstandings, miscommunication, and confusion cause a series of humorous situations.", +]; + +export async function main() { + console.log("== Custom Entity Recognition Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomMultiLabelClassification", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "CustomMultiLabelClassification") { + throw new Error( + `Expected a CustomMultiLabelClassification results but got: ${actionResult.kind}` + ); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log(`\tClassification:`); + for (const classification of result.classifications) { + console.log(`\t\t-category: ${classification.category}`); + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/customSingleLabelClassification.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/customSingleLabelClassification.ts new file mode 100644 index 000000000000..1a44f48b711b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/customSingleLabelClassification.ts @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample program demonstrates how to classify documents using custom + * single-label models built using Azure Language Studio. + * + * @summary single-label classification of pieces of text + * @azsdk-weight 50 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; +const deploymentName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME"] || "deployment name"; +const projectName = + process.env["LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME"] || "deployment name"; + +const documents = [ + "The plot begins with a large group of characters where everyone thinks that the two main ones should be together but foolish things keep them apart. Misunderstandings, miscommunication, and confusion cause a series of humorous situations.", +]; + +export async function main() { + console.log("== Custom Entity Recognition Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "CustomSingleLabelClassification", + deploymentName, + projectName, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "CustomSingleLabelClassification") { + throw new Error( + `Expected a CustomSingleLabelClassification results but got: ${actionResult.kind}` + ); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log(`\tClassification: ${result.classifications[0].category}`); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts deleted file mode 100644 index 67fa18705746..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/customText.ts +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample applies actions for customer-trained models to several documents using - * a long-running operation. This functionality uses the generic analysis endpoint, - * which provides a way to group several different Text Analytics actions into a single request. - * For more information, please refer to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} - * - * @summary applies multiple Custom Text Analytics actions per document - * @azsdk-weight 40 - */ - -import { - TextAnalyticsClient, - AzureKeyCredential, - TextAnalyticsActions, -} from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "Microsoft was founded by Bill Gates and Paul Allen.", - "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", - "I need to take my cat to the veterinarian.", - "The employee's SSN is 555-55-5555.", - "We went to Contoso Steakhouse located at midtown NYC last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The Sirloin steak I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contososteakhouse.com, call 312-555-0176 or send email to order@contososteakhouse.com! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!", -]; - -export async function main() { - console.log("== Analyze Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const actions: TextAnalyticsActions = { - recognizeCustomEntitiesActions: [ - { - projectName: process.env["TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_PROJECT_NAME"]!, - deploymentName: process.env["TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_DEPLOYMENT_NAME"]!, - }, - ], - singleCategoryClassifyActions: [ - { - projectName: process.env["TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_PROJECT_NAME"]!, - deploymentName: process.env["TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_DEPLOYMENT_NAME"]!, - }, - ], - multiCategoryClassifyActions: [ - { - projectName: process.env["TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_PROJECT_NAME"]!, - deploymentName: process.env["TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_DEPLOYMENT_NAME"]!, - }, - ], - }; - const poller = await client.beginAnalyzeActions(documents, actions, "en", { - includeStatistics: true, - }); - - poller.onProgress(() => { - console.log( - `Number of actions still in progress: ${poller.getOperationState().actionsInProgressCount}` - ); - }); - - console.log(`The analyze actions operation created on ${poller.getOperationState().createdOn}`); - - console.log( - `The analyze actions operation results will expire on ${poller.getOperationState().expiresOn}` - ); - - const resultPages = await poller.pollUntilDone(); - - for await (const page of resultPages) { - const customEntitiesAction = page.recognizeCustomEntitiesResults[0]; - if (!customEntitiesAction.error) { - for (const doc of customEntitiesAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tEntities:"); - for (const entity of doc.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); - } - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(customEntitiesAction.results.statistics, null, 2)); - } - - const singleCatClassificationAction = page.singleCategoryClassifyResults[0]; - if (!singleCatClassificationAction.error) { - for (const doc of singleCatClassificationAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log( - `\t- Detected Category ${doc.classification.category} with confidence score ${doc.classification.confidenceScore}` - ); - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(singleCatClassificationAction.results.statistics)); - } - - const multiCatClassificationAction = page.multiCategoryClassifyResults[0]; - if (!multiCatClassificationAction.error) { - for (const doc of multiCatClassificationAction.results) { - console.log(`- Document ${doc.id}`); - if (!doc.error) { - console.log("\tCategories:"); - for (const category of doc.classifications) { - console.log( - `\t- Category ${category.category} with confidence score ${category.confidenceScore}` - ); - } - } else { - console.error("\tError:", doc.error); - } - } - console.log("Action statistics: "); - console.log(JSON.stringify(multiCatClassificationAction.results.statistics)); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/detectLanguage.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/detectLanguage.ts deleted file mode 100644 index 433f444b7b8f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/detectLanguage.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * In this sample, we use the language detection endpoint to determine the - * written language of several documents written in different languages. The - * endpoint provides a primary language as well as a score representing the - * service's confidence in the correctness of its assessment. - * - * @summary detects the language of a piece of text - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "This document is written in English.", - "Este es un document escrito en Español.", - "这是一个用中文写的文件", - "Dies ist ein Dokument in deutsche Sprache.", - "Detta är ett dokument skrivet på engelska.", -]; - -export async function main() { - console.log("== Detect Language Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.detectLanguage(documents); - - for (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { - const primaryLanguage = result.primaryLanguage; - console.log( - `\tDetected language: ${primaryLanguage.name} (ISO 6391 code: ${primaryLanguage.iso6391Name})` - ); - } else { - console.error("\tError:", result.error); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/entityLinking.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/entityLinking.ts new file mode 100644 index 000000000000..ffeb48b22b5e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/entityLinking.ts @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample uses the linked entity recognition endpoint to detect + * well-known entities in a document and connect (link) them to entries in an + * external knowledge base (such as Wikipedia) that contain information about + * the entity. + * + * @summary detects entities that have links to more information on the web + * @azsdk-weight 100 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Microsoft moved its headquarters to Bellevue, Washington in January 1979.", + "Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.", +]; + +export async function main() { + console.log("== Recognize Linked Entities Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("EntityLinking", documents); + + for (const result of results) { + console.log(`- Document ${result.id}`); + if (!result.error) { + console.log("\tEntities:"); + for (const entity of result.entities) { + console.log( + `\t- Entity ${entity.name}; link ${entity.url}; datasource: ${entity.dataSource}` + ); + console.log("\t\tMatches:"); + for (const match of entity.matches) { + console.log( + `\t\t- Entity appears as "${match.text}" (confidence: ${match.confidenceScore}` + ); + } + } + } else { + console.error(" Error:", result.error); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/entityRecognition.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/entityRecognition.ts new file mode 100644 index 000000000000..3d7b1e3ae6ef --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/entityRecognition.ts @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * Uses the entity recognition endpoint to detect entities in a document using + * Named Entity Recognition (NER) and prints them along with their recognized + * entity type. + * + * @summary detects entities in a piece of text + * @azsdk-weight 100 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Microsoft was founded by Bill Gates and Paul Allen.", + "I had a wonderful trip to Seattle last week.", + "I visited the Space Needle 2 times.", +]; + +export async function main() { + console.log("== Recognize Entities Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("EntityRecognition", documents); + + for (const result of results) { + console.log(`- Document ${result.id}`); + if (!result.error) { + console.log("\tRecognized Entities:"); + for (const entity of result.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else console.error("\tError:", result.error); + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/extractKeyPhrases.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/extractKeyPhrases.ts deleted file mode 100644 index 11ae5d507f8c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/extractKeyPhrases.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample uses the key-phrase extraction endpoint to determine which - * words or phrases in a document are of particular importance. - * - * @summary extracts key phrases from a piece of text - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", - "I need to take my cat to the veterinarian.", - "I will travel to South America in the summer.", -]; - -export async function main() { - console.log("== Extract Key Phrases Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.extractKeyPhrases(documents); - - for (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log("\tKey phrases:"); - for (const phrase of result.keyPhrases) { - console.log(`\t- ${phrase}`); - } - } else { - console.error(" Error:", result.error); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/extractiveSummarization.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/extractiveSummarization.ts new file mode 100644 index 000000000000..eda817f61f0b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/extractiveSummarization.ts @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample program uses extracts a summary from an article + * + * @summary detects healthcare entities in a piece of text and creates an FHIR representation + * @azsdk-weight 50 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + ` + Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but “what really put the firecracker behind it was the pandemic, it accelerated everything,” McKelvey said. She explained that customers were asking, “’How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?” + In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there – in the office, at home or a coffee shop. + “And then, when you’re done, you’re done. You won’t have any issues around security because you’re not saving anything on your device,” McKelvey said, noting that all the data is stored in the cloud. + The ability to login to a Cloud PC from anywhere on any device is part of Microsoft’s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise. + “I think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,” McKelvey said. + The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure. + We didn’t run it for very long,” he said. “It didn’t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.” + He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government’s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester’s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly. + “The impact that I believe we are finding, and the impact that we’re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,” he said. + “Being able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.”`, +]; + +export async function main() { + console.log("== Extractive Summarization Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "ExtractiveSummarization", + maxSentenceCount: 2, + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + + poller.onProgress(() => { + console.log( + `Last time the operation was updated was on: ${poller.getOperationState().lastModifiedOn}` + ); + }); + console.log(`The operation was created on ${poller.getOperationState().createdOn}`); + console.log(`The operation results will expire on ${poller.getOperationState().expiresOn}`); + + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "ExtractiveSummarization") { + throw new Error(`Expected extractive summarization results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log("Summary:"); + console.log(result.sentences.map((sentence) => sentence.text).join("\n")); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/healthcare.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/healthcare.ts new file mode 100644 index 000000000000..1065575db3bf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/healthcare.ts @@ -0,0 +1,100 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample program uses the Text Analytics for Healthcare API to detect + * healthcare-related entities in some documents and prints them to the + * console. + * + * @summary detects healthcare entities in a piece of text and creates an FHIR representation + * @azsdk-weight 50 + */ + +import { + AnalyzeBatchAction, + AzureKeyCredential, + KnownFhirVersion, + TextAnalysisClient, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months.", + "Prescribed 100mg ibuprofen, taken twice daily.", + "Patient does not suffer from high blood pressure.", +]; + +export async function main() { + console.log("== Healthcare Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + const actions: AnalyzeBatchAction[] = [ + { + kind: "Healthcare", + fhirVersion: KnownFhirVersion["4.0.1"], + }, + ]; + const poller = await client.beginAnalyzeBatch(actions, documents, "en"); + + poller.onProgress(() => { + console.log( + `Last time the operation was updated was on: ${poller.getOperationState().lastModifiedOn}` + ); + }); + console.log(`The operation was created on ${poller.getOperationState().createdOn}`); + console.log(`The operation results will expire on ${poller.getOperationState().expiresOn}`); + + const results = await poller.pollUntilDone(); + + for await (const actionResult of results) { + if (actionResult.kind !== "Healthcare") { + throw new Error(`Expected a healthcare results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + for (const result of actionResult.results) { + console.log(`- Document ${result.id}`); + if (result.error) { + const { code, message } = result.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + console.log("\tRecognized Entities:"); + for (const entity of result.entities) { + console.log(`\t- Entity "${entity.text}" of type ${entity.category}`); + if (entity.dataSources.length > 0) { + console.log("\t and it can be referenced in the following data sources:"); + for (const ds of entity.dataSources) { + console.log(`\t\t- ${ds.name} with Entity ID: ${ds.entityId}`); + } + } + } + if (result.entityRelations.length > 0) { + console.log(`\tRecognized relations between entities:`); + for (const relation of result.entityRelations) { + console.log( + `\t\t- Relation of type ${relation.relationType} found between the following entities:` + ); + for (const role of relation.roles) { + console.log(`\t\t\t- "${role.entity.text}" with the role ${role.name}`); + } + } + } + if (result.fhirBundle) { + console.log(`FHIR object: ${JSON.stringify(result.fhirBundle, undefined, 2)}`); + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/keyPhraseExtraction.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/keyPhraseExtraction.ts new file mode 100644 index 000000000000..72c9d78295c3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/keyPhraseExtraction.ts @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample uses the key-phrase extraction endpoint to determine which + * words or phrases in a document are of particular importance. + * + * @summary extracts key phrases from a piece of text + * @azsdk-weight 100 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", + "I need to take my cat to the veterinarian.", + "I will travel to South America in the summer.", +]; + +export async function main() { + console.log("== Extract Key Phrases Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("KeyPhraseExtraction", documents); + + for (const result of results) { + console.log(`- Document ${result.id}`); + if (!result.error) { + console.log("\tKey phrases:"); + for (const phrase of result.keyPhrases) { + console.log(`\t- ${phrase}`); + } + } else { + console.error(" Error:", result.error); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/languageDetection.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/languageDetection.ts new file mode 100644 index 000000000000..c843a19506e0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/languageDetection.ts @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * In this sample, we use the language detection endpoint to determine the + * written language of several documents written in different languages. The + * endpoint provides a primary language as well as a score representing the + * service's confidence in the correctness of its assessment. + * + * @summary detects the language of a piece of text + * @azsdk-weight 100 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "This document is written in English.", + "Este es un document escrito en Español.", + "这是一个用中文写的文件", + "Dies ist ein Dokument in deutsche Sprache.", + "Detta är ett dokument skrivet på engelska.", +]; + +export async function main() { + console.log("== Detect Language Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const result = await client.analyze("LanguageDetection", documents, "us"); + + for (const doc of result) { + if (!doc.error) { + console.log( + `Primary language: ${doc.primaryLanguage.name} (iso6391 name: ${doc.primaryLanguage.iso6391Name})` + ); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/modelVersion.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/modelVersion.ts index d3be2abe0e29..4fed8f8f2008 100644 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/modelVersion.ts +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/modelVersion.ts @@ -9,66 +9,72 @@ * @azsdk-weight 40 */ -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; // Load the .env file if it exists import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; const documents = ["This document is written in English."]; export async function main() { console.log("== Choosing Model Version Sample =="); - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); - const recognizeEntitiesResults = await client.recognizeEntities(documents, "en", { + await client.analyze("SentimentAnalysis", documents, "en", { /** * Specify the model version by setting this property. "latest" indicates - * the latest generaly availability version of the model. When not specified, + * the latest generally availabe version of the model. When not specified, * latest will be assumed. Model versions are date based, e.g "2021-06-01". * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model + * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/concepts/model-lifecycle */ modelVersion: "latest", + /** + * Access the model version on the HTTP response. + */ + onResponse: (_rawResponse, flatResponse) => { + const modelVersion = (flatResponse as any).results.modelVersion; + console.log( + `The result of the sentiment analysis was computed using model version: ${modelVersion} ` + ); + }, }); - console.log( - `The results of recognizeEntities has been computed using model version: ${recognizeEntitiesResults.modelVersion}` - ); - - const poller = await client.beginAnalyzeActions( + const poller = await client.beginAnalyzeBatch( + [ + { + kind: "Healthcare", + /** + * Specify the model version by setting this property. "latest" indicates + * the latest generally availabe version of the model. When not specified, + * latest will be assumed. Model versions are date based, e.g "2022-03-01". + * See the documentation for a list of all model versions: + * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/concepts/model-lifecycle + */ + modelVersion: "latest", + }, + ], documents, - { - recognizeEntitiesActions: [ - { - /** - * Specify the model version by setting this property. "latest" indicates - * the latest generaly availability version of the model. When not specified, - * latest will be assumed. Model versions are date based, e.g "2021-06-01". - * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model - */ - modelVersion: "latest", - }, - ], - }, "en" ); - - const beginAnalyzeActionsResults = await poller.pollUntilDone(); - - for await (const page of beginAnalyzeActionsResults) { - const entitiesAction = page.recognizeEntitiesResults[0]; - if (!entitiesAction.error) { - console.log( - `The results of recognizeEntities action has been computed using model version: ${entitiesAction.results.modelVersion}` - ); + const results = await poller.pollUntilDone(); + for await (const actionResult of results) { + if (actionResult.kind !== "Healthcare") { + throw new Error(`Expected a healthcare results but got: ${actionResult.kind}`); + } + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); } + console.log( + `The result of the healthcare analysis was computed using model version: ${actionResult.modelVersion} ` + ); } } diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/opinionMining.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/opinionMining.ts new file mode 100644 index 000000000000..3c1405d7f568 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/opinionMining.ts @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample demonstrates how to analyze sentiment on a more granular level, + * mining individual assessments from reviews (also known as aspect-based + * sentiment analysis). In the example below, we analyze reviews about a hotel + * for sentiment and different assessments about targets in the reviews. + * + * @summary analyzes the sentiment of a piece of text and mine opinions about + * different targets + * @azsdk-weight 50 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + { + text: "The food and service were unacceptable, but the concierge were nice", + id: "0", + language: "en", + }, + { + text: "The rooms were beautiful but dirty. The AC was good and quiet, but the elevator was broken", + id: "1", + language: "en", + }, + { + text: "The breakfast was good, but the toilet was smelly", + id: "2", + language: "en", + }, + { + text: "Loved this hotel - good breakfast - nice shuttle service.", + id: "3", + language: "en", + }, + { + text: "I had a great unobstructed view of the Microsoft campus", + id: "4", + language: "en", + }, +]; + +export async function main() { + console.log("=== Opinion Mining Sample ==="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("SentimentAnalysis", documents, { + includeOpinionMining: true, + }); + + for (let i = 0; i < results.length; i++) { + const result = results[i]; + console.log(`- Document ${result.id}`); + if (!result.error) { + console.log(`\tDocument text: ${documents[i].text}`); + console.log(`\tOverall Sentiment: ${result.sentiment}`); + console.log("\tSentiment confidence scores:", result.confidenceScores); + console.log("\tSentences"); + for (const { sentiment, confidenceScores, opinions } of result.sentences) { + console.log(`\t- Sentence sentiment: ${sentiment}`); + console.log("\t Confidence scores:", confidenceScores); + console.log("\t Mined opinions"); + for (const { target, assessments } of opinions) { + console.log(`\t\t- Target text: ${target.text}`); + console.log(`\t\t Target sentiment: ${target.sentiment}`); + console.log("\t\t Target confidence scores:", target.confidenceScores); + console.log("\t\t Target assessments"); + for (const { text, sentiment } of assessments) { + console.log(`\t\t\t- Text: ${text}`); + console.log(`\t\t\t Sentiment: ${sentiment}`); + } + } + } + } else { + console.error(`\tError: ${result.error}`); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/paging.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/paging.ts new file mode 100644 index 000000000000..c8aecf63e2c8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/paging.ts @@ -0,0 +1,145 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample shows how to control paging for the results of `beginAnalyzeActions`. + * Mainly, shows how to specify the maximum number of processed documents in + * each page and how to store references to specific pages of results. + * + * @summary controls paging for the results of `beginAnalyzeActions` + * @azsdk-weight 40 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Microsoft was founded by Bill Gates and Paul Allen.", + "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", + "I need to take my cat to the veterinarian.", + "The employee's SSN is 555-55-5555.", + "We went to Contoso Steakhouse located at midtown NYC last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The Sirloin steak I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contososteakhouse.com, call 312-555-0176 or send email to order@contososteakhouse.com! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!", +]; + +export async function main() { + console.log("== Paging Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + let nextContinuationToken: string | undefined = undefined; + let continuationToken: string | undefined = undefined; + let stopOverwrite = false; + + const poller = await client.beginAnalyzeBatch( + [ + { + kind: "EntityRecognition", + modelVersion: "latest", + }, + ], + documents, + "en", + { + onResponse: (_rawResponse, response: unknown) => { + const nextLink = (response as { nextLink?: string }).nextLink; + if (!stopOverwrite && nextLink) { + continuationToken = nextContinuationToken; + nextContinuationToken = nextLink; + } + }, + } + ); + + poller.onProgress(() => { + console.log( + `Number of actions still in progress: ${poller.getOperationState().actionInProgressCount}` + ); + }); + + console.log(`The analyze actions operation created on ${poller.getOperationState().createdOn}`); + + console.log( + `The analyze actions operation results will expire on ${poller.getOperationState().expiresOn}` + ); + + const actionResults = await poller.pollUntilDone(); + for await (const page of actionResults.byPage({ + maxPageSize: 1, + })) { + console.log("Starting a page --------------------------------------------"); + for (const actionResult of page) { + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + switch (actionResult.kind) { + case "EntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tEntities:"); + for (const entity of doc.entities) { + if (entity.text === "veterinarian") { + stopOverwrite = true; + } + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + default: { + throw new Error(`Unexpected action results: ${actionResult.kind}`); + } + } + } + } + console.log("Starting looping from page#3"); + /** + * Start looping from a specific page using a specific continuationToken + */ + for await (const page of actionResults.byPage({ + maxPageSize: 1, + continuationToken, + })) { + console.log("Starting a page --------------------------------------------"); + for (const actionResult of page) { + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + switch (actionResult.kind) { + case "EntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tEntities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + default: { + throw new Error(`Unexpected action results: ${actionResult.kind}`); + } + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/piiEntityRecognition.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/piiEntityRecognition.ts new file mode 100644 index 000000000000..fdddab85db9e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/piiEntityRecognition.ts @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample uses the PII-recognition endpoint to detect sensitive + * personally identifiable information in documents (such as social security + * numbers, addresses, and more). The API returns information about the + * location of the sensitive information in the text, which we use to perform + * redaction of the PII text. + * + * @summary detects personally-identifiable information + * @azsdk-weight 100 + */ + +import { + TextAnalysisClient, + AzureKeyCredential, + KnownPiiDomain, + KnownPiiCategory, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +export async function main() { + console.log(`Running recognizePii sample`); + + // You will need to set these environment variables or edit the following values + const endpoint = process.env["ENDPOINT"] || ""; + const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const documents = ["My phone number is 555-5555"]; + + const [result] = await client.analyze("PiiEntityRecognition", documents, "en", { + domainFilter: KnownPiiDomain.Phi, + categoriesFilter: [KnownPiiCategory.PhoneNumber, KnownPiiCategory.USSocialSecurityNumber], + }); + + if (!result.error) { + console.log(`Redacted text: "${result.redactedText}"`); + console.log("Pii Entities: "); + for (const entity of result.entities) { + console.log(`\t- "${entity.text}" of type ${entity.category}`); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeEntities.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeEntities.ts deleted file mode 100644 index 58afb2d0f5df..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeEntities.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * Uses the entity recognition endpoint to detect entities in a document using - * Named Entity Recognition (NER) and prints them along with their recognized - * entity type. - * - * @summary detects entites in a piece of text - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "Microsoft was founded by Bill Gates and Paul Allen.", - "I had a wonderful trip to Seattle last week.", - "I visited the Space Needle 2 times.", -]; - -export async function main() { - console.log("== Recognize Entities Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.recognizeEntities(documents); - - for (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log("\tRecognized Entities:"); - for (const entity of result.entities) { - console.log(`\t- Entity ${entity.text} of type ${entity.category}`); - } - } else console.error("\tError:", result.error); - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeLinkedEntities.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeLinkedEntities.ts deleted file mode 100644 index 1b4550d7467c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizeLinkedEntities.ts +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample uses the linked entity recognition endpoint to detect - * well-known entities in a document and connect (link) them to entries in an - * external knowledge base (such as Wikipedia) that contain information about - * the entity. - * - * @summary detects entities that have links to more information on the web - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; -const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - -const documents = [ - "Microsoft moved its headquarters to Bellevue, Washington in January 1979.", - "Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.", -]; - -export async function main() { - console.log("== Recognize Linked Entities Sample =="); - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const results = await client.recognizeLinkedEntities(documents); - - for (const result of results) { - console.log(`- Document ${result.id}`); - if (!result.error) { - console.log("\tEntities:"); - for (const entity of result.entities) { - console.log( - `\t- Entity ${entity.name}; link ${entity.url}; datasource: ${entity.dataSource}` - ); - console.log("\t\tMatches:"); - for (const match of entity.matches) { - console.log( - `\t\t- Entity appears as "${match.text}" (confidence: ${match.confidenceScore}` - ); - } - } - } else { - console.error(" Error:", result.error); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizePii.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/recognizePii.ts deleted file mode 100644 index 55706573dcf6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/samples-dev/recognizePii.ts +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample uses the PII-recognition endpoint to detect sensitive - * personally identifiable information in documents (such as social security - * numbers, addresses, and more). The API returns information about the - * location of the sensitive information in the text, which we use to perform - * redaction of the PII text. - * - * @summary detects personally-identifiable information - * @azsdk-weight 100 - */ - -import { TextAnalyticsClient, AzureKeyCredential, PiiEntityDomain } from "@azure/ai-text-analytics"; -import { assert } from "console"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -export async function main() { - console.log(`Running recognizePii sample`); - - // You will need to set these environment variables or edit the following values - const endpoint = process.env["ENDPOINT"] || ""; - const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; - - const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); - - const textOnePii = "My phone number is 555-5555"; - const textNoPHI = "His EU passport number is X65097105"; - const textMultiplePIIs = "Patient name is Joe and SSN is 859-98-0987"; - - const [result] = await client.recognizePiiEntities([textOnePii]); - - if (!result.error) { - console.log( - `The redacted text is "${result.redactedText}" and found the following PII entities` - ); - for (const entity of result.entities) { - console.log(`\t- "${entity.text}" of type ${entity.category}`); - } - } - - console.log(`There are no PHI entities in this text: "${textNoPHI}"`); - const [resultWithPHI] = await client.recognizePiiEntities([textNoPHI], "en", { - domainFilter: PiiEntityDomain.PROTECTED_HEALTH_INFORMATION, - }); - if (!resultWithPHI.error) { - console.log(`Also there is nothing to redact: "${resultWithPHI.redactedText}"`); - assert(resultWithPHI.entities.length === 0, "did not expect any entities but got some"); - } - - console.log(`But there are other PII entities in that text:`); - const [resultWithoutPHI] = await client.recognizePiiEntities([textNoPHI]); - if (!resultWithoutPHI.error) { - for (const entity of resultWithoutPHI.entities) { - console.log(`\t- "${entity.text}" of type ${entity.category}`); - } - } - const [resultWithSSNPII] = await client.recognizePiiEntities([textMultiplePIIs], "en", { - categoriesFilter: ["USSocialSecurityNumber"], - }); - if (!resultWithSSNPII.error) { - console.log( - `You can choose to get SSN entities only, or any other PII category or a combination of them. For example, in this text: "${textMultiplePIIs}", this is the SSN number:` - ); - for (const entity of resultWithSSNPII.entities) { - console.log(`\t- "${entity.text}"`); - assert(entity.category === "USSocialSecurityNumber"); - } - } -} - -main().catch((err) => { - console.error("The sample encountered an error:", err); -}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/rehydratePolling.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/rehydratePolling.ts new file mode 100644 index 000000000000..9b0d796f172d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/rehydratePolling.ts @@ -0,0 +1,125 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample shows how to create a poller using the serialized state of + * another poller. This is useful for scenarios where polling needs to happen + * on a different host or on multiple hosts. + * + * @summary creates a poller using the serialized state of another + * @azsdk-weight 40 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily.", +]; + +export async function main() { + console.log("== Rehydrated Polling Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const poller = await client.beginAnalyzeBatch( + [ + { + kind: "EntityRecognition", + modelVersion: "latest", + }, + { + kind: "PiiEntityRecognition", + modelVersion: "latest", + }, + { + kind: "KeyPhraseExtraction", + modelVersion: "latest", + }, + ], + documents, + "en" + ); + + poller.onProgress(() => { + console.log( + `Number of actions still in progress: ${poller.getOperationState().actionInProgressCount}` + ); + }); + + console.log(`The operation created on ${poller.getOperationState().createdOn}`); + + console.log(`The operation results will expire on ${poller.getOperationState().expiresOn}`); + + /** Get the serialized state of the poller */ + const serializedState = poller.toString(); + + /** Create a new poller from the serialized state */ + const rehydratedPoller = await client.restoreAnalyzeBatchPoller(serializedState); + + /** Use the new poller to get the operation results */ + const actionResults = await rehydratedPoller.pollUntilDone(); + + for await (const actionResult of actionResults) { + if (actionResult.error) { + const { code, message } = actionResult.error; + throw new Error(`Unexpected error (${code}): ${message}`); + } + switch (actionResult.kind) { + case "KeyPhraseExtraction": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tKey phrases:"); + for (const phrase of doc.keyPhrases) { + console.log(`\t- ${phrase}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + case "EntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tEntities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + case "PiiEntityRecognition": { + for (const doc of actionResult.results) { + console.log(`- Document ${doc.id}`); + if (!doc.error) { + console.log("\tPii Entities:"); + for (const entity of doc.entities) { + console.log(`\t- Entity ${entity.text} of type ${entity.category}`); + } + } else { + console.error("\tError:", doc.error); + } + } + break; + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/sentimentAnalysis.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/sentimentAnalysis.ts new file mode 100644 index 000000000000..27e10e45da6c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/sentimentAnalysis.ts @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * In this sample, we use the sentiment analysis endpoint to retrieve + * estimations of document sentiment (positive, negative, or mixed) within some + * example text. The endpoint allows us to analyze sentiment on a per-sentence + * or overall (per-document) basis. + * + * @summary analyzes the sentiment of a piece of text + * @azsdk-weight 100 + */ + +import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "I had the best day of my life.", + "This was a waste of my time. The speaker put me to sleep.", +]; + +export async function main() { + console.log("=== Analyze Sentiment Sample ==="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("SentimentAnalysis", documents); + + for (let i = 0; i < results.length; i++) { + const result = results[i]; + console.log(`- Document ${result.id}`); + if (!result.error) { + console.log(`\tDocument text: ${documents[i]}`); + console.log(`\tOverall Sentiment: ${result.sentiment}`); + console.log("\tSentiment confidence scores: ", result.confidenceScores); + console.log("\tSentences"); + for (const { sentiment, confidenceScores, text } of result.sentences) { + console.log(`\t- Sentence text: ${text}`); + console.log(`\t Sentence sentiment: ${sentiment}`); + console.log("\t Confidence scores:", confidenceScores); + } + } else { + console.error(` Error: ${result.error}`); + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples-dev/stats.ts b/sdk/textanalytics/ai-text-analytics/samples-dev/stats.ts new file mode 100644 index 000000000000..79760630ad34 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/samples-dev/stats.ts @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** + * This sample demonstrates how to get statistics about the performed action. + * + * @summary access statistics about documents and transactions + * @azsdk-weight 100 + */ + +import { + TextAnalysisClient, + AzureKeyCredential, + TextDocumentBatchStatistics, +} from "@azure/ai-text-analytics"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// You will need to set these environment variables or edit the following values +const endpoint = process.env["ENDPOINT"] || ""; +const apiKey = process.env["LANGUAGE_API_KEY"] || ""; + +const documents = [ + "Microsoft moved its headquarters to Bellevue, Washington in January 1979.", + "Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.", +]; + +export async function main() { + console.log("== Statistics Sample =="); + + const client = new TextAnalysisClient(endpoint, new AzureKeyCredential(apiKey)); + + const results = await client.analyze("EntityLinking", documents, "en", { + /** + * Ask the service to return statistics. + */ + includeStatistics: true, + /** + * Access general statistics information about the action from the HTTP + * response. + */ + onResponse: (_rawResponse, flatResponse) => { + const stats = (flatResponse as any).results.statistics as TextDocumentBatchStatistics; + console.log(`\t- Documents count: ${stats.documentCount}`); + console.log(`\t- Valid documents count: ${stats.validDocumentCount}`); + console.log(`\t- Erroneous documents count: ${stats.erroneousDocumentCount}`); + console.log(`\t- Transactions count: ${stats.transactionCount}`); + }, + }); + + /** + * Access statistics per document + */ + console.log("Statistics for analyze:"); + for (const result of results) { + if (result.error) { + throw new Error(`Unexpected document error: ${result.error.message}`); + } + const stats = result.statistics; + if (!stats) { + throw new Error("Expected statistics to be returned in the response"); + } + console.log(`\t- Document ID: ${result.id}`); + console.log(`\t\t-Character count: ${stats.characterCount}`); + console.log(`\t\t-Transaction count: ${stats.transactionCount}`); + } + + const poller = await client.beginAnalyzeBatch( + [ + { + kind: "Healthcare", + }, + ], + documents, + "en", + { + includeStatistics: true, + } + ); + const actions = await poller.pollUntilDone(); + console.log("Statistics for beginAnalyzeActions:"); + for await (const action of actions) { + const stats = action.statistics; + if (!stats) { + throw new Error("statistics are missing"); + } + console.log("\tAction statistics: "); + console.log(`\t\t- Documents count: ${stats.documentCount}`); + console.log(`\t\t- Valid documents count: ${stats.validDocumentCount}`); + console.log(`\t\t- Erroneous documents count: ${stats.erroneousDocumentCount}`); + console.log(`\t\t- Transactions count: ${stats.transactionCount}`); + if (!action.error) { + for (const doc of action.results) { + if (!doc.error) { + console.log(`\t\t- Document ID: ${doc.id}`); + const stats = doc.statistics!; + console.log(`\t\t\t- Character count: ${stats.characterCount}`); + console.log(`\t\t\t- Transaction count: ${stats.transactionCount}`); + } + } + } + } +} + +main().catch((err) => { + console.error("The sample encountered an error:", err); +}); diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/modelVersion.js b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/modelVersion.js index 61c11ce7feb7..b6b6788582cd 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/modelVersion.js +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/modelVersion.js @@ -31,7 +31,7 @@ async function main() { * the latest generaly availability version of the model. When not specified, * latest will be assumed. Model versions are date based, e.g "2021-06-01". * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model + * https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model */ modelVersion: "latest" }); @@ -50,7 +50,7 @@ async function main() { * the latest generaly availability version of the model. When not specified, * latest will be assumed. Model versions are date based, e.g "2021-06-01". * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model + * https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model */ modelVersion: "latest" } 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 7c1a2c25461d..e20cfa0d02d3 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json @@ -1,5 +1,5 @@ { - "name": "@azure-samples/ai-text-analytics-js", + "name": "azure-ai-text-analytics-samples-js", "private": true, "version": "1.0.0", "description": "Azure Text Analytics client library samples for JavaScript", 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 061bb0d1ff2a..e088028bd08c 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json @@ -1,5 +1,5 @@ { - "name": "@azure-samples/ai-text-analytics-ts", + "name": "azure-ai-text-analytics-samples-ts", "private": true, "version": "1.0.0", "description": "Azure Text Analytics client library samples for TypeScript", diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/alternativeDocumentInput.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/alternativeDocumentInput.ts index f3692989f90f..47b87857735d 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/alternativeDocumentInput.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/alternativeDocumentInput.ts @@ -22,7 +22,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set this environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; /** diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentiment.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentiment.ts index eb764f142556..919bd6e9c4fe 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentiment.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentiment.ts @@ -17,7 +17,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts index ea2d27f04cde..fe558c6664cd 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts @@ -18,7 +18,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/authenticationMethods.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/authenticationMethods.ts index 8d580e1b2c0f..a06bf8014c4a 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/authenticationMethods.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/authenticationMethods.ts @@ -20,7 +20,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set this environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; async function useAad() { console.log("-- Azure Active Directory --"); diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeActions.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeActions.ts index 37955dd79035..e9d425e1d4f6 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeActions.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeActions.ts @@ -17,7 +17,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeHealthcareEntities.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeHealthcareEntities.ts index 6acec1654103..b15ab7f8e7af 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeHealthcareEntities.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/beginAnalyzeHealthcareEntities.ts @@ -16,7 +16,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/customText.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/customText.ts index 1c7b5b8fa520..02789b7799b2 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/customText.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/customText.ts @@ -21,7 +21,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/detectLanguage.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/detectLanguage.ts index 929196308baf..007690481245 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/detectLanguage.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/detectLanguage.ts @@ -17,7 +17,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/extractKeyPhrases.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/extractKeyPhrases.ts index 88d435c01be2..ad84b0b555ac 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/extractKeyPhrases.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/extractKeyPhrases.ts @@ -15,7 +15,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/modelVersion.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/modelVersion.ts index b41a09562fb1..a71bc465738f 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/modelVersion.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/modelVersion.ts @@ -15,7 +15,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = ["This document is written in English."]; @@ -31,7 +31,7 @@ export async function main() { * the latest generaly availability version of the model. When not specified, * latest will be assumed. Model versions are date based, e.g "2021-06-01". * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model + * https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model */ modelVersion: "latest" }); @@ -50,7 +50,7 @@ export async function main() { * the latest generaly availability version of the model. When not specified, * latest will be assumed. Model versions are date based, e.g "2021-06-01". * See the documentation for a list of all model versions: - * https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model + * https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/how-to-call#specify-the-ner-model */ modelVersion: "latest" } diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeEntities.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeEntities.ts index c7b2ced9aeb3..bc797ed66715 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeEntities.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeEntities.ts @@ -16,7 +16,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeLinkedEntities.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeLinkedEntities.ts index 839524ec1f8d..ff75551aad95 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeLinkedEntities.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizeLinkedEntities.ts @@ -17,7 +17,7 @@ import * as dotenv from "dotenv"; dotenv.config(); // You will need to set these environment variables or edit the following values -const endpoint = process.env["ENDPOINT"] || ""; +const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const documents = [ diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizePii.ts b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizePii.ts index f42d785b32ae..16e32a8f511f 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizePii.ts +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/recognizePii.ts @@ -22,7 +22,7 @@ export async function main() { console.log(`Running recognizePii sample`); // You will need to set these environment variables or edit the following values - const endpoint = process.env["ENDPOINT"] || ""; + const endpoint = process.env["ENDPOINT"] || ""; const apiKey = process.env["TEXT_ANALYTICS_API_KEY"] || ""; const client = new TextAnalyticsClient(endpoint, new AzureKeyCredential(apiKey)); diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeActionsResult.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeActionsResult.ts deleted file mode 100644 index 06452f0aac98..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeActionsResult.ts +++ /dev/null @@ -1,677 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - AnalyzeSentimentResultArray, - makeAnalyzeSentimentResultArray, -} from "./analyzeSentimentResultArray"; -import { - MultiCategoryClassifyResultArray, - makeMultiCategoryClassifyResultArray, -} from "./multiCategoryClassifyResultArray"; -import { - SingleCategoryClassifyResultArray, - makeSingleCategoryClassifyResultArray, -} from "./singleCategoryClassifyResultArray"; -import { - ExtractKeyPhrasesResultArray, - makeExtractKeyPhrasesResultArray, -} from "./extractKeyPhrasesResultArray"; -import { - ExtractSummaryResultArray, - makeExtractSummaryResultArray, -} from "./extractSummaryResultArray"; -import { AnalyzeJobState as GeneratedResponse, TextDocumentInput } from "./generated/models"; -import { - makeRecognizeCategorizedEntitiesResultArray, - RecognizeCategorizedEntitiesResultArray, -} from "./recognizeCategorizedEntitiesResultArray"; -import { - makeRecognizeCustomEntitiesResultArray, - RecognizeCustomEntitiesResultArray, -} from "./recognizeCustomEntitiesResultArray"; -import { - makeRecognizeLinkedEntitiesResultArray, - RecognizeLinkedEntitiesResultArray, -} from "./recognizeLinkedEntitiesResultArray"; -import { - makeRecognizePiiEntitiesResultArray, - RecognizePiiEntitiesResultArray, -} from "./recognizePiiEntitiesResultArray"; -import { ErrorCode, intoTextAnalyticsError, TextAnalyticsError } from "./textAnalyticsResult"; - -/** - * The results of an analyze Actions operation. - */ -export interface AnalyzeActionsResult { - /** - * Array of the results for each categorized entities recognition action. - */ - recognizeEntitiesResults: RecognizeCategorizedEntitiesActionResult[]; - /** - * Array of the results for each Pii entities recognition action. - */ - recognizePiiEntitiesResults: RecognizePiiEntitiesActionResult[]; - /** - * Array of the results for each key phrases extraction action. - */ - extractKeyPhrasesResults: ExtractKeyPhrasesActionResult[]; - /** - * Array of the results for each linked entities recognition action. - */ - recognizeLinkedEntitiesResults: RecognizeLinkedEntitiesActionResult[]; - /** - * Array of the results for each analyze sentiment action. - */ - analyzeSentimentResults: AnalyzeSentimentActionResult[]; - /** - * Array of the results for each extract summary action. - */ - extractSummaryResults: ExtractSummaryActionResult[]; - /** - * Array of the results for each recognize custom entities action. - */ - recognizeCustomEntitiesResults: RecognizeCustomEntitiesActionResult[]; - /** - * Array of the results for each custom classify document single category action. - */ - singleCategoryClassifyResults: SingleCategoryClassifyActionResult[]; - /** - * Array of the results for each custom classify document multi category action. - */ - multiCategoryClassifyResults: MultiCategoryClassifyActionResult[]; -} - -/** - * The state of an action - */ -export interface TextAnalyticsActionState { - /** - * The name of the action. - */ - actionName?: string; -} - -/** - * The state of a succeeded action. - */ -export interface TextAnalyticsActionSuccessState extends TextAnalyticsActionState { - /** - * When this action was completed by the service. - */ - readonly completedOn: Date; - /** - * Discriminant to determine if that this is an error result. - */ - readonly error?: undefined; -} - -/** - * The error of an analyze batch action. - */ -export interface TextAnalyticsActionErrorResult extends TextAnalyticsActionState { - /** - * When this action was completed by the service. - */ - readonly failedOn: Date; - /** - * The Error for this action result. - */ - readonly error: TextAnalyticsError; -} - -/** - * The error of a recognize categorized entities action. - */ -export type RecognizeCategorizedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded recognize categorized entities action. - */ -export interface RecognizeCategorizedEntitiesActionSuccessResult - extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each categorized entities recognition action. - */ - results: RecognizeCategorizedEntitiesResultArray; -} - -/** - * The result of a recognize categorized entities action. - */ -export type RecognizeCategorizedEntitiesActionResult = - | RecognizeCategorizedEntitiesActionSuccessResult - | RecognizeCategorizedEntitiesActionErrorResult; - -/** - * The error of a recognize pii entities action. - */ -export type RecognizePiiEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded recognize pii entities action. - */ -export interface RecognizePiiEntitiesActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each pii entities recognition action. - */ - results: RecognizePiiEntitiesResultArray; -} - -/** - * The result of a recognize pii entities action. - */ -export type RecognizePiiEntitiesActionResult = - | RecognizePiiEntitiesActionSuccessResult - | RecognizePiiEntitiesActionErrorResult; - -/** - * The error of a extract key phrases action. - */ -export type ExtractKeyPhrasesActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded extract key phrases action. - */ -export interface ExtractKeyPhrasesActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each extract key phrases action. - */ - results: ExtractKeyPhrasesResultArray; -} - -/** - * The result of a extract key phrases action. - */ -export type ExtractKeyPhrasesActionResult = - | ExtractKeyPhrasesActionSuccessResult - | ExtractKeyPhrasesActionErrorResult; - -/** - * The error of a recognize linked entities action. - */ -export type RecognizeLinkedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded recognize linked entities action. - */ -export interface RecognizeLinkedEntitiesActionSuccessResult - extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each linked entities recognition action. - */ - results: RecognizeLinkedEntitiesResultArray; -} - -/** - * The result of a recognize linked entities action. - */ -export type RecognizeLinkedEntitiesActionResult = - | RecognizeLinkedEntitiesActionSuccessResult - | RecognizeLinkedEntitiesActionErrorResult; - -/** - * The error of an analyze sentiment action. - */ -export type AnalyzeSentimentActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded analyze sentiment action. - */ -export interface AnalyzeSentimentActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each analyze sentiment action. - */ - results: AnalyzeSentimentResultArray; -} - -/** - * The result of an analyze sentiment action. - */ -export type AnalyzeSentimentActionResult = - | AnalyzeSentimentActionSuccessResult - | AnalyzeSentimentActionErrorResult; - -/** - * The error of an extract summary action. - */ -export type ExtractSummaryActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded extract summary action. - */ -export interface ExtractSummaryActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each extract summary action. - */ - results: ExtractSummaryResultArray; -} - -/** - * The result of an extract summary action. - */ -export type ExtractSummaryActionResult = - | ExtractSummaryActionSuccessResult - | ExtractSummaryActionErrorResult; - -/** - * The error of a custom recognize entities action. - */ -export type RecongizeCustomEntitiesActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded custom recognize entities action. - */ -export interface RecongizeCustomEntitiesActionSuccessResult - extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each custom recognize entities action. - */ - results: RecognizeCustomEntitiesResultArray; -} - -/** - * The result of a custom recognize entities action. - */ -export type RecognizeCustomEntitiesActionResult = - | RecongizeCustomEntitiesActionSuccessResult - | RecongizeCustomEntitiesActionErrorResult; - -/** - * The error of a custom classify document single category action. - */ -export type SingleCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded custom classify document single category action. - */ -export interface SingleCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each custom classify document single category action. - */ - results: SingleCategoryClassifyResultArray; -} - -/** - * The result of a custom classify document single category action. - */ -export type SingleCategoryClassifyActionResult = - | SingleCategoryClassifyActionSuccessResult - | SingleCategoryClassifyActionErrorResult; - -/** - * The error of a custom classify document multi category action. - */ -export type MultiCategoryClassifyActionErrorResult = TextAnalyticsActionErrorResult; - -/** - * The results of a succeeded custom classify document multi category action. - */ -export interface MultiCategoryClassifyActionSuccessResult extends TextAnalyticsActionSuccessState { - /** - * Array of the results for each custom classify document multi category action. - */ - results: MultiCategoryClassifyResultArray; -} - -/** - * The result of a custom classify document multi category action. - */ -export type MultiCategoryClassifyActionResult = - | MultiCategoryClassifyActionSuccessResult - | MultiCategoryClassifyActionErrorResult; - -/** - * The results of an analyze Actions operation represented as a paged iterator that - * iterates over the results of the requested actions. - */ -export type PagedAsyncIterableAnalyzeActionsResult = PagedAsyncIterableIterator< - AnalyzeActionsResult, - AnalyzeActionsResult ->; - -/** - * The results of an analyze actions operation represented as a paged iterator that - * iterates over the results of the requested actions. - */ -export interface PagedAnalyzeActionsResult extends PagedAsyncIterableAnalyzeActionsResult { - // /** - // * Statistics about the input document batch and how it was processed - // * by the service. This property will have a value when includeStatistics is set to true - // * in the client call. - // */ - // statistics?: TextDocumentBatchStatistics; -} - -/** - * The type of different actions supported by the begin analyze actions operation. - * @internal - */ -type TextAnalyticsActionType = - | "RecognizeCategorizedEntities" - | "RecognizePiiEntities" - | "ExtractKeyPhrases" - | "RecognizeLinkedEntities" - | "AnalyzeSentiment" - | "ExtractSummary" - | "RecognizeCustomEntities" - | "SingleCategoryClassify" - | "MultiCategoryClassify"; - -/** - * The type of an action error with the type of the action that erred and its - * index in the list of input actions. - * @internal - */ -interface TextAnalyticsActionError { - /** - * A code describing the kind of error produced - */ - readonly code: ErrorCode; - /** - * A message from the service explaining the error - */ - readonly message: string; - /** - * The type of the action that erred - */ - readonly type: TextAnalyticsActionType; - /** - * The index of the action that erred in the list of input actions - */ - readonly index: number; -} - -/** - * Converts the service task name (in the JSON pointer in an action error) to an action type name. - * @param serviceActionType - The task type name the service uses. - * @returns the action type name that the package uses - * @internal - */ -function convertTaskTypeToActionType(taskType: string): TextAnalyticsActionType { - switch (taskType) { - case "entityRecognitionTasks": { - return "RecognizeCategorizedEntities"; - } - case "entityRecognitionPiiTasks": { - return "RecognizePiiEntities"; - } - case "keyPhraseExtractionTasks": { - return "ExtractKeyPhrases"; - } - case "entityLinkingTasks": { - return "RecognizeLinkedEntities"; - } - case "sentimentAnalysisTasks": { - return "AnalyzeSentiment"; - } - case "extractiveSummarizationTasks": { - return "ExtractSummary"; - } - case "customEntityRecognitionTasks": { - return "RecognizeCustomEntities"; - } - case "customSingleClassificationTasks": { - return "SingleCategoryClassify"; - } - case "customMultiClassificationTasks": { - return "MultiCategoryClassify"; - } - default: { - throw new Error(`unexpected action type from the service: ${taskType}`); - } - } -} - -/** - * Converts a service action error to one with the JSON pointer converted to an action index. - * @param erredActions - the action error the service sent - * @returns an action error with an action type and index - * @internal - */ -export function parseActionError(erredActions: TextAnalyticsError): TextAnalyticsActionError { - if (erredActions.target) { - const regex = new RegExp( - /#\/tasks\/(entityRecognitionTasks|entityRecognitionPiiTasks|keyPhraseExtractionTasks|entityLinkingTasks|sentimentAnalysisTasks|extractiveSummarizationTasks|customEntityRecognitionTasks|customSingleClassificationTasks|customMultiClassificationTasks)\/(\d+)/ - ); - const result = regex.exec(erredActions.target); - if (result !== null) { - return { - code: erredActions.code, - message: erredActions.message, - index: parseInt(result[2]), - type: convertTaskTypeToActionType(result[1]), - }; - } else { - throw new Error(`Pointer "${erredActions.target}" is not a valid action pointer`); - } - } else { - throw new Error( - "expected an error with a target field referencing an action but did not get one" - ); - } -} - -/** - * Categorize each action error into a bucket according to its action type. - * @param erredActions - list of action errors - * @param recognizeEntitiesActionErrors - a list of recognize entities action errors to be filled from the errors list - * @param recognizePiiEntitiesActionErrors - a list of recognize pii entities action errors to be filled from the errors list - * @param extractKeyPhrasesActionErrors - a list of extract key phrases action errors to be filled from the errors list - * @internal - */ -function categorizeActionErrors( - erredActions: TextAnalyticsError[], - recognizeEntitiesActionErrors: TextAnalyticsActionError[], - recognizePiiEntitiesActionErrors: TextAnalyticsActionError[], - extractKeyPhrasesActionErrors: TextAnalyticsActionError[], - recognizeLinkedEntitiesActionErrors: TextAnalyticsActionError[], - analyzeSentimentActionErrors: TextAnalyticsActionError[], - extractSummarySentencesActionErrors: TextAnalyticsActionError[], - recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[], - singleCategoryClassifyActionErrors: TextAnalyticsActionError[], - multiCategoryClassifyActionErrors: TextAnalyticsActionError[] -): void { - for (const error of erredActions) { - const actionError = parseActionError(error); - switch (actionError.type) { - case "RecognizeCategorizedEntities": { - recognizeEntitiesActionErrors.push(actionError); - break; - } - case "RecognizePiiEntities": { - recognizePiiEntitiesActionErrors.push(actionError); - break; - } - case "ExtractKeyPhrases": { - extractKeyPhrasesActionErrors.push(actionError); - break; - } - case "RecognizeLinkedEntities": { - recognizeLinkedEntitiesActionErrors.push(actionError); - break; - } - case "AnalyzeSentiment": { - analyzeSentimentActionErrors.push(actionError); - break; - } - case "ExtractSummary": { - extractSummarySentencesActionErrors.push(actionError); - break; - } - case "RecognizeCustomEntities": { - recognizeCustomEntitiesActionErrors.push(actionError); - break; - } - case "SingleCategoryClassify": { - singleCategoryClassifyActionErrors.push(actionError); - break; - } - case "MultiCategoryClassify": { - multiCategoryClassifyActionErrors.push(actionError); - break; - } - } - } -} - -/** - * @internal - * @param error - the error the service sent for a task - * @param lastUpdateDateTime - the time when this task failed - */ -function createErredAction( - error: TextAnalyticsActionError, - lastUpdateDateTime: Date, - taskName?: string -): TextAnalyticsActionErrorResult { - return { - error: intoTextAnalyticsError(error), - failedOn: lastUpdateDateTime, - actionName: taskName, - }; -} - -interface TaskSuccessResult { - results?: T; - taskName?: string; - lastUpdateDateTime: Date; -} - -type ActionResult = - | { - results: TSuccess; - completedOn: Date; - } - | TextAnalyticsActionErrorResult; - -/** - * Creates a list of results for any action. - * @param documents - list of input documents - * @param makeResultsArray - a function to convert the results of a service response to the SDK's one - * @param succeededTasks - list of succeeded action results - * @param erredActions - list of erred actions - * @internal - */ -function makeActionResult( - documents: TextDocumentInput[], - makeResultsArray: (docs: TextDocumentInput[], x: TTaskResult) => TActionResult, - succeededTasks: TaskSuccessResult[], - erredActions: TextAnalyticsActionError[] -): ActionResult[] { - let errorIndex = 0; - function convertTasksToActions( - actions: ActionResult[], - task: TaskSuccessResult - ): ActionResult[] { - const { results: actionResults, lastUpdateDateTime, taskName } = task; - if (actionResults !== undefined) { - const recognizeEntitiesResults = makeResultsArray(documents, actionResults); - return [ - ...actions, - { - results: recognizeEntitiesResults, - completedOn: lastUpdateDateTime, - actionName: taskName, - }, - ]; - } else { - return [ - ...actions, - createErredAction(erredActions[errorIndex++], lastUpdateDateTime, taskName), - ]; - } - } - return succeededTasks.reduce(convertTasksToActions, []); -} - -/** - * Creates the user-friendly action results object for the begin analyze actions operation. - * @param response - the begin analyze actions operation response - * @param documents - the list of input documents - * @returns - the user-friendly action results object - * @internal - */ -export function createAnalyzeActionsResult( - response: GeneratedResponse, - documents: TextDocumentInput[] -): AnalyzeActionsResult { - const recognizeEntitiesActionErrors: TextAnalyticsActionError[] = []; - const recognizePiiEntitiesActionErrors: TextAnalyticsActionError[] = []; - const extractKeyPhrasesActionErrors: TextAnalyticsActionError[] = []; - const recognizeLinkedEntitiesActionErrors: TextAnalyticsActionError[] = []; - const analyzeSentimentActionErrors: TextAnalyticsActionError[] = []; - const extractSummarySentencesActionErrors: TextAnalyticsActionError[] = []; - const recognizeCustomEntitiesActionErrors: TextAnalyticsActionError[] = []; - const singleCategoryClassifyActionErrors: TextAnalyticsActionError[] = []; - const multiCategoryClassifyActionErrors: TextAnalyticsActionError[] = []; - categorizeActionErrors( - response?.errors ?? [], - recognizeEntitiesActionErrors, - recognizePiiEntitiesActionErrors, - extractKeyPhrasesActionErrors, - recognizeLinkedEntitiesActionErrors, - analyzeSentimentActionErrors, - extractSummarySentencesActionErrors, - recognizeCustomEntitiesActionErrors, - singleCategoryClassifyActionErrors, - multiCategoryClassifyActionErrors - ); - return { - recognizeEntitiesResults: makeActionResult( - documents, - makeRecognizeCategorizedEntitiesResultArray, - response.tasks.entityRecognitionTasks ?? [], - recognizeEntitiesActionErrors - ), - recognizePiiEntitiesResults: makeActionResult( - documents, - makeRecognizePiiEntitiesResultArray, - response.tasks.entityRecognitionPiiTasks ?? [], - recognizePiiEntitiesActionErrors - ), - extractKeyPhrasesResults: makeActionResult( - documents, - makeExtractKeyPhrasesResultArray, - response.tasks.keyPhraseExtractionTasks ?? [], - extractKeyPhrasesActionErrors - ), - recognizeLinkedEntitiesResults: makeActionResult( - documents, - makeRecognizeLinkedEntitiesResultArray, - response.tasks.entityLinkingTasks ?? [], - recognizeLinkedEntitiesActionErrors - ), - analyzeSentimentResults: makeActionResult( - documents, - makeAnalyzeSentimentResultArray, - response.tasks.sentimentAnalysisTasks ?? [], - analyzeSentimentActionErrors - ), - extractSummaryResults: makeActionResult( - documents, - makeExtractSummaryResultArray, - response.tasks.extractiveSummarizationTasks ?? [], - extractSummarySentencesActionErrors - ), - recognizeCustomEntitiesResults: makeActionResult( - documents, - makeRecognizeCustomEntitiesResultArray, - response.tasks.customEntityRecognitionTasks ?? [], - recognizeCustomEntitiesActionErrors - ), - singleCategoryClassifyResults: makeActionResult( - documents, - makeSingleCategoryClassifyResultArray, - response.tasks.customSingleClassificationTasks ?? [], - singleCategoryClassifyActionErrors - ), - multiCategoryClassifyResults: makeActionResult( - documents, - makeMultiCategoryClassifyResultArray, - response.tasks.customMultiClassificationTasks ?? [], - multiCategoryClassifyActionErrors - ), - }; -} diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts deleted file mode 100644 index ee660cfd9fb8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts +++ /dev/null @@ -1,257 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { - DocumentHealthcareEntities, - Entity, - HealthcareRelation, - TextDocumentBatchStatistics, - HealthcareEntity as GeneratedHealthcareEntity, - TextAnalyticsError, - HealthcareAssertion, - RelationType, - HealthcareRelationEntity, - HealthcareEntityCategory, -} from "./generated/models"; -import { - makeTextAnalyticsErrorResult, - makeTextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - TextAnalyticsSuccessResult, -} from "./textAnalyticsResult"; -import { parseHealthcareEntityIndex } from "./util"; - -/** - * A type representing a reference for the healthcare entity into a specific - * entity catalog. - */ -export interface EntityDataSource { - /** - * Entity Catalog. Examples include: UMLS, CHV, MSH, etc. - */ - name: string; - /** - * Entity id in the given source catalog. - */ - entityId: string; -} - -/** - * A healthcare entity represented as a node in a directed graph where the edges are - * a particular type of relationship between the source and target nodes. - */ -export interface HealthcareEntity extends Entity { - /** - * Normalized name for the entity. For example, the normalized text for "histologically" is "histologic". - */ - normalizedText?: string; - /** - * Whether the entity is negated. - */ - assertion?: HealthcareAssertion; - /** - * 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; -} - -/** - * The type of different roles a healthcare entity can play in a relation. - */ -export type HealthcareEntityRelationRoleType = string; - -/** - * A healthcare entity that plays a specific role in a relation. - */ -export interface HealthcareEntityRelationRole { - /** - * A healthcare entity - */ - entity: HealthcareEntity; - /** - * The role of the healthcare entity in a particular relation. - */ - name: HealthcareEntityRelationRoleType; -} - -/** - * A relationship between two or more healthcare entities. - */ -export interface HealthcareEntityRelation { - /** - * The type of the healthcare relation. - */ - relationType: RelationType; - /** - * The list of healthcare entities and their roles in the healthcare relation. - */ - roles: HealthcareEntityRelationRole[]; -} - -/** - * The results of a successful healthcare operation for a single document. - */ -export interface AnalyzeHealthcareEntitiesSuccessResult extends TextAnalyticsSuccessResult { - /** - * Healthcare entities. - */ - entities: HealthcareEntity[]; - /** - * Relations between healthcare entities. - */ - entityRelations: HealthcareEntityRelation[]; -} - -/** - * An error result from the healthcare operation on a single document. - */ -export type AnalyzeHealthcareEntitiesErrorResult = TextAnalyticsErrorResult; - -/** - * The result of the healthcare operation on a single document. - */ -export type AnalyzeHealthcareEntitiesResult = - | AnalyzeHealthcareEntitiesSuccessResult - | AnalyzeHealthcareEntitiesErrorResult; - -/** - * Array of {@link AnalyzeHealthcareEntitiesResult} - */ -export interface AnalyzeHealthcareEntitiesResultArray - extends Array {} - -/** - * The results of a healthcare operation represented as a paged iterator that can - * either iterate over the results on a document-by-document basis or, by - * byPage(), can iterate over pages of documents. - */ -export type PagedAsyncIterableAnalyzeHealthcareEntitiesResult = PagedAsyncIterableIterator< - AnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareEntitiesResultArray ->; - -/** - * The results of a healthcare operation represented as a paged iterator that can - * either iterate over the results on a document-by-document basis or, by - * byPage(), can iterate over pages of documents. - */ -export interface PagedAnalyzeHealthcareEntitiesResult - extends PagedAsyncIterableAnalyzeHealthcareEntitiesResult { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * Creates a user-friendly healthcare entity represented as a node in a graph - * @param entity - the healthcare entity returned by the service - * @internal - */ -function makeHealthcareEntitiesWithoutNeighbors( - entity: GeneratedHealthcareEntity -): HealthcareEntity { - const { category, confidenceScore, assertion, offset, text, links, subcategory, length, name } = - entity; - return { - category, - confidenceScore, - assertion, - offset, - length, - text, - normalizedText: name, - subCategory: subcategory, - dataSources: - links?.map(({ dataSource, id }): EntityDataSource => ({ name: dataSource, entityId: id })) ?? - [], - }; -} - -/** - * @internal - */ -function makeHealthcareRelations( - entities: HealthcareEntity[], - relations: HealthcareRelation[] -): HealthcareEntityRelation[] { - return relations.map( - (relation: HealthcareRelation): HealthcareEntityRelation => ({ - relationType: relation.relationType, - roles: relation.entities.map( - (role: HealthcareRelationEntity): HealthcareEntityRelationRole => ({ - entity: entities[parseHealthcareEntityIndex(role.ref)], - name: role.role, - }) - ), - }) - ); -} - -/** - * Creates a healthcare entity in the convenience layer from the one sent by the service. - * @param document - incoming results sent by the service for a particular document - * @internal - */ -export function makeHealthcareEntitiesResult( - document: DocumentHealthcareEntities -): AnalyzeHealthcareEntitiesSuccessResult { - const { id, entities, relations, warnings, statistics } = document; - const newEntities = entities.map(makeHealthcareEntitiesWithoutNeighbors); - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - entities: newEntities, - entityRelations: makeHealthcareRelations(newEntities, relations), - }; -} - -/** - * @internal - */ -export function makeHealthcareEntitiesErrorResult( - id: string, - error: TextAnalyticsError -): AnalyzeHealthcareEntitiesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeLro.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeLro.ts deleted file mode 100644 index cf9b881d9854..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeLro.ts +++ /dev/null @@ -1,232 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { LongRunningOperation, LroResponse, PollerLike, RawResponse } from "@azure/core-lro"; -import { SpanStatusCode } from "@azure/core-tracing"; -import { createSerializer, OperationOptions, OperationSpec } from "@azure/core-client"; -import { - GeneratedClient, - GeneratedClientAnalyzeStatusOptionalParams, - GeneratedClientAnalyzeStatusResponse, - JobManifestTasks, - TextDocumentInput, -} from "./generated"; -import { createSpan } from "./tracing"; -import { compileError, getRawResponse, sendGetRequest } from "./util"; -import * as Mappers from "./generated/models/mappers"; -import { - accept, - apiVersion, - endpoint, - includeStatistics, - skip, - top, -} from "./generated/models/parameters"; -import { getPagedAsyncIterator, PagedResult } from "@azure/core-paging"; -import { AnalysisPollOperationState, OperationMetadata } from "./pollerModels"; -import { - AnalyzeActionsResult, - createAnalyzeActionsResult, - PagedAnalyzeActionsResult, -} from "./analyzeActionsResult"; - -/** - * Options for the begin analyze actions operation. - */ -export interface BeginAnalyzeActionsOptions extends OperationOptions { - /** - * Delay to wait until next poll, in milliseconds. - */ - updateIntervalInMs?: number; - /** - * A serialized poller which can be used to resume an existing paused Long-Running-Operation. - */ - resumeFrom?: string; - /** - * If set to true, response will contain input and document level statistics. - */ - includeStatistics?: boolean; - /** - * The operation's display name. - */ - displayName?: string; -} - -/** - * Result type of the Begin Analyze Actions Long-Running-Operation (LRO). - */ -export type AnalyzeActionsPollerLike = PollerLike< - AnalyzeActionsOperationState, - PagedAnalyzeActionsResult ->; - -/** - * The metadata for beginAnalyzeActions operations. - */ -export interface AnalyzeActionsOperationMetadata extends OperationMetadata { - /** - * Number of successfully completed actions. - */ - actionsSucceededCount: number; - /** - * Number of failed actions. - */ - actionsFailedCount: number; - /** - * Number of actions still in progress. - */ - actionsInProgressCount: number; - /** - * The operation's display name. - */ - displayName?: string; -} - -/** - * The state of the begin analyze polling operation. - */ -export interface AnalyzeActionsOperationState - extends AnalysisPollOperationState, - AnalyzeActionsOperationMetadata {} - -const serializer = createSerializer(Mappers, /* isXml */ false); - -// Consider whether the spec can be exported by code gen -const analyzeStatusOperationSpec: OperationSpec = { - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.AnalyzeJobState, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [includeStatistics, top, skip], - urlParameters: [endpoint, apiVersion], - headerParameters: [accept], - serializer, -}; - -/** - * @internal - */ -export class AnalyzeLro implements LongRunningOperation { - public requestMethod = "POST"; - public requestPath = "/analyze"; - constructor( - // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters - private client: GeneratedClient, - private baseOptions: OperationOptions, - private initOptions: { - displayName?: string; - }, - private pollOptions: { - includeStatistics?: boolean; - }, - private documents: TextDocumentInput[], - private tasks: JobManifestTasks - ) {} - async sendInitialRequest(): Promise> { - const { span, updatedOptions: finalOptions } = createSpan("TextAnalyticsClient-beginAnalyze", { - ...this.baseOptions, - ...this.initOptions, - }); - try { - const { flatResponse, rawResponse } = await getRawResponse( - (paramOptions) => - this.client.analyze({ - body: { - analysisInput: { documents: this.documents }, - tasks: this.tasks, - displayName: this.initOptions.displayName, - }, - ...paramOptions, - }), - finalOptions - ); - return { - flatResponse: flatResponse as PagedAnalyzeActionsResult, - rawResponse, - }; - } catch (e: any) { - const exception = compileError(e); - span.setStatus({ - code: SpanStatusCode.ERROR, - message: exception.message, - }); - throw exception; - } finally { - span.end(); - } - } - async sendPollRequest(path: string): Promise> { - return sendGetRequest( - this.client, - analyzeStatusOperationSpec, - "AnalyzeStatus", - { ...this.baseOptions, ...this.pollOptions }, - path - ) as Promise>; - } -} - -/** - * @internal - */ -export function processAnalyzeResult( - // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters - client: GeneratedClient, - documents: TextDocumentInput[], - options: GeneratedClientAnalyzeStatusOptionalParams -): (result: unknown, state: AnalyzeActionsOperationState) => PagedAnalyzeActionsResult { - return (_result: unknown, state: AnalyzeActionsOperationState): PagedAnalyzeActionsResult => { - const pollingURL = (state as any).pollingURL; - const pagedResult: PagedResult = { - firstPageLink: pollingURL, - getPage: async (pageLink: string, maxPageSize?: number) => { - const response = await sendGetRequest( - client, - analyzeStatusOperationSpec, - "AnalyzeStatus", - // if `top` is set to `undefined`, the default value will not be sent - // as part of the request. - maxPageSize ? { ...options, top: maxPageSize } : options, - pageLink - ); - const flatResponse = response.flatResponse as GeneratedClientAnalyzeStatusResponse; - return { - page: createAnalyzeActionsResult(flatResponse, documents), - nextPageLink: flatResponse.nextLink, - }; - }, - }; - const pagedIterator = getPagedAsyncIterator( - pagedResult - ); - // Attach stats if the service starts to return them - // https://github.com/Azure/azure-sdk-for-js/issues/14139 - // state.result = Object.assign(pagedIterator, { - // statistics: operationStatus.statistics - // }); - return pagedIterator; - }; -} - -/** - * @internal - */ -export function updateAnalyzeState( - state: AnalyzeActionsOperationState, - lastResponse: RawResponse -): void { - const response = lastResponse.body as GeneratedClientAnalyzeStatusResponse; - state.createdOn = response.createdDateTime; - state.lastModifiedOn = response.lastUpdateDateTime; - state.expiresOn = response.expirationDateTime; - state.status = response.status; - state.actionsSucceededCount = response.tasks.completed; - state.actionsFailedCount = response.tasks.failed; - state.actionsInProgressCount = response.tasks.inProgress; - state.displayName = response.displayName; -} diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResult.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResult.ts deleted file mode 100644 index 187b01b1d2ad..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResult.ts +++ /dev/null @@ -1,236 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { - TextAnalyticsError, - DocumentSentimentLabel, - SentimentConfidenceScores, - SentenceSentiment as GeneratedSentenceSentiment, - SentenceSentimentLabel, - DocumentSentiment, - SentenceTarget, - TargetRelation, - SentenceAssessment, - TokenSentimentValue as SentenceTargetSentiment, - TargetConfidenceScoreLabel, -} from "./generated/models"; -import { AssessmentIndex, parseAssessmentIndex } from "./util"; - -/** - * The result of the analyze sentiment operation on a single document. - */ -export type AnalyzeSentimentResult = AnalyzeSentimentSuccessResult | AnalyzeSentimentErrorResult; - -/** - * The result of the analyze sentiment operation on a single document, - * containing the predicted sentiment for each sentence as well as for the full document. - */ -export interface AnalyzeSentimentSuccessResult extends TextAnalyticsSuccessResult { - /** - * Predicted sentiment for document. Possible values - * include: 'positive', 'neutral', 'negative', 'mixed' - */ - sentiment: DocumentSentimentLabel; - /** - * Document level sentiment confidence scores between 0 and 1 for each sentiment class. - */ - confidenceScores: SentimentConfidenceScores; - /** - * The predicted sentiment for each sentence in the corresponding document. - */ - sentences: SentenceSentiment[]; -} - -/** - * The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. - */ -export interface SentenceSentiment { - /** - * The sentence text. - */ - text: string; - /** - * The predicted Sentiment for the sentence. - */ - sentiment: SentenceSentimentLabel; - /** - * The sentiment confidence score between 0 and 1 for the sentence for all classes. - */ - confidenceScores: SentimentConfidenceScores; - /** - * The sentence text offset from the start of the document. - */ - offset: number; - /** - * The length of the sentence text. - */ - length: number; - /** - * The list of opinions mined from this sentence. For example in "The food is - * good, but the service is bad", we would mine these two opinions "food is - * good", "service is bad". Only returned if `includeOpinionMining` is set to - * True in the call to `analyzeSentiment`. - */ - opinions: Opinion[]; -} - -/** - * TargetSentiment contains the predicted sentiment, confidence scores and other - * information about an target of a product. A target of a product/service is a - * key component of that product/service. For example in "The food at Hotel Foo - * is good", "food" is a target of "Hotel Foo". - */ -export interface TargetSentiment { - /** - * The sentiment confidence score between 0 and 1 for the target for - * 'positive' and 'negative' labels. - */ - confidenceScores: TargetConfidenceScoreLabel; - /** - * The predicted Sentiment for the Target. Possible values include 'positive', - * 'mixed', and 'negative'. - */ - sentiment: SentenceTargetSentiment; - /** - * The target text. - */ - text: string; - /** - * The Target text offset from the start of the sentence. - */ - offset: number; - /** - * The length of the Target text. - */ - length: number; -} - -/** - * AssessmentSentiment contains the predicted sentiment, confidence scores and - * other information about an assessment of a target. For example, in the sentence - * "The food is good", the assessment of the target 'food' is 'good'. - */ -export interface AssessmentSentiment extends SentenceAssessment {} - -/** - * A mined opinion object represents an opinion we've extracted from a sentence. - * It consists of both a target that these assessments are about, and the actual - * assessments themselves. - */ -export interface Opinion { - /** - * The target of a product/service that this assessment is about. - */ - target: TargetSentiment; - /** - * The actual assessments of the target. - */ - assessments: AssessmentSentiment[]; -} - -/** - * An error result from the analyze sentiment operation on a single document. - */ -export type AnalyzeSentimentErrorResult = TextAnalyticsErrorResult; - -/** - * @param document - A document result coming from the service. - * @internal - */ -export function makeAnalyzeSentimentResult( - result: DocumentSentiment -): AnalyzeSentimentSuccessResult { - const { - id, - sentiment, - confidenceScores, - sentenceSentiments: sentences, - warnings, - statistics, - } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - sentiment, - confidenceScores, - sentences: sentences.map((sentence) => convertGeneratedSentenceSentiment(sentence, result)), - }; -} - -/** - * @internal - */ -export function makeAnalyzeSentimentErrorResult( - id: string, - error: TextAnalyticsError -): AnalyzeSentimentErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} - -/** - * Converts a sentence sentiment object returned by the service to another that - * is user-friendly. - * - * @param sentence - The sentence sentiment object to be converted. - * @param response - The entire response returned by the service. - * @returns The user-friendly sentence sentiment object. - * @internal - */ -function convertGeneratedSentenceSentiment( - sentence: GeneratedSentenceSentiment, - result: DocumentSentiment -): SentenceSentiment { - return { - confidenceScores: sentence.confidenceScores, - sentiment: sentence.sentiment, - text: sentence.text, - offset: sentence.offset, - length: sentence.length, - opinions: sentence.targets - ? sentence.targets.map( - (target: SentenceTarget): Opinion => ({ - target: { - confidenceScores: target.confidenceScores, - sentiment: target.sentiment, - text: target.text, - offset: target.offset, - length: target.length, - }, - assessments: target.relations - .filter((relation) => relation.relationType === "assessment") - .map((relation) => convertTargetRelationToAssessmentSentiment(relation, result)), - }) - ) - : [], - }; -} - -/** - * Converts a target relation object returned by the service to an assessment - * sentiment object where JSON pointers in the former are realized in the - * latter. - * - * @param targetRelation - The target relation object to be converted. - * @param response - The entire response returned by the service. - * @returns The user-friendly assessment sentiment object. - * @internal - */ -function convertTargetRelationToAssessmentSentiment( - targetRelation: TargetRelation, - result: DocumentSentiment -): AssessmentSentiment { - const assessmentPtr = targetRelation.ref; - const assessmentIndex: AssessmentIndex = parseAssessmentIndex(assessmentPtr); - const assessment: SentenceAssessment | undefined = - result.sentenceSentiments?.[assessmentIndex.sentence].assessments?.[assessmentIndex.assessment]; - if (assessment !== undefined) { - return assessment; - } else { - throw new Error(`Pointer "${assessmentPtr}" is not a valid Assessment pointer`); - } -} diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResultArray.ts deleted file mode 100644 index bc4a577e856a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeSentimentResultArray.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - SentimentResponse, -} from "./generated/models"; -import { - AnalyzeSentimentResult, - makeAnalyzeSentimentErrorResult, - makeAnalyzeSentimentResult, -} from "./analyzeSentimentResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `AnalyzeSentimentResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface AnalyzeSentimentResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeAnalyzeSentimentResultArray( - input: TextDocumentInput[], - response: SentimentResponse -): AnalyzeSentimentResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeAnalyzeSentimentResult, - makeAnalyzeSentimentErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/azureKeyCredentialPolicy.ts b/sdk/textanalytics/ai-text-analytics/src/azureKeyCredentialPolicy.ts index eefffa522941..4319072d3e74 100644 --- a/sdk/textanalytics/ai-text-analytics/src/azureKeyCredentialPolicy.ts +++ b/sdk/textanalytics/ai-text-analytics/src/azureKeyCredentialPolicy.ts @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { KeyCredential } from "@azure/core-auth"; import { - PipelineResponse, + PipelinePolicy, PipelineRequest, + PipelineResponse, SendRequest, - PipelinePolicy, } from "@azure/core-rest-pipeline"; +import { KeyCredential } from "@azure/core-auth"; const API_KEY_HEADER_NAME = "Ocp-Apim-Subscription-Key"; diff --git a/sdk/textanalytics/ai-text-analytics/src/constants.ts b/sdk/textanalytics/ai-text-analytics/src/constants.ts new file mode 100644 index 000000000000..b55a98c061b7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/constants.ts @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * The default AAD permissions scope for Cognitive Services. + * @internal + */ +export const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default"; + +/** + * @internal + */ +export const SDK_VERSION = "6.0.0-beta.1"; + +/** + * @internal + */ +export const clientName = "TextAnalysisClient"; diff --git a/sdk/textanalytics/ai-text-analytics/src/detectLanguageResult.ts b/sdk/textanalytics/ai-text-analytics/src/detectLanguageResult.ts deleted file mode 100644 index 74561574766d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/detectLanguageResult.ts +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { DetectedLanguage, TextAnalyticsError, DocumentLanguage } from "./generated/models"; - -/** - * The result of the detect language operation on a single document. - */ -export type DetectLanguageResult = DetectLanguageSuccessResult | DetectLanguageErrorResult; - -/** - * The result of the detect language operation on a single document, - * containing a prediction of what language the document is written in. - */ -export interface DetectLanguageSuccessResult extends TextAnalyticsSuccessResult { - /** - * The top detected language by confidence score. - */ - readonly primaryLanguage: DetectedLanguage; -} - -/** - * An error result from the detect languge operation on a single document. - */ -export type DetectLanguageErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeDetectLanguageResult(response: DocumentLanguage): DetectLanguageSuccessResult { - const { id, warnings, statistics, detectedLanguage } = response; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - primaryLanguage: detectedLanguage, - }; -} - -/** - * @internal - */ -export function makeDetectLanguageErrorResult( - id: string, - error: TextAnalyticsError -): DetectLanguageErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/detectLanguageResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/detectLanguageResultArray.ts deleted file mode 100644 index 038b90794e46..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/detectLanguageResultArray.ts +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { TextDocumentBatchStatistics, LanguageResult, TextDocumentInput } from "./generated/models"; -import { - DetectLanguageResult, - makeDetectLanguageResult, - makeDetectLanguageErrorResult, -} from "./detectLanguageResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `DetectLanguageResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface DetectLanguageResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeDetectLanguageResultArray( - input: TextDocumentInput[], - response: LanguageResult -): DetectLanguageResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeDetectLanguageResult, - makeDetectLanguageErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResult.ts b/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResult.ts deleted file mode 100644 index 7d8906825234..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResult.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { TextAnalyticsError, DocumentKeyPhrases } from "./generated/models"; - -/** - * The result of the extract key phrases operation on a single document. - */ -export type ExtractKeyPhrasesResult = ExtractKeyPhrasesSuccessResult | ExtractKeyPhrasesErrorResult; - -/** - * The result of the extract key phrases operation on a single document, - * containing a collection of the key phrases identified in that document. - */ -export interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResult { - /** - * A list of representative words or phrases. The number of key phrases returned is proportional - * to the number of words in the input document. - */ - keyPhrases: string[]; -} - -/** - * An error result from the extract key phrases operation on a single document. - */ -export type ExtractKeyPhrasesErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeExtractKeyPhrasesResult( - result: DocumentKeyPhrases -): ExtractKeyPhrasesSuccessResult { - const { id, warnings, statistics, keyPhrases } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - keyPhrases, - }; -} - -/** - * @internal - */ -export function makeExtractKeyPhrasesErrorResult( - id: string, - error: TextAnalyticsError -): ExtractKeyPhrasesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResultArray.ts deleted file mode 100644 index f9763e2b1092..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/extractKeyPhrasesResultArray.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - KeyPhraseResult, -} from "./generated/models"; -import { - ExtractKeyPhrasesResult, - makeExtractKeyPhrasesResult, - makeExtractKeyPhrasesErrorResult, -} from "./extractKeyPhrasesResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `ExtractKeyPhrasesResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface ExtractKeyPhrasesResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeExtractKeyPhrasesResultArray( - input: TextDocumentInput[], - response: KeyPhraseResult -): ExtractKeyPhrasesResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeExtractKeyPhrasesResult, - makeExtractKeyPhrasesErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/extractSummaryResult.ts b/sdk/textanalytics/ai-text-analytics/src/extractSummaryResult.ts deleted file mode 100644 index e9a56a1941d1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/extractSummaryResult.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { - TextAnalyticsError, - ExtractedDocumentSummary, - ExtractedSummarySentence as GeneratedSummarySentences, -} from "./generated/models"; - -/** - * The result of the extract summary operation on a single document. - */ -export type ExtractSummaryResult = ExtractSummarySuccessResult | ExtractSummaryErrorResult; - -/** - * The result of the extract summary operation on a single document, - * containing a collection of the summary identified in that document. - */ -export interface ExtractSummarySuccessResult extends TextAnalyticsSuccessResult { - /** - * A list of sentences composing a summary of the input document. - */ - sentences: SummarySentence[]; -} - -/** - * An extracted sentence as part of the summary of a document. - */ -export interface SummarySentence { - /** The extracted sentence text. */ - text: string; - /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */ - rankScore: number; - /** The sentence offset from the start of the document, based on the value of the stringIndexType parameter. */ - offset: number; - /** The length of the sentence. */ - length: number; -} - -/** - * An error result from the extract summary operation on a single document. - */ -export type ExtractSummaryErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeExtractSummaryResult( - result: ExtractedDocumentSummary -): ExtractSummarySuccessResult { - const { id, warnings, statistics, sentences } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - sentences: sentences.map((sentence: GeneratedSummarySentences) => ({ - ...sentence, - })), - }; -} - -/** - * @internal - */ -export function makeExtractSummaryErrorResult( - id: string, - error: TextAnalyticsError -): ExtractSummaryErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/extractSummaryResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/extractSummaryResultArray.ts deleted file mode 100644 index fc73a8fca946..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/extractSummaryResultArray.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - ExtractiveSummarizationResult, -} from "./generated/models"; -import { - ExtractSummaryResult, - makeExtractSummaryResult, - makeExtractSummaryErrorResult, -} from "./extractSummaryResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `ExtractSummaryResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface ExtractSummaryResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeExtractSummaryResultArray( - input: TextDocumentInput[], - response: ExtractiveSummarizationResult -): ExtractSummaryResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeExtractSummaryResult, - makeExtractSummaryErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts index c6a7b8b84cc5..89dff59e6765 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts @@ -7,465 +7,154 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; +import { + PipelineRequest, + PipelineResponse, + SendRequest +} from "@azure/core-rest-pipeline"; +import { AnalyzeTextImpl } from "./operations"; +import { AnalyzeText } from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; -import { GeneratedClientContext } from "./generatedClientContext"; import { GeneratedClientOptionalParams, - GeneratedClientAnalyzeOptionalParams, - GeneratedClientAnalyzeResponse, - GeneratedClientAnalyzeStatusOptionalParams, - GeneratedClientAnalyzeStatusResponse, - GeneratedClientHealthStatusOptionalParams, - GeneratedClientHealthStatusResponse, - GeneratedClientCancelHealthJobOptionalParams, - GeneratedClientCancelHealthJobResponse, - MultiLanguageBatchInput, - GeneratedClientHealthOptionalParams, - GeneratedClientHealthResponse, - GeneratedClientEntitiesRecognitionGeneralOptionalParams, - GeneratedClientEntitiesRecognitionGeneralResponse, - GeneratedClientEntitiesRecognitionPiiOptionalParams, - GeneratedClientEntitiesRecognitionPiiResponse, - GeneratedClientEntitiesLinkingOptionalParams, - GeneratedClientEntitiesLinkingResponse, - GeneratedClientKeyPhrasesOptionalParams, - GeneratedClientKeyPhrasesResponse, - LanguageBatchInput, - GeneratedClientLanguagesOptionalParams, - GeneratedClientLanguagesResponse, - GeneratedClientSentimentOptionalParams, - GeneratedClientSentimentResponse + AnalyzeActionUnion, + AnalyzeOptionalParams, + AnalyzeResponse } from "./models"; /** @internal */ -export class GeneratedClient extends GeneratedClientContext { +export class GeneratedClient extends coreClient.ServiceClient { + endpoint: string; + apiVersion: string; + /** * Initializes a new instance of the GeneratedClient class. - * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: - * https://westus.api.cognitive.microsoft.com). + * @param endpoint Supported Cognitive Services endpoint (e.g., + * https://.api.cognitiveservices.azure.com). * @param options The parameter options */ constructor(endpoint: string, options?: GeneratedClientOptionalParams) { - super(endpoint, options); - } - - /** - * Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed. - * @param options The options parameters. - */ - analyze( - options?: GeneratedClientAnalyzeOptionalParams - ): Promise { - return this.sendOperationRequest({ options }, analyzeOperationSpec); - } - - /** - * Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are - * completed, the job will transition to the completed state and results will be available for each - * task. - * @param jobId Job ID for Analyze - * @param options The options parameters. - */ - analyzeStatus( - jobId: string, - options?: GeneratedClientAnalyzeStatusOptionalParams - ): Promise { - return this.sendOperationRequest( - { jobId, options }, - analyzeStatusOperationSpec - ); - } - - /** - * Get details of the healthcare prediction job specified by the jobId. - * @param jobId Job ID - * @param options The options parameters. - */ - healthStatus( - jobId: string, - options?: GeneratedClientHealthStatusOptionalParams - ): Promise { - return this.sendOperationRequest( - { jobId, options }, - healthStatusOperationSpec - ); - } + if (endpoint === undefined) { + throw new Error("'endpoint' cannot be null"); + } - /** - * Cancel healthcare prediction job. - * @param jobId Job ID - * @param options The options parameters. - */ - cancelHealthJob( - jobId: string, - options?: GeneratedClientCancelHealthJobOptionalParams - ): Promise { - return this.sendOperationRequest( - { jobId, options }, - cancelHealthJobOperationSpec - ); - } + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: GeneratedClientOptionalParams = { + requestContentType: "application/json; charset=utf-8" + }; - /** - * Start a healthcare analysis job to recognize healthcare related entities (drugs, conditions, - * symptoms, etc) and their relations. - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - health( - input: MultiLanguageBatchInput, - options?: GeneratedClientHealthOptionalParams - ): Promise { - return this.sendOperationRequest({ input, options }, healthOperationSpec); - } + const packageDetails = `azsdk-js-ai-text-analytics/6.0.0-beta.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; - /** - * The API returns a list of general named entities in a given document. For the list of supported - * entity types, check Supported Entity Types in Text Analytics API. - * See the Supported languages in Text Analytics API for the list - * of enabled languages. - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - entitiesRecognitionGeneral( - input: MultiLanguageBatchInput, - options?: GeneratedClientEntitiesRecognitionGeneralOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - entitiesRecognitionGeneralOperationSpec - ); - } + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint ?? options.baseUri ?? "{Endpoint}/language" + }; + super(optionsWithDefaults); - /** - * The API returns a list of entities with personal information (\"SSN\", \"Bank Account\" etc) in the - * document. For the list of supported entity types, check Supported - * Entity Types in Text Analytics API. See the Supported languages - * in Text Analytics API for the list of enabled languages. - * - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - entitiesRecognitionPii( - input: MultiLanguageBatchInput, - options?: GeneratedClientEntitiesRecognitionPiiOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - entitiesRecognitionPiiOperationSpec - ); - } + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } + // Parameter assignments + this.endpoint = endpoint; - /** - * The API returns a list of recognized entities with links to a well known knowledge base. See the Supported languages in Text Analytics API for the list of enabled - * languages. - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - entitiesLinking( - input: MultiLanguageBatchInput, - options?: GeneratedClientEntitiesLinkingOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - entitiesLinkingOperationSpec - ); + // Assigning values to Constant parameters + this.apiVersion = options.apiVersion || "2022-04-01-preview"; + this.analyzeText = new AnalyzeTextImpl(this); + this.addCustomApiVersionPolicy(options.apiVersion); } - /** - * The API returns a list of strings denoting the key phrases in the input text. See the Supported languages in Text Analytics API for the list of enabled - * languages. - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - keyPhrases( - input: MultiLanguageBatchInput, - options?: GeneratedClientKeyPhrasesOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - keyPhrasesOperationSpec - ); + /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ + private addCustomApiVersionPolicy(apiVersion?: string) { + if (!apiVersion) { + return; + } + const apiVersionPolicy = { + name: "CustomApiVersionPolicy", + async sendRequest( + request: PipelineRequest, + next: SendRequest + ): Promise { + const param = request.url.split("?"); + if (param.length > 1) { + const newParams = param[1].split("&").map((item) => { + if (item.indexOf("api-version") > -1) { + return item.replace(/(?<==).*$/, apiVersion); + } else { + return item; + } + }); + request.url = param[0] + "?" + newParams.join("&"); + } + return next(request); + } + }; + this.pipeline.addPolicy(apiVersionPolicy); } /** - * The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 - * indicate 100% certainty that the identified language is true. See the Supported languages in Text Analytics API for the list of enabled - * languages. - * @param input Collection of documents to analyze for language endpoint. + * Submit a collection of text documents for analysis. Specify a single unique task to be executed + * immediately. + * @param body Collection of documents to analyze and a single task to execute. * @param options The options parameters. */ - languages( - input: LanguageBatchInput, - options?: GeneratedClientLanguagesOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - languagesOperationSpec - ); + analyze( + body: AnalyzeActionUnion, + options?: AnalyzeOptionalParams + ): Promise { + return this.sendOperationRequest({ body, options }, analyzeOperationSpec); } - /** - * The API returns a detailed sentiment analysis for the input text. The analysis is done in multiple - * levels of granularity, start from the a document level, down to sentence and key terms (targets and - * assessments). - * @param input Collection of documents to analyze. - * @param options The options parameters. - */ - sentiment( - input: MultiLanguageBatchInput, - options?: GeneratedClientSentimentOptionalParams - ): Promise { - return this.sendOperationRequest( - { input, options }, - sentimentOperationSpec - ); - } + analyzeText: AnalyzeText; } // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); const analyzeOperationSpec: coreClient.OperationSpec = { - path: "/analyze", - httpMethod: "POST", - responses: { - 202: { - headersMapper: Mappers.GeneratedClientAnalyzeHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.body, - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const analyzeStatusOperationSpec: coreClient.OperationSpec = { - path: "/analyze/jobs/{jobId}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.AnalyzeJobState - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.includeStatistics, - Parameters.top, - Parameters.skip - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion, Parameters.jobId], - headerParameters: [Parameters.accept], - serializer -}; -const healthStatusOperationSpec: coreClient.OperationSpec = { - path: "/entities/health/jobs/{jobId}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.HealthcareJobState - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - queryParameters: [ - Parameters.includeStatistics, - Parameters.top, - Parameters.skip - ], - urlParameters: [ - Parameters.endpoint, - Parameters.apiVersion, - Parameters.jobId1 - ], - headerParameters: [Parameters.accept], - serializer -}; -const cancelHealthJobOperationSpec: coreClient.OperationSpec = { - path: "/entities/health/jobs/{jobId}", - httpMethod: "DELETE", - responses: { - 202: { - headersMapper: Mappers.GeneratedClientCancelHealthJobHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - urlParameters: [ - Parameters.endpoint, - Parameters.apiVersion, - Parameters.jobId1 - ], - headerParameters: [Parameters.accept], - serializer -}; -const healthOperationSpec: coreClient.OperationSpec = { - path: "/entities/health/jobs", - httpMethod: "POST", - responses: { - 202: { - headersMapper: Mappers.GeneratedClientHealthHeaders - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.modelVersion, - Parameters.stringIndexType, - Parameters.loggingOptOut - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const entitiesRecognitionGeneralOperationSpec: coreClient.OperationSpec = { - path: "/entities/recognition/general", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.EntitiesResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.stringIndexType, - Parameters.loggingOptOut - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const entitiesRecognitionPiiOperationSpec: coreClient.OperationSpec = { - path: "/entities/recognition/pii", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.PiiResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.stringIndexType, - Parameters.loggingOptOut, - Parameters.domain, - Parameters.piiCategories - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const entitiesLinkingOperationSpec: coreClient.OperationSpec = { - path: "/entities/linking", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.EntityLinkingResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.stringIndexType, - Parameters.loggingOptOut - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const keyPhrasesOperationSpec: coreClient.OperationSpec = { - path: "/keyPhrases", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.KeyPhraseResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.loggingOptOut - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const languagesOperationSpec: coreClient.OperationSpec = { - path: "/languages", - httpMethod: "POST", - responses: { - 200: { - bodyMapper: Mappers.LanguageResult - }, - default: { - bodyMapper: Mappers.ErrorResponse - } - }, - requestBody: Parameters.input1, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.loggingOptOut - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], - headerParameters: [Parameters.contentType, Parameters.accept], - mediaType: "json", - serializer -}; -const sentimentOperationSpec: coreClient.OperationSpec = { - path: "/sentiment", + path: "/:analyze-text", httpMethod: "POST", responses: { 200: { - bodyMapper: Mappers.SentimentResponse + bodyMapper: Mappers.AnalyzeTextTaskResult }, default: { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.input, - queryParameters: [ - Parameters.includeStatistics, - Parameters.modelVersion, - Parameters.stringIndexType, - Parameters.loggingOptOut, - Parameters.opinionMining - ], - urlParameters: [Parameters.endpoint, Parameters.apiVersion], + requestBody: Parameters.body, + queryParameters: [Parameters.apiVersion, Parameters.includeStatistics], + urlParameters: [Parameters.endpoint], 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 deleted file mode 100644 index 6dbf9c8ca35a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClientContext.ts +++ /dev/null @@ -1,57 +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 coreClient from "@azure/core-client"; -import { GeneratedClientOptionalParams } from "./models"; - -/** @internal */ -export class GeneratedClientContext extends coreClient.ServiceClient { - endpoint: string; - apiVersion: string; - - /** - * Initializes a new instance of the GeneratedClientContext class. - * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: - * https://westus.api.cognitive.microsoft.com). - * @param options The parameter options - */ - constructor(endpoint: string, options?: GeneratedClientOptionalParams) { - if (endpoint === undefined) { - throw new Error("'endpoint' cannot be null"); - } - - // Initializing default values for options - if (!options) { - options = {}; - } - const defaults: GeneratedClientOptionalParams = { - requestContentType: "application/json; charset=utf-8" - }; - - const packageDetails = `azsdk-js-ai-text-analytics/5.2.0-beta.3`; - const userAgentPrefix = - options.userAgentOptions && options.userAgentOptions.userAgentPrefix - ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` - : `${packageDetails}`; - - const optionsWithDefaults = { - ...defaults, - ...options, - 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.2-preview.2"; - } -} diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/index.ts index 3aebf3c9a56c..db5d703d07b8 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/index.ts @@ -8,4 +8,4 @@ export * from "./models"; export { GeneratedClient } from "./generatedClient"; -export { GeneratedClientContext } from "./generatedClientContext"; +export * from "./operationsInterfaces"; 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 70b6cb7680ee..1757797f0afb 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts @@ -8,196 +8,142 @@ 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. */ - documents: TextDocumentInput[]; -} - -/** An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */ -export interface TextDocumentInput { - /** A unique, non-empty document identifier. */ - id: string; - /** The input text to process. */ - text: string; - /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default. */ - language?: string; -} - -export interface JobManifest { - /** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */ - tasks: JobManifestTasks; -} - -/** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */ -export interface JobManifestTasks { - entityRecognitionTasks?: EntitiesTask[]; - entityRecognitionPiiTasks?: PiiTask[]; - keyPhraseExtractionTasks?: KeyPhrasesTask[]; - entityLinkingTasks?: EntityLinkingTask[]; - sentimentAnalysisTasks?: SentimentAnalysisTask[]; - extractiveSummarizationTasks?: ExtractiveSummarizationTask[]; - customEntityRecognitionTasks?: CustomEntitiesTask[]; - customSingleClassificationTasks?: CustomSingleClassificationTask[]; - customMultiClassificationTasks?: CustomMultiClassificationTask[]; -} - -export interface EntitiesTask { - parameters?: EntitiesTaskParameters; - taskName?: string; -} - -export interface EntitiesTaskParameters { - modelVersion?: string; - loggingOptOut?: boolean; - stringIndexType?: StringIndexType; -} - -export interface PiiTask { - parameters?: PiiTaskParameters; - taskName?: string; -} - -export interface PiiTaskParameters { - domain?: PiiTaskParametersDomain; - modelVersion?: string; - loggingOptOut?: boolean; - /** (Optional) describes the PII categories to return */ - piiCategories?: PiiCategory[]; - stringIndexType?: StringIndexType; -} - -export interface KeyPhrasesTask { - parameters?: KeyPhrasesTaskParameters; - taskName?: string; -} - -export interface KeyPhrasesTaskParameters { - modelVersion?: string; - loggingOptOut?: boolean; -} - -export interface EntityLinkingTask { - parameters?: EntityLinkingTaskParameters; - taskName?: string; -} - -export interface EntityLinkingTaskParameters { - modelVersion?: string; - loggingOptOut?: boolean; - stringIndexType?: StringIndexType; -} - -export interface SentimentAnalysisTask { - parameters?: SentimentAnalysisTaskParameters; - taskName?: string; -} - -export interface SentimentAnalysisTaskParameters { - modelVersion?: string; - loggingOptOut?: boolean; - opinionMining?: boolean; - stringIndexType?: StringIndexType; -} - -export interface ExtractiveSummarizationTask { - parameters?: ExtractiveSummarizationTaskParameters; - taskName?: string; -} - -export interface ExtractiveSummarizationTaskParameters { - modelVersion?: string; - loggingOptOut?: boolean; - stringIndexType?: StringIndexType; - sentenceCount?: number; - sortBy?: ExtractiveSummarizationTaskParametersSortBy; -} - -export interface CustomEntitiesTask { - parameters?: CustomEntitiesTaskParameters; - taskName?: string; -} - -export interface CustomEntitiesTaskParameters { - projectName: string; - deploymentName: string; - loggingOptOut?: boolean; - stringIndexType?: StringIndexType; -} - -export interface CustomSingleClassificationTask { - parameters?: CustomSingleClassificationTaskParameters; - taskName?: string; -} - -export interface CustomSingleClassificationTaskParameters { - projectName: string; - deploymentName: string; - loggingOptOut?: boolean; -} - -export interface CustomMultiClassificationTask { - parameters?: CustomMultiClassificationTaskParameters; - taskName?: string; -} - -export interface CustomMultiClassificationTaskParameters { - projectName: string; - deploymentName: string; - loggingOptOut?: boolean; -} - +export type AnalyzeActionUnion = + | AnalyzeAction + | AnalyzeTextEntityLinkingInput + | AnalyzeTextEntityRecognitionInput + | AnalyzeTextKeyPhraseExtractionInput + | AnalyzeTextPiiEntitiesRecognitionInput + | AnalyzeTextLanguageDetectionInput + | AnalyzeTextSentimentAnalysisInput; +export type AnalyzeTextTaskResultUnion = + | AnalyzeTextTaskResult + | SentimentTaskResult + | EntitiesTaskResult + | EntityLinkingTaskResult + | PiiTaskResult + | KeyPhraseTaskResult + | LanguageDetectionTaskResult; +export type AnalyzeBatchActionUnion = + | AnalyzeBatchAction + | CustomEntitiesLROTask + | CustomSingleLabelClassificationLROTask + | CustomMultiLabelClassificationLROTask + | HealthcareLROTask + | SentimentAnalysisLROTask + | EntitiesLROTask + | EntityLinkingLROTask + | PiiLROTask + | ExtractiveSummarizationLROTask + | KeyPhraseLROTask; +export type AnalyzeTextLROResultUnion = + | AnalyzeTextLROResult + | EntityRecognitionLROResult + | CustomEntityRecognitionLROResult + | CustomSingleLabelClassificationLROResult + | CustomMultiLabelClassificationLROResult + | EntityLinkingLROResult + | PiiEntityRecognitionLROResult + | ExtractiveSummarizationLROResult + | HealthcareLROResult + | SentimentLROResult + | KeyPhraseExtractionLROResult; + +export interface AnalyzeAction { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: + | "EntityLinking" + | "EntityRecognition" + | "KeyPhraseExtraction" + | "PiiEntityRecognition" + | "LanguageDetection" + | "SentimentAnalysis"; +} + +export interface AnalyzeTextTaskResult { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: + | "SentimentAnalysisResults" + | "EntityRecognitionResults" + | "EntityLinkingResults" + | "PiiEntityRecognitionResults" + | "KeyPhraseExtractionResults" + | "LanguageDetectionResults"; +} + +/** Error response. */ export interface ErrorResponse { - /** Document Error. */ - error: TextAnalyticsError; + /** The error object. */ + error: ErrorModel; } -export interface TextAnalyticsError { - /** Error code. */ - code: ErrorCodeValue; - /** Error message. */ +/** The error object. */ +export interface ErrorModel { + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** One of a server-defined set of error codes. */ + code: ErrorCode; + /** A human-readable representation of the error. */ message: string; - /** Error target. */ + /** The target of the error. */ target?: string; - /** Inner error contains more specific information. */ - innererror?: InnerError; - /** Details about specific errors that led to this reported error. */ - details?: TextAnalyticsError[]; + /** An array of details about specific errors that led to this reported error. */ + details?: ErrorModel[]; + /** An object containing more specific information than the current object about the error. */ + innererror?: InnerErrorModel; } -export interface InnerError { - /** Error code. */ - code: InnerErrorCodeValue; +/** An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses. */ +export interface InnerErrorModel { + /** One of a server-defined set of error codes. */ + code: InnerErrorCode; /** Error message. */ message: string; /** Error details. */ details?: { [propertyName: string]: string }; /** Error target. */ target?: string; - /** Inner error contains more specific information. */ - innererror?: InnerError; + /** An object containing more specific information than the current object about the error. */ + innererror?: InnerErrorModel; } -export interface JobMetadata { - createdDateTime: Date; - expirationDateTime?: Date; - jobId: string; - lastUpdateDateTime: Date; - status: State; +export interface AnalyzeTextJobsInput { + /** Optional display name for the analysis job. */ + displayName?: string; + analysisInput: MultiLanguageAnalysisInput; + /** The set of tasks to execute on the input documents. */ + tasks: AnalyzeBatchActionUnion[]; +} + +export interface MultiLanguageAnalysisInput { + documents?: TextDocumentInput[]; } -export interface AnalyzeJobDisplayName { +/** An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text. */ +export interface TextDocumentInput { + /** A unique, non-empty document identifier. */ + id: string; + /** The input text to process. */ + text: string; + /** (Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use "en" for English; "es" for Spanish etc. If not set, use "en" for English as default. */ + language?: string; +} + +/** The State of a batched action */ +export interface BatchActionState { + /** The name of the action */ + actionName?: string; +} + +export interface JobState { displayName?: string; + createdOn: Date; + expiresOn?: Date; + operationId: string; + lastModifiedOn: Date; + status: OperationStatus; + errors?: ErrorModel[]; + nextLink?: string; } export interface TasksState { @@ -209,86 +155,17 @@ export interface TasksStateTasks { failed: number; inProgress: number; total: number; - entityRecognitionTasks?: TasksStateTasksEntityRecognitionTasksItem[]; - entityRecognitionPiiTasks?: TasksStateTasksEntityRecognitionPiiTasksItem[]; - keyPhraseExtractionTasks?: TasksStateTasksKeyPhraseExtractionTasksItem[]; - entityLinkingTasks?: TasksStateTasksEntityLinkingTasksItem[]; - sentimentAnalysisTasks?: TasksStateTasksSentimentAnalysisTasksItem[]; - extractiveSummarizationTasks?: TasksStateTasksExtractiveSummarizationTasksItem[]; - customEntityRecognitionTasks?: TasksStateTasksCustomEntityRecognitionTasksItem[]; - customSingleClassificationTasks?: TasksStateTasksCustomSingleClassificationTasksItem[]; - customMultiClassificationTasks?: TasksStateTasksCustomMultiClassificationTasksItem[]; + items?: AnalyzeTextLROResultUnion[]; } export interface TaskState { lastUpdateDateTime: Date; - taskName: string; status: State; } -export interface EntitiesTaskResult { - results?: EntitiesResult; -} - -export interface EntitiesResult { - /** Response by document */ - documents: DocumentEntities[]; - /** Errors by document id. */ - errors: DocumentError[]; +export interface AnalyzeTextJobStatistics { /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; -} - -export interface DocumentEntities { - /** Unique, non-empty document identifier. */ - id: string; - /** Recognized entities in the document. */ - entities: Entity[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} - -/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */ -export interface Entity { - /** Entity text as appears in the request. */ - text: string; - /** Entity type. */ - category: string; - /** (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; -} - -/** Represents a warning encountered while processing a document. */ -export interface TextAnalyticsWarning { - /** Error code. */ - code: WarningCode; - /** Warning message. */ - message: string; -} - -/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */ -export interface TextDocumentStatistics { - /** Number of text elements recognized in the document. */ - characterCount: number; - /** Number of transactions for the document. */ - transactionCount: number; -} - -export interface DocumentError { - /** Document Id. */ - id: string; - /** Document Error. */ - error: TextAnalyticsError; } /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ @@ -303,41 +180,31 @@ export interface TextDocumentBatchStatistics { transactionCount: number; } -export interface PiiTaskResult { - results?: PiiResult; +export interface LanguageDetectionAnalysisInput { + documents?: LanguageDetectionInput[]; } -export interface PiiResult { - /** Response by document */ - documents: PiiDocumentEntities[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; -} - -export interface PiiDocumentEntities { +/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */ +export interface LanguageDetectionInput { /** Unique, non-empty document identifier. */ id: string; - /** Returns redacted text. */ - redactedText: string; - /** Recognized entities in the document. */ - entities: Entity[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; + /** Full text of the input document. */ + text: string; + /** A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language. */ + countryHint?: string; } -export interface KeyPhraseTaskResult { - results?: KeyPhraseResult; +/** Configuration common to all actions. */ +export interface ActionCommon { + /** + * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur. + * + * Default is false. + */ + disableServiceLogs?: boolean; } -export interface KeyPhraseResult { - /** Response by document */ - documents: DocumentKeyPhrases[]; +export interface PreBuiltResult { /** Errors by document id. */ errors: DocumentError[]; /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ @@ -346,101 +213,125 @@ export interface KeyPhraseResult { modelVersion: string; } -export interface DocumentKeyPhrases { - /** Unique, non-empty document identifier. */ +export interface DocumentError { + /** Document Id. */ id: string; - /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */ - keyPhrases: string[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} - -export interface EntityLinkingTaskResult { - results?: EntityLinkingResult; + /** Document Error. */ + error: ErrorModel; } -export interface EntityLinkingResult { - /** Response by document */ - documents: DocumentLinkedEntities[]; +export interface CustomResult { /** Errors by document id. */ errors: DocumentError[]; /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; + /** This field indicates the project name for the model. */ + projectName: string; + /** This field indicates the deployment name for the model. */ + deploymentName: string; } -export interface DocumentLinkedEntities { +/** A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories . */ +export interface Entity { + /** Entity text as appears in the request. */ + text: string; + /** Entity type. */ + category: string; + /** (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 DocumentResult { /** Unique, non-empty document identifier. */ id: string; - /** Recognized well known entities in the document. */ - entities: LinkedEntity[]; /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; + warnings: DocumentWarning[]; /** if showStats=true was specified in the request this field will contain information about the document payload. */ statistics?: TextDocumentStatistics; } -/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */ -export interface LinkedEntity { - /** Entity Linking formal name. */ - name: string; - /** List of instances this entity appears in the text. */ - matches: Match[]; - /** Language used in the data source. */ - language: string; - /** Unique identifier of the recognized entity from the data source. */ - dataSourceEntityId?: string; - /** URL for the entity's page from the data source. */ - url: string; - /** Data source used to extract entity linking, such as Wiki/Bing etc. */ - dataSource: string; - /** Bing Entity Search API unique identifier of the recognized entity. */ - bingEntitySearchApiId?: string; +/** Represents a warning encountered while processing a document. */ +export interface DocumentWarning { + /** Error code. */ + code: WarningCode; + /** Warning message. */ + message: string; } -/** Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model. */ -export interface Match { - /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */ +/** if includeStatistics=true was specified in the request this field will contain information about the document payload. */ +export interface TextDocumentStatistics { + /** Number of text elements recognized in the document. */ + characterCount: number; + /** Number of transactions for the document. */ + transactionCount: number; +} + +/** A classification result from a custom classify document single category action */ +export interface ClassificationCategory { + /** Classification type. */ + category: string; + /** Confidence score between 0 and 1 of the recognized class. */ confidenceScore: number; +} + +export interface HealthcareEntity { /** Entity text as appears in the request. */ text: string; - /** Start position for the entity match text. */ + /** 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 match text. */ + /** 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; + /** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */ + assertion?: HealthcareAssertion; + /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */ + normalizedText?: string; + /** Entity references in known data sources. */ + dataSources?: EntityDataSource[]; } -export interface SentimentTaskResult { - results?: SentimentResponse; +/** An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional. */ +export interface HealthcareAssertion { + /** Describes any conditionality on the entity. */ + conditionality?: Conditionality; + /** Describes the entities certainty and polarity. */ + certainty?: Certainty; + /** Describes if the entity is the subject of the text or if it describes someone else. */ + association?: Association; } -export interface SentimentResponse { - /** Sentiment analysis per document. */ - documents: DocumentSentiment[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; +/** A type representing a reference for the healthcare entity into a specific entity catalog. */ +export interface EntityDataSource { + /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */ + name: string; + /** Entity id in the given source catalog. */ + entityId: string; } -export interface DocumentSentiment { - /** Unique, non-empty document identifier. */ - id: string; - /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */ - sentiment: DocumentSentimentLabel; - /** if includeStatistics=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; - /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */ - confidenceScores: SentimentConfidenceScores; - /** Sentence level sentiment analysis. */ - sentenceSentiments: SentenceSentiment[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; +/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */ +export interface HealthcareRelation { + /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */ + relationType: RelationType; + /** The entities in the relation. */ + entities: HealthcareRelationEntity[]; +} + +export interface HealthcareRelationEntity { + /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */ + ref: string; + /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */ + role: string; } /** Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative. */ @@ -450,7 +341,7 @@ export interface SentimentConfidenceScores { negative: number; } -/** The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. */ +/** The predicted sentiment for a given span of text. For more information regarding text sentiment, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview. */ export interface SentenceSentiment { /** The sentence text. */ text: string; @@ -465,14 +356,14 @@ export interface SentenceSentiment { /** The array of sentence targets for the sentence. */ targets?: SentenceTarget[]; /** The array of assessments for the sentence. */ - assessments?: SentenceAssessment[]; + assessments?: AssessmentSentiment[]; } export interface SentenceTarget { /** Targeted sentiment in the sentence. */ - sentiment: TokenSentimentValue; + sentiment: TokenSentimentLabel; /** Target sentiment confidence scores for the target in the sentence. */ - confidenceScores: TargetConfidenceScoreLabel; + confidenceScores: TargetConfidenceScores; /** The target offset from the start of the sentence. */ offset: number; /** The length of the target. */ @@ -484,7 +375,7 @@ export interface SentenceTarget { } /** Represents the confidence scores across all sentiment classes: positive, neutral, negative. */ -export interface TargetConfidenceScoreLabel { +export interface TargetConfidenceScores { positive: number; negative: number; } @@ -496,11 +387,12 @@ export interface TargetRelation { ref: string; } -export interface SentenceAssessment { +/** An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence "The food is good", the assessment of the target 'food' is 'good'. */ +export interface AssessmentSentiment { /** Assessment sentiment in the sentence. */ - sentiment: TokenSentimentValue; + sentiment: TokenSentimentLabel; /** Assessment sentiment confidence scores in the sentence. */ - confidenceScores: TargetConfidenceScoreLabel; + confidenceScores: TargetConfidenceScores; /** The assessment offset from the start of the sentence. */ offset: number; /** The length of the assessment. */ @@ -511,33 +403,38 @@ export interface SentenceAssessment { isNegated: boolean; } -export interface ExtractiveSummarizationTaskResult { - results?: ExtractiveSummarizationResult; -} - -export interface ExtractiveSummarizationResult { - /** Response by document */ - documents: ExtractedDocumentSummary[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; +/** A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database. */ +export interface LinkedEntity { + /** Entity Linking formal name. */ + name: string; + /** List of instances this entity appears in the text. */ + matches: Match[]; + /** Language used in the data source. */ + language: string; + /** Unique identifier of the recognized entity from the data source. */ + dataSourceEntityId?: string; + /** URL for the entity's page from the data source. */ + url: string; + /** Data source used to extract entity linking, such as Wiki/Bing etc. */ + dataSource: string; + /** Bing Entity Search API unique identifier of the recognized entity. */ + bingEntitySearchApiId?: string; } -export interface ExtractedDocumentSummary { - /** Unique, non-empty document identifier. */ - id: string; - /** A ranked list of sentences representing the extracted summary. */ - sentences: ExtractedSummarySentence[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; +/** Details about the specific substring in a document that refers to a linked entity identified by the Language model. */ +export interface Match { + /** If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned. */ + confidenceScore: number; + /** Entity text as appears in the request. */ + text: string; + /** Start position for the entity match text. */ + offset: number; + /** Length for the entity match text. */ + length: number; } -export interface ExtractedSummarySentence { +/** A sentence that is part of the extracted summary. */ +export interface SummarySentence { /** The extracted sentence text. */ text: string; /** A double value representing the relevance of the sentence within the summary. Higher values indicate higher importance. */ @@ -548,286 +445,679 @@ export interface ExtractedSummarySentence { length: number; } -export interface CustomEntitiesTaskResult { - results?: CustomEntitiesResult; +/** Information about the language of a document as identified by the Language service. */ +export interface DetectedLanguage { + /** Long name of a detected language (e.g. English, French). */ + name: string; + /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */ + iso6391Name: string; + /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */ + confidenceScore: number; } -export interface CustomEntitiesResult { - /** Response by document */ - documents: DocumentEntities[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates the project name for the model. */ - projectName: string; - /** This field indicates the deployment name for the model. */ - deploymentName: string; +export interface Pagination { + nextLink?: string; } -export interface CustomSingleClassificationTaskResult { - results?: CustomSingleClassificationResult; +export interface JobMetadata { + displayName?: string; + createdDateTime: Date; + expirationDateTime?: Date; + jobId: string; + lastUpdateDateTime: Date; + status: State; } -export interface CustomSingleClassificationResult { - /** Response by document */ - documents: SingleClassificationDocument[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates the project name for the model. */ +export interface JobErrors { + errors?: ErrorModel[]; +} + +export type AnalyzeTextEntityLinkingInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "EntityLinking"; + analysisInput?: MultiLanguageAnalysisInput; + /** Options for an entity linking action. */ + parameters?: EntityLinkingAction; +}; + +export type AnalyzeTextEntityRecognitionInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "EntityRecognition"; + analysisInput?: MultiLanguageAnalysisInput; + /** Options for an entity recognition action. */ + parameters?: EntityRecognitionAction; +}; + +export type AnalyzeTextKeyPhraseExtractionInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "KeyPhraseExtraction"; + analysisInput?: MultiLanguageAnalysisInput; + /** Options for a key phrase recognition action. */ + parameters?: KeyPhraseExtractionAction; +}; + +export type AnalyzeTextPiiEntitiesRecognitionInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "PiiEntityRecognition"; + analysisInput?: MultiLanguageAnalysisInput; + /** Options for a Pii entity recognition action. */ + parameters?: PiiEntityRecognitionAction; +}; + +export type AnalyzeTextLanguageDetectionInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "LanguageDetection"; + analysisInput?: LanguageDetectionAnalysisInput; + /** Options for a language detection action. */ + parameters?: LanguageDetectionAction; +}; + +export type AnalyzeTextSentimentAnalysisInput = AnalyzeAction & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "SentimentAnalysis"; + analysisInput?: MultiLanguageAnalysisInput; + /** Options for a sentiment analysis action. */ + parameters?: SentimentAnalysisAction; +}; + +export type SentimentTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "SentimentAnalysisResults"; + results: SentimentResponse; +}; + +export type EntitiesTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "EntityRecognitionResults"; + results: EntitiesResult; +}; + +export type EntityLinkingTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "EntityLinkingResults"; + results: EntityLinkingResult; +}; + +export type PiiTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "PiiEntityRecognitionResults"; + results: PiiResult; +}; + +export type KeyPhraseTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "KeyPhraseExtractionResults"; + results: KeyPhraseResult; +}; + +export type LanguageDetectionTaskResult = AnalyzeTextTaskResult & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + kind: "LanguageDetectionResults"; + results: LanguageDetectionResult; +}; + +export type AnalyzeBatchAction = BatchActionState & { + /** Enumeration of supported long-running Text Analysis tasks. */ + kind: AnalyzeTextLROTaskKind; +}; + +export type AnalyzeTextLROResult = TaskState & + BatchActionState & { + /** Enumeration of supported Text Analysis long-running operation task results. */ + kind: AnalyzeTextLROResultsKind; + }; + +export type AnalyzeTextJobState = JobState & + TasksState & + AnalyzeTextJobStatistics; + +/** Configuration common to all actions that use prebuilt models. */ +export type ActionPrebuilt = ActionCommon & { + /** The version of the model to be used by the action. */ + modelVersion?: string; +}; + +/** Parameters object for a text analysis task using custom models. */ +export type ActionCustom = ActionCommon & { projectName: string; - /** This field indicates the deployment name for the model. */ deploymentName: string; -} +}; -export interface SingleClassificationDocument { - /** Unique, non-empty document identifier. */ - id: string; - classification: ClassificationResult; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} +export type HealthcareResult = PreBuiltResult & { + documents: HealthcareResultDocumentsItem[]; +}; -export interface ClassificationResult { - /** Classification type. */ - category: string; - /** Confidence score between 0 and 1 of the recognized classification. */ - confidenceScore: number; -} +export type SentimentResponse = PreBuiltResult & { + /** Sentiment analysis per document. */ + documents: SentimentResponseDocumentsItem[]; +}; -export interface CustomMultiClassificationTaskResult { - results?: CustomMultiClassificationResult; -} +export type EntitiesResult = PreBuiltResult & { + /** Response by document */ + documents: EntitiesResultDocumentsItem[]; +}; -export interface CustomMultiClassificationResult { +export type EntityLinkingResult = PreBuiltResult & { /** Response by document */ - documents: MultiClassificationDocument[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates the project name for the model. */ - projectName: string; - /** This field indicates the deployment name for the model. */ - deploymentName: string; -} + documents: EntityLinkingResultDocumentsItem[]; +}; -export interface MultiClassificationDocument { - /** Unique, non-empty document identifier. */ - id: string; - /** Recognized classification results in the document. */ - classifications: ClassificationResult[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} +export type PiiResult = PreBuiltResult & { + /** Response by document */ + documents: PiiResultDocumentsItem[]; +}; -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 type ExtractiveSummarizationResult = PreBuiltResult & { + /** Response by document */ + documents: ExtractiveSummarizationResultDocumentsItem[]; +}; -export interface Pagination { - nextLink?: string; -} +export type KeyPhraseResult = PreBuiltResult & { + /** Response by document */ + documents: KeyPhraseResultDocumentsItem[]; +}; -export interface HealthcareTaskResult { - results?: HealthcareResult; - errors?: TextAnalyticsError[]; -} +export type LanguageDetectionResult = PreBuiltResult & { + /** Response by document */ + documents: LanguageDetectionDocumentResult[]; +}; -export interface HealthcareResult { +export type CustomEntitiesResult = CustomResult & { /** Response by document */ - documents: DocumentHealthcareEntities[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; -} + documents: CustomEntitiesResultDocumentsItem[]; +}; -export interface DocumentHealthcareEntities { - /** Unique, non-empty document identifier. */ - id: string; +export type CustomSingleLabelClassificationResult = CustomResult & { + /** Response by document */ + documents: CustomSingleLabelClassificationResultDocumentsItem[]; +}; + +export type CustomMultiLabelClassificationResult = CustomResult & { + /** Response by document */ + documents: CustomMultiLabelClassificationResultDocumentsItem[]; +}; + +export type EntitiesDocumentResult = DocumentResult & { + /** Recognized entities in the document. */ + entities: Entity[]; +}; + +export type SingleClassificationDocumentResult = DocumentResult & { + /** A classification result from a custom classify document single category action */ + classification: ClassificationCategory; +}; + +export type MultiClassificationDocumentResult = DocumentResult & { + classifications: ClassificationCategory[]; +}; + +export type HealthcareEntitiesDocumentResult = DocumentResult & { /** Healthcare entities. */ entities: HealthcareEntity[]; /** Healthcare entity relations. */ relations: HealthcareRelation[]; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} + /** JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html. */ + fhirBundle?: { [propertyName: string]: any }; +}; -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 type SentimentDocumentResult = DocumentResult & { + /** Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). */ + sentiment: DocumentSentimentLabel; + /** Document level sentiment confidence scores between 0 and 1 for each sentiment class. */ + confidenceScores: SentimentConfidenceScores; + /** Sentence level sentiment analysis. */ + sentences: SentenceSentiment[]; +}; -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 type LinkedEntitiesDocumentResult = DocumentResult & { + /** Recognized well known entities in the document. */ + entities: LinkedEntity[]; +}; -export interface HealthcareAssertion { - /** Describes any conditionality on the entity. */ - conditionality?: Conditionality; - /** Describes the entities certainty and polarity. */ - certainty?: Certainty; - /** Describes if the entity is the subject of the text or if it describes someone else. */ - association?: Association; -} +export type PiiEntitiesDocumentResult = DocumentResult & { + /** Returns redacted text. */ + redactedText: string; + /** Recognized entities in the document. */ + entities: Entity[]; +}; -export interface HealthcareEntityLink { - /** Entity Catalog. Examples include: UMLS, CHV, MSH, etc. */ - dataSource: string; - /** Entity id in the given source catalog. */ - id: string; -} +export type ExtractedSummaryDocumentResult = DocumentResult & { + /** A ranked list of sentences representing the extracted summary. */ + sentences: SummarySentence[]; +}; -/** Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context. */ -export interface HealthcareRelation { - /** Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc. */ - relationType: RelationType; - /** The entities in the relation. */ - entities: HealthcareRelationEntity[]; -} +export type KeyPhrasesDocumentResult = DocumentResult & { + /** A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document. */ + keyPhrases: string[]; +}; + +export type LanguageDetectionDocumentResult = DocumentResult & { + /** Detected Language. */ + detectedLanguage: DetectedLanguage; +}; + +/** Use custom models to ease the process of information extraction from unstructured documents like contracts or financial documents */ +export type CustomEntitiesLROTask = AnalyzeBatchAction & { + /** Supported parameters for a Custom Entities task. */ + parameters?: CustomEntityRecognitionAction; +}; + +/** Use custom models to classify text into single label taxonomy */ +export type CustomSingleLabelClassificationLROTask = AnalyzeBatchAction & { + /** Options for a single-label classification custom action */ + parameters?: CustomSingleLabelClassificationAction; +}; + +/** Use custom models to classify text into multi label taxonomy */ +export type CustomMultiLabelClassificationLROTask = AnalyzeBatchAction & { + /** Options for a multi-label classification custom action */ + parameters?: CustomMultiLabelClassificationAction; +}; + +export type HealthcareLROTask = AnalyzeBatchAction & { + /** Supported parameters for a Healthcare task. */ + parameters?: HealthcareAction; +}; + +/** An object representing the task definition for a Sentiment Analysis task. */ +export type SentimentAnalysisLROTask = AnalyzeBatchAction & { + /** Options for a sentiment analysis action. */ + parameters?: SentimentAnalysisAction; +}; + +/** An object representing the task definition for an Entities Recognition task. */ +export type EntitiesLROTask = AnalyzeBatchAction & { + /** Options for an entity recognition action. */ + parameters?: EntityRecognitionAction; +}; + +/** An object representing the task definition for an Entity Linking task. */ +export type EntityLinkingLROTask = AnalyzeBatchAction & { + /** Options for an entity linking action. */ + parameters?: EntityLinkingAction; +}; + +/** An object representing the task definition for a PII Entities Recognition task. */ +export type PiiLROTask = AnalyzeBatchAction & { + /** Options for a Pii entity recognition action. */ + parameters?: PiiEntityRecognitionAction; +}; + +/** An object representing the task definition for an Extractive Summarization task. */ +export type ExtractiveSummarizationLROTask = AnalyzeBatchAction & { + /** Supported parameters for an Extractive Summarization task. */ + parameters?: ExtractiveSummarizationAction; +}; + +/** An object representing the task definition for a Key Phrase Extraction task. */ +export type KeyPhraseLROTask = AnalyzeBatchAction & { + /** Options for a key phrase recognition action. */ + parameters?: KeyPhraseExtractionAction; +}; + +export type EntityRecognitionLROResult = AnalyzeTextLROResult & { + results: EntitiesResult; +}; + +export type CustomEntityRecognitionLROResult = AnalyzeTextLROResult & { + results: CustomEntitiesResult; +}; + +export type CustomSingleLabelClassificationLROResult = AnalyzeTextLROResult & { + results: CustomSingleLabelClassificationResult; +}; + +export type CustomMultiLabelClassificationLROResult = AnalyzeTextLROResult & { + results: CustomMultiLabelClassificationResult; +}; + +export type EntityLinkingLROResult = AnalyzeTextLROResult & { + results: EntityLinkingResult; +}; + +export type PiiEntityRecognitionLROResult = AnalyzeTextLROResult & { + results: PiiResult; +}; + +export type ExtractiveSummarizationLROResult = AnalyzeTextLROResult & { + results: ExtractiveSummarizationResult; +}; + +export type HealthcareLROResult = AnalyzeTextLROResult & { + results: HealthcareResult; +}; + +export type SentimentLROResult = AnalyzeTextLROResult & { + results: SentimentResponse; +}; + +export type KeyPhraseExtractionLROResult = AnalyzeTextLROResult & { + results: KeyPhraseResult; +}; + +/** Options for an entity linking action. */ +export type EntityLinkingAction = ActionPrebuilt & { + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Options for an entity recognition action. */ +export type EntityRecognitionAction = ActionPrebuilt & { + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Options for a key phrase recognition action. */ +export type KeyPhraseExtractionAction = ActionPrebuilt; + +/** Options for a Pii entity recognition action. */ +export type PiiEntityRecognitionAction = ActionPrebuilt & { + /** + * Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}. + * + * See {@link https://aka.ms/tanerpii the service documentation} for more information. + */ + domainFilter?: PiiDomain; + /** Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory} */ + categoriesFilter?: PiiCategory[]; + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Options for a language detection action. */ +export type LanguageDetectionAction = ActionPrebuilt; + +/** Options for a sentiment analysis action. */ +export type SentimentAnalysisAction = ActionPrebuilt & { + /** Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information. */ + includeOpinionMining?: boolean; + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Supported parameters for a Healthcare task. */ +export type HealthcareAction = ActionPrebuilt & { + /** The FHIR Spec version that the result will use to format the fhirBundle. For additional information see https://www.hl7.org/fhir/overview.html. */ + fhirVersion?: FhirVersion; + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Supported parameters for an Extractive Summarization task. */ +export type ExtractiveSummarizationAction = ActionPrebuilt & { + maxSentenceCount?: number; + /** The sorting criteria to use for the results of Extractive Summarization. */ + orderBy?: ExtractiveSummarizationOrderingCriteria; + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; + +/** Supported parameters for a Custom Entities task. */ +export type CustomEntityRecognitionAction = ActionCustom & { + /** + * Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}. + * + * The default is the JavaScript's default which is "Utf16CodeUnit". + */ + stringIndexType?: StringIndexType; +}; -export interface HealthcareRelationEntity { - /** Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity . */ - ref: string; - /** Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis). */ - role: string; -} +/** Options for a single-label classification custom action */ +export type CustomSingleLabelClassificationAction = ActionCustom; -export interface LanguageBatchInput { - documents: DetectLanguageInput[]; -} +/** Options for a multi-label classification custom action */ +export type CustomMultiLabelClassificationAction = ActionCustom; -/** An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language. */ -export interface DetectLanguageInput { - /** Unique, non-empty document identifier. */ - id: string; - text: string; - countryHint?: string; -} +export type CustomEntitiesResultDocumentsItem = EntitiesDocumentResult; -export interface LanguageResult { - /** Response by document */ - documents: DocumentLanguage[]; - /** Errors by document id. */ - errors: DocumentError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - /** This field indicates which model is used for scoring. */ - modelVersion: string; -} +export type EntitiesResultDocumentsItem = EntitiesDocumentResult; -export interface DocumentLanguage { - /** Unique, non-empty document identifier. */ - id: string; - /** Detected Language. */ - detectedLanguage: DetectedLanguage; - /** Warnings encountered while processing document. */ - warnings: TextAnalyticsWarning[]; - /** if showStats=true was specified in the request this field will contain information about the document payload. */ - statistics?: TextDocumentStatistics; -} +export type CustomSingleLabelClassificationResultDocumentsItem = SingleClassificationDocumentResult; -/** Information about the language of a document as identified by the Text Analytics service. */ -export interface DetectedLanguage { - /** Long name of a detected language (e.g. English, French). */ - name: string; - /** A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr). */ - iso6391Name: string; - /** A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. */ - confidenceScore: number; -} +export type CustomMultiLabelClassificationResultDocumentsItem = MultiClassificationDocumentResult; -export type AnalyzeBatchInput = JobDescriptor & - AnalysisInput & - JobManifest & {}; +export type HealthcareResultDocumentsItem = HealthcareEntitiesDocumentResult; -export type AnalyzeJobMetadata = JobMetadata & AnalyzeJobDisplayName & {}; +export type SentimentResponseDocumentsItem = SentimentDocumentResult; -export type HealthcareJobState = JobMetadata & - HealthcareTaskResult & - Pagination & {}; +export type EntityLinkingResultDocumentsItem = LinkedEntitiesDocumentResult; -export type AnalyzeJobState = AnalyzeJobMetadata & - TasksState & - AnalyzeJobErrorsAndStatistics & - Pagination & {}; +export type PiiResultDocumentsItem = PiiEntitiesDocumentResult; -export type TasksStateTasksEntityRecognitionTasksItem = TaskState & - EntitiesTaskResult & {}; +export type ExtractiveSummarizationResultDocumentsItem = ExtractedSummaryDocumentResult; -export type TasksStateTasksEntityRecognitionPiiTasksItem = TaskState & - PiiTaskResult & {}; +export type KeyPhraseResultDocumentsItem = KeyPhrasesDocumentResult; -export type TasksStateTasksKeyPhraseExtractionTasksItem = TaskState & - KeyPhraseTaskResult & {}; +/** Defines headers for AnalyzeText_submitJob operation. */ +export interface AnalyzeTextSubmitJobHeaders { + operationLocation?: string; +} -export type TasksStateTasksEntityLinkingTasksItem = TaskState & - EntityLinkingTaskResult & {}; +/** Defines headers for AnalyzeText_cancelJob operation. */ +export interface AnalyzeTextCancelJobHeaders { + operationLocation?: string; +} -export type TasksStateTasksSentimentAnalysisTasksItem = TaskState & - SentimentTaskResult & {}; +/** Known values of {@link AnalyzeTextTaskKind} that the service accepts. */ +export enum KnownAnalyzeTextTaskKind { + SentimentAnalysis = "SentimentAnalysis", + EntityRecognition = "EntityRecognition", + PiiEntityRecognition = "PiiEntityRecognition", + KeyPhraseExtraction = "KeyPhraseExtraction", + LanguageDetection = "LanguageDetection", + EntityLinking = "EntityLinking" +} -export type TasksStateTasksExtractiveSummarizationTasksItem = TaskState & - ExtractiveSummarizationTaskResult & {}; +/** + * Defines values for AnalyzeTextTaskKind. \ + * {@link KnownAnalyzeTextTaskKind} can be used interchangeably with AnalyzeTextTaskKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SentimentAnalysis** \ + * **EntityRecognition** \ + * **PiiEntityRecognition** \ + * **KeyPhraseExtraction** \ + * **LanguageDetection** \ + * **EntityLinking** + */ +export type AnalyzeTextTaskKind = string; -export type TasksStateTasksCustomEntityRecognitionTasksItem = TaskState & - CustomEntitiesTaskResult & {}; +/** Known values of {@link AnalyzeTextTaskResultsKind} that the service accepts. */ +export enum KnownAnalyzeTextTaskResultsKind { + SentimentAnalysisResults = "SentimentAnalysisResults", + EntityRecognitionResults = "EntityRecognitionResults", + PiiEntityRecognitionResults = "PiiEntityRecognitionResults", + KeyPhraseExtractionResults = "KeyPhraseExtractionResults", + LanguageDetectionResults = "LanguageDetectionResults", + EntityLinkingResults = "EntityLinkingResults" +} -export type TasksStateTasksCustomSingleClassificationTasksItem = TaskState & - CustomSingleClassificationTaskResult & {}; +/** + * Defines values for AnalyzeTextTaskResultsKind. \ + * {@link KnownAnalyzeTextTaskResultsKind} can be used interchangeably with AnalyzeTextTaskResultsKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SentimentAnalysisResults** \ + * **EntityRecognitionResults** \ + * **PiiEntityRecognitionResults** \ + * **KeyPhraseExtractionResults** \ + * **LanguageDetectionResults** \ + * **EntityLinkingResults** + */ +export type AnalyzeTextTaskResultsKind = string; -export type TasksStateTasksCustomMultiClassificationTasksItem = TaskState & - CustomMultiClassificationTaskResult & {}; +/** Known values of {@link ErrorCode} that the service accepts. */ +export enum KnownErrorCode { + InvalidRequest = "InvalidRequest", + InvalidArgument = "InvalidArgument", + Unauthorized = "Unauthorized", + Forbidden = "Forbidden", + NotFound = "NotFound", + ProjectNotFound = "ProjectNotFound", + OperationNotFound = "OperationNotFound", + AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound", + AzureCognitiveSearchIndexNotFound = "AzureCognitiveSearchIndexNotFound", + TooManyRequests = "TooManyRequests", + AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling", + AzureCognitiveSearchIndexLimitReached = "AzureCognitiveSearchIndexLimitReached", + InternalServerError = "InternalServerError", + ServiceUnavailable = "ServiceUnavailable" +} -export type HealthcareEntity = HealthcareEntityProperties & - HealthcareLinkingProperties & {}; +/** + * Defines values for ErrorCode. \ + * {@link KnownErrorCode} can be used interchangeably with ErrorCode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **InvalidRequest** \ + * **InvalidArgument** \ + * **Unauthorized** \ + * **Forbidden** \ + * **NotFound** \ + * **ProjectNotFound** \ + * **OperationNotFound** \ + * **AzureCognitiveSearchNotFound** \ + * **AzureCognitiveSearchIndexNotFound** \ + * **TooManyRequests** \ + * **AzureCognitiveSearchThrottling** \ + * **AzureCognitiveSearchIndexLimitReached** \ + * **InternalServerError** \ + * **ServiceUnavailable** + */ +export type ErrorCode = string; -/** Defines headers for GeneratedClient_analyze operation. */ -export interface GeneratedClientAnalyzeHeaders { - operationLocation?: string; +/** Known values of {@link InnerErrorCode} that the service accepts. */ +export enum KnownInnerErrorCode { + InvalidRequest = "InvalidRequest", + InvalidParameterValue = "InvalidParameterValue", + KnowledgeBaseNotFound = "KnowledgeBaseNotFound", + AzureCognitiveSearchNotFound = "AzureCognitiveSearchNotFound", + AzureCognitiveSearchThrottling = "AzureCognitiveSearchThrottling", + ExtractionFailure = "ExtractionFailure", + InvalidRequestBodyFormat = "InvalidRequestBodyFormat", + EmptyRequest = "EmptyRequest", + MissingInputDocuments = "MissingInputDocuments", + InvalidDocument = "InvalidDocument", + ModelVersionIncorrect = "ModelVersionIncorrect", + InvalidDocumentBatch = "InvalidDocumentBatch", + UnsupportedLanguageCode = "UnsupportedLanguageCode", + InvalidCountryHint = "InvalidCountryHint" } -/** Defines headers for GeneratedClient_cancelHealthJob operation. */ -export interface GeneratedClientCancelHealthJobHeaders { - operationLocation?: string; +/** + * Defines values for InnerErrorCode. \ + * {@link KnownInnerErrorCode} can be used interchangeably with InnerErrorCode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **InvalidRequest** \ + * **InvalidParameterValue** \ + * **KnowledgeBaseNotFound** \ + * **AzureCognitiveSearchNotFound** \ + * **AzureCognitiveSearchThrottling** \ + * **ExtractionFailure** \ + * **InvalidRequestBodyFormat** \ + * **EmptyRequest** \ + * **MissingInputDocuments** \ + * **InvalidDocument** \ + * **ModelVersionIncorrect** \ + * **InvalidDocumentBatch** \ + * **UnsupportedLanguageCode** \ + * **InvalidCountryHint** + */ +export type InnerErrorCode = string; + +/** Known values of {@link AnalyzeTextLROTaskKind} that the service accepts. */ +export enum KnownAnalyzeTextLROTaskKind { + SentimentAnalysis = "SentimentAnalysis", + EntityRecognition = "EntityRecognition", + PiiEntityRecognition = "PiiEntityRecognition", + KeyPhraseExtraction = "KeyPhraseExtraction", + EntityLinking = "EntityLinking", + Healthcare = "Healthcare", + ExtractiveSummarization = "ExtractiveSummarization", + CustomEntityRecognition = "CustomEntityRecognition", + CustomSingleLabelClassification = "CustomSingleLabelClassification", + CustomMultiLabelClassification = "CustomMultiLabelClassification" } -/** Defines headers for GeneratedClient_health operation. */ -export interface GeneratedClientHealthHeaders { - operationLocation?: string; +/** + * Defines values for AnalyzeTextLROTaskKind. \ + * {@link KnownAnalyzeTextLROTaskKind} can be used interchangeably with AnalyzeTextLROTaskKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SentimentAnalysis** \ + * **EntityRecognition** \ + * **PiiEntityRecognition** \ + * **KeyPhraseExtraction** \ + * **EntityLinking** \ + * **Healthcare** \ + * **ExtractiveSummarization** \ + * **CustomEntityRecognition** \ + * **CustomSingleLabelClassification** \ + * **CustomMultiLabelClassification** + */ +export type AnalyzeTextLROTaskKind = string; + +/** Known values of {@link AnalyzeTextLROResultsKind} that the service accepts. */ +export enum KnownAnalyzeTextLROResultsKind { + SentimentAnalysisLROResults = "SentimentAnalysisLROResults", + EntityRecognitionLROResults = "EntityRecognitionLROResults", + PiiEntityRecognitionLROResults = "PiiEntityRecognitionLROResults", + KeyPhraseExtractionLROResults = "KeyPhraseExtractionLROResults", + EntityLinkingLROResults = "EntityLinkingLROResults", + HealthcareLROResults = "HealthcareLROResults", + ExtractiveSummarizationLROResults = "ExtractiveSummarizationLROResults", + CustomEntityRecognitionLROResults = "CustomEntityRecognitionLROResults", + CustomSingleLabelClassificationLROResults = "CustomSingleLabelClassificationLROResults", + CustomMultiLabelClassificationLROResults = "CustomMultiLabelClassificationLROResults" } +/** + * Defines values for AnalyzeTextLROResultsKind. \ + * {@link KnownAnalyzeTextLROResultsKind} can be used interchangeably with AnalyzeTextLROResultsKind, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **SentimentAnalysisLROResults** \ + * **EntityRecognitionLROResults** \ + * **PiiEntityRecognitionLROResults** \ + * **KeyPhraseExtractionLROResults** \ + * **EntityLinkingLROResults** \ + * **HealthcareLROResults** \ + * **ExtractiveSummarizationLROResults** \ + * **CustomEntityRecognitionLROResults** \ + * **CustomSingleLabelClassificationLROResults** \ + * **CustomMultiLabelClassificationLROResults** + */ +export type AnalyzeTextLROResultsKind = string; + /** Known values of {@link StringIndexType} that the service accepts. */ export enum KnownStringIndexType { /** 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. */ - TextElementV8 = "TextElement_v8", + TextElementsV8 = "TextElements_v8", /** 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. */ UnicodeCodePoint = "UnicodeCodePoint", /** 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. */ @@ -839,27 +1129,29 @@ export enum KnownStringIndexType { * {@link KnownStringIndexType} can be used interchangeably with StringIndexType, * this enum contains the known values that the service supports. * ### 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. \ + * **TextElements_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. */ export type StringIndexType = string; -/** Known values of {@link PiiTaskParametersDomain} that the service accepts. */ -export enum KnownPiiTaskParametersDomain { +/** Known values of {@link PiiDomain} that the service accepts. */ +export enum KnownPiiDomain { + /** Indicates that entities in the Personal Health Information domain should be redacted. */ Phi = "phi", + /** Indicates that no domain is specified. */ None = "none" } /** - * Defines values for PiiTaskParametersDomain. \ - * {@link KnownPiiTaskParametersDomain} can be used interchangeably with PiiTaskParametersDomain, + * Defines values for PiiDomain. \ + * {@link KnownPiiDomain} can be used interchangeably with PiiDomain, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **phi** \ - * **none** + * **phi**: Indicates that entities in the Personal Health Information domain should be redacted. \ + * **none**: Indicates that no domain is specified. */ -export type PiiTaskParametersDomain = string; +export type PiiDomain = string; /** Known values of {@link PiiCategory} that the service accepts. */ export enum KnownPiiCategory { @@ -1219,74 +1511,6 @@ export enum KnownPiiCategory { */ export type PiiCategory = string; -/** Known values of {@link ExtractiveSummarizationTaskParametersSortBy} that the service accepts. */ -export enum KnownExtractiveSummarizationTaskParametersSortBy { - Offset = "Offset", - Rank = "Rank" -} - -/** - * Defines values for ExtractiveSummarizationTaskParametersSortBy. \ - * {@link KnownExtractiveSummarizationTaskParametersSortBy} can be used interchangeably with ExtractiveSummarizationTaskParametersSortBy, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Offset** \ - * **Rank** - */ -export type ExtractiveSummarizationTaskParametersSortBy = string; - -/** Known values of {@link ErrorCodeValue} that the service accepts. */ -export 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 enum KnownInnerErrorCodeValue { - InvalidParameterValue = "InvalidParameterValue", - InvalidRequestBodyFormat = "InvalidRequestBodyFormat", - EmptyRequest = "EmptyRequest", - MissingInputRecords = "MissingInputRecords", - InvalidDocument = "InvalidDocument", - ModelVersionIncorrect = "ModelVersionIncorrect", - InvalidDocumentBatch = "InvalidDocumentBatch", - UnsupportedLanguageCode = "UnsupportedLanguageCode", - InvalidCountryHint = "InvalidCountryHint" -} - -/** - * Defines values for InnerErrorCodeValue. \ - * {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **InvalidParameterValue** \ - * **InvalidRequestBodyFormat** \ - * **EmptyRequest** \ - * **MissingInputRecords** \ - * **InvalidDocument** \ - * **ModelVersionIncorrect** \ - * **InvalidDocumentBatch** \ - * **UnsupportedLanguageCode** \ - * **InvalidCountryHint** - */ -export type InnerErrorCodeValue = string; - /** Known values of {@link WarningCode} that the service accepts. */ export enum KnownWarningCode { LongWordsInDocument = "LongWordsInDocument", @@ -1303,6 +1527,20 @@ export enum KnownWarningCode { */ export type WarningCode = string; +/** Known values of {@link FhirVersion} that the service accepts. */ +export enum KnownFhirVersion { + Four01 = "4.0.1" +} + +/** + * Defines values for FhirVersion. \ + * {@link KnownFhirVersion} can be used interchangeably with FhirVersion, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **4.0.1** + */ +export type FhirVersion = string; + /** Known values of {@link HealthcareEntityCategory} that the service accepts. */ export enum KnownHealthcareEntityCategory { BodyStructure = "BODY_STRUCTURE", @@ -1420,27 +1658,42 @@ export enum KnownRelationType { * **ValueOfExamination** */ export type RelationType = string; + +/** Known values of {@link ExtractiveSummarizationOrderingCriteria} that the service accepts. */ +export enum KnownExtractiveSummarizationOrderingCriteria { + /** Indicates that results should be sorted in order of appearance in the text. */ + Offset = "Offset", + /** Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. */ + Rank = "Rank" +} + +/** + * Defines values for ExtractiveSummarizationOrderingCriteria. \ + * {@link KnownExtractiveSummarizationOrderingCriteria} can be used interchangeably with ExtractiveSummarizationOrderingCriteria, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Offset**: Indicates that results should be sorted in order of appearance in the text. \ + * **Rank**: Indicates that results should be sorted in order of importance (i.e. rank score) according to the model. + */ +export type ExtractiveSummarizationOrderingCriteria = string; +/** Defines values for OperationStatus. */ +export type OperationStatus = + | "notStarted" + | "running" + | "succeeded" + | "partiallySucceeded" + | "failed" + | "cancelled" + | "cancelling"; /** Defines values for State. */ export type State = | "notStarted" | "running" | "succeeded" + | "partiallySucceeded" | "failed" - | "rejected" | "cancelled" | "cancelling"; -/** Defines values for DocumentSentimentLabel. */ -export type DocumentSentimentLabel = - | "positive" - | "neutral" - | "negative" - | "mixed"; -/** Defines values for SentenceSentimentLabel. */ -export type SentenceSentimentLabel = "positive" | "neutral" | "negative"; -/** Defines values for TokenSentimentValue. */ -export type TokenSentimentValue = "positive" | "mixed" | "negative"; -/** Defines values for TargetRelationType. */ -export type TargetRelationType = "assessment" | "target"; /** Defines values for Conditionality. */ export type Conditionality = "hypothetical" | "conditional"; /** Defines values for Certainty. */ @@ -1452,168 +1705,60 @@ export type Certainty = | "negative"; /** Defines values for Association. */ export type Association = "subject" | "other"; +/** Defines values for DocumentSentimentLabel. */ +export type DocumentSentimentLabel = + | "positive" + | "neutral" + | "negative" + | "mixed"; +/** Defines values for SentenceSentimentLabel. */ +export type SentenceSentimentLabel = "positive" | "neutral" | "negative"; +/** Defines values for TokenSentimentLabel. */ +export type TokenSentimentLabel = "positive" | "mixed" | "negative"; +/** Defines values for TargetRelationType. */ +export type TargetRelationType = "assessment" | "target"; /** Optional parameters. */ -export interface GeneratedClientAnalyzeOptionalParams - extends coreClient.OperationOptions { - /** Collection of documents to analyze and tasks to execute. */ - body?: AnalyzeBatchInput; +export interface AnalyzeOptionalParams extends coreClient.OperationOptions { + /** (Optional) if set to true, response will contain request and document level statistics. */ + includeStatistics?: boolean; } /** Contains response data for the analyze operation. */ -export type GeneratedClientAnalyzeResponse = GeneratedClientAnalyzeHeaders; +export type AnalyzeResponse = AnalyzeTextTaskResultUnion; /** Optional parameters. */ -export interface GeneratedClientAnalyzeStatusOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */ - top?: number; - /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */ - skip?: number; -} +export interface AnalyzeTextSubmitJobOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the analyzeStatus operation. */ -export type GeneratedClientAnalyzeStatusResponse = AnalyzeJobState; +/** Contains response data for the submitJob operation. */ +export type AnalyzeTextSubmitJobResponse = AnalyzeTextSubmitJobHeaders; /** Optional parameters. */ -export interface GeneratedClientHealthStatusOptionalParams +export interface AnalyzeTextJobStatusOptionalParams extends coreClient.OperationOptions { /** (Optional) if set to true, response will contain request and document level statistics. */ includeStatistics?: boolean; - /** (Optional) Set the maximum number of results per task. When both $top and $skip are specified, $skip is applied first. */ + /** The maximum number of resources to return from the collection. */ top?: number; - /** (Optional) Set the number of elements to offset in the response. When both $top and $skip are specified, $skip is applied first. */ + /** An offset into the collection of the first resource to be returned. */ skip?: number; } -/** Contains response data for the healthStatus operation. */ -export type GeneratedClientHealthStatusResponse = HealthcareJobState; +/** Contains response data for the jobStatus operation. */ +export type AnalyzeTextJobStatusResponse = AnalyzeTextJobState; /** Optional parameters. */ -export interface GeneratedClientCancelHealthJobOptionalParams +export interface AnalyzeTextCancelJobOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the cancelHealthJob operation. */ -export type GeneratedClientCancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders; - -/** Optional parameters. */ -export interface GeneratedClientHealthOptionalParams - extends coreClient.OperationOptions { - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */ - stringIndexType?: StringIndexType; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; -} - -/** Contains response data for the health operation. */ -export type GeneratedClientHealthResponse = GeneratedClientHealthHeaders; - -/** Optional parameters. */ -export interface GeneratedClientEntitiesRecognitionGeneralOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */ - stringIndexType?: StringIndexType; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; -} - -/** Contains response data for the entitiesRecognitionGeneral operation. */ -export type GeneratedClientEntitiesRecognitionGeneralResponse = EntitiesResult; - -/** Optional parameters. */ -export interface GeneratedClientEntitiesRecognitionPiiOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */ - stringIndexType?: StringIndexType; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; - /** (Optional) if specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'PHI', 'none'. */ - domain?: string; - /** (Optional) describes the PII categories to return */ - piiCategories?: PiiCategory[]; -} - -/** Contains response data for the entitiesRecognitionPii operation. */ -export type GeneratedClientEntitiesRecognitionPiiResponse = PiiResult; - -/** Optional parameters. */ -export interface GeneratedClientEntitiesLinkingOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */ - stringIndexType?: StringIndexType; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; -} - -/** Contains response data for the entitiesLinking operation. */ -export type GeneratedClientEntitiesLinkingResponse = EntityLinkingResult; - -/** Optional parameters. */ -export interface GeneratedClientKeyPhrasesOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; -} - -/** Contains response data for the keyPhrases operation. */ -export type GeneratedClientKeyPhrasesResponse = KeyPhraseResult; - -/** Optional parameters. */ -export interface GeneratedClientLanguagesOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; -} - -/** Contains response data for the languages operation. */ -export type GeneratedClientLanguagesResponse = LanguageResult; - -/** Optional parameters. */ -export interface GeneratedClientSentimentOptionalParams - extends coreClient.OperationOptions { - /** (Optional) if set to true, response will contain request and document level statistics. */ - includeStatistics?: boolean; - /** (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. */ - modelVersion?: string; - /** (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets */ - stringIndexType?: StringIndexType; - /** (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language processing functions. Setting this parameter to true, disables input logging and may limit our ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/en-us/ai/responsible-ai. */ - loggingOptOut?: boolean; - /** (Optional) if set to true, response will contain not only sentiment prediction but also opinion mining (aspect-based sentiment analysis) results. */ - opinionMining?: boolean; -} - -/** Contains response data for the sentiment operation. */ -export type GeneratedClientSentimentResponse = SentimentResponse; +/** Contains response data for the cancelJob operation. */ +export type AnalyzeTextCancelJobResponse = AnalyzeTextCancelJobHeaders; /** Optional parameters. */ export interface GeneratedClientOptionalParams extends coreClient.ServiceClientOptions { - /** Text Analytics API version (for example, v3.0). */ + /** Api Version */ 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 713b2c26ecfb..64381d91cb79 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts @@ -8,13 +8,19 @@ import * as coreClient from "@azure/core-client"; -export const JobDescriptor: coreClient.CompositeMapper = { +export const AnalyzeAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobDescriptor", + className: "AnalyzeAction", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, modelProperties: { - displayName: { - serializedName: "displayName", + kind: { + serializedName: "kind", + required: true, type: { name: "String" } @@ -23,198 +29,162 @@ export const JobDescriptor: coreClient.CompositeMapper = { } }; -export const AnalysisInput: coreClient.CompositeMapper = { +export const AnalyzeTextTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnalysisInput", + className: "AnalyzeTextTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, modelProperties: { - analysisInput: { - serializedName: "analysisInput", + kind: { + serializedName: "kind", + required: true, type: { - name: "Composite", - className: "MultiLanguageBatchInput" + name: "String" } } } } }; -export const MultiLanguageBatchInput: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "MultiLanguageBatchInput", + className: "ErrorResponse", modelProperties: { - documents: { - serializedName: "documents", - required: true, + error: { + serializedName: "error", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextDocumentInput" - } - } + name: "Composite", + className: "ErrorModel" } } } } }; -export const TextDocumentInput: coreClient.CompositeMapper = { +export const ErrorModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextDocumentInput", + className: "ErrorModel", + additionalProperties: { type: { name: "Object" } }, modelProperties: { - id: { - serializedName: "id", + code: { + serializedName: "code", required: true, type: { name: "String" } }, - text: { - serializedName: "text", + message: { + serializedName: "message", required: true, type: { name: "String" } }, - language: { - serializedName: "language", + target: { + serializedName: "target", type: { name: "String" } - } - } - } -}; - -export const JobManifest: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobManifest", - modelProperties: { - tasks: { - serializedName: "tasks", + }, + details: { + serializedName: "details", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorModel" + } + } + } + }, + innererror: { + serializedName: "innererror", type: { name: "Composite", - className: "JobManifestTasks" + className: "InnerErrorModel" } } } } }; -export const JobManifestTasks: coreClient.CompositeMapper = { +export const InnerErrorModel: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobManifestTasks", + className: "InnerErrorModel", modelProperties: { - entityRecognitionTasks: { - serializedName: "entityRecognitionTasks", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntitiesTask" - } - } - } - }, - entityRecognitionPiiTasks: { - serializedName: "entityRecognitionPiiTasks", + code: { + serializedName: "code", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PiiTask" - } - } + name: "String" } }, - keyPhraseExtractionTasks: { - serializedName: "keyPhraseExtractionTasks", + message: { + serializedName: "message", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "KeyPhrasesTask" - } - } + name: "String" } }, - entityLinkingTasks: { - serializedName: "entityLinkingTasks", + details: { + serializedName: "details", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EntityLinkingTask" - } - } + name: "Dictionary", + value: { type: { name: "String" } } } }, - sentimentAnalysisTasks: { - serializedName: "sentimentAnalysisTasks", + target: { + serializedName: "target", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SentimentAnalysisTask" - } - } + name: "String" } }, - extractiveSummarizationTasks: { - serializedName: "extractiveSummarizationTasks", + innererror: { + serializedName: "innererror", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExtractiveSummarizationTask" - } - } + name: "Composite", + className: "InnerErrorModel" } - }, - customEntityRecognitionTasks: { - serializedName: "customEntityRecognitionTasks", + } + } + } +}; + +export const AnalyzeTextJobsInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AnalyzeTextJobsInput", + modelProperties: { + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomEntitiesTask" - } - } + name: "String" } }, - customSingleClassificationTasks: { - serializedName: "customSingleClassificationTasks", + analysisInput: { + serializedName: "analysisInput", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomSingleClassificationTask" - } - } + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - customMultiClassificationTasks: { - serializedName: "customMultiClassificationTasks", + tasks: { + serializedName: "tasks", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "CustomMultiClassificationTask" + className: "AnalyzeBatchAction" } } } @@ -223,49 +193,48 @@ export const JobManifestTasks: coreClient.CompositeMapper = { } }; -export const EntitiesTask: coreClient.CompositeMapper = { +export const MultiLanguageAnalysisInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntitiesTask", + className: "MultiLanguageAnalysisInput", modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "EntitiesTaskParameters" - } - }, - taskName: { - serializedName: "taskName", + documents: { + serializedName: "documents", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TextDocumentInput" + } + } } } } } }; -export const EntitiesTaskParameters: coreClient.CompositeMapper = { +export const TextDocumentInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntitiesTaskParameters", + className: "TextDocumentInput", modelProperties: { - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", + id: { + serializedName: "id", + required: true, type: { name: "String" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + text: { + serializedName: "text", + required: true, type: { - name: "Boolean" + name: "String" } }, - stringIndexType: { - serializedName: "stringIndexType", + language: { + serializedName: "language", type: { name: "String" } @@ -274,19 +243,12 @@ export const EntitiesTaskParameters: coreClient.CompositeMapper = { } }; -export const PiiTask: coreClient.CompositeMapper = { +export const BatchActionState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PiiTask", + className: "BatchActionState", modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "PiiTaskParameters" - } - }, - taskName: { + actionName: { serializedName: "taskName", type: { name: "String" @@ -296,48 +258,74 @@ export const PiiTask: coreClient.CompositeMapper = { } }; -export const PiiTaskParameters: coreClient.CompositeMapper = { +export const JobState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PiiTaskParameters", + className: "JobState", modelProperties: { - domain: { - defaultValue: "none", - serializedName: "domain", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", + createdOn: { + serializedName: "createdDateTime", + required: true, type: { - name: "String" + name: "DateTime" } }, - loggingOptOut: { - defaultValue: true, - serializedName: "loggingOptOut", + expiresOn: { + serializedName: "expirationDateTime", type: { - name: "Boolean" + name: "DateTime" } }, - piiCategories: { - constraints: { - UniqueItems: true - }, - serializedName: "piiCategories", + operationId: { + serializedName: "jobId", + required: true, + type: { + name: "Uuid" + } + }, + lastModifiedOn: { + serializedName: "lastUpdateDateTime", + required: true, + type: { + name: "DateTime" + } + }, + status: { + serializedName: "status", + required: true, + type: { + name: "Enum", + allowedValues: [ + "notStarted", + "running", + "succeeded", + "partiallySucceeded", + "failed", + "cancelled", + "cancelling" + ] + } + }, + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "ErrorModel" } } } }, - stringIndexType: { - serializedName: "stringIndexType", + nextLink: { + serializedName: "nextLink", type: { name: "String" } @@ -346,217 +334,198 @@ export const PiiTaskParameters: coreClient.CompositeMapper = { } }; -export const KeyPhrasesTask: coreClient.CompositeMapper = { +export const TasksState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyPhrasesTask", + className: "TasksState", modelProperties: { - parameters: { - serializedName: "parameters", + tasks: { + serializedName: "tasks", type: { name: "Composite", - className: "KeyPhrasesTaskParameters" - } - }, - taskName: { - serializedName: "taskName", - type: { - name: "String" + className: "TasksStateTasks" } } } } }; -export const KeyPhrasesTaskParameters: coreClient.CompositeMapper = { +export const TasksStateTasks: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyPhrasesTaskParameters", + className: "TasksStateTasks", modelProperties: { - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", + completed: { + serializedName: "completed", + required: true, type: { - name: "String" + name: "Number" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + failed: { + serializedName: "failed", + required: true, type: { - name: "Boolean" + name: "Number" } - } - } - } -}; - -export const EntityLinkingTask: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "EntityLinkingTask", - modelProperties: { - parameters: { - serializedName: "parameters", + }, + inProgress: { + serializedName: "inProgress", + required: true, type: { - name: "Composite", - className: "EntityLinkingTaskParameters" + name: "Number" } }, - taskName: { - serializedName: "taskName", + total: { + serializedName: "total", + required: true, type: { - name: "String" + name: "Number" + } + }, + items: { + serializedName: "items", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AnalyzeTextLROResult" + } + } } } } } }; -export const EntityLinkingTaskParameters: coreClient.CompositeMapper = { +export const TaskState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityLinkingTaskParameters", + className: "TaskState", modelProperties: { - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", - type: { - name: "String" - } - }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + lastUpdateDateTime: { + serializedName: "lastUpdateDateTime", + required: true, type: { - name: "Boolean" + name: "DateTime" } }, - stringIndexType: { - serializedName: "stringIndexType", + status: { + serializedName: "status", + required: true, type: { - name: "String" + name: "Enum", + allowedValues: [ + "notStarted", + "running", + "succeeded", + "partiallySucceeded", + "failed", + "cancelled", + "cancelling" + ] } } } } }; -export const SentimentAnalysisTask: coreClient.CompositeMapper = { +export const AnalyzeTextJobStatistics: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SentimentAnalysisTask", + className: "AnalyzeTextJobStatistics", modelProperties: { - parameters: { - serializedName: "parameters", + statistics: { + serializedName: "statistics", type: { name: "Composite", - className: "SentimentAnalysisTaskParameters" - } - }, - taskName: { - serializedName: "taskName", - type: { - name: "String" + className: "TextDocumentBatchStatistics" } } } } }; -export const SentimentAnalysisTaskParameters: coreClient.CompositeMapper = { +export const TextDocumentBatchStatistics: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SentimentAnalysisTaskParameters", + className: "TextDocumentBatchStatistics", modelProperties: { - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", + documentCount: { + serializedName: "documentsCount", + required: true, type: { - name: "String" + name: "Number" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + validDocumentCount: { + serializedName: "validDocumentsCount", + required: true, type: { - name: "Boolean" + name: "Number" } }, - opinionMining: { - defaultValue: false, - serializedName: "opinionMining", + erroneousDocumentCount: { + serializedName: "erroneousDocumentsCount", + required: true, type: { - name: "Boolean" + name: "Number" } }, - stringIndexType: { - serializedName: "stringIndexType", + transactionCount: { + serializedName: "transactionsCount", + required: true, type: { - name: "String" + name: "Number" } } } } }; -export const ExtractiveSummarizationTask: coreClient.CompositeMapper = { +export const LanguageDetectionAnalysisInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractiveSummarizationTask", + className: "LanguageDetectionAnalysisInput", modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "ExtractiveSummarizationTaskParameters" - } - }, - taskName: { - serializedName: "taskName", + documents: { + serializedName: "documents", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LanguageDetectionInput" + } + } } } } } }; -export const ExtractiveSummarizationTaskParameters: coreClient.CompositeMapper = { +export const LanguageDetectionInput: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractiveSummarizationTaskParameters", + className: "LanguageDetectionInput", modelProperties: { - modelVersion: { - defaultValue: "latest", - serializedName: "model-version", + id: { + serializedName: "id", + required: true, type: { name: "String" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", - type: { - name: "Boolean" - } - }, - stringIndexType: { - serializedName: "stringIndexType", + text: { + serializedName: "text", + required: true, type: { name: "String" } }, - sentenceCount: { - defaultValue: 3, - serializedName: "sentenceCount", - type: { - name: "Number" - } - }, - sortBy: { - defaultValue: "Offset", - serializedName: "sortBy", + countryHint: { + serializedName: "countryHint", type: { name: "String" } @@ -565,56 +534,50 @@ export const ExtractiveSummarizationTaskParameters: coreClient.CompositeMapper = } }; -export const CustomEntitiesTask: coreClient.CompositeMapper = { +export const ActionCommon: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomEntitiesTask", + className: "ActionCommon", modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Composite", - className: "CustomEntitiesTaskParameters" - } - }, - taskName: { - serializedName: "taskName", + disableServiceLogs: { + defaultValue: false, + serializedName: "loggingOptOut", type: { - name: "String" + name: "Boolean" } } } } }; -export const CustomEntitiesTaskParameters: coreClient.CompositeMapper = { +export const PreBuiltResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomEntitiesTaskParameters", + className: "PreBuiltResult", modelProperties: { - projectName: { - serializedName: "project-name", - required: true, - type: { - name: "String" - } - }, - deploymentName: { - serializedName: "deployment-name", + errors: { + serializedName: "errors", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DocumentError" + } + } } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + statistics: { + serializedName: "statistics", type: { - name: "Boolean" + name: "Composite", + className: "TextDocumentBatchStatistics" } }, - stringIndexType: { - serializedName: "stringIndexType", + modelVersion: { + serializedName: "modelVersion", + required: true, type: { name: "String" } @@ -623,178 +586,162 @@ export const CustomEntitiesTaskParameters: coreClient.CompositeMapper = { } }; -export const CustomSingleClassificationTask: coreClient.CompositeMapper = { +export const DocumentError: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSingleClassificationTask", + className: "DocumentError", modelProperties: { - parameters: { - serializedName: "parameters", + id: { + serializedName: "id", + required: true, type: { - name: "Composite", - className: "CustomSingleClassificationTaskParameters" + name: "String" } }, - taskName: { - serializedName: "taskName", + error: { + serializedName: "error", type: { - name: "String" + name: "Composite", + className: "ErrorModel" } } } } }; -export const CustomSingleClassificationTaskParameters: coreClient.CompositeMapper = { +export const CustomResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSingleClassificationTaskParameters", + className: "CustomResult", modelProperties: { - projectName: { - serializedName: "project-name", + errors: { + serializedName: "errors", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DocumentError" + } + } } }, - deploymentName: { - serializedName: "deployment-name", + statistics: { + serializedName: "statistics", + type: { + name: "Composite", + className: "TextDocumentBatchStatistics" + } + }, + projectName: { + serializedName: "projectName", required: true, type: { name: "String" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + deploymentName: { + serializedName: "deploymentName", + required: true, type: { - name: "Boolean" + name: "String" } } } } }; -export const CustomMultiClassificationTask: coreClient.CompositeMapper = { +export const Entity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMultiClassificationTask", + className: "Entity", modelProperties: { - parameters: { - serializedName: "parameters", + text: { + serializedName: "text", + required: true, type: { - name: "Composite", - className: "CustomMultiClassificationTaskParameters" + name: "String" } }, - taskName: { - serializedName: "taskName", + category: { + serializedName: "category", + required: true, type: { name: "String" } - } - } - } -}; - -export const CustomMultiClassificationTaskParameters: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "CustomMultiClassificationTaskParameters", - modelProperties: { - projectName: { - serializedName: "project-name", - required: true, + }, + subCategory: { + serializedName: "subcategory", type: { name: "String" } }, - deploymentName: { - serializedName: "deployment-name", + offset: { + serializedName: "offset", required: true, type: { - name: "String" + name: "Number" } }, - loggingOptOut: { - defaultValue: false, - serializedName: "loggingOptOut", + length: { + serializedName: "length", + required: true, type: { - name: "Boolean" + name: "Number" } - } - } - } -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", + }, + confidenceScore: { + serializedName: "confidenceScore", + required: true, type: { - name: "Composite", - className: "TextAnalyticsError" + name: "Number" } } } } }; -export const TextAnalyticsError: coreClient.CompositeMapper = { +export const DocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextAnalyticsError", + className: "DocumentResult", modelProperties: { - code: { - serializedName: "code", + id: { + serializedName: "id", required: true, type: { name: "String" } }, - message: { - serializedName: "message", + warnings: { + serializedName: "warnings", required: true, - type: { - name: "String" - } - }, - target: { - serializedName: "target", - type: { - name: "String" - } - }, - innererror: { - serializedName: "innererror", - type: { - name: "Composite", - className: "InnerError" - } - }, - details: { - serializedName: "details", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TextAnalyticsError" + className: "DocumentWarning" } } } + }, + statistics: { + serializedName: "statistics", + type: { + name: "Composite", + className: "TextDocumentStatistics" + } } } } }; -export const InnerError: coreClient.CompositeMapper = { +export const DocumentWarning: coreClient.CompositeMapper = { type: { name: "Composite", - className: "InnerError", + className: "DocumentWarning", modelProperties: { code: { serializedName: "code", @@ -809,251 +756,212 @@ export const InnerError: coreClient.CompositeMapper = { type: { name: "String" } - }, - details: { - serializedName: "details", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - target: { - serializedName: "target", - type: { - name: "String" - } - }, - innererror: { - serializedName: "innererror", - type: { - name: "Composite", - className: "InnerError" - } } } } }; -export const JobMetadata: coreClient.CompositeMapper = { +export const TextDocumentStatistics: coreClient.CompositeMapper = { type: { name: "Composite", - className: "JobMetadata", + className: "TextDocumentStatistics", modelProperties: { - createdDateTime: { - serializedName: "createdDateTime", - required: true, - type: { - name: "DateTime" - } - }, - expirationDateTime: { - serializedName: "expirationDateTime", - type: { - name: "DateTime" - } - }, - jobId: { - serializedName: "jobId", - required: true, - type: { - name: "Uuid" - } - }, - lastUpdateDateTime: { - serializedName: "lastUpdateDateTime", + characterCount: { + serializedName: "charactersCount", required: true, type: { - name: "DateTime" + name: "Number" } }, - status: { - serializedName: "status", + transactionCount: { + serializedName: "transactionsCount", required: true, type: { - name: "Enum", - allowedValues: [ - "notStarted", - "running", - "succeeded", - "failed", - "rejected", - "cancelled", - "cancelling" - ] + name: "Number" } } } } }; -export const AnalyzeJobDisplayName: coreClient.CompositeMapper = { +export const ClassificationCategory: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnalyzeJobDisplayName", + className: "ClassificationCategory", modelProperties: { - displayName: { - serializedName: "displayName", + category: { + serializedName: "category", + required: true, type: { name: "String" } - } - } - } -}; - -export const TasksState: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TasksState", - modelProperties: { - tasks: { - serializedName: "tasks", + }, + confidenceScore: { + serializedName: "confidenceScore", + required: true, type: { - name: "Composite", - className: "TasksStateTasks" + name: "Number" } } } } }; -export const TasksStateTasks: coreClient.CompositeMapper = { +export const HealthcareEntity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasks", + className: "HealthcareEntity", modelProperties: { - completed: { - serializedName: "completed", + text: { + serializedName: "text", required: true, type: { - name: "Number" + name: "String" } }, - failed: { - serializedName: "failed", + category: { + serializedName: "category", required: true, type: { - name: "Number" + name: "String" } }, - inProgress: { - serializedName: "inProgress", + subCategory: { + serializedName: "subcategory", + type: { + name: "String" + } + }, + offset: { + serializedName: "offset", required: true, type: { name: "Number" } }, - total: { - serializedName: "total", + length: { + serializedName: "length", required: true, type: { name: "Number" } }, - entityRecognitionTasks: { - serializedName: "entityRecognitionTasks", + confidenceScore: { + serializedName: "confidenceScore", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksEntityRecognitionTasksItem" - } - } + name: "Number" } }, - entityRecognitionPiiTasks: { - serializedName: "entityRecognitionPiiTasks", + assertion: { + serializedName: "assertion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksEntityRecognitionPiiTasksItem" - } - } + name: "Composite", + className: "HealthcareAssertion" } }, - keyPhraseExtractionTasks: { - serializedName: "keyPhraseExtractionTasks", + normalizedText: { + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksKeyPhraseExtractionTasksItem" - } - } + name: "String" } }, - entityLinkingTasks: { - serializedName: "entityLinkingTasks", + dataSources: { + serializedName: "links", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TasksStateTasksEntityLinkingTasksItem" + className: "EntityDataSource" } } } - }, - sentimentAnalysisTasks: { - serializedName: "sentimentAnalysisTasks", + } + } + } +}; + +export const HealthcareAssertion: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareAssertion", + modelProperties: { + conditionality: { + serializedName: "conditionality", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksSentimentAnalysisTasksItem" - } - } + name: "Enum", + allowedValues: ["hypothetical", "conditional"] } }, - extractiveSummarizationTasks: { - serializedName: "extractiveSummarizationTasks", + certainty: { + serializedName: "certainty", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksExtractiveSummarizationTasksItem" - } - } + name: "Enum", + allowedValues: [ + "positive", + "positivePossible", + "neutralPossible", + "negativePossible", + "negative" + ] } }, - customEntityRecognitionTasks: { - serializedName: "customEntityRecognitionTasks", + association: { + serializedName: "association", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksCustomEntityRecognitionTasksItem" - } - } + name: "Enum", + allowedValues: ["subject", "other"] + } + } + } + } +}; + +export const EntityDataSource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntityDataSource", + modelProperties: { + name: { + serializedName: "dataSource", + required: true, + type: { + name: "String" } }, - customSingleClassificationTasks: { - serializedName: "customSingleClassificationTasks", + entityId: { + serializedName: "id", + required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TasksStateTasksCustomSingleClassificationTasksItem" - } - } + name: "String" + } + } + } + } +}; + +export const HealthcareRelation: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareRelation", + modelProperties: { + relationType: { + serializedName: "relationType", + required: true, + type: { + name: "String" } }, - customMultiClassificationTasks: { - serializedName: "customMultiClassificationTasks", + entities: { + serializedName: "entities", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "TasksStateTasksCustomMultiClassificationTasksItem" + className: "HealthcareRelationEntity" } } } @@ -1062,182 +970,146 @@ export const TasksStateTasks: coreClient.CompositeMapper = { } }; -export const TaskState: coreClient.CompositeMapper = { +export const HealthcareRelationEntity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TaskState", + className: "HealthcareRelationEntity", modelProperties: { - lastUpdateDateTime: { - serializedName: "lastUpdateDateTime", - required: true, - type: { - name: "DateTime" - } - }, - taskName: { - serializedName: "taskName", + ref: { + serializedName: "ref", required: true, type: { name: "String" } }, - status: { - serializedName: "status", + role: { + serializedName: "role", required: true, type: { - name: "Enum", - allowedValues: [ - "notStarted", - "running", - "succeeded", - "failed", - "rejected", - "cancelled", - "cancelling" - ] + name: "String" } } } } }; -export const EntitiesTaskResult: coreClient.CompositeMapper = { +export const SentimentConfidenceScores: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntitiesTaskResult", + className: "SentimentConfidenceScores", modelProperties: { - results: { - serializedName: "results", + positive: { + serializedName: "positive", + required: true, type: { - name: "Composite", - className: "EntitiesResult" + name: "Number" + } + }, + neutral: { + serializedName: "neutral", + required: true, + type: { + name: "Number" + } + }, + negative: { + serializedName: "negative", + required: true, + type: { + name: "Number" } } } } }; -export const EntitiesResult: coreClient.CompositeMapper = { +export const SentenceSentiment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntitiesResult", + className: "SentenceSentiment", modelProperties: { - documents: { - serializedName: "documents", + text: { + serializedName: "text", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentEntities" - } - } + name: "String" } }, - errors: { - serializedName: "errors", + sentiment: { + serializedName: "sentiment", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } + name: "Enum", + allowedValues: ["positive", "neutral", "negative"] } }, - statistics: { - serializedName: "statistics", + confidenceScores: { + serializedName: "confidenceScores", type: { name: "Composite", - className: "TextDocumentBatchStatistics" + className: "SentimentConfidenceScores" } }, - modelVersion: { - serializedName: "modelVersion", + offset: { + serializedName: "offset", required: true, type: { - name: "String" + name: "Number" } - } - } - } -}; - -export const DocumentEntities: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DocumentEntities", - modelProperties: { - id: { - serializedName: "id", + }, + length: { + serializedName: "length", required: true, type: { - name: "String" + name: "Number" } }, - entities: { - serializedName: "entities", - required: true, + targets: { + serializedName: "targets", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Entity" + className: "SentenceTarget" } } } }, - warnings: { - serializedName: "warnings", - required: true, + assessments: { + serializedName: "assessments", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TextAnalyticsWarning" + className: "AssessmentSentiment" } } } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" - } } } } }; -export const Entity: coreClient.CompositeMapper = { +export const SentenceTarget: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Entity", + className: "SentenceTarget", modelProperties: { - text: { - serializedName: "text", - required: true, - type: { - name: "String" - } - }, - category: { - serializedName: "category", + sentiment: { + serializedName: "sentiment", required: true, type: { - name: "String" + name: "Enum", + allowedValues: ["positive", "mixed", "negative"] } }, - subCategory: { - serializedName: "subcategory", + confidenceScores: { + serializedName: "confidenceScores", type: { - name: "String" + name: "Composite", + className: "TargetConfidenceScores" } }, offset: { @@ -1254,564 +1126,545 @@ export const Entity: coreClient.CompositeMapper = { name: "Number" } }, - confidenceScore: { - serializedName: "confidenceScore", + text: { + serializedName: "text", required: true, type: { - name: "Number" + name: "String" + } + }, + relations: { + serializedName: "relations", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TargetRelation" + } + } } } } } }; -export const TextAnalyticsWarning: coreClient.CompositeMapper = { +export const TargetConfidenceScores: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextAnalyticsWarning", + className: "TargetConfidenceScores", modelProperties: { - code: { - serializedName: "code", + positive: { + serializedName: "positive", required: true, type: { - name: "String" + name: "Number" } }, - message: { - serializedName: "message", + negative: { + serializedName: "negative", required: true, type: { - name: "String" + name: "Number" } } } } }; -export const TextDocumentStatistics: coreClient.CompositeMapper = { +export const TargetRelation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TextDocumentStatistics", + className: "TargetRelation", modelProperties: { - characterCount: { - serializedName: "charactersCount", + relationType: { + serializedName: "relationType", required: true, type: { - name: "Number" + name: "Enum", + allowedValues: ["assessment", "target"] } }, - transactionCount: { - serializedName: "transactionsCount", + ref: { + serializedName: "ref", required: true, type: { - name: "Number" + name: "String" } } } } }; -export const DocumentError: coreClient.CompositeMapper = { +export const AssessmentSentiment: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DocumentError", + className: "AssessmentSentiment", modelProperties: { - id: { - serializedName: "id", - required: true, + sentiment: { + serializedName: "sentiment", + required: true, type: { - name: "String" + name: "Enum", + allowedValues: ["positive", "mixed", "negative"] } }, - error: { - serializedName: "error", + confidenceScores: { + serializedName: "confidenceScores", type: { name: "Composite", - className: "TextAnalyticsError" + className: "TargetConfidenceScores" } - } - } - } -}; - -export const TextDocumentBatchStatistics: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TextDocumentBatchStatistics", - modelProperties: { - documentCount: { - serializedName: "documentsCount", + }, + offset: { + serializedName: "offset", required: true, type: { name: "Number" } }, - validDocumentCount: { - serializedName: "validDocumentsCount", + length: { + serializedName: "length", required: true, type: { name: "Number" } }, - erroneousDocumentCount: { - serializedName: "erroneousDocumentsCount", + text: { + serializedName: "text", required: true, type: { - name: "Number" + name: "String" } }, - transactionCount: { - serializedName: "transactionsCount", + isNegated: { + serializedName: "isNegated", required: true, type: { - name: "Number" + name: "Boolean" } } } } }; -export const PiiTaskResult: coreClient.CompositeMapper = { +export const LinkedEntity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PiiTaskResult", + className: "LinkedEntity", modelProperties: { - results: { - serializedName: "results", + name: { + serializedName: "name", + required: true, type: { - name: "Composite", - className: "PiiResult" + name: "String" } - } - } - } -}; - -export const PiiResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PiiResult", - modelProperties: { - documents: { - serializedName: "documents", + }, + matches: { + serializedName: "matches", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "PiiDocumentEntities" + className: "Match" } } } }, - errors: { - serializedName: "errors", + language: { + serializedName: "language", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } + name: "String" } }, - statistics: { - serializedName: "statistics", + dataSourceEntityId: { + serializedName: "id", type: { - name: "Composite", - className: "TextDocumentBatchStatistics" + name: "String" } }, - modelVersion: { - serializedName: "modelVersion", + url: { + serializedName: "url", + required: true, + type: { + name: "String" + } + }, + dataSource: { + serializedName: "dataSource", required: true, type: { name: "String" } + }, + bingEntitySearchApiId: { + serializedName: "bingId", + type: { + name: "String" + } } } } }; -export const PiiDocumentEntities: coreClient.CompositeMapper = { +export const Match: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PiiDocumentEntities", + className: "Match", modelProperties: { - id: { - serializedName: "id", + confidenceScore: { + serializedName: "confidenceScore", required: true, type: { - name: "String" + name: "Number" } }, - redactedText: { - serializedName: "redactedText", + text: { + serializedName: "text", required: true, type: { name: "String" } }, - entities: { - serializedName: "entities", + offset: { + serializedName: "offset", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Entity" - } - } + name: "Number" } }, - warnings: { - serializedName: "warnings", + length: { + serializedName: "length", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } - } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" - } - } - } - } -}; - -export const KeyPhraseTaskResult: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "KeyPhraseTaskResult", - modelProperties: { - results: { - serializedName: "results", - type: { - name: "Composite", - className: "KeyPhraseResult" + name: "Number" } } } } }; -export const KeyPhraseResult: coreClient.CompositeMapper = { +export const SummarySentence: coreClient.CompositeMapper = { type: { name: "Composite", - className: "KeyPhraseResult", + className: "SummarySentence", modelProperties: { - documents: { - serializedName: "documents", + text: { + serializedName: "text", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentKeyPhrases" - } - } + name: "String" } }, - errors: { - serializedName: "errors", + rankScore: { + serializedName: "rankScore", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } + name: "Number" } }, - statistics: { - serializedName: "statistics", + offset: { + serializedName: "offset", + required: true, type: { - name: "Composite", - className: "TextDocumentBatchStatistics" + name: "Number" } }, - modelVersion: { - serializedName: "modelVersion", + length: { + serializedName: "length", required: true, type: { - name: "String" + name: "Number" } } } } }; -export const DocumentKeyPhrases: coreClient.CompositeMapper = { +export const DetectedLanguage: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DocumentKeyPhrases", + className: "DetectedLanguage", modelProperties: { - id: { - serializedName: "id", + name: { + serializedName: "name", required: true, type: { name: "String" } }, - keyPhrases: { - serializedName: "keyPhrases", + iso6391Name: { + serializedName: "iso6391Name", required: true, type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - warnings: { - serializedName: "warnings", + confidenceScore: { + serializedName: "confidenceScore", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } - } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" + name: "Number" } } } } }; -export const EntityLinkingTaskResult: coreClient.CompositeMapper = { +export const Pagination: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityLinkingTaskResult", + className: "Pagination", modelProperties: { - results: { - serializedName: "results", + nextLink: { + serializedName: "nextLink", type: { - name: "Composite", - className: "EntityLinkingResult" + name: "String" } } } } }; -export const EntityLinkingResult: coreClient.CompositeMapper = { +export const JobMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EntityLinkingResult", + className: "JobMetadata", modelProperties: { - documents: { - serializedName: "documents", - required: true, + displayName: { + serializedName: "displayName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentLinkedEntities" - } - } + name: "String" } }, - errors: { - serializedName: "errors", + createdDateTime: { + serializedName: "createdDateTime", required: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } + name: "DateTime" } }, - statistics: { - serializedName: "statistics", + expirationDateTime: { + serializedName: "expirationDateTime", type: { - name: "Composite", - className: "TextDocumentBatchStatistics" + name: "DateTime" } }, - modelVersion: { - serializedName: "modelVersion", + jobId: { + serializedName: "jobId", required: true, type: { - name: "String" + name: "Uuid" + } + }, + lastUpdateDateTime: { + serializedName: "lastUpdateDateTime", + required: true, + type: { + name: "DateTime" + } + }, + status: { + serializedName: "status", + required: true, + type: { + name: "Enum", + allowedValues: [ + "notStarted", + "running", + "succeeded", + "partiallySucceeded", + "failed", + "cancelled", + "cancelling" + ] } } } } }; -export const DocumentLinkedEntities: coreClient.CompositeMapper = { +export const JobErrors: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DocumentLinkedEntities", + className: "JobErrors", modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - entities: { - serializedName: "entities", - required: true, + errors: { + serializedName: "errors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "LinkedEntity" + className: "ErrorModel" } } } - }, - warnings: { - serializedName: "warnings", - required: true, + } + } + } +}; + +export const AnalyzeTextEntityLinkingInput: coreClient.CompositeMapper = { + serializedName: "EntityLinking", + type: { + name: "Composite", + className: "AnalyzeTextEntityLinkingInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - statistics: { - serializedName: "statistics", + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "TextDocumentStatistics" + className: "EntityLinkingAction" } } } } }; -export const LinkedEntity: coreClient.CompositeMapper = { +export const AnalyzeTextEntityRecognitionInput: coreClient.CompositeMapper = { + serializedName: "EntityRecognition", type: { name: "Composite", - className: "LinkedEntity", + className: "AnalyzeTextEntityRecognitionInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, modelProperties: { - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - }, - matches: { - serializedName: "matches", - required: true, + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Match" - } - } + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - language: { - serializedName: "language", - required: true, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "EntityRecognitionAction" } - }, - dataSourceEntityId: { - serializedName: "id", + } + } + } +}; + +export const AnalyzeTextKeyPhraseExtractionInput: coreClient.CompositeMapper = { + serializedName: "KeyPhraseExtraction", + type: { + name: "Composite", + className: "AnalyzeTextKeyPhraseExtractionInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "String" + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - url: { - serializedName: "url", - required: true, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "KeyPhraseExtractionAction" } - }, - dataSource: { - serializedName: "dataSource", - required: true, + } + } + } +}; + +export const AnalyzeTextPiiEntitiesRecognitionInput: coreClient.CompositeMapper = { + serializedName: "PiiEntityRecognition", + type: { + name: "Composite", + className: "AnalyzeTextPiiEntitiesRecognitionInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "String" + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - bingEntitySearchApiId: { - serializedName: "bingId", + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "PiiEntityRecognitionAction" } } } } }; -export const Match: coreClient.CompositeMapper = { +export const AnalyzeTextLanguageDetectionInput: coreClient.CompositeMapper = { + serializedName: "LanguageDetection", type: { name: "Composite", - className: "Match", + className: "AnalyzeTextLanguageDetectionInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, modelProperties: { - confidenceScore: { - serializedName: "confidenceScore", - required: true, + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "Number" + name: "Composite", + className: "LanguageDetectionAnalysisInput" } }, - text: { - serializedName: "text", - required: true, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "LanguageDetectionAction" } - }, - offset: { - serializedName: "offset", - required: true, + } + } + } +}; + +export const AnalyzeTextSentimentAnalysisInput: coreClient.CompositeMapper = { + serializedName: "SentimentAnalysis", + type: { + name: "Composite", + className: "AnalyzeTextSentimentAnalysisInput", + uberParent: "AnalyzeAction", + polymorphicDiscriminator: AnalyzeAction.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeAction.type.modelProperties, + analysisInput: { + serializedName: "analysisInput", type: { - name: "Number" + name: "Composite", + className: "MultiLanguageAnalysisInput" } }, - length: { - serializedName: "length", - required: true, + parameters: { + serializedName: "parameters", type: { - name: "Number" + name: "Composite", + className: "SentimentAnalysisAction" } } } @@ -1819,10 +1672,15 @@ export const Match: coreClient.CompositeMapper = { }; export const SentimentTaskResult: coreClient.CompositeMapper = { + serializedName: "SentimentAnalysisResults", type: { name: "Composite", className: "SentimentTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { + ...AnalyzeTextTaskResult.type.modelProperties, results: { serializedName: "results", type: { @@ -1834,315 +1692,179 @@ export const SentimentTaskResult: coreClient.CompositeMapper = { } }; -export const SentimentResponse: coreClient.CompositeMapper = { +export const EntitiesTaskResult: coreClient.CompositeMapper = { + serializedName: "EntityRecognitionResults", type: { name: "Composite", - className: "SentimentResponse", + className: "EntitiesTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { - documents: { - serializedName: "documents", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentSentiment" - } - } - } - }, - errors: { - serializedName: "errors", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } - } - }, - statistics: { - serializedName: "statistics", + ...AnalyzeTextTaskResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - modelVersion: { - serializedName: "modelVersion", - required: true, - type: { - name: "String" + className: "EntitiesResult" } } } } }; -export const DocumentSentiment: coreClient.CompositeMapper = { +export const EntityLinkingTaskResult: coreClient.CompositeMapper = { + serializedName: "EntityLinkingResults", type: { name: "Composite", - className: "DocumentSentiment", + className: "EntityLinkingTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - sentiment: { - serializedName: "sentiment", - required: true, - type: { - name: "Enum", - allowedValues: ["positive", "neutral", "negative", "mixed"] - } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" - } - }, - confidenceScores: { - serializedName: "confidenceScores", + ...AnalyzeTextTaskResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "SentimentConfidenceScores" - } - }, - sentenceSentiments: { - serializedName: "sentences", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SentenceSentiment" - } - } - } - }, - warnings: { - serializedName: "warnings", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } + className: "EntityLinkingResult" } } } } }; -export const SentimentConfidenceScores: coreClient.CompositeMapper = { +export const PiiTaskResult: coreClient.CompositeMapper = { + serializedName: "PiiEntityRecognitionResults", type: { name: "Composite", - className: "SentimentConfidenceScores", + className: "PiiTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { - positive: { - serializedName: "positive", - required: true, - type: { - name: "Number" - } - }, - neutral: { - serializedName: "neutral", - required: true, - type: { - name: "Number" - } - }, - negative: { - serializedName: "negative", - required: true, + ...AnalyzeTextTaskResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "Number" + name: "Composite", + className: "PiiResult" } } } } }; -export const SentenceSentiment: coreClient.CompositeMapper = { +export const KeyPhraseTaskResult: coreClient.CompositeMapper = { + serializedName: "KeyPhraseExtractionResults", type: { name: "Composite", - className: "SentenceSentiment", + className: "KeyPhraseTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { - text: { - serializedName: "text", - required: true, - type: { - name: "String" - } - }, - sentiment: { - serializedName: "sentiment", - required: true, - type: { - name: "Enum", - allowedValues: ["positive", "neutral", "negative"] - } - }, - confidenceScores: { - serializedName: "confidenceScores", + ...AnalyzeTextTaskResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "SentimentConfidenceScores" - } - }, - offset: { - serializedName: "offset", - required: true, - type: { - name: "Number" - } - }, - length: { - serializedName: "length", - required: true, - type: { - name: "Number" - } - }, - targets: { - serializedName: "targets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SentenceTarget" - } - } - } - }, - assessments: { - serializedName: "assessments", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SentenceAssessment" - } - } + className: "KeyPhraseResult" } } } } }; -export const SentenceTarget: coreClient.CompositeMapper = { +export const LanguageDetectionTaskResult: coreClient.CompositeMapper = { + serializedName: "LanguageDetectionResults", type: { name: "Composite", - className: "SentenceTarget", + className: "LanguageDetectionTaskResult", + uberParent: "AnalyzeTextTaskResult", + polymorphicDiscriminator: + AnalyzeTextTaskResult.type.polymorphicDiscriminator, modelProperties: { - sentiment: { - serializedName: "sentiment", - required: true, - type: { - name: "Enum", - allowedValues: ["positive", "mixed", "negative"] - } - }, - confidenceScores: { - serializedName: "confidenceScores", + ...AnalyzeTextTaskResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "TargetConfidenceScoreLabel" + className: "LanguageDetectionResult" } - }, - offset: { - serializedName: "offset", - required: true, - type: { - name: "Number" - } - }, - length: { - serializedName: "length", - required: true, - type: { - name: "Number" - } - }, - text: { - serializedName: "text", + } + } + } +}; + +export const AnalyzeBatchAction: coreClient.CompositeMapper = { + serializedName: "AnalyzeBatchAction", + type: { + name: "Composite", + className: "AnalyzeBatchAction", + uberParent: "BatchActionState", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + modelProperties: { + ...BatchActionState.type.modelProperties, + kind: { + serializedName: "kind", required: true, type: { name: "String" } - }, - relations: { - serializedName: "relations", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TargetRelation" - } - } - } } } } }; -export const TargetConfidenceScoreLabel: coreClient.CompositeMapper = { +export const AnalyzeTextLROResult: coreClient.CompositeMapper = { + serializedName: "AnalyzeTextLROResult", type: { name: "Composite", - className: "TargetConfidenceScoreLabel", + className: "AnalyzeTextLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, modelProperties: { - positive: { - serializedName: "positive", - required: true, - type: { - name: "Number" - } - }, - negative: { - serializedName: "negative", + ...TaskState.type.modelProperties, + ...BatchActionState.type.modelProperties, + kind: { + serializedName: "kind", required: true, type: { - name: "Number" + name: "String" } } } } }; -export const TargetRelation: coreClient.CompositeMapper = { +export const AnalyzeTextJobState: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TargetRelation", + className: "AnalyzeTextJobState", modelProperties: { - relationType: { - serializedName: "relationType", - required: true, - type: { - name: "Enum", - allowedValues: ["assessment", "target"] - } - }, - ref: { - serializedName: "ref", - required: true, + ...JobState.type.modelProperties, + ...TasksState.type.modelProperties, + ...AnalyzeTextJobStatistics.type.modelProperties + } + } +}; + +export const ActionPrebuilt: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ActionPrebuilt", + modelProperties: { + ...ActionCommon.type.modelProperties, + modelVersion: { + defaultValue: "latest", + serializedName: "modelVersion", type: { name: "String" } @@ -2151,79 +1873,59 @@ export const TargetRelation: coreClient.CompositeMapper = { } }; -export const SentenceAssessment: coreClient.CompositeMapper = { +export const ActionCustom: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SentenceAssessment", + className: "ActionCustom", modelProperties: { - sentiment: { - serializedName: "sentiment", - required: true, - type: { - name: "Enum", - allowedValues: ["positive", "mixed", "negative"] - } - }, - confidenceScores: { - serializedName: "confidenceScores", - type: { - name: "Composite", - className: "TargetConfidenceScoreLabel" - } - }, - offset: { - serializedName: "offset", - required: true, - type: { - name: "Number" - } - }, - length: { - serializedName: "length", - required: true, - type: { - name: "Number" - } - }, - text: { - serializedName: "text", + ...ActionCommon.type.modelProperties, + projectName: { + serializedName: "projectName", required: true, type: { name: "String" } }, - isNegated: { - serializedName: "isNegated", + deploymentName: { + serializedName: "deploymentName", required: true, type: { - name: "Boolean" + name: "String" } } } } }; -export const ExtractiveSummarizationTaskResult: coreClient.CompositeMapper = { +export const HealthcareResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractiveSummarizationTaskResult", + className: "HealthcareResult", modelProperties: { - results: { - serializedName: "results", + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", + required: true, type: { - name: "Composite", - className: "ExtractiveSummarizationResult" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthcareResultDocumentsItem" + } + } } } } } }; -export const ExtractiveSummarizationResult: coreClient.CompositeMapper = { +export const SentimentResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractiveSummarizationResult", + className: "SentimentResponse", modelProperties: { + ...PreBuiltResult.type.modelProperties, documents: { serializedName: "documents", required: true, @@ -2232,149 +1934,205 @@ export const ExtractiveSummarizationResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ExtractedDocumentSummary" + className: "SentimentResponseDocumentsItem" } } } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const EntitiesResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntitiesResult", + modelProperties: { + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DocumentError" + className: "EntitiesResultDocumentsItem" } } } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - modelVersion: { - serializedName: "modelVersion", - required: true, - type: { - name: "String" - } } } } }; -export const ExtractedDocumentSummary: coreClient.CompositeMapper = { +export const EntityLinkingResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractedDocumentSummary", + className: "EntityLinkingResult", modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - sentences: { - serializedName: "sentences", + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ExtractedSummarySentence" + className: "EntityLinkingResultDocumentsItem" } } } - }, - warnings: { - serializedName: "warnings", + } + } + } +}; + +export const PiiResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PiiResult", + modelProperties: { + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "TextAnalyticsWarning" + className: "PiiResultDocumentsItem" } } } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" - } } } } }; -export const ExtractedSummarySentence: coreClient.CompositeMapper = { +export const ExtractiveSummarizationResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtractedSummarySentence", + className: "ExtractiveSummarizationResult", modelProperties: { - text: { - serializedName: "text", + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExtractiveSummarizationResultDocumentsItem" + } + } } - }, - rankScore: { - serializedName: "rankScore", + } + } + } +}; + +export const KeyPhraseResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "KeyPhraseResult", + modelProperties: { + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "KeyPhraseResultDocumentsItem" + } + } } - }, - offset: { - serializedName: "offset", + } + } + } +}; + +export const LanguageDetectionResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LanguageDetectionResult", + modelProperties: { + ...PreBuiltResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LanguageDetectionDocumentResult" + } + } } - }, - length: { - serializedName: "length", + } + } + } +}; + +export const CustomEntitiesResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CustomEntitiesResult", + modelProperties: { + ...CustomResult.type.modelProperties, + documents: { + serializedName: "documents", required: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomEntitiesResultDocumentsItem" + } + } } } } } }; -export const CustomEntitiesTaskResult: coreClient.CompositeMapper = { +export const CustomSingleLabelClassificationResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomEntitiesTaskResult", + className: "CustomSingleLabelClassificationResult", modelProperties: { - results: { - serializedName: "results", + ...CustomResult.type.modelProperties, + documents: { + serializedName: "documents", + required: true, type: { - name: "Composite", - className: "CustomEntitiesResult" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomSingleLabelClassificationResultDocumentsItem" + } + } } } } } }; -export const CustomEntitiesResult: coreClient.CompositeMapper = { +export const CustomMultiLabelClassificationResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomEntitiesResult", + className: "CustomMultiLabelClassificationResult", modelProperties: { + ...CustomResult.type.modelProperties, documents: { serializedName: "documents", required: true, @@ -2383,677 +2141,683 @@ export const CustomEntitiesResult: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "DocumentEntities" + className: "CustomMultiLabelClassificationResultDocumentsItem" } } } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const EntitiesDocumentResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "EntitiesDocumentResult", + modelProperties: { + ...DocumentResult.type.modelProperties, + entities: { + serializedName: "entities", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DocumentError" + className: "Entity" } } } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - projectName: { - serializedName: "projectName", - required: true, - type: { - name: "String" - } - }, - deploymentName: { - serializedName: "deploymentName", - required: true, - type: { - name: "String" - } } } } }; -export const CustomSingleClassificationTaskResult: coreClient.CompositeMapper = { +export const SingleClassificationDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSingleClassificationTaskResult", + className: "SingleClassificationDocumentResult", modelProperties: { - results: { - serializedName: "results", + ...DocumentResult.type.modelProperties, + classification: { + serializedName: "class", type: { name: "Composite", - className: "CustomSingleClassificationResult" + className: "ClassificationCategory" } } } } }; -export const CustomSingleClassificationResult: coreClient.CompositeMapper = { +export const MultiClassificationDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomSingleClassificationResult", + className: "MultiClassificationDocumentResult", modelProperties: { - documents: { - serializedName: "documents", + ...DocumentResult.type.modelProperties, + classifications: { + serializedName: "class", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "SingleClassificationDocument" + className: "ClassificationCategory" } } } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const HealthcareEntitiesDocumentResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareEntitiesDocumentResult", + modelProperties: { + ...DocumentResult.type.modelProperties, + entities: { + serializedName: "entities", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DocumentError" + className: "HealthcareEntity" } } } }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - projectName: { - serializedName: "projectName", + relations: { + serializedName: "relations", required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthcareRelation" + } + } } }, - deploymentName: { - serializedName: "deploymentName", - required: true, + fhirBundle: { + serializedName: "fhirBundle", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const SingleClassificationDocument: coreClient.CompositeMapper = { +export const SentimentDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SingleClassificationDocument", + className: "SentimentDocumentResult", modelProperties: { - id: { - serializedName: "id", + ...DocumentResult.type.modelProperties, + sentiment: { + serializedName: "sentiment", required: true, type: { - name: "String" + name: "Enum", + allowedValues: ["positive", "neutral", "negative", "mixed"] } }, - classification: { - serializedName: "classification", + confidenceScores: { + serializedName: "confidenceScores", type: { name: "Composite", - className: "ClassificationResult" + className: "SentimentConfidenceScores" } }, - warnings: { - serializedName: "warnings", + sentences: { + serializedName: "sentences", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "TextAnalyticsWarning" + className: "SentenceSentiment" } } } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentStatistics" - } } } } }; -export const ClassificationResult: coreClient.CompositeMapper = { +export const LinkedEntitiesDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ClassificationResult", + className: "LinkedEntitiesDocumentResult", modelProperties: { - category: { - serializedName: "category", - required: true, - type: { - name: "String" - } - }, - confidenceScore: { - serializedName: "confidenceScore", + ...DocumentResult.type.modelProperties, + entities: { + serializedName: "entities", required: true, type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedEntity" + } + } } } } } }; -export const CustomMultiClassificationTaskResult: coreClient.CompositeMapper = { +export const PiiEntitiesDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMultiClassificationTaskResult", + className: "PiiEntitiesDocumentResult", modelProperties: { - results: { - serializedName: "results", + ...DocumentResult.type.modelProperties, + redactedText: { + serializedName: "redactedText", + required: true, type: { - name: "Composite", - className: "CustomMultiClassificationResult" + name: "String" + } + }, + entities: { + serializedName: "entities", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Entity" + } + } } } } } }; -export const CustomMultiClassificationResult: coreClient.CompositeMapper = { +export const ExtractedSummaryDocumentResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomMultiClassificationResult", + className: "ExtractedSummaryDocumentResult", modelProperties: { - documents: { - serializedName: "documents", + ...DocumentResult.type.modelProperties, + sentences: { + serializedName: "sentences", required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "MultiClassificationDocument" + className: "SummarySentence" } } } - }, - errors: { - serializedName: "errors", + } + } + } +}; + +export const KeyPhrasesDocumentResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "KeyPhrasesDocumentResult", + modelProperties: { + ...DocumentResult.type.modelProperties, + keyPhrases: { + serializedName: "keyPhrases", required: true, type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DocumentError" + name: "String" } } } - }, - statistics: { - serializedName: "statistics", + } + } + } +}; + +export const LanguageDetectionDocumentResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LanguageDetectionDocumentResult", + modelProperties: { + ...DocumentResult.type.modelProperties, + detectedLanguage: { + serializedName: "detectedLanguage", type: { name: "Composite", - className: "TextDocumentBatchStatistics" + className: "DetectedLanguage" } - }, - projectName: { - serializedName: "projectName", - required: true, + } + } + } +}; + +export const CustomEntitiesLROTask: coreClient.CompositeMapper = { + serializedName: "CustomEntityRecognition", + type: { + name: "Composite", + className: "CustomEntitiesLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "CustomEntityRecognitionAction" } - }, - deploymentName: { - serializedName: "deploymentName", - required: true, + } + } + } +}; + +export const CustomSingleLabelClassificationLROTask: coreClient.CompositeMapper = { + serializedName: "CustomSingleLabelClassification", + type: { + name: "Composite", + className: "CustomSingleLabelClassificationLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "CustomSingleLabelClassificationAction" + } + } + } + } +}; + +export const CustomMultiLabelClassificationLROTask: coreClient.CompositeMapper = { + serializedName: "CustomMultiLabelClassification", + type: { + name: "Composite", + className: "CustomMultiLabelClassificationLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "CustomMultiLabelClassificationAction" + } + } + } + } +}; + +export const HealthcareLROTask: coreClient.CompositeMapper = { + serializedName: "Healthcare", + type: { + name: "Composite", + className: "HealthcareLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "HealthcareAction" + } + } + } + } +}; + +export const SentimentAnalysisLROTask: coreClient.CompositeMapper = { + serializedName: "SentimentAnalysis", + type: { + name: "Composite", + className: "SentimentAnalysisLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", + type: { + name: "Composite", + className: "SentimentAnalysisAction" + } + } + } + } +}; + +export const EntitiesLROTask: coreClient.CompositeMapper = { + serializedName: "EntityRecognition", + type: { + name: "Composite", + className: "EntitiesLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "EntityRecognitionAction" } } } } }; -export const MultiClassificationDocument: coreClient.CompositeMapper = { +export const EntityLinkingLROTask: coreClient.CompositeMapper = { + serializedName: "EntityLinking", type: { name: "Composite", - className: "MultiClassificationDocument", + className: "EntityLinkingLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - classifications: { - serializedName: "classifications", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ClassificationResult" - } - } - } - }, - warnings: { - serializedName: "warnings", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } - } - }, - statistics: { - serializedName: "statistics", + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "TextDocumentStatistics" + className: "EntityLinkingAction" } } } } }; -export const AnalyzeJobErrorsAndStatistics: coreClient.CompositeMapper = { +export const PiiLROTask: coreClient.CompositeMapper = { + serializedName: "PiiEntityRecognition", type: { name: "Composite", - className: "AnalyzeJobErrorsAndStatistics", + className: "PiiLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, modelProperties: { - errors: { - serializedName: "errors", + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsError" - } - } + name: "Composite", + className: "PiiEntityRecognitionAction" } - }, - statistics: { - serializedName: "statistics", + } + } + } +}; + +export const ExtractiveSummarizationLROTask: coreClient.CompositeMapper = { + serializedName: "ExtractiveSummarization", + type: { + name: "Composite", + className: "ExtractiveSummarizationLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { name: "Composite", - className: "TextDocumentBatchStatistics" + className: "ExtractiveSummarizationAction" } } } } }; -export const Pagination: coreClient.CompositeMapper = { +export const KeyPhraseLROTask: coreClient.CompositeMapper = { + serializedName: "KeyPhraseExtraction", type: { name: "Composite", - className: "Pagination", + className: "KeyPhraseLROTask", + uberParent: "BatchActionState", + polymorphicDiscriminator: BatchActionState.type.polymorphicDiscriminator, modelProperties: { - nextLink: { - serializedName: "@nextLink", + ...AnalyzeBatchAction.type.modelProperties, + parameters: { + serializedName: "parameters", type: { - name: "String" + name: "Composite", + className: "KeyPhraseExtractionAction" } } } } }; -export const HealthcareTaskResult: coreClient.CompositeMapper = { +export const EntityRecognitionLROResult: coreClient.CompositeMapper = { + serializedName: "EntityRecognitionLROResults", type: { name: "Composite", - className: "HealthcareTaskResult", + className: "EntityRecognitionLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { + ...AnalyzeTextLROResult.type.modelProperties, results: { serializedName: "results", type: { name: "Composite", - className: "HealthcareResult" - } - }, - errors: { - serializedName: "errors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsError" - } - } + className: "EntitiesResult" } } } } }; -export const HealthcareResult: coreClient.CompositeMapper = { +export const CustomEntityRecognitionLROResult: coreClient.CompositeMapper = { + serializedName: "CustomEntityRecognitionLROResults", type: { name: "Composite", - className: "HealthcareResult", + className: "CustomEntityRecognitionLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - documents: { - serializedName: "documents", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentHealthcareEntities" - } - } - } - }, - errors: { - serializedName: "errors", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentError" - } - } - } - }, - statistics: { - serializedName: "statistics", + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - modelVersion: { - serializedName: "modelVersion", - required: true, - type: { - name: "String" + className: "CustomEntitiesResult" } } } } }; -export const DocumentHealthcareEntities: coreClient.CompositeMapper = { +export const CustomSingleLabelClassificationLROResult: coreClient.CompositeMapper = { + serializedName: "CustomSingleLabelClassificationLROResults", type: { name: "Composite", - className: "DocumentHealthcareEntities", + className: "CustomSingleLabelClassificationLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - entities: { - serializedName: "entities", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthcareEntity" - } - } - } - }, - relations: { - serializedName: "relations", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthcareRelation" - } - } - } - }, - warnings: { - serializedName: "warnings", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } - } - }, - statistics: { - serializedName: "statistics", + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "TextDocumentStatistics" + className: "CustomSingleLabelClassificationResult" } } } } }; -export const HealthcareEntityProperties: coreClient.CompositeMapper = { +export const CustomMultiLabelClassificationLROResult: coreClient.CompositeMapper = { + serializedName: "CustomMultiLabelClassificationLROResults", type: { name: "Composite", - className: "HealthcareEntityProperties", + className: "CustomMultiLabelClassificationLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, 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, + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "Number" + name: "Composite", + className: "CustomMultiLabelClassificationResult" } } } } }; -export const HealthcareLinkingProperties: coreClient.CompositeMapper = { +export const EntityLinkingLROResult: coreClient.CompositeMapper = { + serializedName: "EntityLinkingLROResults", type: { name: "Composite", - className: "HealthcareLinkingProperties", + className: "EntityLinkingLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - assertion: { - serializedName: "assertion", + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { name: "Composite", - className: "HealthcareAssertion" + className: "EntityLinkingResult" } - }, - name: { - serializedName: "name", + } + } + } +}; + +export const PiiEntityRecognitionLROResult: coreClient.CompositeMapper = { + serializedName: "PiiEntityRecognitionLROResults", + type: { + name: "Composite", + className: "PiiEntityRecognitionLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "String" + name: "Composite", + className: "PiiResult" } - }, - links: { - serializedName: "links", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthcareEntityLink" - } - } + } + } + } +}; + +export const ExtractiveSummarizationLROResult: coreClient.CompositeMapper = { + serializedName: "ExtractiveSummarizationLROResults", + type: { + name: "Composite", + className: "ExtractiveSummarizationLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, + modelProperties: { + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", + type: { + name: "Composite", + className: "ExtractiveSummarizationResult" } } } } }; -export const HealthcareAssertion: coreClient.CompositeMapper = { +export const HealthcareLROResult: coreClient.CompositeMapper = { + serializedName: "HealthcareLROResults", type: { name: "Composite", - className: "HealthcareAssertion", + className: "HealthcareLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - conditionality: { - serializedName: "conditionality", - type: { - name: "Enum", - allowedValues: ["hypothetical", "conditional"] - } - }, - certainty: { - serializedName: "certainty", - type: { - name: "Enum", - allowedValues: [ - "positive", - "positivePossible", - "neutralPossible", - "negativePossible", - "negative" - ] - } - }, - association: { - serializedName: "association", + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "Enum", - allowedValues: ["subject", "other"] + name: "Composite", + className: "HealthcareResult" } } } } }; -export const HealthcareEntityLink: coreClient.CompositeMapper = { +export const SentimentLROResult: coreClient.CompositeMapper = { + serializedName: "SentimentAnalysisLROResults", type: { name: "Composite", - className: "HealthcareEntityLink", + className: "SentimentLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - dataSource: { - serializedName: "dataSource", - required: true, - type: { - name: "String" - } - }, - id: { - serializedName: "id", - required: true, + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "String" + name: "Composite", + className: "SentimentResponse" } } } } }; -export const HealthcareRelation: coreClient.CompositeMapper = { +export const KeyPhraseExtractionLROResult: coreClient.CompositeMapper = { + serializedName: "KeyPhraseExtractionLROResults", type: { name: "Composite", - className: "HealthcareRelation", + className: "KeyPhraseExtractionLROResult", + uberParent: "TaskState", + polymorphicDiscriminator: TaskState.type.polymorphicDiscriminator, modelProperties: { - relationType: { - serializedName: "relationType", - required: true, - type: { - name: "String" - } - }, - entities: { - serializedName: "entities", - required: true, + ...AnalyzeTextLROResult.type.modelProperties, + results: { + serializedName: "results", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthcareRelationEntity" - } - } + name: "Composite", + className: "KeyPhraseResult" } } } } }; -export const HealthcareRelationEntity: coreClient.CompositeMapper = { +export const EntityLinkingAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HealthcareRelationEntity", + className: "EntityLinkingAction", modelProperties: { - ref: { - serializedName: "ref", - required: true, - type: { - name: "String" - } - }, - role: { - serializedName: "role", - required: true, + ...ActionPrebuilt.type.modelProperties, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", type: { name: "String" } @@ -3062,98 +2826,63 @@ export const HealthcareRelationEntity: coreClient.CompositeMapper = { } }; -export const LanguageBatchInput: coreClient.CompositeMapper = { +export const EntityRecognitionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LanguageBatchInput", + className: "EntityRecognitionAction", modelProperties: { - documents: { - serializedName: "documents", - required: true, + ...ActionPrebuilt.type.modelProperties, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DetectLanguageInput" - } - } + name: "String" } } } } }; -export const DetectLanguageInput: coreClient.CompositeMapper = { +export const KeyPhraseExtractionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DetectLanguageInput", + className: "KeyPhraseExtractionAction", modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - text: { - serializedName: "text", - required: true, - type: { - name: "String" - } - }, - countryHint: { - serializedName: "countryHint", - type: { - name: "String" - } - } + ...ActionPrebuilt.type.modelProperties } } }; -export const LanguageResult: coreClient.CompositeMapper = { +export const PiiEntityRecognitionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LanguageResult", + className: "PiiEntityRecognitionAction", modelProperties: { - documents: { - serializedName: "documents", - required: true, + ...ActionPrebuilt.type.modelProperties, + domainFilter: { + defaultValue: "none", + serializedName: "domain", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DocumentLanguage" - } - } + name: "String" } }, - errors: { - serializedName: "errors", - required: true, + categoriesFilter: { + constraints: { + UniqueItems: true + }, + serializedName: "piiCategories", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DocumentError" + name: "String" } } } }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentBatchStatistics" - } - }, - modelVersion: { - serializedName: "modelVersion", - required: true, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", type: { name: "String" } @@ -3162,241 +2891,235 @@ export const LanguageResult: coreClient.CompositeMapper = { } }; -export const DocumentLanguage: coreClient.CompositeMapper = { +export const LanguageDetectionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DocumentLanguage", + className: "LanguageDetectionAction", modelProperties: { - id: { - serializedName: "id", - required: true, - type: { - name: "String" - } - }, - detectedLanguage: { - serializedName: "detectedLanguage", - type: { - name: "Composite", - className: "DetectedLanguage" - } - }, - warnings: { - serializedName: "warnings", - required: true, + ...ActionPrebuilt.type.modelProperties + } + } +}; + +export const SentimentAnalysisAction: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SentimentAnalysisAction", + modelProperties: { + ...ActionPrebuilt.type.modelProperties, + includeOpinionMining: { + defaultValue: false, + serializedName: "opinionMining", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsWarning" - } - } + name: "Boolean" } }, - statistics: { - serializedName: "statistics", + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", type: { - name: "Composite", - className: "TextDocumentStatistics" + name: "String" } } } } }; -export const DetectedLanguage: coreClient.CompositeMapper = { +export const HealthcareAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DetectedLanguage", + className: "HealthcareAction", modelProperties: { - name: { - serializedName: "name", - required: true, + ...ActionPrebuilt.type.modelProperties, + fhirVersion: { + serializedName: "fhirVersion", type: { name: "String" } }, - iso6391Name: { - serializedName: "iso6391Name", - required: true, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", type: { name: "String" } - }, - confidenceScore: { - serializedName: "confidenceScore", - required: true, - type: { - name: "Number" - } } } } }; -export const AnalyzeBatchInput: coreClient.CompositeMapper = { +export const ExtractiveSummarizationAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnalyzeBatchInput", + className: "ExtractiveSummarizationAction", modelProperties: { - ...JobDescriptor.type.modelProperties, - ...AnalysisInput.type.modelProperties, - ...JobManifest.type.modelProperties + ...ActionPrebuilt.type.modelProperties, + maxSentenceCount: { + defaultValue: 3, + serializedName: "sentenceCount", + type: { + name: "Number" + } + }, + orderBy: { + defaultValue: "Offset", + serializedName: "sortBy", + type: { + name: "String" + } + }, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", + type: { + name: "String" + } + } } } }; -export const AnalyzeJobMetadata: coreClient.CompositeMapper = { +export const CustomEntityRecognitionAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnalyzeJobMetadata", + className: "CustomEntityRecognitionAction", modelProperties: { - ...JobMetadata.type.modelProperties, - ...AnalyzeJobDisplayName.type.modelProperties + ...ActionCustom.type.modelProperties, + stringIndexType: { + defaultValue: "Utf16CodeUnit", + serializedName: "stringIndexType", + type: { + name: "String" + } + } } } }; -export const HealthcareJobState: coreClient.CompositeMapper = { +export const CustomSingleLabelClassificationAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HealthcareJobState", + className: "CustomSingleLabelClassificationAction", modelProperties: { - ...JobMetadata.type.modelProperties, - ...HealthcareTaskResult.type.modelProperties, - ...Pagination.type.modelProperties + ...ActionCustom.type.modelProperties } } }; -export const AnalyzeJobState: coreClient.CompositeMapper = { +export const CustomMultiLabelClassificationAction: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AnalyzeJobState", + className: "CustomMultiLabelClassificationAction", modelProperties: { - ...AnalyzeJobMetadata.type.modelProperties, - ...TasksState.type.modelProperties, - ...AnalyzeJobErrorsAndStatistics.type.modelProperties, - ...Pagination.type.modelProperties + ...ActionCustom.type.modelProperties } } }; -export const TasksStateTasksEntityRecognitionTasksItem: coreClient.CompositeMapper = { +export const CustomEntitiesResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksEntityRecognitionTasksItem", + className: "CustomEntitiesResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...EntitiesTaskResult.type.modelProperties + ...EntitiesDocumentResult.type.modelProperties } } }; -export const TasksStateTasksEntityRecognitionPiiTasksItem: coreClient.CompositeMapper = { +export const EntitiesResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksEntityRecognitionPiiTasksItem", + className: "EntitiesResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...PiiTaskResult.type.modelProperties + ...EntitiesDocumentResult.type.modelProperties } } }; -export const TasksStateTasksKeyPhraseExtractionTasksItem: coreClient.CompositeMapper = { +export const CustomSingleLabelClassificationResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksKeyPhraseExtractionTasksItem", + className: "CustomSingleLabelClassificationResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...KeyPhraseTaskResult.type.modelProperties + ...SingleClassificationDocumentResult.type.modelProperties } } }; -export const TasksStateTasksEntityLinkingTasksItem: coreClient.CompositeMapper = { +export const CustomMultiLabelClassificationResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksEntityLinkingTasksItem", + className: "CustomMultiLabelClassificationResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...EntityLinkingTaskResult.type.modelProperties + ...MultiClassificationDocumentResult.type.modelProperties } } }; -export const TasksStateTasksSentimentAnalysisTasksItem: coreClient.CompositeMapper = { +export const HealthcareResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksSentimentAnalysisTasksItem", + className: "HealthcareResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...SentimentTaskResult.type.modelProperties + ...HealthcareEntitiesDocumentResult.type.modelProperties } } }; -export const TasksStateTasksExtractiveSummarizationTasksItem: coreClient.CompositeMapper = { +export const SentimentResponseDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksExtractiveSummarizationTasksItem", + className: "SentimentResponseDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...ExtractiveSummarizationTaskResult.type.modelProperties + ...SentimentDocumentResult.type.modelProperties } } }; -export const TasksStateTasksCustomEntityRecognitionTasksItem: coreClient.CompositeMapper = { +export const EntityLinkingResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksCustomEntityRecognitionTasksItem", + className: "EntityLinkingResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...CustomEntitiesTaskResult.type.modelProperties + ...LinkedEntitiesDocumentResult.type.modelProperties } } }; -export const TasksStateTasksCustomSingleClassificationTasksItem: coreClient.CompositeMapper = { +export const PiiResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksCustomSingleClassificationTasksItem", + className: "PiiResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...CustomSingleClassificationTaskResult.type.modelProperties + ...PiiEntitiesDocumentResult.type.modelProperties } } }; -export const TasksStateTasksCustomMultiClassificationTasksItem: coreClient.CompositeMapper = { +export const ExtractiveSummarizationResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "TasksStateTasksCustomMultiClassificationTasksItem", + className: "ExtractiveSummarizationResultDocumentsItem", modelProperties: { - ...TaskState.type.modelProperties, - ...CustomMultiClassificationTaskResult.type.modelProperties + ...ExtractedSummaryDocumentResult.type.modelProperties } } }; -export const HealthcareEntity: coreClient.CompositeMapper = { +export const KeyPhraseResultDocumentsItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "HealthcareEntity", + className: "KeyPhraseResultDocumentsItem", modelProperties: { - ...HealthcareEntityProperties.type.modelProperties, - ...HealthcareLinkingProperties.type.modelProperties + ...KeyPhrasesDocumentResult.type.modelProperties } } }; -export const GeneratedClientAnalyzeHeaders: coreClient.CompositeMapper = { +export const AnalyzeTextSubmitJobHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GeneratedClientAnalyzeHeaders", + className: "AnalyzeTextSubmitJobHeaders", modelProperties: { operationLocation: { serializedName: "operation-location", @@ -3408,10 +3131,10 @@ export const GeneratedClientAnalyzeHeaders: coreClient.CompositeMapper = { } }; -export const GeneratedClientCancelHealthJobHeaders: coreClient.CompositeMapper = { +export const AnalyzeTextCancelJobHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GeneratedClientCancelHealthJobHeaders", + className: "AnalyzeTextCancelJobHeaders", modelProperties: { operationLocation: { serializedName: "operation-location", @@ -3423,17 +3146,41 @@ export const GeneratedClientCancelHealthJobHeaders: coreClient.CompositeMapper = } }; -export const GeneratedClientHealthHeaders: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "GeneratedClientHealthHeaders", - modelProperties: { - operationLocation: { - serializedName: "operation-location", - type: { - name: "String" - } - } - } - } +export let discriminators = { + AnalyzeAction: AnalyzeAction, + AnalyzeTextTaskResult: AnalyzeTextTaskResult, + "AnalyzeAction.EntityLinking": AnalyzeTextEntityLinkingInput, + "AnalyzeAction.EntityRecognition": AnalyzeTextEntityRecognitionInput, + "AnalyzeAction.KeyPhraseExtraction": AnalyzeTextKeyPhraseExtractionInput, + "AnalyzeAction.PiiEntityRecognition": AnalyzeTextPiiEntitiesRecognitionInput, + "AnalyzeAction.LanguageDetection": AnalyzeTextLanguageDetectionInput, + "AnalyzeAction.SentimentAnalysis": AnalyzeTextSentimentAnalysisInput, + "AnalyzeTextTaskResult.SentimentAnalysisResults": SentimentTaskResult, + "AnalyzeTextTaskResult.EntityRecognitionResults": EntitiesTaskResult, + "AnalyzeTextTaskResult.EntityLinkingResults": EntityLinkingTaskResult, + "AnalyzeTextTaskResult.PiiEntityRecognitionResults": PiiTaskResult, + "AnalyzeTextTaskResult.KeyPhraseExtractionResults": KeyPhraseTaskResult, + "AnalyzeTextTaskResult.LanguageDetectionResults": LanguageDetectionTaskResult, + "BatchActionState.AnalyzeBatchAction": AnalyzeBatchAction, + "TaskState.AnalyzeTextLROResult": AnalyzeTextLROResult, + "BatchActionState.CustomEntityRecognition": CustomEntitiesLROTask, + "BatchActionState.CustomSingleLabelClassification": CustomSingleLabelClassificationLROTask, + "BatchActionState.CustomMultiLabelClassification": CustomMultiLabelClassificationLROTask, + "BatchActionState.Healthcare": HealthcareLROTask, + "BatchActionState.SentimentAnalysis": SentimentAnalysisLROTask, + "BatchActionState.EntityRecognition": EntitiesLROTask, + "BatchActionState.EntityLinking": EntityLinkingLROTask, + "BatchActionState.PiiEntityRecognition": PiiLROTask, + "BatchActionState.ExtractiveSummarization": ExtractiveSummarizationLROTask, + "BatchActionState.KeyPhraseExtraction": KeyPhraseLROTask, + "TaskState.EntityRecognitionLROResults": EntityRecognitionLROResult, + "TaskState.CustomEntityRecognitionLROResults": CustomEntityRecognitionLROResult, + "TaskState.CustomSingleLabelClassificationLROResults": CustomSingleLabelClassificationLROResult, + "TaskState.CustomMultiLabelClassificationLROResults": CustomMultiLabelClassificationLROResult, + "TaskState.EntityLinkingLROResults": EntityLinkingLROResult, + "TaskState.PiiEntityRecognitionLROResults": PiiEntityRecognitionLROResult, + "TaskState.ExtractiveSummarizationLROResults": ExtractiveSummarizationLROResult, + "TaskState.HealthcareLROResults": HealthcareLROResult, + "TaskState.SentimentAnalysisLROResults": SentimentLROResult, + "TaskState.KeyPhraseExtractionLROResults": KeyPhraseExtractionLROResult }; 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 7d7a6177803f..c065c5d31b53 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts @@ -12,9 +12,8 @@ import { OperationQueryParameter } from "@azure/core-client"; import { - AnalyzeBatchInput as AnalyzeBatchInputMapper, - MultiLanguageBatchInput as MultiLanguageBatchInputMapper, - LanguageBatchInput as LanguageBatchInputMapper + AnalyzeAction as AnalyzeActionMapper, + AnalyzeTextJobsInput as AnalyzeTextJobsInputMapper } from "../models/mappers"; export const contentType: OperationParameter = { @@ -30,14 +29,14 @@ export const contentType: OperationParameter = { }; export const body: OperationParameter = { - parameterPath: ["options", "body"], - mapper: AnalyzeBatchInputMapper + parameterPath: "body", + mapper: AnalyzeActionMapper }; export const accept: OperationParameter = { parameterPath: "accept", mapper: { - defaultValue: "application/json, text/json", + defaultValue: "application/json", isConstant: true, serializedName: "Accept", type: { @@ -58,24 +57,12 @@ export const endpoint: OperationURLParameter = { skipEncoding: true }; -export const apiVersion: OperationURLParameter = { +export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "v3.2-preview.2", + defaultValue: "2022-04-01-preview", isConstant: true, - serializedName: "ApiVersion", - type: { - name: "String" - } - }, - skipEncoding: true -}; - -export const jobId: OperationURLParameter = { - parameterPath: "jobId", - mapper: { - serializedName: "jobId", - required: true, + serializedName: "api-version", type: { name: "String" } @@ -92,36 +79,12 @@ export const includeStatistics: OperationQueryParameter = { } }; -export const top: OperationQueryParameter = { - parameterPath: ["options", "top"], - mapper: { - defaultValue: 20, - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, - serializedName: "$top", - type: { - name: "Number" - } - } +export const body1: OperationParameter = { + parameterPath: "body", + mapper: AnalyzeTextJobsInputMapper }; -export const skip: OperationQueryParameter = { - parameterPath: ["options", "skip"], - mapper: { - defaultValue: 0, - constraints: { - InclusiveMinimum: 0 - }, - serializedName: "$skip", - type: { - name: "Number" - } - } -}; - -export const jobId1: OperationURLParameter = { +export const jobId: OperationURLParameter = { parameterPath: "jobId", mapper: { serializedName: "jobId", @@ -132,81 +95,22 @@ export const jobId1: OperationURLParameter = { } }; -export const input: OperationParameter = { - parameterPath: "input", - mapper: MultiLanguageBatchInputMapper -}; - -export const modelVersion: OperationQueryParameter = { - parameterPath: ["options", "modelVersion"], - mapper: { - serializedName: "model-version", - type: { - name: "String" - } - } -}; - -export const stringIndexType: OperationQueryParameter = { - parameterPath: ["options", "stringIndexType"], - mapper: { - serializedName: "stringIndexType", - type: { - name: "String" - } - } -}; - -export const loggingOptOut: OperationQueryParameter = { - parameterPath: ["options", "loggingOptOut"], - mapper: { - serializedName: "loggingOptOut", - type: { - name: "Boolean" - } - } -}; - -export const domain: OperationQueryParameter = { - parameterPath: ["options", "domain"], +export const top: OperationQueryParameter = { + parameterPath: ["options", "top"], mapper: { - serializedName: "domain", + serializedName: "top", type: { - name: "String" + name: "Number" } } }; -export const piiCategories: OperationQueryParameter = { - parameterPath: ["options", "piiCategories"], - mapper: { - constraints: { - UniqueItems: true - }, - serializedName: "piiCategories", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - collectionFormat: "CSV" -}; - -export const input1: OperationParameter = { - parameterPath: "input", - mapper: LanguageBatchInputMapper -}; - -export const opinionMining: OperationQueryParameter = { - parameterPath: ["options", "opinionMining"], +export const skip: OperationQueryParameter = { + parameterPath: ["options", "skip"], mapper: { - serializedName: "opinionMining", + serializedName: "skip", type: { - name: "Boolean" + name: "Number" } } }; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/operations/analyzeText.ts b/sdk/textanalytics/ai-text-analytics/src/generated/operations/analyzeText.ts new file mode 100644 index 000000000000..77755efefb7f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/generated/operations/analyzeText.ts @@ -0,0 +1,141 @@ +/* + * 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 { AnalyzeText } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { GeneratedClient } from "../generatedClient"; +import { + AnalyzeTextJobsInput, + AnalyzeTextSubmitJobOptionalParams, + AnalyzeTextSubmitJobResponse, + AnalyzeTextJobStatusOptionalParams, + AnalyzeTextJobStatusResponse, + AnalyzeTextCancelJobOptionalParams, + AnalyzeTextCancelJobResponse +} from "../models"; + +/** Class containing AnalyzeText operations. */ +export class AnalyzeTextImpl implements AnalyzeText { + private readonly client: GeneratedClient; + + /** + * Initialize a new instance of the class AnalyzeText class. + * @param client Reference to the service client + */ + constructor(client: GeneratedClient) { + this.client = client; + } + + /** + * Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed + * as a long-running operation. + * @param body Collection of documents to analyze and one or more tasks to execute. + * @param options The options parameters. + */ + submitJob( + body: AnalyzeTextJobsInput, + options?: AnalyzeTextSubmitJobOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { body, options }, + submitJobOperationSpec + ); + } + + /** + * Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are + * succeeded, the job will transition to the succeeded state and results will be available for each + * task. + * @param jobId Job ID + * @param options The options parameters. + */ + jobStatus( + jobId: string, + options?: AnalyzeTextJobStatusOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { jobId, options }, + jobStatusOperationSpec + ); + } + + /** + * Cancel a long-running Text Analysis job. + * @param jobId Job ID + * @param options The options parameters. + */ + cancelJob( + jobId: string, + options?: AnalyzeTextCancelJobOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { jobId, options }, + cancelJobOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const submitJobOperationSpec: coreClient.OperationSpec = { + path: "/analyze-text/jobs", + httpMethod: "POST", + responses: { + 202: { + headersMapper: Mappers.AnalyzeTextSubmitJobHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.body1, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer +}; +const jobStatusOperationSpec: coreClient.OperationSpec = { + path: "/analyze-text/jobs/{jobId}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AnalyzeTextJobState + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [ + Parameters.apiVersion, + Parameters.includeStatistics, + Parameters.top, + Parameters.skip + ], + urlParameters: [Parameters.endpoint, Parameters.jobId], + headerParameters: [Parameters.accept], + serializer +}; +const cancelJobOperationSpec: coreClient.OperationSpec = { + path: "/analyze-text/jobs/{jobId}:cancel", + httpMethod: "POST", + responses: { + 202: { + headersMapper: Mappers.AnalyzeTextCancelJobHeaders + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.jobId], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/operations/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/operations/index.ts new file mode 100644 index 000000000000..ba9f7acea827 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/generated/operations/index.ts @@ -0,0 +1,9 @@ +/* + * 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 "./analyzeText"; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/analyzeText.ts b/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/analyzeText.ts new file mode 100644 index 000000000000..68132b1fc9c4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/analyzeText.ts @@ -0,0 +1,51 @@ +/* + * 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 { + AnalyzeTextJobsInput, + AnalyzeTextSubmitJobOptionalParams, + AnalyzeTextSubmitJobResponse, + AnalyzeTextJobStatusOptionalParams, + AnalyzeTextJobStatusResponse, + AnalyzeTextCancelJobOptionalParams, + AnalyzeTextCancelJobResponse +} from "../models"; + +/** Interface representing a AnalyzeText. */ +export interface AnalyzeText { + /** + * Submit a collection of text documents for analysis. Specify one or more unique tasks to be executed + * as a long-running operation. + * @param body Collection of documents to analyze and one or more tasks to execute. + * @param options The options parameters. + */ + submitJob( + body: AnalyzeTextJobsInput, + options?: AnalyzeTextSubmitJobOptionalParams + ): Promise; + /** + * Get the status of an analysis job. A job may consist of one or more tasks. Once all tasks are + * succeeded, the job will transition to the succeeded state and results will be available for each + * task. + * @param jobId Job ID + * @param options The options parameters. + */ + jobStatus( + jobId: string, + options?: AnalyzeTextJobStatusOptionalParams + ): Promise; + /** + * Cancel a long-running Text Analysis job. + * @param jobId Job ID + * @param options The options parameters. + */ + cancelJob( + jobId: string, + options?: AnalyzeTextCancelJobOptionalParams + ): Promise; +} diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/index.ts new file mode 100644 index 000000000000..ba9f7acea827 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/generated/operationsInterfaces/index.ts @@ -0,0 +1,9 @@ +/* + * 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 "./analyzeText"; diff --git a/sdk/textanalytics/ai-text-analytics/src/healthLro.ts b/sdk/textanalytics/ai-text-analytics/src/healthLro.ts deleted file mode 100644 index fd53cac72dff..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/healthLro.ts +++ /dev/null @@ -1,247 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { LongRunningOperation, LroResponse, PollerLike, RawResponse } from "@azure/core-lro"; -import { SpanStatusCode } from "@azure/core-tracing"; -import { createSerializer, OperationOptions, OperationSpec } from "@azure/core-client"; -import { - AnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareEntitiesResultArray, - makeHealthcareEntitiesErrorResult, - makeHealthcareEntitiesResult, - PagedAnalyzeHealthcareEntitiesResult, -} from "./analyzeHealthcareEntitiesResult"; -import { - GeneratedClient, - GeneratedClientHealthStatusOptionalParams, - GeneratedClientHealthStatusResponse, - TextDocumentInput, -} from "./generated"; -import { createSpan } from "./tracing"; -import { - addStrEncodingParam, - getRawResponse, - compileError, - sendGetRequest, - StringIndexType, -} from "./util"; -import * as Mappers from "./generated/models/mappers"; -import { - accept, - apiVersion, - endpoint, - includeStatistics, - skip, - top, -} from "./generated/models/parameters"; -import { processAndCombineSuccessfulAndErroneousDocuments } from "./textAnalyticsResult"; -import { getPagedAsyncIterator, PagedResult } from "@azure/core-paging"; -import { AnalysisPollOperationState } from "./pollerModels"; -import { TextAnalyticsOperationOptions } from "./textAnalyticsOperationOptions"; - -/** - * Options for the begin analyze healthcare entities operation. - */ -export interface BeginAnalyzeHealthcareEntitiesOptions extends TextAnalyticsOperationOptions { - /** - * Delay to wait until next poll, in milliseconds. - */ - stringIndexType?: StringIndexType; - /** - * Delay to wait until next poll, in milliseconds. - */ - updateIntervalInMs?: number; - /** - * A serialized poller which can be used to resume an existing paused Long-Running-Operation. - */ - resumeFrom?: string; -} - -/** - * Result type of the Health Long-Running-Operation (LRO) - */ -export type AnalyzeHealthcareEntitiesPollerLike = PollerLike< - AnalyzeHealthcareOperationState, - PagedAnalyzeHealthcareEntitiesResult ->; - -/** - * The state of the begin analyze healthcare polling operation. - */ -export interface AnalyzeHealthcareOperationState - extends AnalysisPollOperationState {} - -const serializer = createSerializer(Mappers, /* isXml */ false); - -// Consider whether the spec can be exported by code gen -const healthStatusOperationSpec: OperationSpec = { - path: "/entities/health/jobs/{jobId}", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.HealthcareJobState, - }, - default: { - bodyMapper: Mappers.ErrorResponse, - }, - }, - queryParameters: [includeStatistics, top, skip], - urlParameters: [endpoint, apiVersion], - headerParameters: [accept], - serializer, -}; - -/** - * @internal - */ -export class HealthLro implements LongRunningOperation { - public requestMethod = "POST"; - public requestPath = "/entities/health/jobs"; - constructor( - // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters - private client: GeneratedClient, - private baseOptions: OperationOptions, - private initOptions: { - modelVersion?: string; - stringIndexType?: StringIndexType; - loggingOptOut?: boolean; - }, - private pollOptions: { - includeStatistics?: boolean; - }, - private documents: TextDocumentInput[] - ) {} - async sendInitialRequest(): Promise> { - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-beginAnalyzeHealthcare", - { - ...this.baseOptions, - ...addStrEncodingParam(this.initOptions), - } - ); - try { - const { flatResponse, rawResponse } = await getRawResponse( - (paramOptions) => this.client.health({ documents: this.documents }, paramOptions), - finalOptions - ); - return { - flatResponse: flatResponse as PagedAnalyzeHealthcareEntitiesResult, - rawResponse, - }; - } catch (e: any) { - const exception = compileError(e); - span.setStatus({ - code: SpanStatusCode.ERROR, - message: exception.message, - }); - throw exception; - } finally { - span.end(); - } - } - async sendPollRequest(path: string): Promise> { - return sendGetRequest( - this.client, - healthStatusOperationSpec, - "HealthStatus", - { ...this.baseOptions, ...this.pollOptions }, - path - ) as Promise>; - } -} - -/** - * @internal - */ -export function isHealthDone(response: unknown): boolean { - const castResponse = response as GeneratedClientHealthStatusResponse; - switch (castResponse.status) { - case "notStarted": - case "running": - return false; - case "failed": { - const errors = castResponse.errors - ?.map((e) => ` code ${e.code}, message: '${e.message}'`) - .join("\n"); - const message = `Healthcare analysis failed. Error(s): ${errors || ""}`; - throw new Error(message); - } - default: { - if (castResponse.results) { - return true; - } else { - throw new Error("Healthcare action has finished but the there are no results!"); - } - } - } -} - -/** - * @internal - */ -export function processHealthResult( - // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters - client: GeneratedClient, - documents: TextDocumentInput[], - options: GeneratedClientHealthStatusOptionalParams -): ( - result: unknown, - state: AnalyzeHealthcareOperationState -) => PagedAnalyzeHealthcareEntitiesResult { - return ( - result: unknown, - state: AnalyzeHealthcareOperationState - ): PagedAnalyzeHealthcareEntitiesResult => { - const pollingURL = (state as any).pollingURL; - const pagedResult: PagedResult = { - firstPageLink: pollingURL, - getPage: async (pageLink: string, maxPageSize?: number) => { - const response = await sendGetRequest( - client, - healthStatusOperationSpec, - "HealthStatus", - // if `top` is set to `undefined`, the default value will not be sent - // as part of the request. - maxPageSize ? { ...options, top: maxPageSize } : options, - pageLink - ); - const flatResponse = response.flatResponse as GeneratedClientHealthStatusResponse; - if (flatResponse.results) { - return { - page: processAndCombineSuccessfulAndErroneousDocuments( - documents, - flatResponse.results, - makeHealthcareEntitiesResult, - makeHealthcareEntitiesErrorResult - ), - nextPageLink: flatResponse.nextLink, - }; - } else { - throw new Error("Healthcare action has succeeded but there are no results!"); - } - }, - }; - const pagedIterator = getPagedAsyncIterator< - AnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareEntitiesResultArray - >(pagedResult); - return Object.assign(pagedIterator, { - statistics: (result as any).results.statistics, - modelVersion: (result as any).results.modelVersion!, - }); - }; -} - -/** - * @internal - */ -export function updateHealthState( - state: AnalyzeHealthcareOperationState, - lastResponse: RawResponse -): void { - const response = lastResponse.body as any; - state.createdOn = response.createdDateTime; - state.lastModifiedOn = response.lastUpdateDateTime; - state.expiresOn = response.expirationDateTime; - state.status = response.status; -} diff --git a/sdk/textanalytics/ai-text-analytics/src/index.ts b/sdk/textanalytics/ai-text-analytics/src/index.ts index e7756299540a..cdc990550f9b 100644 --- a/sdk/textanalytics/ai-text-analytics/src/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/index.ts @@ -1,196 +1,71 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +/** + * [Azure Cognitive Language Services](https://docs.microsoft.com/azure/cognitive-services/language-service/overview) + * is a suite of natural language processing (NLP) skills built with + * best-in-class Microsoft machine learning algorithms used to analyze + * unstructured text for actions such as sentiment analysis, key phrase + * extraction, and language detection. + * + * @packageDocumentation + */ + export { AzureKeyCredential } from "@azure/core-auth"; +export { TextAnalysisClient } from "./textAnalysisClient"; +export * from "./models"; export { - TextAnalyticsClient, - TextAnalyticsClientOptions, - DetectLanguageOptions, - RecognizeCategorizedEntitiesOptions, - AnalyzeSentimentOptions, - ExtractKeyPhrasesOptions, - RecognizePiiEntitiesOptions, - RecognizeLinkedEntitiesOptions, - PiiEntityDomain, - TextAnalyticsActions, - RecognizeCategorizedEntitiesAction, - RecognizePiiEntitiesAction, - ExtractKeyPhrasesAction, - BeginAnalyzeActionsOptions, - AnalyzeActionsPollerLike, - BeginAnalyzeHealthcareEntitiesOptions, - AnalyzeHealthcareEntitiesPollerLike, - AnalyzeActionsOperationState, - AnalyzeHealthcareOperationState, - AnalysisPollOperationState, - OperationMetadata, - AnalyzeActionsOperationMetadata, - StringIndexType, - RecognizeLinkedEntitiesAction, - AnalyzeSentimentAction, - ExtractSummaryAction, - KnownSummarySentencesSortBy as KnownSummarySentencesOrderBy, - RecognizeCustomEntitiesAction, - SingleCategoryClassifyAction, - MultiCategoryClassifyAction, -} from "./textAnalyticsClient"; -export { TextAnalyticsOperationOptions } from "./textAnalyticsOperationOptions"; -export { - DetectLanguageResult, - DetectLanguageErrorResult, - DetectLanguageSuccessResult, -} from "./detectLanguageResult"; -export { DetectLanguageResultArray } from "./detectLanguageResultArray"; -export { - CategorizedEntity, - RecognizeCategorizedEntitiesResult, - RecognizeCategorizedEntitiesErrorResult, - RecognizeCategorizedEntitiesSuccessResult, -} from "./recognizeCategorizedEntitiesResult"; -export { - PiiEntity, - RecognizePiiEntitiesResult, - RecognizePiiEntitiesErrorResult, - RecognizePiiEntitiesSuccessResult, -} from "./recognizePiiEntitiesResult"; -export { RecognizePiiEntitiesResultArray } from "./recognizePiiEntitiesResultArray"; -export { RecognizeCategorizedEntitiesResultArray } from "./recognizeCategorizedEntitiesResultArray"; -export { - AnalyzeSentimentResult, - AnalyzeSentimentErrorResult, - AnalyzeSentimentSuccessResult, - SentenceSentiment, - Opinion, - TargetSentiment, AssessmentSentiment, -} from "./analyzeSentimentResult"; -export { AnalyzeSentimentResultArray } from "./analyzeSentimentResultArray"; -export { - ExtractKeyPhrasesResult, - ExtractKeyPhrasesErrorResult, - ExtractKeyPhrasesSuccessResult, -} from "./extractKeyPhrasesResult"; -export { ExtractKeyPhrasesResultArray } from "./extractKeyPhrasesResultArray"; -export { - ExtractSummaryResult, - ExtractSummaryErrorResult, - ExtractSummarySuccessResult, - SummarySentence, -} from "./extractSummaryResult"; -export { ExtractSummaryResultArray } from "./extractSummaryResultArray"; -export { - RecognizeCustomEntitiesErrorResult, - RecognizeCustomEntitiesResult, - RecognizeCustomEntitiesSuccessResult, -} from "./recognizeCustomEntitiesResult"; -export { RecognizeCustomEntitiesResultArray } from "./recognizeCustomEntitiesResultArray"; -export { - SingleCategoryClassifyErrorResult, - SingleCategoryClassifyResult, - SingleCategoryClassifySuccessResult, - ClassificationCategory, -} from "./singleCategoryClassifyResult"; -export { SingleCategoryClassifyResultArray } from "./singleCategoryClassifyResultArray"; -export { - MultiCategoryClassifyErrorResult, - MultiCategoryClassifyResult, - MultiCategoryClassifySuccessResult, -} from "./multiCategoryClassifyResult"; -export { MultiCategoryClassifyResultArray } from "./multiCategoryClassifyResultArray"; -export { - RecognizeLinkedEntitiesResult, - RecognizeLinkedEntitiesErrorResult, - RecognizeLinkedEntitiesSuccessResult, -} from "./recognizeLinkedEntitiesResult"; -export { RecognizeLinkedEntitiesResultArray } from "./recognizeLinkedEntitiesResultArray"; -export { - PagedAnalyzeHealthcareEntitiesResult, - PagedAsyncIterableAnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareEntitiesResultArray, - AnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareEntitiesSuccessResult, - AnalyzeHealthcareEntitiesErrorResult, - HealthcareEntity, - EntityDataSource, - HealthcareEntityRelation, - HealthcareEntityRelationRole, - HealthcareEntityRelationRoleType, -} from "./analyzeHealthcareEntitiesResult"; -export { - PagedAnalyzeActionsResult, - PagedAsyncIterableAnalyzeActionsResult, - AnalyzeActionsResult, - RecognizeCategorizedEntitiesActionResult, - RecognizePiiEntitiesActionResult, - ExtractKeyPhrasesActionResult, - TextAnalyticsActionState, - TextAnalyticsActionSuccessState, - TextAnalyticsActionErrorResult, - RecognizeCategorizedEntitiesActionErrorResult, - RecognizeCategorizedEntitiesActionSuccessResult, - RecognizePiiEntitiesActionErrorResult, - RecognizePiiEntitiesActionSuccessResult, - ExtractKeyPhrasesActionErrorResult, - ExtractKeyPhrasesActionSuccessResult, - RecognizeLinkedEntitiesActionResult, - RecognizeLinkedEntitiesActionSuccessResult, - RecognizeLinkedEntitiesActionErrorResult, - AnalyzeSentimentActionErrorResult, - AnalyzeSentimentActionResult, - AnalyzeSentimentActionSuccessResult, - ExtractSummaryActionResult, - ExtractSummaryActionSuccessResult, - ExtractSummaryActionErrorResult, - RecognizeCustomEntitiesActionResult, - RecongizeCustomEntitiesActionErrorResult, - RecongizeCustomEntitiesActionSuccessResult, - MultiCategoryClassifyActionErrorResult, - MultiCategoryClassifyActionResult, - MultiCategoryClassifyActionSuccessResult, - SingleCategoryClassifyActionErrorResult, - SingleCategoryClassifyActionResult, - SingleCategoryClassifyActionSuccessResult, -} from "./analyzeActionsResult"; -export { - ErrorCode, - TextAnalyticsError, - TextAnalyticsErrorResult, - TextAnalyticsSuccessResult, -} from "./textAnalyticsResult"; - -export { TextAnalyticsAction, CustomTextAnalyticsAction } from "./textAnalyticsAction"; - -// Models -export { + SentimentAnalysisAction, + EntityLinkingAction, + EntityRecognitionAction, + KeyPhraseExtractionAction, + LanguageDetectionAction, + PiiEntityRecognitionAction, + StringIndexType, + LinkedEntity, + Entity, DetectedLanguage, - TextDocumentStatistics, + PiiCategory, + PiiDomain, SentimentConfidenceScores, - TextDocumentInput, - DetectLanguageInput, - TextDocumentBatchStatistics, - Entity, - DocumentSentimentLabel, SentenceSentimentLabel, - ErrorCodeValue, - InnerErrorCodeValue, - KnownInnerErrorCodeValue, + DocumentSentimentLabel, + TargetConfidenceScores, + TokenSentimentLabel, + LanguageDetectionInput, + TextDocumentInput, + TextDocumentStatistics, + DocumentWarning, WarningCode, - KnownWarningCode, - LinkedEntity, Match, - SentenceAssessment, - TargetConfidenceScoreLabel, - TokenSentimentValue, - TextAnalyticsWarning, - State as TextAnalyticsOperationStatus, - HealthcareAssertion as EntityAssertion, - PiiCategory as PiiEntityCategory, - Association as EntityAssociation, - Certainty as EntityCertainty, - Conditionality as EntityConditionality, - RelationType as HealthcareEntityRelationType, - KnownHealthcareEntityCategory, + ActionCommon, + ActionPrebuilt, + HealthcareAction, + CustomEntityRecognitionAction, + CustomSingleLabelClassificationAction, + CustomMultiLabelClassificationAction, + ExtractiveSummarizationAction, + OperationStatus, + ActionCustom, + ClassificationCategory, + HealthcareAssertion, HealthcareEntityCategory, - ClassificationResult, + ExtractiveSummarizationOrderingCriteria, + SummarySentence, + EntityDataSource, + RelationType, + Association, + Certainty, + Conditionality, + FhirVersion, + /** orphan exports */ + KnownPiiDomain, + KnownPiiCategory, + KnownStringIndexType, + KnownErrorCode, + KnownInnerErrorCode, + KnownExtractiveSummarizationOrderingCriteria, + TextDocumentBatchStatistics, } from "./generated/models"; diff --git a/sdk/textanalytics/ai-text-analytics/src/lro.ts b/sdk/textanalytics/ai-text-analytics/src/lro.ts new file mode 100644 index 000000000000..b72f8ac3cf72 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/lro.ts @@ -0,0 +1,318 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import * as Mappers from "./generated/models/mappers"; +import * as Parameters from "./generated/models/parameters"; +import { + AnalyzeBatchActionUnion, + AnalyzeTextJobStatusOptionalParams, + AnalyzeTextJobStatusResponse, + GeneratedClient, + TextDocumentInput, +} from "./generated"; +import { AnalyzeBatchOperationState, AnalyzeBatchResult, PagedAnalyzeBatchResult } from "./models"; +import { + FullOperationResponse, + OperationOptions, + OperationSpec, + createSerializer, +} from "@azure/core-client"; +import { LongRunningOperation, LroResponse, RawResponse } from "@azure/core-lro"; +import { PagedResult, getPagedAsyncIterator } from "@azure/core-paging"; +import { transformAnalyzeBatchResults, transformError } from "./transforms"; +import { HttpMethods } from "@azure/core-rest-pipeline"; +import { TracingClient } from "@azure/core-tracing"; +import { clientName } from "./constants"; +import { logger } from "./logger"; + +const serializer = createSerializer(Mappers, /* isXml */ false); + +const jobStatusOperationSpec: OperationSpec = { + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.AnalyzeTextJobState, + }, + default: { + bodyMapper: Mappers.ErrorResponse, + }, + }, + headerParameters: [Parameters.accept], + queryParameters: [Parameters.top, Parameters.skip, Parameters.includeStatistics], + serializer, +}; + +async function getRawResponse( + getResponse: (options: TOptions) => Promise, + options: TOptions +): Promise> { + const { onResponse } = options || {}; + let rawResponse: FullOperationResponse | undefined = undefined; + const flatResponse = await getResponse({ + ...options, + onResponse: (response: FullOperationResponse, flatResponseParam: unknown) => { + rawResponse = response; + onResponse?.(response, flatResponseParam); + }, + }); + return { + flatResponse, + rawResponse: { + statusCode: rawResponse!.status, + headers: rawResponse!.headers.toJSON(), + body: rawResponse!.parsedBody, + }, + }; +} + +async function sendRequest(settings: { + client: GeneratedClient; + tracing: TracingClient; + spec: OperationSpec; + spanStr: string; + opOptions: TOptions; + path: string; + httpMethod?: HttpMethods; +}): Promise> { + const { client, opOptions, path, spanStr, spec, tracing, httpMethod = "GET" } = settings; + return tracing.withSpan(spanStr, opOptions, async (finalOptions: TOptions) => { + try { + const response = getRawResponse( + (options) => + client.sendOperationRequest( + { options }, + { + ...spec, + path, + httpMethod, + } + ), + finalOptions + ); + return response; + } catch (e: unknown) { + throw transformError(e); + } + }); +} + +/** + * @internal + */ +export function createSendPollRequest(settings: { + client: GeneratedClient; + tracing: TracingClient; + options: TOptions; + spanStr: string; +}): (path: string) => Promise> { + const { client, options, tracing, spanStr } = settings; + return async (path: string): Promise> => { + return throwTransformErrors( + sendRequest({ + client, + opOptions: options, + path, + spanStr, + spec: jobStatusOperationSpec, + tracing, + }) + ); + }; +} + +/** + * @internal + */ +export function createAnalyzeBatchLro(settings: { + client: GeneratedClient; + tracing: TracingClient; + commonOptions: OperationOptions; + initialRequestOptions: { + displayName?: string; + }; + pollRequestOptions: { + includeStatistics?: boolean; + }; + documents: TextDocumentInput[]; + tasks: AnalyzeBatchActionUnion[]; +}): LongRunningOperation { + const { + client, + commonOptions, + documents, + initialRequestOptions, + pollRequestOptions, + tasks, + tracing, + } = settings; + return { + requestMethod: "POST", + requestPath: "/analyze-text/jobs", + async sendInitialRequest(): Promise> { + return tracing.withSpan( + `${clientName}.beginAnalyzeBatch`, + { + ...commonOptions, + ...initialRequestOptions, + }, + async (finalOptions) => + throwTransformErrors( + getRawResponse( + (paramOptions) => + client.analyzeText.submitJob( + { + tasks, + analysisInput: { + documents, + }, + displayName: initialRequestOptions.displayName, + }, + paramOptions + ), + finalOptions + ) + ) + ); + }, + sendPollRequest: createSendPollRequest({ + client, + options: { ...commonOptions, ...pollRequestOptions }, + spanStr: `${clientName}.beginAnalyzeBatch`, + tracing, + }), + }; +} + +/** + * @internal + */ +export function getDocsFromState(serializedState: string): TextDocumentInput[] { + try { + const { documents } = JSON.parse(serializedState).state; + return documents; + } catch (e) { + logger.error( + `Documents are not found in the LRO's state. The results may not be ordered correctly.` + ); + return []; + } +} + +/** + * @internal + */ +export function createCreateAnalyzeBatchPollerLro(settings: { + client: GeneratedClient; + tracing: TracingClient; + options: OptionsT; +}): LongRunningOperation { + const { client, options, tracing } = settings; + return { + requestMethod: "POST", + requestPath: "/analyze-text/jobs", + async sendInitialRequest(): Promise> { + throw new Error(`The operation has already started`); + }, + sendPollRequest: createSendPollRequest({ + client, + options, + spanStr: `${clientName}.beginAnalyzeBatch`, + tracing, + }), + }; +} + +/** + * @internal + */ +export function processAnalyzeResult(options: { + client: GeneratedClient; + tracing: TracingClient; + documents: TextDocumentInput[]; + opOptions: AnalyzeTextJobStatusOptionalParams; + continuationToken?: string; +}): (result: unknown, state: AnalyzeBatchOperationState) => PagedAnalyzeBatchResult { + return (_result: unknown, state: AnalyzeBatchOperationState): PagedAnalyzeBatchResult => { + const { client, documents, opOptions, tracing, continuationToken } = options; + const pageURL = continuationToken ?? (state as any).pollingURL; + const pagedResult: PagedResult = { + firstPageLink: pageURL, + getPage: async (pageLink: string, maxPageSize?: number) => { + const response = await sendRequest({ + client, + spec: jobStatusOperationSpec, + spanStr: `${clientName}.beginAnalyzeBatch`, + // if `top` is set to `undefined`, the default value will not be sent + // as part of the request. + opOptions: maxPageSize ? { ...opOptions, top: maxPageSize } : opOptions, + path: pageLink, + tracing, + }); + const flatResponse = response.flatResponse as AnalyzeTextJobStatusResponse; + return { + page: transformAnalyzeBatchResults(documents, flatResponse.tasks.items), + nextPageLink: flatResponse.nextLink, + }; + }, + }; + return getPagedAsyncIterator(pagedResult); + }; +} + +type Writable = { + -readonly [P in keyof T]: T[P]; +}; + +/** + * @internal + */ +export function createUpdateAnalyzeState(documents?: TextDocumentInput[]) { + return (state: AnalyzeBatchOperationState, lastResponse: RawResponse): void => { + const { createdOn, lastModifiedOn, operationId, status, displayName, expiresOn, tasks } = + lastResponse.body as AnalyzeTextJobStatusResponse; + const mutableState = state as Writable & { + documents?: TextDocumentInput[]; + }; + mutableState.createdOn = createdOn; + mutableState.lastModifiedOn = lastModifiedOn; + mutableState.expiresOn = expiresOn; + mutableState.displayName = displayName; + mutableState.operationId = operationId; + mutableState.status = status; + mutableState.actionSucceededCount = tasks.completed; + mutableState.actionFailedCount = tasks.failed; + mutableState.actionInProgressCount = tasks.inProgress; + if (mutableState.documents === undefined && documents !== undefined) { + mutableState.documents = documents; + } + }; +} + +async function throwTransformErrors(p: Promise): Promise { + try { + return await p; + } catch (e: unknown) { + throw transformError(e); + } +} + +/** + * @internal + */ +export function createCancelOperation(settings: { + client: GeneratedClient; + tracing: TracingClient; + options: AnalyzeTextJobStatusOptionalParams; +}): (state: AnalyzeBatchOperationState) => Promise { + return async ({ operationId }): Promise => { + const { client, options, tracing } = settings; + await tracing.withSpan(`${clientName}.beginAnalyzeBatch`, options, async (finalOptions) => + throwTransformErrors( + getRawResponse( + (paramOptions) => client.analyzeText.cancelJob(operationId, paramOptions), + finalOptions + ) + ) + ); + }; +} diff --git a/sdk/textanalytics/ai-text-analytics/src/models.ts b/sdk/textanalytics/ai-text-analytics/src/models.ts new file mode 100644 index 000000000000..e6be3bba2a13 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/models.ts @@ -0,0 +1,1006 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AssessmentSentiment, + ClassificationCategory, + CustomEntityRecognitionAction, + CustomMultiLabelClassificationAction, + CustomSingleLabelClassificationAction, + DetectedLanguage, + DocumentSentimentLabel, + DocumentWarning, + Entity, + EntityDataSource, + EntityLinkingAction, + EntityRecognitionAction, + ExtractiveSummarizationAction, + HealthcareAction, + HealthcareAssertion, + HealthcareEntityCategory, + KeyPhraseExtractionAction, + KnownErrorCode, + KnownInnerErrorCode, + LanguageDetectionAction, + LinkedEntity, + OperationStatus, + PiiEntityRecognitionAction, + RelationType, + SentenceSentimentLabel, + SentimentAnalysisAction, + SentimentConfidenceScores, + SummarySentence, + TargetConfidenceScores, + TextDocumentBatchStatistics, + TextDocumentStatistics, + TokenSentimentLabel, +} from "./generated"; +import { CommonClientOptions, OperationOptions } from "@azure/core-client"; +import { PollOperationState, PollerLike } from "@azure/core-lro"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; + +/** + * Configuration options for {@link TextAnalysisClient}. + */ +export interface TextAnalysisClientOptions extends CommonClientOptions { + /** + * The default country hint to use. Defaults to "us". + */ + defaultCountryHint?: string; + + /** + * The default language to use. Defaults to "en". + */ + defaultLanguage?: string; + /** + * The version of the Cognitive Language Service API to use. + */ + apiVersion?: string; +} + +/** + * Options common to all operations. + */ +export interface TextAnalysisOperationOptions extends OperationOptions { + /** + * If set to true, response will contain input and document level statistics. + */ + includeStatistics?: boolean; + /** + * The version of the Cognitive Language Service API to use. + */ + apiVersion?: string; +} + +/** + * Options for the begin analyze actions operation. + */ +export interface BeginAnalyzeBatchOptions extends TextAnalysisOperationOptions { + /** + * Time delay between poll requests, in milliseconds. + */ + updateIntervalInMs?: number; + /** + * The operation's display name. + */ + displayName?: string; +} + +/** + * Options for the begin analyze actions operation. + */ +export interface RestoreAnalyzeBatchPollerOptions extends TextAnalysisOperationOptions { + /** + * Time delay between poll requests, in milliseconds. + */ + updateIntervalInMs?: number; +} + +/** + * Type of actions supported by the {@link TextAnalysisClient.analyze} method. + */ +export const AnalyzeActionNames = { + EntityLinking: "EntityLinking", + EntityRecognition: "EntityRecognition", + KeyPhraseExtraction: "KeyPhraseExtraction", + PiiEntityRecognition: "PiiEntityRecognition", + LanguageDetection: "LanguageDetection", + SentimentAnalysis: "SentimentAnalysis", +} as const; + +/** + * Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method. + */ +export const AnalyzeBatchActionNames = { + SentimentAnalysis: "SentimentAnalysis", + EntityRecognition: "EntityRecognition", + PiiEntityRecognition: "PiiEntityRecognition", + KeyPhraseExtraction: "KeyPhraseExtraction", + EntityLinking: "EntityLinking", + Healthcare: "Healthcare", + ExtractiveSummarization: "ExtractiveSummarization", + CustomEntityRecognition: "CustomEntityRecognition", + CustomSingleLabelClassification: "CustomSingleLabelClassification", + CustomMultiLabelClassification: "CustomMultiLabelClassification", +} as const; + +/** + * Type of actions supported by the {@link TextAnalysisClient.analyze} method. + */ +export type AnalyzeActionName = keyof typeof AnalyzeActionNames; + +/** + * The type of parameters for every action in ${@link AnalyzeActionNames}. + */ +export type AnalyzeActionParameters = { + EntityLinking: EntityLinkingAction; + EntityRecognition: EntityRecognitionAction; + PiiEntityRecognition: PiiEntityRecognitionAction; + KeyPhraseExtraction: KeyPhraseExtractionAction; + SentimentAnalysis: SentimentAnalysisAction; + LanguageDetection: LanguageDetectionAction; +}[ActionName]; + +/** + * Known values of the {@link HealthcareAction.fhirVersion} parameter. + */ +export enum KnownFhirVersion { + /** 4.0.1 */ + "4.0.1" = "4.0.1", +} + +/** + * The type of results of every action in ${@link AnalyzeActionNames}. + */ +export type AnalyzeResult = { + EntityLinking: EntityLinkingResult[]; + EntityRecognition: EntityRecognitionResult[]; + PiiEntityRecognition: PiiEntityRecognitionResult[]; + KeyPhraseExtraction: KeyPhraseExtractionResult[]; + SentimentAnalysis: SentimentAnalysisResult[]; + LanguageDetection: LanguageDetectionResult[]; +}[ActionName]; + +/** + * Enum of possible error codes of a {@link TextAnalysisError}. + */ +export const KnownTextAnalysisErrorCode = { ...KnownErrorCode, ...KnownInnerErrorCode }; + +/** + * Type describing an API error. + */ +export interface TextAnalysisError { + /** + * A code describing the kind of error produced. See {@link KnownTextAnalysisErrorCode}. + */ + readonly code: string; + /** + * A message from the service explaining the error + */ + readonly message: string; + /** + * The target of the particular error (for example, the name of an invalid parameter) + */ + readonly target?: string; +} + +/** + * Base type for results of an action corresponding to a single input document. + */ +export interface TextAnalysisSuccessResult { + /** + * Unique, non-empty document identifier. + */ + readonly id: string; + + /** + * Statistics about the input document and how it was processed by the service. + * This property will have a value when includeStatistics is set to true in + * the client call. + */ + readonly statistics?: TextDocumentStatistics; + + /** + * An array of warning data corresponding to this document. + * + * If no warnings were returned, this array will be empty. + */ + readonly warnings: DocumentWarning[]; + + /** + * Discriminant to determine if this is an error result. + */ + readonly error?: undefined; +} + +/** + * Base type for error results of an action corresponding to a single document. + */ +export interface TextAnalysisErrorResult { + /** + * Unique, non-empty document identifier. + */ + readonly id: string; + + /** + * The Error for this document result. + */ + readonly error: TextAnalysisError; +} + +/** + * The result of an entity recognition action on a single document. + */ +export type EntityRecognitionResult = EntityRecognitionSuccessResult | EntityRecognitionErrorResult; + +/** + * The result of an entity recognition action on a single document, containing + * a collection of {@link Entity} objects identified in that document. + */ +export interface EntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of entities identified in the input document. + */ + readonly entities: Entity[]; +} + +/** + * An error result from an entity recognition action on a single document. + */ +export type EntityRecognitionErrorResult = TextAnalysisErrorResult; + +/** + * The result of an entity recognition action on a single document. + */ +export type PiiEntityRecognitionResult = + | PiiEntityRecognitionSuccessResult + | PiiEntityRecognitionErrorResult; + +/** + * The result of a pii entity recognition action on a single document, + * containing the collection of {@link Entity} objects identified in that + * document. + */ +export interface PiiEntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of entities identified in the input document. + */ + readonly entities: Entity[]; + /** + * The text redacted. + */ + readonly redactedText: string; +} + +/** + * An error result from a pii entity recognition action on a single document. + */ +export type PiiEntityRecognitionErrorResult = TextAnalysisErrorResult; + +/** + * The result of an entity linking action on a single document. + */ +export type EntityLinkingResult = EntityLinkingSuccessResult | EntityLinkingErrorResult; + +/** + * The result of a entity linking action on a single document, containing a + * collection of the {@link LinkedEntity} objects identified in that document. + */ +export interface EntityLinkingSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of entities identified in the input document. + */ + readonly entities: LinkedEntity[]; +} + +/** + * An error result from an entity linking action on a single document. + */ +export type EntityLinkingErrorResult = TextAnalysisErrorResult; + +/** + * The result of a language detection action on a single document. + */ +export type LanguageDetectionResult = LanguageDetectionSuccessResult | LanguageDetectionErrorResult; + +/** + * The result of a language detection action on a single document, + * containing a prediction of what language the document is written in. + */ +export interface LanguageDetectionSuccessResult extends TextAnalysisSuccessResult { + /** + * The top detected language by confidence score. + */ + readonly primaryLanguage: DetectedLanguage; +} + +/** + * An error result from a language detection action on a single document. + */ +export type LanguageDetectionErrorResult = TextAnalysisErrorResult; + +/** + * The result of a sentiment analysis action on a single document. + */ +export type KeyPhraseExtractionResult = + | KeyPhraseExtractionSuccessResult + | KeyPhraseExtractionErrorResult; + +/** + * The result of a key phrase extraction action on a single document, + * containing a collection of the key phrases identified in that document. + */ +export interface KeyPhraseExtractionSuccessResult extends TextAnalysisSuccessResult { + /** + * A list of representative words or phrases. The number of key phrases + * returned is proportional to the number of words in the input document. + */ + readonly keyPhrases: string[]; +} + +/** + * An error result from a key phrase extraction action on a single document. + */ +export type KeyPhraseExtractionErrorResult = TextAnalysisErrorResult; + +/** + * The result of a sentiment analysis action on a single document. + */ +export type SentimentAnalysisResult = SentimentAnalysisSuccessResult | SentimentAnalysisErrorResult; + +/** + * The result of a sentiment analysis action on a single document, + * containing the predicted sentiment for each sentence as well as for the full + * document. + */ +export interface SentimentAnalysisSuccessResult extends TextAnalysisSuccessResult { + /** + * Predicted sentiment for document. For a list of possible values, see {@link DocumentSentimentLabel} + */ + readonly sentiment: DocumentSentimentLabel; + /** + * Document level sentiment confidence scores between 0 and 1 for each + * sentiment class. + */ + readonly confidenceScores: SentimentConfidenceScores; + /** + * The predicted sentiment for each sentence in the corresponding document. + */ + readonly sentences: SentenceSentiment[]; +} + +/** + * The predicted sentiment for a given span of text. For more information + * regarding text sentiment, see {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview}. + */ +export interface SentenceSentiment { + /** + * The sentence text. + */ + readonly text: string; + /** + * The predicted Sentiment for the sentence. For a list of possible values, + * see {@link SentenceSentimentLabel} + */ + readonly sentiment: SentenceSentimentLabel; + /** + * The sentiment confidence score between 0 and 1 for the sentence for all + * classes. + */ + readonly confidenceScores: SentimentConfidenceScores; + /** + * The sentence text offset from the start of the document. + */ + readonly offset: number; + /** + * The length of the sentence text. + */ + readonly length: number; + /** + * The list of opinions mined from this sentence. For example in "The food is + * good, but the service is bad", the following two opinions will be returned: + * "food is good" and "service is bad". + * + * It is non-empty only returned if {@link includeOpinionMining} was set to + * `true`. + */ + readonly opinions: Opinion[]; +} + +/** + * TargetSentiment contains the predicted sentiment, confidence scores and other + * information about a target of a product. A target of a product/service is a + * key component of that product/service. For example in "The food at Hotel Foo + * is good", "food" is a target of "Hotel Foo". + */ +export interface TargetSentiment { + /** + * The sentiment confidence score between 0 and 1 for the target for + * 'positive' and 'negative' labels. + */ + readonly confidenceScores: TargetConfidenceScores; + /** + * The predicted Sentiment for the Target. For a list of possible values, + * see {@link TokenSentimentLabel} + */ + readonly sentiment: TokenSentimentLabel; + /** + * The target text. + */ + readonly text: string; + /** + * The Target text offset from the start of the sentence. + */ + readonly offset: number; + /** + * The length of the Target text. + */ + readonly length: number; +} + +/** + * A mined opinion object represents an opinion we've extracted from a sentence. + * It consists of both a target that these assessments are about, and the actual + * assessments themselves. + */ +export interface Opinion { + /** + * The target of a product/service that this assessment is about. + */ + readonly target: TargetSentiment; + /** + * The actual assessments of the target. + */ + readonly assessments: AssessmentSentiment[]; +} + +/** + * A healthcare entity represented as a node in a directed graph where the edges are + * a particular type of relationship between the source and target nodes. + */ +export interface HealthcareEntity extends Entity { + /** + * Normalized name for the entity. For example, the normalized text for "histologically" is "histologic". + */ + readonly normalizedText?: string; + /** + * Whether the entity is negated. + */ + readonly assertion?: HealthcareAssertion; + /** + * Entity references in known data sources. + */ + readonly 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** + */ + readonly category: HealthcareEntityCategory; +} + +/** + * The type of different roles a healthcare entity can play in a relation. + */ +export type HealthcareEntityRelationRoleType = string; + +/** + * A healthcare entity that plays a specific role in a relation. + */ +export interface HealthcareEntityRelationRole { + /** + * A healthcare entity + */ + readonly entity: HealthcareEntity; + /** + * The role of the healthcare entity in a particular relation. + */ + readonly name: HealthcareEntityRelationRoleType; +} + +/** + * A relationship between two or more healthcare entities. + */ +export interface HealthcareEntityRelation { + /** + * The type of the healthcare relation. + */ + readonly relationType: RelationType; + /** + * The list of healthcare entities and their roles in the healthcare relation. + */ + readonly roles: HealthcareEntityRelationRole[]; +} + +/** + * The results of a successful healthcare operation for a single document. + */ +export interface HealthcareSuccessResult extends TextAnalysisSuccessResult { + /** + * Healthcare entities. + */ + readonly entities: HealthcareEntity[]; + /** + * Relations between healthcare entities. + */ + readonly entityRelations: HealthcareEntityRelation[]; + /** + * JSON bundle containing a FHIR compatible object for consumption in other + * Healthcare tools. For additional information see {@link https://www.hl7.org/fhir/overview.html}. + */ + readonly fhirBundle?: Record; +} + +/** + * An error result from the healthcare operation on a single document. + */ +export type HealthcareErrorResult = TextAnalysisErrorResult; + +/** + * The result of the healthcare operation on a single document. + */ +export type HealthcareResult = HealthcareSuccessResult | HealthcareErrorResult; + +/** + * The result of the extract summary operation on a single document. + */ +export type SummarizationExtractionResult = + | SummarizationExtractionSuccessResult + | SummarizationExtractionErrorResult; + +/** + * The result of the summarization extraction action on a single document, + * containing a collection of the summary identified in that document. + */ +export interface SummarizationExtractionSuccessResult extends TextAnalysisSuccessResult { + /** + * A list of sentences composing a summary of the input document. + */ + readonly sentences: SummarySentence[]; +} + +/** + * An error result from the extract summary operation on a single document. + */ +export type SummarizationExtractionErrorResult = TextAnalysisErrorResult; + +/** + * The result of the custom recognize entities operation on a single document. + */ +export type CustomEntityRecognitionResult = + | CustomEntityRecognitionSuccessResult + | CustomEntityRecognitionErrorResult; + +/** + * The result of the recognize custom entities operation on a single document, + * containing a collection of the entities identified in that document. + */ +export interface CustomEntityRecognitionSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of entities identified in the input document. + */ + readonly entities: Entity[]; +} + +/** + * An error result from the recognize custom entities operation on a single document. + */ +export type CustomEntityRecognitionErrorResult = TextAnalysisErrorResult; + +/** + * The result of the custom classify document single category operation on a single document. + */ +export type CustomSingleLabelClassificationResult = + | CustomSingleLabelClassificationSuccessResult + | CustomSingleLabelClassificationErrorResult; + +/** + * The result of the custom classify document single category operation on a single document, + * containing the result of the classification. + */ +export interface CustomSingleLabelClassificationSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of classifications in the input document. + */ + readonly classifications: ClassificationCategory[]; +} + +/** + * An error result from the custom classify document single category operation on a single document. + */ +export type CustomSingleLabelClassificationErrorResult = TextAnalysisErrorResult; + +/** + * The result of the custom classify document multi categories operation on a multi document. + */ +export type CustomMultiLabelClassificationResult = + | CustomMultiLabelClassificationSuccessResult + | CustomMultiLabelClassificationErrorResult; + +/** + * The result of the custom classify document multi categories operation on a multi document, + * containing the result of the classification. + */ +export interface CustomMultiLabelClassificationSuccessResult extends TextAnalysisSuccessResult { + /** + * The collection of classifications in the input document. + */ + readonly classifications: ClassificationCategory[]; +} + +/** + * An error result from the custom classify document multi category operation on a multi document. + */ +export type CustomMultiLabelClassificationErrorResult = TextAnalysisErrorResult; + +/** + * Options common to all batch actions. + */ +export interface AnalyzeBatchActionCommon { + /** + * The name of the action. + */ + actionName?: string; +} + +/** Options for an entity linking batch action. */ +export interface EntityLinkingBatchAction extends AnalyzeBatchActionCommon, EntityLinkingAction { + /** + * The kind of the action. + */ + kind: "EntityLinking"; +} + +/** Options for an entity recognition batch action. */ +export interface EntityRecognitionBatchAction + extends AnalyzeBatchActionCommon, + EntityRecognitionAction { + /** + * The kind of the action. + */ + kind: "EntityRecognition"; +} + +/** Options for an key phrase extraction batch action. */ +export interface KeyPhraseExtractionBatchAction + extends AnalyzeBatchActionCommon, + KeyPhraseExtractionAction { + /** + * The kind of the action. + */ + kind: "KeyPhraseExtraction"; +} + +/** Options for a pii entity recognition batch action. */ +export interface PiiEntityRecognitionBatchAction + extends AnalyzeBatchActionCommon, + PiiEntityRecognitionAction { + /** + * The kind of the action. + */ + kind: "PiiEntityRecognition"; +} + +/** Options for a healthcare batch action. */ +export interface HealthcareBatchAction extends AnalyzeBatchActionCommon, HealthcareAction { + /** + * The kind of the action. + */ + kind: "Healthcare"; +} + +/** Options for an extractive summarization batch action. */ +export interface ExtractiveSummarizationBatchAction + extends AnalyzeBatchActionCommon, + ExtractiveSummarizationAction { + /** + * The kind of the action. + */ + kind: "ExtractiveSummarization"; +} + +/** Options for a sentiment analysis batch action. */ +export interface SentimentAnalysisBatchAction + extends AnalyzeBatchActionCommon, + SentimentAnalysisAction { + /** + * The kind of the action. + */ + kind: "SentimentAnalysis"; +} + +/** Options for a custom entity recognition batch action. */ +export interface CustomEntityRecognitionBatchAction + extends AnalyzeBatchActionCommon, + CustomEntityRecognitionAction { + /** + * The kind of the action. + */ + kind: "CustomEntityRecognition"; +} + +/** Options for a custom single-label classification batch action. */ +export interface CustomSingleLabelClassificationBatchAction + extends AnalyzeBatchActionCommon, + CustomSingleLabelClassificationAction { + /** + * The kind of the action. + */ + kind: "CustomSingleLabelClassification"; +} + +/** Options for a custom multi-label classification batch action. */ +export interface CustomMultiLabelClassificationBatchAction + extends AnalyzeBatchActionCommon, + CustomMultiLabelClassificationAction { + /** + * The kind of the action. + */ + kind: "CustomMultiLabelClassification"; +} + +/** + * Batch of actions. + */ +export type AnalyzeBatchAction = + | EntityLinkingBatchAction + | EntityRecognitionBatchAction + | KeyPhraseExtractionBatchAction + | PiiEntityRecognitionBatchAction + | HealthcareBatchAction + | ExtractiveSummarizationBatchAction + | SentimentAnalysisBatchAction + | CustomEntityRecognitionBatchAction + | CustomSingleLabelClassificationBatchAction + | CustomMultiLabelClassificationBatchAction; + +/** + * Type of actions supported by the {@link TextAnalysisClient.beginAnalyzeBatch} method. + */ +export type AnalyzeBatchActionName = keyof typeof AnalyzeBatchActionNames; + +/** The State of a batched action */ +export interface BatchActionState { + /** + * The kind of the action results. + */ + readonly kind: Kind; + /** + * The name of the action. + */ + readonly actionName?: string; + /** + * Action statistics. + */ + readonly statistics?: TextDocumentBatchStatistics; +} + +/** + * Action metadata. + */ +export interface ActionMetadata { + /** + * The model version used to perform the action. + */ + readonly modelVersion: string; +} + +/** + * Custom action metadata. + */ +export interface CustomActionMetadata { + /** + * The name of the project used to perform the action. + */ + readonly projectName: string; + /** + * The name of the deployment used to perform the action. + */ + readonly deploymentName: string; +} + +/** + * The state of a succeeded batched action. + */ +export interface BatchActionSuccessResult + extends BatchActionState { + /** + * The list of document results. + */ + readonly results: T[]; + /** + * When this action was completed by the service. + */ + readonly completedOn: Date; + /** + * Discriminant to determine if that this is an error result. + */ + readonly error?: undefined; +} + +/** + * The error of an analyze batch action. + */ +export interface BatchActionErrorResult + extends BatchActionState { + /** + * When this action was completed by the service. + */ + readonly failedOn: Date; + /** + * The Error for this action result. + */ + readonly error: TextAnalysisError; +} + +/** + * The result of a batched action. + */ +export type BatchActionResult = + | BatchActionSuccessResult + | BatchActionErrorResult; + +/** + * The result of an entity linking batch action. + */ +export type EntityLinkingBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of an entity recognition batch action. + */ +export type EntityRecognitionBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of a key phrase extraction batch action. + */ +export type KeyPhraseExtractionBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of a pii entity recognition batch action. + */ +export type PiiEntityRecognitionBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of a sentiment analysis batch action. + */ +export type SentimentAnalysisBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of a healthcare batch action. + */ +export type HealthcareBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of an extractive summarization batch action. + */ +export type ExtractiveSummarizationBatchResult = ActionMetadata & + BatchActionResult; + +/** + * The result of a custom entity recognition batch action. + */ +export type CustomEntityRecognitionBatchResult = CustomActionMetadata & + BatchActionResult; + +/** + * The result of a custom single-label classification batch action. + */ +export type CustomSingleLabelClassificationBatchResult = CustomActionMetadata & + BatchActionResult; + +/** + * The result of a custom multi-label classification batch action. + */ +export type CustomMultiLabelClassificationBatchResult = CustomActionMetadata & + BatchActionResult; +/** + * Results of a batch of actions. + */ +export type AnalyzeBatchResult = + | EntityLinkingBatchResult + | EntityRecognitionBatchResult + | KeyPhraseExtractionBatchResult + | PiiEntityRecognitionBatchResult + | SentimentAnalysisBatchResult + | HealthcareBatchResult + | ExtractiveSummarizationBatchResult + | CustomEntityRecognitionBatchResult + | CustomSingleLabelClassificationBatchResult + | CustomMultiLabelClassificationBatchResult; + +/** + * An error result from a sentiment analysis action on a single document. + */ +export type SentimentAnalysisErrorResult = TextAnalysisErrorResult; + +/** + * Paged results of the {@link TextAnalysisClient.beginAnalyzeBatch} operation. + */ +export type PagedAnalyzeBatchResult = PagedAsyncIterableIterator; + +/** + * A poller that polls long-running operations started by {@link TextAnalysisClient.beginAnalyzeBatch}. + */ +export type AnalyzeBatchPoller = PollerLike; + +/** + * The metadata for long-running operations started by {@link TextAnalysisClient.beginAnalyzeBatch}. + */ +export interface AnalyzeBatchOperationMetadata { + /** + * The date and time the operation was created. + */ + readonly createdOn: Date; + /** + * The date and time when the operation results will expire on the server. + */ + readonly expiresOn?: Date; + /** + * The operation id. + */ + readonly operationId: string; + /** + * The time the operation status was last updated. + */ + readonly lastModifiedOn: Date; + /** + * The current status of the operation. + */ + readonly status: OperationStatus; + /** + * Number of successfully completed actions. + */ + readonly actionSucceededCount: number; + /** + * Number of failed actions. + */ + readonly actionFailedCount: number; + /** + * Number of actions still in progress. + */ + readonly actionInProgressCount: number; + /** + * The operation's display name. + */ + readonly displayName?: string; +} + +/** + * The state of the begin analyze polling operation. + */ +export interface AnalyzeBatchOperationState + extends PollOperationState, + AnalyzeBatchOperationMetadata {} diff --git a/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResult.ts b/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResult.ts deleted file mode 100644 index 876858c404ac..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResult.ts +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { TextAnalyticsError, MultiClassificationDocument } from "./generated/models"; -import { ClassificationCategory } from "./singleCategoryClassifyResult"; - -/** - * The result of the custom classify document multi categories operation on a multi document. - */ -export type MultiCategoryClassifyResult = - | MultiCategoryClassifySuccessResult - | MultiCategoryClassifyErrorResult; - -/** - * The result of the custom classify document multi categories operation on a multi document, - * containing the result of the classification. - */ -export interface MultiCategoryClassifySuccessResult extends TextAnalyticsSuccessResult { - /** - * The collection of classifications in the input document. - */ - classifications: ClassificationCategory[]; -} - -/** - * An error result from the custom classify document multi category operation on a multi document. - */ -export type MultiCategoryClassifyErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeMultiCategoryClassifyResult( - result: MultiClassificationDocument -): MultiCategoryClassifySuccessResult { - const { id, warnings, statistics, classifications } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - classifications, - }; -} - -/** - * @internal - */ -export function makeMultiCategoryClassifyErrorResult( - id: string, - error: TextAnalyticsError -): MultiCategoryClassifyErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResultArray.ts deleted file mode 100644 index 94d42cffafbc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/multiCategoryClassifyResultArray.ts +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - CustomMultiClassificationResult, -} from "./generated/models"; -import { - MultiCategoryClassifyResult, - makeMultiCategoryClassifyResult, - makeMultiCategoryClassifyErrorResult, -} from "./multiCategoryClassifyResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from "./textAnalyticsResult"; - -/** - * Array of `MultiCategoryClassifyResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface MultiCategoryClassifyResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics custom project used by this operation on this - * batch of input documents. - */ - projectName: string; - /** - * The version of the text analytics custom deployment used by this operation on this - * batch of input documents. - */ - deploymentName: string; -} - -/** - * @internal - */ -export function makeMultiCategoryClassifyResultArray( - input: TextDocumentInput[], - response: CustomMultiClassificationResult -): MultiCategoryClassifyResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo( - input, - response, - makeMultiCategoryClassifyResult, - makeMultiCategoryClassifyErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/pollerModels.ts b/sdk/textanalytics/ai-text-analytics/src/pollerModels.ts deleted file mode 100644 index 1e81c7a36632..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/pollerModels.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { PollOperationState } from "@azure/core-lro"; -import { State } from "./generated/models"; - -/** - * Metadata information for an analysis poller operation. - */ -export interface OperationMetadata { - /** - * The date and time the operation was created. - */ - createdOn: Date; - /** - * The date and time when the operation results will expire on the server. - */ - expiresOn?: Date; - /** - * The operation id. - */ - operationId: string; - /** - * The time the operation status was last updated. - */ - lastModifiedOn: Date; - /** - * The current status of the operation. - */ - status: State; -} - -/** - * An interface representing the state of an analysis poller operation. - */ -export interface AnalysisPollOperationState - extends PollOperationState, - OperationMetadata {} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResult.ts deleted file mode 100644 index 0bc0a949e318..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResult.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { Entity, TextAnalyticsError, DocumentEntities } from "./generated/models"; - -/** - * An entity from text analysis with information about its categorical - * classification. - */ -export interface CategorizedEntity extends Entity {} - -/** - * The result of the recognize entities operation on a single document. - */ -export type RecognizeCategorizedEntitiesResult = - | RecognizeCategorizedEntitiesSuccessResult - | RecognizeCategorizedEntitiesErrorResult; - -/** - * The result of the recognize entities operation on a single document, containing the collection of - * `Entity` objects identified in that document. - */ -export interface RecognizeCategorizedEntitiesSuccessResult extends TextAnalyticsSuccessResult { - /** - * The collection of entities identified in the input document. - */ - readonly entities: CategorizedEntity[]; -} - -/** - * An error result from the recognize entities operation on a single document. - */ -export type RecognizeCategorizedEntitiesErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeRecognizeCategorizedEntitiesResult( - result: DocumentEntities -): RecognizeCategorizedEntitiesSuccessResult { - const { entities, statistics, warnings, id } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - entities, - }; -} - -/** - * @internal - */ -export function makeRecognizeCategorizedEntitiesErrorResult( - id: string, - error: TextAnalyticsError -): RecognizeCategorizedEntitiesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResultArray.ts deleted file mode 100644 index b0783b33def5..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeCategorizedEntitiesResultArray.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { TextDocumentBatchStatistics, TextDocumentInput, EntitiesResult } from "./generated/models"; -import { - RecognizeCategorizedEntitiesResult, - makeRecognizeCategorizedEntitiesResult, - makeRecognizeCategorizedEntitiesErrorResult, -} from "./recognizeCategorizedEntitiesResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `RecognizeCategorizedEntitiesResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface RecognizeCategorizedEntitiesResultArray - extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeRecognizeCategorizedEntitiesResultArray( - input: TextDocumentInput[], - response: EntitiesResult -): RecognizeCategorizedEntitiesResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeRecognizeCategorizedEntitiesResult, - makeRecognizeCategorizedEntitiesErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResult.ts deleted file mode 100644 index e13b8786e3fc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResult.ts +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { TextAnalyticsError, DocumentEntities } from "./generated/models"; -import { CategorizedEntity } from "./recognizeCategorizedEntitiesResult"; - -/** - * The result of the custom recognize entities operation on a single document. - */ -export type RecognizeCustomEntitiesResult = - | RecognizeCustomEntitiesSuccessResult - | RecognizeCustomEntitiesErrorResult; - -/** - * The result of the recognize custom entities operation on a single document, - * containing a collection of the entities identified in that document. - */ -export interface RecognizeCustomEntitiesSuccessResult extends TextAnalyticsSuccessResult { - /** - * The collection of entities identified in the input document. - */ - entities: CategorizedEntity[]; -} - -/** - * An error result from the recognize custom entities operation on a single document. - */ -export type RecognizeCustomEntitiesErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeRecognizeCustomEntitiesResult( - result: DocumentEntities -): RecognizeCustomEntitiesSuccessResult { - const { id, warnings, statistics, entities } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - entities, - }; -} - -/** - * @internal - */ -export function makeRecognizeCustomEntitiesErrorResult( - id: string, - error: TextAnalyticsError -): RecognizeCustomEntitiesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResultArray.ts deleted file mode 100644 index c35b6b5df1eb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeCustomEntitiesResultArray.ts +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - CustomEntitiesResult, -} from "./generated/models"; -import { - RecognizeCustomEntitiesResult, - makeRecognizeCustomEntitiesResult, - makeRecognizeCustomEntitiesErrorResult, -} from "./recognizeCustomEntitiesResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from "./textAnalyticsResult"; - -/** - * Array of `CustomRecognizeEntitiesResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface RecognizeCustomEntitiesResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics custom project used by this operation on this - * batch of input documents. - */ - projectName: string; - /** - * The version of the text analytics custom deployment used by this operation on this - * batch of input documents. - */ - deploymentName: string; -} - -/** - * @internal - */ -export function makeRecognizeCustomEntitiesResultArray( - input: TextDocumentInput[], - response: CustomEntitiesResult -): RecognizeCustomEntitiesResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo( - input, - response, - makeRecognizeCustomEntitiesResult, - makeRecognizeCustomEntitiesErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResult.ts deleted file mode 100644 index 934d6f36ee1d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResult.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { TextAnalyticsError, LinkedEntity, DocumentLinkedEntities } from "./generated/models"; - -/** - * The result of the recognize linked entities operation on a single document. - */ -export type RecognizeLinkedEntitiesResult = - | RecognizeLinkedEntitiesSuccessResult - | RecognizeLinkedEntitiesErrorResult; - -/** - * The result of the recognize linked entities operation on a single document, - * containing a collection of the `LinkedEntity` objects identified in that document. - */ -export interface RecognizeLinkedEntitiesSuccessResult extends TextAnalyticsSuccessResult { - /** - * The collection of entities identified in the input document. - */ - readonly entities: LinkedEntity[]; -} - -/** - * An error result from the recognize linked entities operation on a single document. - */ -export type RecognizeLinkedEntitiesErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeRecognizeLinkedEntitiesResult( - result: DocumentLinkedEntities -): RecognizeLinkedEntitiesSuccessResult { - const { statistics, id, warnings, entities } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - entities, - }; -} - -/** - * @internal - */ -export function makeRecognizeLinkedEntitiesErrorResult( - id: string, - error: TextAnalyticsError -): RecognizeLinkedEntitiesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResultArray.ts deleted file mode 100644 index 92415131c483..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizeLinkedEntitiesResultArray.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - EntityLinkingResult, -} from "./generated/models"; -import { - RecognizeLinkedEntitiesResult, - makeRecognizeLinkedEntitiesResult, - makeRecognizeLinkedEntitiesErrorResult, -} from "./recognizeLinkedEntitiesResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Array of `RecognizeLinkedEntitiesResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface RecognizeLinkedEntitiesResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeRecognizeLinkedEntitiesResultArray( - input: TextDocumentInput[], - response: EntityLinkingResult -): RecognizeLinkedEntitiesResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeRecognizeLinkedEntitiesResult, - makeRecognizeLinkedEntitiesErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResult.ts deleted file mode 100644 index f3a7d399d38e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResult.ts +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { Entity, PiiDocumentEntities, TextAnalyticsError } from "./generated/models"; - -/** - * An entity from PII recognition with information about the kind of PII - * encountered. - */ -export interface PiiEntity extends Entity {} - -/** - * The result of the recognize entities operation on a single document. - */ -export type RecognizePiiEntitiesResult = - | RecognizePiiEntitiesSuccessResult - | RecognizePiiEntitiesErrorResult; - -/** - * The result of the recognize entities operation on a single document, containing the collection of - * `Entity` objects identified in that document. - */ -export interface RecognizePiiEntitiesSuccessResult extends TextAnalyticsSuccessResult { - /** - * The collection of entities identified in the input document. - */ - readonly entities: PiiEntity[]; - /** - * The text redacted. - */ - redactedText: string; -} - -/** - * An error result from the recognize entities operation on a single document. - */ -export type RecognizePiiEntitiesErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeRecognizePiiEntitiesResult( - document: PiiDocumentEntities -): RecognizePiiEntitiesSuccessResult { - const { id, entities, warnings, statistics, redactedText } = document; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - entities, - redactedText, - }; -} - -/** - * @internal - */ -export function makeRecognizePiiEntitiesErrorResult( - id: string, - error: TextAnalyticsError -): RecognizePiiEntitiesErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResultArray.ts deleted file mode 100644 index 24179a90fe25..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/recognizePiiEntitiesResultArray.ts +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { TextDocumentBatchStatistics, TextDocumentInput, PiiResult } from "./generated/models"; -import { - RecognizePiiEntitiesResult, - makeRecognizePiiEntitiesResult, - makeRecognizePiiEntitiesErrorResult, -} from "./recognizePiiEntitiesResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion } from "./textAnalyticsResult"; - -/** - * Collection of `RecognizePiiEntitiesResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface RecognizePiiEntitiesResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -/** - * @internal - */ -export function makeRecognizePiiEntitiesResultArray( - input: TextDocumentInput[], - response: PiiResult -): RecognizePiiEntitiesResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion( - input, - response, - makeRecognizePiiEntitiesResult, - makeRecognizePiiEntitiesErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResult.ts b/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResult.ts deleted file mode 100644 index c715fb0dd8c8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResult.ts +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - makeTextAnalyticsSuccessResult, - TextAnalyticsSuccessResult, - TextAnalyticsErrorResult, - makeTextAnalyticsErrorResult, -} from "./textAnalyticsResult"; -import { - TextAnalyticsError, - ClassificationResult, - SingleClassificationDocument, -} from "./generated/models"; - -/** - * The result of the custom classify document single category operation on a single document. - */ -export type SingleCategoryClassifyResult = - | SingleCategoryClassifySuccessResult - | SingleCategoryClassifyErrorResult; - -/** - * The result of the custom classify document single category operation on a single document, - * containing the result of the classification. - */ -export interface SingleCategoryClassifySuccessResult extends TextAnalyticsSuccessResult { - /** - * The classification result of the input document. - */ - classification: ClassificationCategory; -} - -/** - * A classification result from a custom classify document single category action - */ -export interface ClassificationCategory extends ClassificationResult {} - -/** - * An error result from the custom classify document single category operation on a single document. - */ -export type SingleCategoryClassifyErrorResult = TextAnalyticsErrorResult; - -/** - * @internal - */ -export function makeSingleCategoryClassifyResult( - result: SingleClassificationDocument -): SingleCategoryClassifySuccessResult { - const { id, warnings, statistics, classification } = result; - return { - ...makeTextAnalyticsSuccessResult(id, warnings, statistics), - classification, - }; -} - -/** - * @internal - */ -export function makeSingleCategoryClassifyErrorResult( - id: string, - error: TextAnalyticsError -): SingleCategoryClassifyErrorResult { - return makeTextAnalyticsErrorResult(id, error); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResultArray.ts b/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResultArray.ts deleted file mode 100644 index 9fa37d2141dd..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/singleCategoryClassifyResultArray.ts +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentBatchStatistics, - TextDocumentInput, - CustomSingleClassificationResult, -} from "./generated/models"; -import { - SingleCategoryClassifyResult, - makeSingleCategoryClassifyResult, - makeSingleCategoryClassifyErrorResult, -} from "./singleCategoryClassifyResult"; -import { combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo } from "./textAnalyticsResult"; - -/** - * Array of `SingleCategoryClassifyResult` objects corresponding to a batch of input documents, and - * annotated with information about the batch operation. - */ -export interface SingleCategoryClassifyResultArray extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics custom project used by this operation on this - * batch of input documents. - */ - projectName: string; - /** - * The version of the text analytics custom deployment used by this operation on this - * batch of input documents. - */ - deploymentName: string; -} - -/** - * @internal - */ -export function makeSingleCategoryClassifyResultArray( - input: TextDocumentInput[], - response: CustomSingleClassificationResult -): SingleCategoryClassifyResultArray { - return combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo( - input, - response, - makeSingleCategoryClassifyResult, - makeSingleCategoryClassifyErrorResult - ); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalysisClient.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalysisClient.ts new file mode 100644 index 000000000000..40af6013452e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalysisClient.ts @@ -0,0 +1,759 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AnalyzeActionName, + AnalyzeActionParameters, + AnalyzeBatchAction, + AnalyzeBatchOperationState, + AnalyzeBatchPoller, + AnalyzeResult, + BeginAnalyzeBatchOptions, + PagedAnalyzeBatchResult, + RestoreAnalyzeBatchPollerOptions, + TextAnalysisClientOptions, + TextAnalysisOperationOptions, +} from "./models"; +import { + AnalyzeBatchActionUnion, + LanguageDetectionInput, + TextDocumentInput, +} from "./generated/models"; +import { DEFAULT_COGNITIVE_SCOPE, SDK_VERSION } from "./constants"; +import { + InternalPipelineOptions, + RestError, + bearerTokenAuthenticationPolicy, +} from "@azure/core-rest-pipeline"; +import { KeyCredential, TokenCredential, isTokenCredential } from "@azure/core-auth"; +import { LongRunningOperation, LroEngine } from "@azure/core-lro"; +import { TracingClient, createTracingClient } from "@azure/core-tracing"; +import { + convertToLanguageDetectionInput, + convertToTextDocumentInput, + getOperationOptions, + isStringArray, +} from "./util"; +import { + createAnalyzeBatchLro, + createCancelOperation, + createCreateAnalyzeBatchPollerLro, + createUpdateAnalyzeState, + getDocsFromState, + processAnalyzeResult, +} from "./lro"; +import { transformActionResult, transformError } from "./transforms"; +import { GeneratedClient } from "./generated/generatedClient"; +import { logger } from "./logger"; +import { textAnalyticsAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy"; + +/** + * A client for interacting with the text analysis features in Azure Cognitive + * Language Service. + * + * The client needs the endpoint of a Language resource and an authentication + * method such as an API key or AAD. The API key and endpoint can be found in + * the Language resource page in the Azure portal. They will be located in the + * resource's Keys and Endpoint page, under Resource Management. + * + * ### Examples for authentication: + * + * #### API Key + * + * ```js + * import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + * + * const endpoint = "https://.cognitiveservices.azure.com"; + * const credential = new AzureKeyCredential(""); + * + * const client = new TextAnalysisClient(endpoint, credential); + * ``` + * + * #### Azure Active Directory + * + * See the [`@azure/identity`](https://npmjs.com/package/\@azure/identity) + * package for more information about authenticating with Azure Active Directory. + * + * ```js + * import { TextAnalysisClient } from "@azure/ai-text-analytics"; + * import { DefaultAzureCredential } from "@azure/identity"; + * + * const endpoint = "https://.cognitiveservices.azure.com"; + * const credential = new DefaultAzureCredential(); + * + * const client = new TextAnalysisClient(endpoint, credential); + * ``` + */ +export class TextAnalysisClient { + private readonly _client: GeneratedClient; + private readonly _tracing: TracingClient; + private readonly defaultCountryHint: string; + private readonly defaultLanguage: string; + + /** + * Creates an instance of TextAnalysisClient with the endpoint of a Language + * resource and an authentication method such as an API key or AAD. + * + * The API key and endpoint can be found in the Language resource page in the + * Azure portal. They will be located in the resource's Keys and Endpoint page, + * under Resource Management. + * + * ### Example + * + * ```js + * import { TextAnalysisClient, AzureKeyCredential } from "@azure/ai-text-analytics"; + * + * const endpoint = "https://.cognitiveservices.azure.com"; + * const credential = new AzureKeyCredential(""); + * + * const client = new TextAnalysisClient(endpoint, credential); + * ``` + * + * @param endpointUrl - The URL to the endpoint of a Cognitive Language Service resource + * @param credential - Key credential to be used to authenticate requests to the service. + * @param options - Used to configure the TextAnalytics client. + */ + constructor(endpointUrl: string, credential: KeyCredential, options?: TextAnalysisClientOptions); + /** + * Creates an instance of TextAnalysisClient with the endpoint of a Language + * resource and an authentication method such as an API key or AAD. + * + * The API key and endpoint can be found in the Language resource page in the + * Azure portal. They will be located in the resource's Keys and Endpoint page, + * under Resource Management. + * + * ### Example + * + * See the [`@azure/identity`](https://npmjs.com/package/\@azure/identity) + * package for more information about authenticating with Azure Active Directory. + * + * ```js + * import { TextAnalysisClient } from "@azure/ai-text-analytics"; + * import { DefaultAzureCredential } from "@azure/identity"; + * + * const endpoint = "https://.cognitiveservices.azure.com"; + * const credential = new DefaultAzureCredential(); + * + * const client = new TextAnalysisClient(endpoint, credential); + * ``` + * + * @param endpointUrl - The URL to the endpoint of a Cognitive Language Service resource + * @param credential - Token credential to be used to authenticate requests to the service. + * @param options - Used to configure the TextAnalytics client. + */ + constructor( + endpointUrl: string, + credential: TokenCredential, + options?: TextAnalysisClientOptions + ); + constructor( + endpointUrl: string, + credential: TokenCredential | KeyCredential, + options: TextAnalysisClientOptions = {} + ) { + const { defaultCountryHint = "us", defaultLanguage = "en", ...pipelineOptions } = options; + this.defaultCountryHint = defaultCountryHint; + this.defaultLanguage = defaultLanguage; + + const internalPipelineOptions: InternalPipelineOptions = { + ...pipelineOptions, + ...{ + loggingOptions: { + logger: logger.info, + additionalAllowedHeaderNames: ["x-ms-correlation-request-id", "x-ms-request-id"], + }, + }, + }; + + this._client = new GeneratedClient(endpointUrl, internalPipelineOptions); + + const authPolicy = isTokenCredential(credential) + ? bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE }) + : textAnalyticsAzureKeyCredentialPolicy(credential); + + this._client.pipeline.addPolicy(authPolicy); + this._tracing = createTracingClient({ + packageName: "@azure/ai-text-analytics", + packageVersion: SDK_VERSION, + namespace: "Microsoft.CognitiveServices", + }); + } + + /** + * Runs a predictive model to determine the language that the passed-in + * input strings are written in, and returns, for each one, the detected + * language as well as a score indicating the model's confidence that the + * inferred language is correct. Scores close to 1 indicate high certainty in + * the result. 120 languages are supported. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Language detection + * + * ```js + * const documents = []; + * const countryHint = "us"; + * const results = await client.analyze("LanguageDetection", documents, countryHint); + * + * for (let i = 0; i < results.length; i++) { + * const result = results[i]; + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { name, confidenceScore, iso6391Name } = result.primaryLanguage; + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/language-detection/overview} + * for more information on language detection. + * + * @param actionName - the name of the action to be performed on the input + * documents, see ${@link AnalyzeActionName} + * @param documents - the input documents to be analyzed + * @param options - optional action parameters and settings for the operation + * + * @returns an array of results where each element contains the primary language + * for the corresponding input document. + */ + public async analyze( + actionName: ActionName, + documents: LanguageDetectionInput[], + options?: AnalyzeActionParameters & TextAnalysisOperationOptions + ): Promise>; + /** + * Runs a predictive model to determine the language that the passed-in + * input strings are written in, and returns, for each one, the detected + * language as well as a score indicating the model's confidence that the + * inferred language is correct. Scores close to 1 indicate high certainty in + * the result. 120 languages are supported. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Language detection + * + * ```js + * const documents = []; + * const countryHint = "us"; + * const results = await client.analyze("LanguageDetection", documents, countryHint); + * + * for (const result of results) { + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { name, confidenceScore, iso6391Name } = result.primaryLanguage; + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/language-detection/overview} + * for more information on language detection. + * + * @param actionName - the name of the action to be performed on the input + * documents, see ${@link AnalyzeActionName} + * @param documents - the input documents to be analyzed + * @param countryHint - Indicates the country of origin for all of + * the input strings to assist the model in predicting the language they are + * written in. If unspecified, this value will be set to the default + * country hint in `TextAnalysisClientOptions`. If set to an empty string, + * or the string "none", the service will apply a model where the country is + * explicitly unset. The same country hint is applied to all strings in the + * input collection. + * @param options - optional action parameters and settings for the operation + * + * @returns an array of results where each element contains the primary language + * for the corresponding input document. + */ + public async analyze( + actionName: ActionName, + documents: string[], + countryHint?: string, + options?: AnalyzeActionParameters & TextAnalysisOperationOptions + ): Promise>; + /** + * Runs a predictive model to perform the action of choice on the input + * documents. See ${@link AnalyzeActionName} for a list of supported + * actions. + * + * The layout of each item in the results array depends on the action chosen. + * For example, each PIIEntityRecognition document result consists of both + * `entities` and `redactedText` where the former is a list of all Pii entities + * in the text and the latter is the original text after all such Pii entities + * have been redacted from it. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Opinion mining + * + * ```js + * const documents = [{ + * id: "1", + * text: "The food and service aren't the best", + * language: "en" + * }]; + * const results = await client.analyze("SentimentAnalysis", documents, { + * includeOpinionMining: true, + * }); + * + * for (const result of results) { + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { sentiment, confidenceScores, sentences } = result; + * for (const { sentiment, confidenceScores, opinions } of sentences) { + * for (const { target, assessments } of opinions) { + * const { text, sentiment, confidenceScores } = target; + * for (const { text, sentiment } of assessments) { + * // Do something + * } + * } + * } + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview} + * for more information on opinion mining. + * + * #### Personally identifiable information + * + * ```js + * const documents = []; + * const categoriesFilter = [KnownPiiCategory.USSocialSecurityNumber]; + * const domainFilter = KnownPiiDomain.Phi; + * const results = await client.analyze("PiiEntityRecognition", documents, { + * domainFilter, categoriesFilter + * }); + * + * for (const result of results) { + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { entities, redactedText } = result; + * for (const { text, category, confidenceScore, length, offset } of entities) { + * // Do something + * } + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/personally-identifiable-information/overview} + * for more information on personally identifiable information. + * + * @param actionName - the name of the action to be performed on the input + * documents, see ${@link AnalyzeActionName} + * @param documents - the input documents to be analyzed + * @param options - optional action parameters and settings for the operation + * + * @returns an array of results corresponding to the input documents + */ + public async analyze( + actionName: ActionName, + documents: TextDocumentInput[], + options?: AnalyzeActionParameters & TextAnalysisOperationOptions + ): Promise>; + + /** + * Runs a predictive model to perform the action of choice on the input + * strings. See ${@link AnalyzeActionName} for a list of supported + * actions. + * + * The layout of each item in the results array depends on the action chosen. + * For example, each PIIEntityRecognition document result consists of both + * `entities` and `redactedText` where the former is a list of all Pii entities + * in the text and the latter is the original text after all such Pii entities + * have been redacted from it. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Opinion mining + * + * ```js + * const documents = ["The food and service aren't the best"]; + * const results = await client.analyze("SentimentAnalysis", documents, { + * includeOpinionMining: true, + * }); + * + * for (const result of results) { + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { sentiment, confidenceScores, sentences } = result; + * for (const { sentiment, confidenceScores, opinions } of sentences) { + * for (const { target, assessments } of opinions) { + * const { text, sentiment, confidenceScores } = target; + * for (const { text, sentiment } of assessments) { + * // Do something + * } + * } + * } + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/sentiment-opinion-mining/overview} + * for more information on opinion mining. + * + * #### Personally identifiable information + * + * ```js + * const documents = []; + * const languageHint = "en"; + * const categoriesFilter = [KnownPiiCategory.USSocialSecurityNumber]; + * const domainFilter = KnownPiiDomain.Phi; + * const results = await client.analyze("PiiEntityRecognition", documents, languageHint, { + * domainFilter, categoriesFilter + * }); + * + * for (const result of results) { + * if (result.error) { + * // a document has an error instead of results + * } else { + * const { entities, redactedText } = result; + * for (const { text, category, confidenceScore, length, offset } of entities) { + * // Do something + * } + * } + * } + * ``` + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/personally-identifiable-information/overview} + * for more information on personally identifiable information. + * + * @param actionName - the name of the action to be performed on the input + * documents, see ${@link AnalyzeActionName} + * @param documents - the input documents to be analyzed + * @param languageCode - the code of the language that all the input strings are + * written in. If unspecified, this value will be set to the default + * language in `TextAnalysisClientOptions`. If set to an empty string, + * the service will apply a model where the language is explicitly set to + * "None". Language support varies per action, for example, more information + * about the languages supported for Entity Recognition actions can be + * found in {@link https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/language-support} + * @param options - optional action parameters and settings for the operation + * + * @returns an array of results corresponding to the input documents + */ + public async analyze( + actionName: ActionName, + documents: string[], + languageCode?: string, + options?: AnalyzeActionParameters & TextAnalysisOperationOptions + ): Promise>; + // implementation + public async analyze( + actionName: ActionName, + documents: string[] | LanguageDetectionInput[] | TextDocumentInput[], + languageOrCountryHintOrOptions?: + | string + | (AnalyzeActionParameters & TextAnalysisOperationOptions), + options?: AnalyzeActionParameters & TextAnalysisOperationOptions + ): Promise> { + let realOptions: AnalyzeActionParameters & TextAnalysisOperationOptions; + + if (documents.length === 0) { + throw new Error("'documents' must be a non-empty array"); + } + + let realInputs: LanguageDetectionInput[] | TextDocumentInput[]; + if (isStringArray(documents)) { + if (actionName === "LanguageDetection") { + realInputs = convertToLanguageDetectionInput( + documents, + typeof languageOrCountryHintOrOptions === "string" + ? languageOrCountryHintOrOptions + : this.defaultCountryHint + ); + } else { + realInputs = convertToTextDocumentInput( + documents, + typeof languageOrCountryHintOrOptions === "string" + ? languageOrCountryHintOrOptions + : this.defaultLanguage + ); + } + realOptions = options || ({} as any); + } else { + realInputs = documents; + realOptions = + (languageOrCountryHintOrOptions as AnalyzeActionParameters & + TextAnalysisOperationOptions) || {}; + } + const { options: operationOptions, rest: action } = getOperationOptions(realOptions); + return this._tracing.withSpan( + "TextAnalysisClient.analyze", + operationOptions, + async (updatedOptions: TextAnalysisOperationOptions) => { + try { + const result = await this._client.analyze( + { + kind: actionName, + analysisInput: { + documents: realInputs, + }, + parameters: action, + } as any, + updatedOptions + ); + return transformActionResult(actionName, realInputs, result) as AnalyzeResult; + } catch (e: unknown) { + throw transformError(e as RestError); + } + } + ); + } + + /** + * Performs an array (batch) of actions on the input documents. Each action has + * a `kind` field that specifies the nature of the action. See ${@link AnalyzeBatchActionNames} + * for a list of supported actions. In addition to `kind`, actions could also + * have other parameters such as `disableServiceLogs` and `modelVersion`. + * + * The results array contains the results for those input actions where each + * item also has a `kind` field that specifies the type of the results. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Key phrase extraction and Pii entity recognition + * + * ```js + * const poller = await client.beginAnalyzeBatch( + * [{ kind: "KeyPhraseExtraction" }, { kind: "PiiEntityRecognition" }], + * documents + * ); + * const actionResults = await poller.pollUntilDone(); + * + * for await (const actionResult of actionResults) { + * if (actionResult.error) { + * throw new Error(`Unexpected error`); + * } + * switch (actionResult.kind) { + * case "KeyPhraseExtraction": { + * for (const doc of actionResult.results) { + * // do something + * } + * break; + * } + * case "PiiEntityRecognition": { + * for (const doc of actionResult.results) { + * // do something + * } + * break; + * } + * } + * } + * ``` + * + * @param actions - an array of actions that will be run on the input documents + * @param documents - the input documents to be analyzed + * @param languageCode - the code of the language that all the input strings are + * written in. If unspecified, this value will be set to the default + * language in `TextAnalysisClientOptions`. If set to an empty string, + * the service will apply a model where the language is explicitly set to + * "None". Language support varies per action, for example, more information + * about the languages supported for Entity Recognition actions can be + * found in {@link https://docs.microsoft.com//azure/cognitive-services/language-service/named-entity-recognition/language-support} + * @param options - optional settings for the operation + * + * @returns an array of results corresponding to the input actions + */ + async beginAnalyzeBatch( + actions: AnalyzeBatchAction[], + documents: string[], + languageCode?: string, + options?: BeginAnalyzeBatchOptions + ): Promise; + /** + * Performs an array (batch) of actions on the input documents. Each action has + * a `kind` field that specifies the nature of the action. See ${@link AnalyzeBatchActionNames} + * for a list of supported actions. In addition to `kind`, actions could also + * have other parameters such as `disableServiceLogs` and `modelVersion`. + * + * The results array contains the results for those input actions where each + * item also has a `kind` field that specifies the type of the results. + * + * See {@link https://docs.microsoft.com//azure/cognitive-services/language-service/concepts/data-limits} + * for data limits. + * + * ### Examples + * + * #### Keyphrase extraction and Pii entity recognition + * + * ```js + * const poller = await client.beginAnalyzeBatch( + * [{ kind: "KeyPhraseExtraction" }, { kind: "PiiEntityRecognition" }], + * documents + * ); + * const actionResults = await poller.pollUntilDone(); + * + * for await (const actionResult of actionResults) { + * if (actionResult.error) { + * throw new Error(`Unexpected error`); + * } + * switch (actionResult.kind) { + * case "KeyPhraseExtraction": { + * for (const doc of actionResult.results) { + * // do something + * } + * break; + * } + * case "PiiEntityRecognition": { + * for (const doc of actionResult.results) { + * // do something + * } + * break; + * } + * } + * } + * ``` + * + * @param actions - an array of actions that will be run on the input documents + * @param documents - the input documents to be analyzed + * @param options - optional settings for the operation + * + * @returns an array of results corresponding to the input actions + */ + async beginAnalyzeBatch( + actions: AnalyzeBatchAction[], + documents: TextDocumentInput[], + options?: BeginAnalyzeBatchOptions + ): Promise; + // implementation + async beginAnalyzeBatch( + actions: AnalyzeBatchAction[], + documents: TextDocumentInput[] | string[], + languageOrOptions?: BeginAnalyzeBatchOptions | string, + options: BeginAnalyzeBatchOptions = {} + ): Promise { + let realOptions: BeginAnalyzeBatchOptions; + let realInputs: TextDocumentInput[]; + + if (!Array.isArray(documents) || documents.length === 0) { + throw new Error("'documents' must be a non-empty array"); + } + + if (isStringArray(documents)) { + const language = (languageOrOptions as string) || this.defaultLanguage; + realInputs = convertToTextDocumentInput(documents, language); + realOptions = options; + } else { + realInputs = documents; + realOptions = languageOrOptions as BeginAnalyzeBatchOptions; + } + const realActions = actions.map( + ({ kind, actionName, ...rest }): AnalyzeBatchActionUnion => ({ + kind, + actionName, + parameters: rest, + }) + ); + const { includeStatistics, updateIntervalInMs, displayName, ...rest } = realOptions; + const lro = createAnalyzeBatchLro({ + client: this._client, + commonOptions: rest, + documents: realInputs, + initialRequestOptions: { displayName }, + pollRequestOptions: { includeStatistics }, + tasks: realActions, + tracing: this._tracing, + }); + + const poller = new LroEngine( + lro as LongRunningOperation, + { + intervalInMs: updateIntervalInMs, + processResult: processAnalyzeResult({ + client: this._client, + tracing: this._tracing, + documents: realInputs, + opOptions: { ...rest, includeStatistics }, + }), + updateState: createUpdateAnalyzeState(realInputs), + cancel: createCancelOperation({ + client: this._client, + tracing: this._tracing, + options: rest, + }), + } + ); + + await poller.poll(); + return poller; + } + + /** + * Creates a poller from the serialized state of another poller. This can be + * useful when you want to create pollers on a different host or a poller + * needs to be constructed after the original one is not in scope. + * + * @param serializedState - the serialized state of another poller. It is the + * result of `poller.toString()` + * @param options - optional settings for the operation + * + * # Example + * + * `client.beginAnalyzeBatch` returns a promise that will resolve to a poller. + * The state of the poller can be serialized and used to create another as follows: + * + * ```js + * const serializedState = poller.toString(); + * const rehydratedPoller = await client.createAnalyzeBatchPoller(serializedState); + * const actionResults = await rehydratedPoller.pollUntilDone(); + * ``` + */ + async restoreAnalyzeBatchPoller( + serializedState: string, + options?: RestoreAnalyzeBatchPollerOptions + ): Promise; + // implementation + async restoreAnalyzeBatchPoller( + serializedState: string, + options: RestoreAnalyzeBatchPollerOptions = {} + ): Promise { + const { includeStatistics, updateIntervalInMs, ...rest } = options; + const documents = getDocsFromState(serializedState); + const lro = createCreateAnalyzeBatchPollerLro({ + client: this._client, + options: { ...rest, includeStatistics }, + tracing: this._tracing, + }); + + const poller = new LroEngine( + lro as LongRunningOperation, + { + intervalInMs: updateIntervalInMs, + resumeFrom: serializedState, + processResult: processAnalyzeResult({ + client: this._client, + tracing: this._tracing, + documents, + opOptions: { ...rest, includeStatistics }, + }), + updateState: createUpdateAnalyzeState(), + cancel: createCancelOperation({ + client: this._client, + tracing: this._tracing, + options: rest, + }), + } + ); + + await poller.poll(); + return poller; + } +} diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts deleted file mode 100644 index 7a35a2280e11..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/** - * The type of a standard 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; -} - -/** - * The type of a custom text analytics action. - */ -export interface CustomTextAnalyticsAction { - /** - * The project name for the text analytics model used by this operation on this - * batch of input documents. - */ - projectName: string; - /** - * The deployment name for the text analytics model used by this operation on this - * batch of input documents. - */ - deploymentName: 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 deleted file mode 100644 index d77fd7311cfa..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts +++ /dev/null @@ -1,1363 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { CommonClientOptions } from "@azure/core-client"; -import { - InternalPipelineOptions, - bearerTokenAuthenticationPolicy, -} from "@azure/core-rest-pipeline"; -import { TokenCredential, KeyCredential, isTokenCredential } from "@azure/core-auth"; -import { GeneratedClient } from "./generated/generatedClient"; -import { logger } from "./logger"; -import { - JobManifestTasks as GeneratedActions, - DetectLanguageInput, - GeneratedClientEntitiesRecognitionPiiOptionalParams as GeneratedRecognizePiiEntitiesOptions, - GeneratedClientSentimentOptionalParams as GeneratedAnalyzeSentimentOptions, - GeneratedClientEntitiesRecognitionGeneralOptionalParams as GeneratedRecognizeCategorizedEntitiesOptions, - GeneratedClientEntitiesLinkingOptionalParams as GeneratedRecognizeLinkedEntitiesOptions, - GeneratedClientKeyPhrasesOptionalParams as GeneratedExtractKeyPhrasesOptions, - GeneratedClientLanguagesOptionalParams as GeneratedDetectLanguageOptions, - TextDocumentInput, - PiiCategory, -} from "./generated/models"; -import { - DetectLanguageResultArray, - makeDetectLanguageResultArray, -} from "./detectLanguageResultArray"; -import { - RecognizeCategorizedEntitiesResultArray, - makeRecognizeCategorizedEntitiesResultArray, -} from "./recognizeCategorizedEntitiesResultArray"; -import { - AnalyzeSentimentResultArray, - makeAnalyzeSentimentResultArray, -} from "./analyzeSentimentResultArray"; -import { - makeExtractKeyPhrasesResultArray, - ExtractKeyPhrasesResultArray, -} from "./extractKeyPhrasesResultArray"; -import { - RecognizePiiEntitiesResultArray, - makeRecognizePiiEntitiesResultArray, -} from "./recognizePiiEntitiesResultArray"; -import { - RecognizeLinkedEntitiesResultArray, - makeRecognizeLinkedEntitiesResultArray, -} from "./recognizeLinkedEntitiesResultArray"; -import { createSpan } from "./tracing"; -import { SpanStatusCode } from "@azure/core-tracing"; -import { textAnalyticsAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy"; -import { - addParamsToTask, - compose, - compileError, - setCategoriesFilter, - setOpinionMining, - setOrderBy, - setSentenceCount, - setStrEncodingParam, - setStrEncodingParamValue, - StringIndexType, -} from "./util"; -import { TextAnalyticsOperationOptions } from "./textAnalyticsOperationOptions"; -import { AnalysisPollOperationState, OperationMetadata } from "./pollerModels"; -import { CustomTextAnalyticsAction, TextAnalyticsAction } from "./textAnalyticsAction"; -import { - AnalyzeHealthcareEntitiesPollerLike, - AnalyzeHealthcareOperationState, - BeginAnalyzeHealthcareEntitiesOptions, - HealthLro, - isHealthDone, - processHealthResult, - updateHealthState, -} from "./healthLro"; -import { LroEngine } from "@azure/core-lro"; -import { PagedAnalyzeHealthcareEntitiesResult } from "./analyzeHealthcareEntitiesResult"; -import { - AnalyzeActionsOperationMetadata, - AnalyzeActionsOperationState, - AnalyzeActionsPollerLike, - AnalyzeLro, - BeginAnalyzeActionsOptions, - processAnalyzeResult, - updateAnalyzeState, -} from "./analyzeLro"; -import { PagedAnalyzeActionsResult } from "./analyzeActionsResult"; - -export { - BeginAnalyzeActionsOptions, - AnalyzeActionsPollerLike, - AnalyzeActionsOperationState, - BeginAnalyzeHealthcareEntitiesOptions, - AnalyzeHealthcareEntitiesPollerLike, - AnalyzeHealthcareOperationState, - AnalysisPollOperationState, - OperationMetadata, - AnalyzeActionsOperationMetadata, - StringIndexType, -}; - -const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default"; - -/** - * Client options used to configure TextAnalytics API requests. - */ -export interface TextAnalyticsClientOptions extends CommonClientOptions { - /** - * The default country hint to use. Defaults to "us". - */ - defaultCountryHint?: string; - - /** - * The default language to use. Defaults to "en". - */ - defaultLanguage?: string; -} - -/** - * Options for the detect languages operation. - */ -export interface DetectLanguageOptions extends TextAnalyticsOperationOptions {} - -/** - * Options for the recognize entities operation. - */ -export interface RecognizeCategorizedEntitiesOptions extends TextAnalyticsOperationOptions { - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; -} - -/** - * Options for the analyze sentiment operation. - */ -export interface AnalyzeSentimentOptions extends TextAnalyticsOperationOptions { - /** - * Whether to mine the opinions of a sentence and conduct more granular - * analysis around the aspects of a product or service (also known as - * aspect-based sentiment analysis). If set to true, the returned - * `SentenceSentiment` objects will have property `opinions` containing - * the result of this analysis. - * 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; - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; -} - -/** - * The types of PII domains the user can choose from. - */ -export enum PiiEntityDomain { - /** - * @see {@link https://aka.ms/tanerpii} for more information. - */ - PROTECTED_HEALTH_INFORMATION = "PHI", -} - -/** - * Options for the recognize PII entities operation. - */ -export interface RecognizePiiEntitiesOptions extends TextAnalyticsOperationOptions { - /** - * 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. - */ - domainFilter?: PiiEntityDomain; - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * Filters entities to ones only included in the specified array of categories - */ - categoriesFilter?: PiiCategory[]; -} - -/** - * Options for the extract key phrases operation. - */ -export interface ExtractKeyPhrasesOptions extends TextAnalyticsOperationOptions {} - -/** - * Options for the recognize linked entities operation. - */ -export interface RecognizeLinkedEntitiesOptions extends TextAnalyticsOperationOptions { - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; -} - -/** - * Options for an entities recognition action. - */ -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". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for a Pii entities recognition action. - */ -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. - */ - domainFilter?: PiiEntityDomain; - /** - * Filters entities to ones only included in the specified array of categories - */ - categoriesFilter?: PiiCategory[]; - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * 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, - * enables input logging. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for a key phrases recognition action. - */ -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, - * enables input logging. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for an entities linking action. - */ -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". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for an analyze sentiment action. - */ -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". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; - /** - * Whether to mine the opinions of a sentence and conduct more granular - * analysis around the aspects of a product or service (also known as - * aspect-based sentiment analysis). If set to true, the returned - * `SentenceSentiment` objects will have property `opinions` containing - * the result of this analysis. - * 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; -} - -/** - * A type representing how to sort sentences for the summarization extraction action. - */ -export type KnownSummarySentencesSortBy = "Offset" | "Rank"; - -/** - * Options for an extract summary action. - */ -export interface ExtractSummaryAction extends TextAnalyticsAction { - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; - /** - * Specifies the number of summary sentences to return. The default number of sentences is 3. - */ - maxSentenceCount?: number; - /** - * Specifies how to sort the returned sentences. Please refer to {@link KnownSummarySentencesOrderBy} for possible values. - */ - orderBy?: string; -} - -/** - * Options for a custom recognize entities action. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition} - */ -export interface RecognizeCustomEntitiesAction extends CustomTextAnalyticsAction { - /** - * Specifies the measurement unit used to calculate the offset and length properties. - * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". - * The default is the JavaScript's default which is "Utf16CodeUnit". - */ - stringIndexType?: StringIndexType; - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for an custom classify document single category action. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} - */ -export interface SingleCategoryClassifyAction extends CustomTextAnalyticsAction { - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; -} - -/** - * Options for a custom classify document multi categories action. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} - */ -export interface MultiCategoryClassifyAction extends CustomTextAnalyticsAction { - /** - * If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, - * disables input logging and may limit our ability to remediate issues that occur. - */ - disableServiceLogs?: boolean; -} - -/** - * Description of collection of actions for the analyze API to perform on input documents. - */ -export interface TextAnalyticsActions { - /** - * A collection of descriptions of entities recognition actions. - */ - recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[]; - /** - * A collection of descriptions of Pii entities recognition actions. - */ - recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[]; - /** - * A collection of descriptions of key phrases recognition actions. - */ - extractKeyPhrasesActions?: ExtractKeyPhrasesAction[]; - /** - * A collection of descriptions of entities linking actions. - */ - recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[]; - /** - * A collection of descriptions of sentiment analysis actions. - */ - analyzeSentimentActions?: AnalyzeSentimentAction[]; - /** - * A collection of descriptions of summarization extraction actions. - */ - extractSummaryActions?: ExtractSummaryAction[]; - /** - * A collection of descriptions of custom entity recognition actions. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customentityrecognition} - */ - recognizeCustomEntitiesActions?: RecognizeCustomEntitiesAction[]; - /** - * A collection of descriptions of custom single classification actions. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} - */ - singleCategoryClassifyActions?: SingleCategoryClassifyAction[]; - /** - * A collection of descriptions of custom multi classification actions. For more information, please refer - * to the service documentation: {@link https://aka.ms/azsdk/textanalytics/customfunctionalities} - */ - multiCategoryClassifyActions?: MultiCategoryClassifyAction[]; -} -/** - * Client class for interacting with Azure Text Analytics. - */ -export class TextAnalyticsClient { - /** - * The URL to the TextAnalytics endpoint - */ - public readonly endpointUrl: string; - - /** - * The default country hint to use. Defaults to "us". - */ - public defaultCountryHint: string; - - /** - * The default language to use. Defaults to "en". - */ - public defaultLanguage: string; - - /** - * @internal - * A reference to the auto-generated TextAnalytics HTTP client. - */ - private readonly client: GeneratedClient; - - /** - * Creates an instance of TextAnalyticsClient. - * - * Example usage: - * ```ts - * import { TextAnalyticsClient, AzureKeyCredential } from "@azure/ai-text-analytics"; - * - * const client = new TextAnalyticsClient( - * "", - * new AzureKeyCredential("") - * ); - * ``` - * @param endpointUrl - The URL to the TextAnalytics endpoint - * @param credential - Used to authenticate requests to the service. - * @param options - Used to configure the TextAnalytics client. - */ - constructor( - endpointUrl: string, - credential: TokenCredential | KeyCredential, - options: TextAnalyticsClientOptions = {} - ) { - this.endpointUrl = endpointUrl; - const { defaultCountryHint = "us", defaultLanguage = "en", ...pipelineOptions } = options; - this.defaultCountryHint = defaultCountryHint; - this.defaultLanguage = defaultLanguage; - - const internalPipelineOptions: InternalPipelineOptions = { - ...pipelineOptions, - ...{ - loggingOptions: { - logger: logger.info, - additionalAllowedHeaderNames: ["x-ms-correlation-request-id", "x-ms-request-id"], - }, - }, - }; - - this.client = new GeneratedClient(this.endpointUrl, internalPipelineOptions); - - const authPolicy = isTokenCredential(credential) - ? bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_COGNITIVE_SCOPE }) - : textAnalyticsAzureKeyCredentialPolicy(credential); - - this.client.pipeline.addPolicy(authPolicy); - } - - /** - * Runs a predictive model to determine the language that the passed-in - * input strings are written in, and returns, for each one, the detected - * language as well as a score indicating the model's confidence that the - * inferred language is correct. Scores close to 1 indicate high certainty in - * the result. 120 languages are supported. - * @param documents - A collection of input strings to analyze. - * @param countryHint - Indicates the country of origin for all of - * the input strings to assist the text analytics model in predicting - * the language they are written in. If unspecified, this value will be - * set to the default country hint in `TextAnalyticsClientOptions`. - * If set to an empty string, or the string "none", the service will apply a - * model where the country is explicitly unset. - * The same country hint is applied to all strings in the input collection. - * @param options - Optional parameters for the operation. - */ - public async detectLanguage( - documents: string[], - countryHint?: string, - options?: DetectLanguageOptions - ): Promise; - /** - * Runs a predictive model to determine the language that the passed-in - * input document are written in, and returns, for each one, the detected - * language as well as a score indicating the model's confidence that the - * inferred language is correct. Scores close to 1 indicate high certainty in - * the result. 120 languages are supported. - * @param documents - A collection of input documents to analyze. - * @param options - Optional parameters for the operation. - */ - public async detectLanguage( - documents: DetectLanguageInput[], - options?: DetectLanguageOptions - ): Promise; - public async detectLanguage( - documents: string[] | DetectLanguageInput[], - countryHintOrOptions?: string | DetectLanguageOptions, - options?: DetectLanguageOptions - ): Promise { - let realOptions: DetectLanguageOptions; - let realInputs: DetectLanguageInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const countryHint = (countryHintOrOptions as string) || this.defaultCountryHint; - realInputs = convertToDetectLanguageInput(documents, countryHint); - realOptions = options || {}; - } else { - // Replace "none" hints with "" - realInputs = documents.map((input) => ({ - ...input, - countryHint: input.countryHint === "none" ? "" : input.countryHint, - })); - realOptions = (countryHintOrOptions as DetectLanguageOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-detectLanguages", - makeGeneratedDetectLanguageOptions(realOptions) - ); - - try { - const result = await this.client.languages( - { - documents: realInputs, - }, - finalOptions - ); - - return makeDetectLanguageResultArray(realInputs, result); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } - } - - /** - * Runs a predictive model to identify a collection of named entities - * in the passed-in input strings, and categorize those entities into types - * such as person, location, or organization. For more information on - * available categories, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input strings to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Optional parameters for the operation. - */ - public async recognizeEntities( - documents: string[], - language?: string, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: RecognizeCategorizedEntitiesOptions - ): Promise; - /** - * Runs a predictive model to identify a collection of named entities - * in the passed-in input documents, and categorize those entities into types - * such as person, location, or organization. For more information on - * available categories, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types}. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input documents to analyze. - * @param options - Optional parameters for the operation. - */ - public async recognizeEntities( - documents: TextDocumentInput[], - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: RecognizeCategorizedEntitiesOptions - ): Promise; - public async recognizeEntities( - documents: string[] | TextDocumentInput[], - languageOrOptions?: string | RecognizeCategorizedEntitiesOptions, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: RecognizeCategorizedEntitiesOptions - ): Promise { - let realOptions: RecognizeCategorizedEntitiesOptions; - let realInputs: TextDocumentInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as RecognizeCategorizedEntitiesOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-recognizeEntities", - makeGeneratedRecognizeCategorizedEntitiesOptions(realOptions) - ); - - try { - const result = await this.client.entitiesRecognitionGeneral( - { - documents: realInputs, - }, - finalOptions - ); - - return makeRecognizeCategorizedEntitiesResultArray(realInputs, result); - } catch (e: any) { - /** - * This special logic handles REST exception with code - * InvalidDocumentBatch and is needed to maintain backward compatability - * with sdk v5.0.0 and earlier. In general, REST exceptions are thrown as - * is and include both outer and inner exception codes. However, the - * earlier versions were throwing an exception that included the inner - * code only. - */ - const backwardCompatibleException = compileError(e); - span.setStatus({ - code: SpanStatusCode.ERROR, - message: backwardCompatibleException.message, - }); - throw backwardCompatibleException; - } finally { - span.end(); - } - } - - /** - * Runs a predictive model to identify the positive, negative, neutral, or mixed - * sentiment contained in the input strings, as well as scores indicating - * the model's confidence in each of the predicted sentiments. Optionally it - * can also identify targets in the text and assessments about it through - * opinion mining. For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input strings to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the lanuage is explicitly set to "None". - * @param options - Optional parameters that includes enabling opinion mining. - */ - public async analyzeSentiment( - documents: string[], - language?: string, - options?: AnalyzeSentimentOptions - ): Promise; - /** - * Runs a predictive model to identify the positive, negative or neutral, or mixed - * sentiment contained in the input documents, as well as scores indicating - * the model's confidence in each of the predicted sentiments.Optionally it - * can also identify targets in the text and assessments about it through - * opinion mining. For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input documents to analyze. - * @param options - Optional parameters that includes enabling opinion mining. - */ - public async analyzeSentiment( - documents: TextDocumentInput[], - options?: AnalyzeSentimentOptions - ): Promise; - public async analyzeSentiment( - documents: string[] | TextDocumentInput[], - languageOrOptions?: string | AnalyzeSentimentOptions, - options?: AnalyzeSentimentOptions - ): Promise { - let realOptions: AnalyzeSentimentOptions; - let realInputs: TextDocumentInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as AnalyzeSentimentOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-analyzeSentiment", - makeGeneratedAnalyzeSentimentOptions(realOptions) - ); - - try { - const result = await this.client.sentiment( - { - documents: realInputs, - }, - finalOptions - ); - - return makeAnalyzeSentimentResultArray(realInputs, result); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } - } - - /** - * Runs a model to identify a collection of significant phrases - * found in the passed-in input strings. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input strings to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Options for the operation. - */ - public async extractKeyPhrases( - documents: string[], - language?: string, - options?: ExtractKeyPhrasesOptions - ): Promise; - /** - * Runs a model to identify a collection of significant phrases - * found in the passed-in input documents. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input documents to analyze. - * @param options - Options for the operation. - */ - public async extractKeyPhrases( - documents: TextDocumentInput[], - options?: ExtractKeyPhrasesOptions - ): Promise; - public async extractKeyPhrases( - documents: string[] | TextDocumentInput[], - languageOrOptions?: string | ExtractKeyPhrasesOptions, - options?: ExtractKeyPhrasesOptions - ): Promise { - let realOptions: ExtractKeyPhrasesOptions; - let realInputs: TextDocumentInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as ExtractKeyPhrasesOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-extractKeyPhrases", - makeGeneratedExtractKeyPhrasesOptions(realOptions) - ); - - try { - const result = await this.client.keyPhrases( - { - documents: realInputs, - }, - finalOptions - ); - - return makeExtractKeyPhrasesResultArray(realInputs, result); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } - } - - /** - * Runs a predictive model to identify a collection of entities containing - * personally identifiable information found in the passed-in input strings, - * and categorize those entities into types such as US social security - * number, drivers license number, or credit card number. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}. - * @param inputs - The input strings to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Options for the operation. - */ - public async recognizePiiEntities( - inputs: string[], - language?: string, - options?: RecognizePiiEntitiesOptions - ): Promise; - /** - * Runs a predictive model to identify a collection of entities containing - * personally identifiable information found in the passed-in input documents, - * and categorize those entities into types such as US social security - * number, drivers license number, or credit card number. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support}. - * @param inputs - The input documents to analyze. - * @param options - Optional parameters for the operation. - */ - public async recognizePiiEntities( - inputs: TextDocumentInput[], - options?: RecognizePiiEntitiesOptions - ): Promise; - public async recognizePiiEntities( - inputs: string[] | TextDocumentInput[], - languageOrOptions?: string | RecognizePiiEntitiesOptions, - options?: RecognizePiiEntitiesOptions - ): Promise { - let realOptions: RecognizePiiEntitiesOptions; - let realInputs: TextDocumentInput[]; - - if (isStringArray(inputs)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(inputs, language); - realOptions = options || {}; - } else { - realInputs = inputs; - realOptions = (languageOrOptions as RecognizePiiEntitiesOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-recognizePiiEntities", - makeGeneratedRecognizePiiEntitiesOptions(realOptions) - ); - - try { - const result = await this.client.entitiesRecognitionPii( - { - documents: realInputs, - }, - finalOptions - ); - - return makeRecognizePiiEntitiesResultArray(realInputs, result); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } - } - - /** - * Runs a predictive model to identify a collection of entities - * found in the passed-in input strings, and include information linking the - * entities to their corresponding entries in a well-known knowledge base. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input strings to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Options for the operation. - */ - public async recognizeLinkedEntities( - documents: string[], - language?: string, - options?: RecognizeLinkedEntitiesOptions - ): Promise; - /** - * Runs a predictive model to identify a collection of entities - * found in the passed-in input documents, and include information linking the - * entities to their corresponding entries in a well-known knowledge base. - * For a list of languages supported by this operation, @see - * {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support}. - * @param documents - The input documents to analyze. - * @param options - Options for the operation. - */ - public async recognizeLinkedEntities( - documents: TextDocumentInput[], - options?: RecognizeLinkedEntitiesOptions - ): Promise; - public async recognizeLinkedEntities( - documents: string[] | TextDocumentInput[], - languageOrOptions?: string | RecognizeLinkedEntitiesOptions, - options?: RecognizeLinkedEntitiesOptions - ): Promise { - let realOptions: RecognizeLinkedEntitiesOptions; - let realInputs: TextDocumentInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as RecognizeLinkedEntitiesOptions) || {}; - } - - const { span, updatedOptions: finalOptions } = createSpan( - "TextAnalyticsClient-recognizeLinkedEntities", - makeGeneratedRecognizeLinkingEntitiesOptions(realOptions) - ); - - try { - const result = await this.client.entitiesLinking( - { - documents: realInputs, - }, - finalOptions - ); - - return makeRecognizeLinkedEntitiesResultArray(realInputs, result); - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } - } - - /** - * Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions, - * symptoms, etc) and their relations. - * @param documents - Collection of documents to analyze. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Options for the operation. - */ - async beginAnalyzeHealthcareEntities( - documents: string[], - language?: string, - options?: BeginAnalyzeHealthcareEntitiesOptions - ): Promise; - /** - * Start a healthcare analysis operation to recognize healthcare related entities (drugs, conditions, - * symptoms, etc) and their relations. - * @param documents - Collection of documents to analyze. - * @param options - Options for the operation. - */ - async beginAnalyzeHealthcareEntities( - documents: TextDocumentInput[], - options?: BeginAnalyzeHealthcareEntitiesOptions - ): Promise; - - async beginAnalyzeHealthcareEntities( - documents: string[] | TextDocumentInput[], - languageOrOptions?: string | BeginAnalyzeHealthcareEntitiesOptions, - options?: BeginAnalyzeHealthcareEntitiesOptions - ): Promise { - let realOptions: BeginAnalyzeHealthcareEntitiesOptions; - let realInputs: TextDocumentInput[]; - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as BeginAnalyzeHealthcareEntitiesOptions) || {}; - } - - const { - updateIntervalInMs, - resumeFrom, - onResponse, - disableServiceLogs, - modelVersion, - requestOptions, - serializerOptions, - abortSignal, - stringIndexType, - includeStatistics, - tracingOptions, - } = realOptions; - const lro = new HealthLro( - this.client, - { - onResponse, - requestOptions, - serializerOptions, - abortSignal, - tracingOptions, - }, - { loggingOptOut: disableServiceLogs, stringIndexType, modelVersion }, - { includeStatistics }, - realInputs - ); - - const poller = new LroEngine< - PagedAnalyzeHealthcareEntitiesResult, - AnalyzeHealthcareOperationState - >(lro, { - intervalInMs: updateIntervalInMs, - resumeFrom: resumeFrom, - processResult: processHealthResult(this.client, realInputs, { - onResponse, - requestOptions, - serializerOptions, - abortSignal, - tracingOptions, - includeStatistics, - }), - isDone: isHealthDone, - updateState: updateHealthState, - }); - - await poller.poll(); - return poller; - } - - /** - * Submit a collection of text documents for analysis. Specify one or more unique actions to be executed. - * @param documents - Collection of documents to analyze - * @param actions - TextAnalyticsActions to execute. - * @param language - The language that all the input strings are - written in. If unspecified, this value will be set to the default - language in `TextAnalyticsClientOptions`. - If set to an empty string, the service will apply a model - where the language is explicitly set to "None". - * @param options - Options for the operation. - */ - public async beginAnalyzeActions( - documents: string[], - actions: TextAnalyticsActions, - language?: string, - options?: BeginAnalyzeActionsOptions - ): Promise; - /** - * Submit a collection of text documents for analysis. Specify one or more unique actions to be executed. - * @param documents - Collection of documents to analyze - * @param actions - TextAnalyticsActions to execute. - * @param options - Options for the operation. - */ - public async beginAnalyzeActions( - documents: TextDocumentInput[], - actions: TextAnalyticsActions, - options?: BeginAnalyzeActionsOptions - ): Promise; - public async beginAnalyzeActions( - documents: string[] | TextDocumentInput[], - actions: TextAnalyticsActions, - languageOrOptions?: string | BeginAnalyzeActionsOptions, - options?: BeginAnalyzeActionsOptions - ): Promise { - let realOptions: BeginAnalyzeActionsOptions; - let realInputs: TextDocumentInput[]; - - if (!Array.isArray(documents) || documents.length === 0) { - throw new Error("'documents' must be a non-empty array"); - } - - if (isStringArray(documents)) { - const language = (languageOrOptions as string) || this.defaultLanguage; - realInputs = convertToTextDocumentInput(documents, language); - realOptions = options || {}; - } else { - realInputs = documents; - realOptions = (languageOrOptions as BeginAnalyzeActionsOptions) || {}; - } - const compiledActions = compileAnalyzeInput(actions); - const { - updateIntervalInMs, - resumeFrom, - displayName, - includeStatistics, - onResponse, - requestOptions, - serializerOptions, - abortSignal, - tracingOptions, - } = realOptions; - const lro = new AnalyzeLro( - this.client, - { - onResponse, - requestOptions, - serializerOptions, - abortSignal, - tracingOptions, - }, - { displayName }, - { includeStatistics }, - realInputs, - compiledActions - ); - - const poller = new LroEngine(lro, { - intervalInMs: updateIntervalInMs, - resumeFrom: resumeFrom, - processResult: processAnalyzeResult(this.client, realInputs, { - onResponse, - requestOptions, - serializerOptions, - abortSignal, - tracingOptions, - includeStatistics, - }), - updateState: updateAnalyzeState, - }); - - await poller.poll(); - return poller; - } -} - -/** - * @internal - */ -function compileAnalyzeInput(actions: TextAnalyticsActions): GeneratedActions { - return { - entityRecognitionPiiTasks: actions.recognizePiiEntitiesActions?.map( - compose(setStrEncodingParam, compose(setCategoriesFilter, addParamsToTask)) - ), - entityRecognitionTasks: actions.recognizeEntitiesActions?.map( - compose(setStrEncodingParam, addParamsToTask) - ), - keyPhraseExtractionTasks: actions.extractKeyPhrasesActions?.map(addParamsToTask), - entityLinkingTasks: actions.recognizeLinkedEntitiesActions?.map( - compose(setStrEncodingParam, addParamsToTask) - ), - sentimentAnalysisTasks: actions.analyzeSentimentActions?.map( - compose(setStrEncodingParam, compose(setOpinionMining, addParamsToTask)) - ), - extractiveSummarizationTasks: actions.extractSummaryActions?.map( - compose(setStrEncodingParam, compose(setSentenceCount, compose(setOrderBy, addParamsToTask))) - ), - customEntityRecognitionTasks: actions.recognizeCustomEntitiesActions?.map( - compose(setStrEncodingParam, addParamsToTask) - ), - customSingleClassificationTasks: actions.singleCategoryClassifyActions?.map(addParamsToTask), - customMultiClassificationTasks: actions.multiCategoryClassifyActions?.map(addParamsToTask), - }; -} - -function isStringArray(documents: any[]): documents is string[] { - return typeof documents[0] === "string"; -} - -/** - * @internal - */ -function convertToDetectLanguageInput( - inputs: string[], - countryHint: string -): DetectLanguageInput[] { - if (countryHint === "none") { - countryHint = ""; - } - return inputs.map((text: string, index): DetectLanguageInput => { - return { - id: String(index), - countryHint, - text, - }; - }); -} - -/** - * @internal - */ -function convertToTextDocumentInput(inputs: string[], language: string): TextDocumentInput[] { - return inputs.map((text: string, index): TextDocumentInput => { - return { - id: String(index), - language, - text, - }; - }); -} - -/** - * Creates the options the service expects for the analyze sentiment API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedAnalyzeSentimentOptions( - params: AnalyzeSentimentOptions -): GeneratedAnalyzeSentimentOptions { - return { - abortSignal: params.abortSignal, - opinionMining: params.includeOpinionMining, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - stringIndexType: setStrEncodingParamValue(params.stringIndexType), - tracingOptions: params.tracingOptions, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - }; -} - -/** - * Creates the options the service expects for the recognize pii entities API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedRecognizePiiEntitiesOptions( - params: RecognizePiiEntitiesOptions -): GeneratedRecognizePiiEntitiesOptions { - return { - abortSignal: params.abortSignal, - domain: params.domainFilter, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - stringIndexType: setStrEncodingParamValue(params.stringIndexType), - tracingOptions: params.tracingOptions, - piiCategories: params.categoriesFilter, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - }; -} - -/** - * Creates the options the service expects for the recognize entities API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedRecognizeCategorizedEntitiesOptions( - params: RecognizeCategorizedEntitiesOptions -): GeneratedRecognizeCategorizedEntitiesOptions { - return { - abortSignal: params.abortSignal, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - stringIndexType: setStrEncodingParamValue(params.stringIndexType), - tracingOptions: params.tracingOptions, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - }; -} - -/** - * Creates the options the service expects for the detect language API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedDetectLanguageOptions( - params: DetectLanguageOptions -): GeneratedDetectLanguageOptions { - return { - abortSignal: params.abortSignal, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - tracingOptions: params.tracingOptions, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - }; -} - -/** - * Creates the options the service expects for the extract key phrases API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedExtractKeyPhrasesOptions( - params: ExtractKeyPhrasesOptions -): GeneratedExtractKeyPhrasesOptions { - return { - abortSignal: params.abortSignal, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - tracingOptions: params.tracingOptions, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - }; -} - -/** - * Creates the options the service expects for the recognize linked entities API from the user friendly ones. - * @param params - the user friendly parameters - * @internal - */ -function makeGeneratedRecognizeLinkingEntitiesOptions( - params: RecognizeLinkedEntitiesOptions -): GeneratedRecognizeLinkedEntitiesOptions { - return { - abortSignal: params.abortSignal, - includeStatistics: params.includeStatistics, - modelVersion: params.modelVersion, - requestOptions: params.requestOptions, - tracingOptions: params.tracingOptions, - onResponse: params.onResponse, - serializerOptions: params.serializerOptions, - loggingOptOut: params.disableServiceLogs, - stringIndexType: setStrEncodingParamValue(params.stringIndexType), - }; -} diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsOperationOptions.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsOperationOptions.ts deleted file mode 100644 index cec6973fa24a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsOperationOptions.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { OperationOptions } from "@azure/core-client"; - -/** - * Options common to all text analytics operations. - */ -export interface TextAnalyticsOperationOptions extends OperationOptions { - /** - * This value indicates which model will be used for scoring. If a model-version is - * not specified, the API should default to the latest, non-preview version. - * For supported model versions, see operation-specific documentation, for example: - * https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis#model-versioning - */ - modelVersion?: string; - /** - * If set to true, response will contain input and document level statistics. - */ - includeStatistics?: boolean; - /** - * If set to true (the default for `beginAnalyzeHealthcareEntities` and `recognizePiiEntities`), - * you opt-out of having your text input logged for troubleshooting. By default, Text Analytics - * logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this - * parameter to true, disables input logging and may limit our ability to remediate issues that - * occur. - */ - disableServiceLogs?: boolean; -} diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsResult.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsResult.ts deleted file mode 100644 index 520c5f7d3e59..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsResult.ts +++ /dev/null @@ -1,302 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { - TextDocumentStatistics, - TextAnalyticsError as GeneratedTextAnalyticsErrorModel, - InnerError, - ErrorCodeValue, - InnerErrorCodeValue, - TextAnalyticsWarning, - DocumentError, - TextDocumentBatchStatistics, - TextDocumentInput, -} from "./generated/models"; -import { sortResponseIdObjects } from "./util"; - -/** - * An Error Code returned from the Text Analytics service. Possible - * values include: - * - * For more information about the error, see the `message` property of the associated error. - */ -export type ErrorCode = ErrorCodeValue | InnerErrorCodeValue; - -/** - * Type describing an error from the Text Analytics service. - */ -export interface TextAnalyticsError { - /** - * A code describing the kind of error produced - */ - readonly code: ErrorCode; - /** - * A message from the service explaining the error - */ - readonly message: string; - /** - * The target of the particular error (for example, the name of an invalid parameter) - */ - readonly target?: string; -} - -/** - * Base type for results of text analytics operations corresponding to a single - * input document. - */ -export interface TextAnalyticsSuccessResult { - /** - * Unique, non-empty document identifier. - */ - readonly id: string; - - /** - * Statistics about the input document and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - readonly statistics?: TextDocumentStatistics; - - /** - * An array of warning data corresponding to this document. - * - * If no warnings were returned, this array will be empty. - */ - readonly warnings: TextAnalyticsWarning[]; - - /** - * Discriminant to determine if that this is an error result. - */ - readonly error?: undefined; -} - -/** - * Base type for error results of text analytics operations corresponding to a - * single document. - */ -export interface TextAnalyticsErrorResult { - /** - * Unique, non-empty document identifier. - */ - readonly id: string; - - /** - * The Error for this document result. - */ - readonly error: TextAnalyticsError; -} - -interface StandardTextAnalyticsResultArray - extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion: string; -} - -interface CustomTextAnalyticsResultArray - extends Array { - /** - * Statistics about the input document batch and how it was processed - * by the service. This property will have a value when includeStatistics is set to true - * in the client call. - */ - statistics?: TextDocumentBatchStatistics; - /** - * This field indicates the project name for the model. - */ - projectName: string; - /** - * This field indicates the deployment name for the model. - */ - deploymentName: string; -} - -interface StandardTextAnalyticsResponse { - /** - * Response by document - */ - documents: T1[]; - /** - * Errors by document id. - */ - errors: DocumentError[]; - /** - * if includeStatistics=true was specified in the request this field will contain information about the request payload. - */ - statistics?: TextDocumentBatchStatistics; - /** - * This field indicates which model is used for scoring. - */ - modelVersion: string; -} - -interface CustomTextAnalyticsResponse { - /** - * Response by document - */ - documents: T1[]; - /** - * Errors by document id. - */ - errors: DocumentError[]; - /** - * if includeStatistics=true was specified in the request this field will contain information about the request payload. - */ - statistics?: TextDocumentBatchStatistics; - /** - * This field indicates the project name for the model. - */ - projectName: string; - /** - * This field indicates the deployment name for the model. - */ - deploymentName: string; -} - -/** - * Helper function for converting nested service error into - * the unified TextAnalyticsError - * @internal - */ -export function intoTextAnalyticsError( - errorModel: GeneratedTextAnalyticsErrorModel | InnerError -): TextAnalyticsError { - // Return the deepest error. This will always be at most - // one level for TextAnalytics - if (errorModel.innererror !== undefined) { - return intoTextAnalyticsError(errorModel.innererror); - } - - return { - code: errorModel.code, - message: errorModel.message, - target: errorModel.target, - }; -} - -/** - * @internal - */ -export function makeTextAnalyticsSuccessResult( - id: string, - warnings: TextAnalyticsWarning[], - statistics?: TextDocumentStatistics -): TextAnalyticsSuccessResult { - return { - id, - statistics, - warnings, - }; -} - -/** - * @internal - */ -export function makeTextAnalyticsErrorResult( - id: string, - error: GeneratedTextAnalyticsErrorModel -): TextAnalyticsErrorResult { - return { - id, - error: intoTextAnalyticsError(error), - }; -} - -/** - * @internal - * combines successful and erroneous results into a single array of results and - * sort them so that the IDs order match that of the input documents array. - * @param input - the array of documents sent to the service for processing. - * @param response - the response received from the service. - * @param process - a function to convert the results from one type to another. - */ -export function processAndCombineSuccessfulAndErroneousDocuments< - TSuccessService extends TextAnalyticsSuccessResult, - TSuccessSDK extends TextAnalyticsSuccessResult, - TError extends TextAnalyticsErrorResult ->( - input: TextDocumentInput[], - response: { - documents: TSuccessService[]; - errors: DocumentError[]; - }, - processSuccess: (successResult: TSuccessService) => TSuccessSDK, - processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError -): (TSuccessSDK | TextAnalyticsErrorResult)[] { - const successResults: (TSuccessSDK | TextAnalyticsErrorResult)[] = - response.documents.map(processSuccess); - const unsortedResults = successResults.concat( - response.errors.map((error) => processError(error.id, error.error)) - ); - - return sortResponseIdObjects(input, unsortedResults); -} - -/** - * @internal - * combines successful and erroneous results into a single array of results and - * sort them so that the IDs order match that of the input documents array. It - * also attaches statistics and modelVersion to the returned array. - * @param input - the array of documents sent to the service for processing. - * @param response - the response received from the service. - */ -export function combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion< - TSuccessService extends TextAnalyticsSuccessResult, - TSuccessSDK extends TextAnalyticsSuccessResult, - TError extends TextAnalyticsErrorResult ->( - input: TextDocumentInput[], - response: StandardTextAnalyticsResponse, - processSuccess: (doc: TSuccessService) => TSuccessSDK, - processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError -): StandardTextAnalyticsResultArray { - const sorted = processAndCombineSuccessfulAndErroneousDocuments( - input, - response, - processSuccess, - processError - ); - return Object.assign(sorted, { - statistics: response.statistics, - modelVersion: response.modelVersion, - }); -} - -/** - * @internal - * combines successful and erroneous results into a single array of results and - * sort them so that the IDs order match that of the input documents array. It - * also attaches statistics, projectName, and deploymentName to the returned array. - * @param input - the array of documents sent to the service for processing. - * @param response - the response received from the service. - */ -export function combineSuccessfulAndErroneousDocumentsWithStatisticsAndCustomProjectInfo< - TSuccessService extends TextAnalyticsSuccessResult, - TSuccessSDK extends TextAnalyticsSuccessResult, - TError extends TextAnalyticsErrorResult ->( - input: TextDocumentInput[], - response: CustomTextAnalyticsResponse, - processSuccess: (doc: TSuccessService) => TSuccessSDK, - processError: (id: string, error: GeneratedTextAnalyticsErrorModel) => TError -): CustomTextAnalyticsResultArray { - const sorted = processAndCombineSuccessfulAndErroneousDocuments( - input, - response, - processSuccess, - processError - ); - return Object.assign(sorted, { - statistics: response.statistics, - projectName: response.projectName, - deploymentName: response.deploymentName, - }); -} diff --git a/sdk/textanalytics/ai-text-analytics/src/tracing.ts b/sdk/textanalytics/ai-text-analytics/src/tracing.ts deleted file mode 100644 index 969f53c1b937..000000000000 --- a/sdk/textanalytics/ai-text-analytics/src/tracing.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { createSpanFunction } from "@azure/core-tracing"; - -/** - * Creates a span using the global tracer. - * @internal - */ -export const createSpan = createSpanFunction({ - packagePrefix: "Azure.CognitiveServices.TextAnalytics", - namespace: "Microsoft.CognitiveServices", -}); diff --git a/sdk/textanalytics/ai-text-analytics/src/transforms.ts b/sdk/textanalytics/ai-text-analytics/src/transforms.ts new file mode 100644 index 000000000000..f12904e6ab39 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/transforms.ts @@ -0,0 +1,517 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AnalyzeActionName, + AnalyzeBatchResult, + AnalyzeResult, + CustomSingleLabelClassificationResult, + CustomSingleLabelClassificationSuccessResult, + EntityLinkingResult, + EntityRecognitionResult, + HealthcareEntity, + HealthcareEntityRelation, + HealthcareEntityRelationRole, + HealthcareResult, + HealthcareSuccessResult, + KeyPhraseExtractionResult, + LanguageDetectionResult, + Opinion, + PiiEntityRecognitionResult, + SentenceSentiment, + SentimentAnalysisResult, + TextAnalysisError, + TextAnalysisErrorResult, + TextAnalysisSuccessResult, +} from "./models"; +import { + AnalyzeResponse, + AnalyzeTextLROResultUnion, + AssessmentSentiment, + CustomEntityRecognitionLROResult, + CustomMultiLabelClassificationLROResult, + CustomSingleLabelClassificationLROResult, + DocumentError, + EntitiesTaskResult, + EntityLinkingLROResult, + EntityLinkingTaskResult, + EntityRecognitionLROResult, + ErrorModel, + ErrorResponse, + ExtractiveSummarizationLROResult, + CustomSingleLabelClassificationResult as GeneratedCustomSingleLabelClassificationResult, + EntityLinkingResult as GeneratedEntityLinkingResult, + EntitiesResult as GeneratedEntityRecognitionResult, + HealthcareEntity as GeneratedHealthcareEntity, + HealthcareResult as GeneratedHealthcareResult, + KeyPhraseResult as GeneratedKeyPhraseExtractionResult, + LanguageDetectionResult as GeneratedLanguageDetectionResult, + PiiResult as GeneratedPiiEntityRecognitionResult, + SentenceSentiment as GeneratedSentenceSentiment, + SentimentResponse as GeneratedSentimentAnalysisResult, + HealthcareEntitiesDocumentResult, + HealthcareLROResult, + HealthcareRelation, + HealthcareRelationEntity, + InnerErrorModel, + KeyPhraseExtractionLROResult, + KeyPhraseTaskResult, + KnownAnalyzeTextLROResultsKind, + LanguageDetectionInput, + LanguageDetectionTaskResult, + PiiEntityRecognitionLROResult, + PiiTaskResult, + SentenceTarget, + SentimentLROResult, + SentimentTaskResult, + SingleClassificationDocumentResult, + TargetRelation, + TextDocumentInput, +} from "./generated"; +import { + AssessmentIndex, + parseAssessmentIndex, + parseHealthcareEntityIndex, + sortResponseIdObjects, +} from "./util"; +import { RestError } from "@azure/core-rest-pipeline"; + +/** + * Helper function for converting nested service error to the unified + * TextAnalysisError + */ +function toTextAnalysisError(errorModel: ErrorModel | InnerErrorModel): TextAnalysisError { + // Return the deepest error. + if (errorModel.innererror !== undefined) { + return toTextAnalysisError(errorModel.innererror); + } + + return { + ...errorModel, + }; +} + +function makeTextAnalysisErrorResult(id: string, error: ErrorModel): TextAnalysisErrorResult { + return { + id, + error: toTextAnalysisError(error), + }; +} + +/** + * combines successful and erroneous results into a single array of results and + * sort them so that the IDs order match that of the input documents array. + * @param input - the array of documents sent to the service for processing. + * @param response - the response received from the service. + * @param options - an options bag that includes functions to process the results. + */ +function transformDocumentResults< + DocumentSuccess extends TextAnalysisSuccessResult, + PublicDocumentSuccess extends TextAnalysisSuccessResult = DocumentSuccess, + TError extends TextAnalysisErrorResult = TextAnalysisErrorResult +>( + input: TextDocumentInput[], + response: { + documents: DocumentSuccess[]; + errors: DocumentError[]; + }, + options?: { + processSuccess?: (successResult: DocumentSuccess) => PublicDocumentSuccess; + processError?: (id: string, error: ErrorModel) => TError; + } +): (PublicDocumentSuccess | TextAnalysisErrorResult)[] { + const { processError = makeTextAnalysisErrorResult, processSuccess } = options || {}; + const successResults = processSuccess + ? response.documents.map(processSuccess) + : response.documents; + const unsortedResults = ( + successResults as (PublicDocumentSuccess | TextAnalysisErrorResult)[] + ).concat(response.errors.map((error) => processError(error.id, error.error))); + + return sortResponseIdObjects(input, unsortedResults); +} + +function toLanguageDetectionResult( + documents: LanguageDetectionInput[], + results: GeneratedLanguageDetectionResult +): LanguageDetectionResult[] { + return transformDocumentResults(documents, results, { + processSuccess: ({ detectedLanguage, ...rest }) => ({ + primaryLanguage: detectedLanguage, + ...rest, + }), + }); +} + +function toPiiEntityRecognitionResult( + documents: TextDocumentInput[], + results: GeneratedPiiEntityRecognitionResult +): PiiEntityRecognitionResult[] { + return transformDocumentResults(documents, results); +} + +function toSentimentAnalysisResult( + documents: TextDocumentInput[], + results: GeneratedSentimentAnalysisResult +): SentimentAnalysisResult[] { + return transformDocumentResults(documents, results, { + processSuccess: ({ sentences, ...rest }) => ({ + ...rest, + sentences: sentences.map((sentence) => + convertGeneratedSentenceSentiment(sentence, sentences) + ), + }), + }); +} + +/** + * Converts a sentence sentiment object returned by the service to another that + * is user-friendly. + * + * @param sentence - The sentence sentiment object to be converted. + * @param response - The entire response returned by the service. + * @returns The user-friendly sentence sentiment object. + * @internal + */ +function convertGeneratedSentenceSentiment( + { targets, assessments: _, ...rest }: GeneratedSentenceSentiment, + sentences: GeneratedSentenceSentiment[] +): SentenceSentiment { + return { + ...rest, + opinions: + targets?.map( + // eslint-disable-next-line @typescript-eslint/no-shadow + ({ relations, ...rest }: SentenceTarget): Opinion => ({ + target: rest, + assessments: relations + .filter((relation) => relation.relationType === "assessment") + .map((relation) => convertTargetRelationToAssessmentSentiment(relation, sentences)), + }) + ) ?? [], + }; +} + +/** + * Converts a target relation object returned by the service to an assessment + * sentiment object where JSON pointers in the former are realized in the + * latter. + * + * @param targetRelation - The target relation object to be converted. + * @param response - The entire response returned by the service. + * @returns The user-friendly assessment sentiment object. + * @internal + */ +function convertTargetRelationToAssessmentSentiment( + targetRelation: TargetRelation, + sentences: GeneratedSentenceSentiment[] +): AssessmentSentiment { + const assessmentPtr = targetRelation.ref; + const assessmentIndex: AssessmentIndex = parseAssessmentIndex(assessmentPtr); + const assessment = + sentences?.[assessmentIndex.sentence].assessments?.[assessmentIndex.assessment]; + if (assessment !== undefined) { + return assessment; + } else { + throw new Error(`Pointer "${assessmentPtr}" is not a valid Assessment pointer`); + } +} + +function toEntityLinkingResult( + documents: TextDocumentInput[], + results: GeneratedEntityLinkingResult +): EntityLinkingResult[] { + return transformDocumentResults(documents, results); +} + +function toKeyPhraseExtractionResult( + documents: TextDocumentInput[], + results: GeneratedKeyPhraseExtractionResult +): KeyPhraseExtractionResult[] { + return transformDocumentResults(documents, results); +} + +function toEntityRecognitionResult( + documents: TextDocumentInput[], + results: GeneratedEntityRecognitionResult +): EntityRecognitionResult[] { + return transformDocumentResults(documents, results); +} + +/** + * @internal + */ +export function transformActionResult( + actionName: ActionName, + input: TextDocumentInput[] | LanguageDetectionInput[], + response: AnalyzeResponse +): AnalyzeResult { + switch (response.kind) { + case "EntityLinkingResults": { + return toEntityLinkingResult(input, (response as EntityLinkingTaskResult).results); + } + case "EntityRecognitionResults": { + return toEntityRecognitionResult(input, (response as EntitiesTaskResult).results); + } + case "KeyPhraseExtractionResults": { + return toKeyPhraseExtractionResult(input, (response as KeyPhraseTaskResult).results); + } + case "PiiEntityRecognitionResults": { + return toPiiEntityRecognitionResult(input, (response as PiiTaskResult).results); + } + case "SentimentAnalysisResults": { + return toSentimentAnalysisResult(input, (response as SentimentTaskResult).results); + } + case "LanguageDetectionResults": { + return toLanguageDetectionResult(input, (response as LanguageDetectionTaskResult).results); + } + default: { + const __exhaust: never = response; + throw new Error(`Unsupported results kind: ${__exhaust} for an action of type ${actionName}`); + } + } +} + +function appendReadableErrorMessage(currentMessage: string, innerMessage: string): string { + let message = currentMessage; + if (message.slice(-1) !== ".") { + message = message + "."; + } + return message + " " + innerMessage; +} + +/** + * @internal + * parses incoming errors from the service/ + * @param error - the incoming error + */ +export function transformError(errorResponse: unknown): any { + const strongErrorResponse = errorResponse as { + response: { + parsedBody?: ErrorResponse; + }; + statusCode: number; + }; + if (!strongErrorResponse.response) { + throw errorResponse; + } + const topLevelError = strongErrorResponse.response.parsedBody?.error; + if (!topLevelError) return errorResponse; + let errorMessage = topLevelError.message; + let code = topLevelError.code; + function unwrap(error: ErrorModel | InnerErrorModel): ErrorModel { + const innerError = error.innererror; + if (innerError) { + if (innerError.message) { + errorMessage = appendReadableErrorMessage(errorMessage, innerError.message); + } + if (innerError.code) { + code = innerError.code; + } + return unwrap(innerError); + } + return error as ErrorModel; + } + unwrap(topLevelError); + return new RestError(errorMessage, { + code, + statusCode: strongErrorResponse.statusCode, + }); +} + +function toHealthcareResult( + documents: TextDocumentInput[], + results: GeneratedHealthcareResult +): HealthcareResult[] { + function makeHealthcareEntity(entity: GeneratedHealthcareEntity): HealthcareEntity { + const { dataSources, ...rest } = entity; + return { + dataSources: dataSources ?? [], + ...rest, + }; + } + function makeHealthcareRelation( + entities: HealthcareEntity[] + ): (relation: HealthcareRelation) => HealthcareEntityRelation { + return (relation: HealthcareRelation): HealthcareEntityRelation => ({ + relationType: relation.relationType, + roles: relation.entities.map( + (role: HealthcareRelationEntity): HealthcareEntityRelationRole => ({ + entity: entities[parseHealthcareEntityIndex(role.ref)], + name: role.role, + }) + ), + }); + } + return transformDocumentResults( + documents, + results, + { + processSuccess: ({ entities, relations, ...rest }) => { + const newEntities = entities.map(makeHealthcareEntity); + return { + entities: newEntities, + entityRelations: relations.map(makeHealthcareRelation(newEntities)), + ...rest, + }; + }, + } + ); +} + +function toCustomSingleLabelClassificationResult( + documents: TextDocumentInput[], + results: GeneratedCustomSingleLabelClassificationResult +): CustomSingleLabelClassificationResult[] { + return transformDocumentResults< + SingleClassificationDocumentResult, + CustomSingleLabelClassificationSuccessResult + >(documents, results, { + processSuccess: ({ classification, ...rest }) => { + return { + classifications: [classification], + ...rest, + }; + }, + }); +} + +/** + * @internal + */ +export function transformAnalyzeBatchResults( + documents: TextDocumentInput[], + response: AnalyzeTextLROResultUnion[] = [] +): AnalyzeBatchResult[] { + return response.map((actionData) => { + const { lastUpdateDateTime: completedOn, actionName, kind } = actionData; + switch (kind as KnownAnalyzeTextLROResultsKind) { + case "SentimentAnalysisLROResults": { + const { results } = actionData as SentimentLROResult; + const { modelVersion, statistics } = results; + return { + kind: "SentimentAnalysis", + results: toSentimentAnalysisResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "EntityRecognitionLROResults": { + const { results } = actionData as EntityRecognitionLROResult; + const { modelVersion, statistics } = results; + return { + kind: "EntityRecognition", + results: toEntityRecognitionResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "PiiEntityRecognitionLROResults": { + const { results } = actionData as PiiEntityRecognitionLROResult; + const { modelVersion, statistics } = results; + return { + kind: "PiiEntityRecognition", + results: toPiiEntityRecognitionResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "KeyPhraseExtractionLROResults": { + const { results } = actionData as KeyPhraseExtractionLROResult; + const { modelVersion, statistics } = results; + return { + kind: "KeyPhraseExtraction", + results: toKeyPhraseExtractionResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "EntityLinkingLROResults": { + const { results } = actionData as EntityLinkingLROResult; + const { modelVersion, statistics } = results; + return { + kind: "EntityLinking", + results: toEntityLinkingResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "HealthcareLROResults": { + const { results } = actionData as HealthcareLROResult; + const { modelVersion, statistics } = results; + return { + kind: "Healthcare", + results: toHealthcareResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + case "CustomEntityRecognitionLROResults": { + const { results } = actionData as CustomEntityRecognitionLROResult; + const { deploymentName, projectName, statistics } = results; + return { + kind: "CustomEntityRecognition", + results: transformDocumentResults(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + deploymentName, + projectName, + }; + } + case "CustomSingleLabelClassificationLROResults": { + const { results } = actionData as CustomSingleLabelClassificationLROResult; + const { deploymentName, projectName, statistics } = results; + return { + kind: "CustomSingleLabelClassification", + results: toCustomSingleLabelClassificationResult(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + deploymentName, + projectName, + }; + } + case "CustomMultiLabelClassificationLROResults": { + const { results } = actionData as CustomMultiLabelClassificationLROResult; + const { deploymentName, projectName, statistics } = results; + return { + kind: "CustomMultiLabelClassification", + results: transformDocumentResults(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + deploymentName, + projectName, + }; + } + case "ExtractiveSummarizationLROResults": { + const { results } = actionData as ExtractiveSummarizationLROResult; + const { modelVersion, statistics } = results; + return { + kind: "ExtractiveSummarization", + results: transformDocumentResults(documents, results), + completedOn, + ...(actionName ? { actionName } : {}), + ...(statistics ? { statistics } : {}), + modelVersion, + }; + } + default: { + throw new Error(`Unsupported results kind: ${kind}`); + } + } + }); +} diff --git a/sdk/textanalytics/ai-text-analytics/src/util.ts b/sdk/textanalytics/ai-text-analytics/src/util.ts index 723b45ee25a6..d7e39fa60b87 100644 --- a/sdk/textanalytics/ai-text-analytics/src/util.ts +++ b/sdk/textanalytics/ai-text-analytics/src/util.ts @@ -1,20 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { RestError } from "@azure/core-rest-pipeline"; -import { FullOperationResponse, OperationOptions, OperationSpec } from "@azure/core-client"; -import { SpanStatusCode } from "@azure/core-tracing"; +import { LanguageDetectionInput, TextDocumentInput } from "./generated"; +import { TextAnalysisOperationOptions } from "./models"; import { logger } from "./logger"; -import { - ErrorResponse, - GeneratedClient, - InnerError, - StringIndexType as GeneratedStringIndexType, - TextAnalyticsError, -} from "./generated"; -import { TextAnalyticsAction } from "./textAnalyticsAction"; -import { createSpan } from "./tracing"; -import { LroResponse } from "@azure/core-lro"; interface IdObject { id: string; @@ -28,8 +17,8 @@ interface IdObject { * @param sortedArray - An array of entries sorted by `id` * @param unsortedArray - An array of entries that contain `id` but are not sorted */ -export function sortResponseIdObjects( - sortedArray: T[], +export function sortResponseIdObjects( + sortedArray: IdObject[], unsortedArray: U[] ): U[] { const unsortedMap = new Map(); @@ -45,6 +34,11 @@ export function sortResponseIdObjects( } const result: U[] = []; + /** + * When the results are returned in pages, sortedArray will probably have more + * items than unsortedArray so it is ok to ignore the case when a sorted item + * ID is not found in `unsortedMap`. + */ for (const sortedItem of sortedArray) { const item = unsortedMap.get(sortedItem.id); if (item) { @@ -96,196 +90,83 @@ export function parseHealthcareEntityIndex(pointer: string): number { } } -const jsEncodingUnit = "Utf16CodeUnit"; - -/** - * Measurement units that can used to calculate the offset and length properties. - */ -export type StringIndexType = "TextElement_v8" | "UnicodeCodePoint" | "Utf16CodeUnit"; - -/** - * @internal - */ -export function addStrEncodingParam( - options: Options -): Options & { stringIndexType: StringIndexType } { - return { ...options, stringIndexType: options.stringIndexType || jsEncodingUnit }; -} - -/** - * Set the stringIndexType property with default if it does not exist in x. - * @param options - operation options bag that has a {@link StringIndexType} - * @internal - */ -export function setStrEncodingParam( - x: X -): X & { stringIndexType: GeneratedStringIndexType } { - return { ...x, stringIndexType: x.stringIndexType || jsEncodingUnit }; -} - -export function setStrEncodingParamValue( - stringIndexType?: GeneratedStringIndexType -): GeneratedStringIndexType { - return stringIndexType || jsEncodingUnit; -} - -/** - * Set the opinion mining property - * @internal - */ -export function setOpinionMining( - x: X -): X & { opinionMining?: boolean } { - return { ...x, opinionMining: x.includeOpinionMining }; -} - -/** - * Set the pii categories property - * @internal - */ -export function setCategoriesFilter( - x: X -): X & { piiCategories?: string[] } { - return { ...x, piiCategories: x.categoriesFilter }; -} - -export function setSentenceCount( - x: X -): X & { sentenceCount?: number } { - return { ...x, sentenceCount: x.maxSentenceCount }; -} - -export function setOrderBy(x: X): X & { sortBy?: string } { - return { ...x, sortBy: x.orderBy }; -} - /** * @internal */ -export function addParamsToTask( - action: X -): { parameters?: Omit; taskName?: string } { - const { actionName, ...params } = action; - return { parameters: params, taskName: actionName }; -} - -function appendReadableErrorMessage(currentMessage: string, innerMessage: string): string { - let message = currentMessage; - if (message.slice(-1) !== ".") { - message = message + "."; - } - return message + " " + innerMessage; +export function isStringArray(documents: unknown[]): documents is string[] { + return typeof documents[0] === "string"; } /** * @internal - * parses incoming errors from the service and if the inner error code is - * InvalidDocumentBatch, it exposes that as the statusCode instead. - * @param error - the incoming error */ -export function compileError(errorResponse: unknown): any { - const castErrorResponse = errorResponse as { - response: { - parsedBody?: ErrorResponse; +export function convertToTextDocumentInput( + inputs: string[], + language?: string +): TextDocumentInput[] { + return inputs.map((text: string, index): TextDocumentInput => { + return { + id: String(index), + language, + text, }; - statusCode: number; - }; - if (!castErrorResponse.response) { - throw errorResponse; - } - const topLevelError = castErrorResponse.response.parsedBody?.error; - if (!topLevelError) return errorResponse; - let errorMessage = topLevelError.message || ""; - let invalidDocumentBatchCode = false; - function unwrap(error: TextAnalyticsError | InnerError): TextAnalyticsError { - if (error?.innererror !== undefined && error.innererror.message !== undefined) { - if (error.innererror.code === "InvalidDocumentBatch") { - invalidDocumentBatchCode = true; - } - errorMessage = appendReadableErrorMessage(errorMessage, error.innererror.message); - return unwrap(error.innererror); - } - return error as TextAnalyticsError; - } - unwrap(topLevelError); - return new RestError(errorMessage, { - code: invalidDocumentBatchCode ? "InvalidDocumentBatch" : topLevelError.code, - statusCode: castErrorResponse.statusCode, }); } /** * @internal */ -export function compose(fn1: (x: T1) => T2, fn2: (y: T2) => T3): (x: T1) => T3 { - return (value: T1) => fn2(fn1(value)); +export function convertToLanguageDetectionInput( + inputs: string[], + countryHint?: string +): LanguageDetectionInput[] { + return inputs.map((text: string, index): LanguageDetectionInput => { + return { + id: String(index), + countryHint, + text, + }; + }); } /** * @internal */ -export async function getRawResponse( - f: (options: TOptions) => Promise, - options: TOptions -): Promise> { - const { onResponse } = options || {}; - let rawResponse: FullOperationResponse | undefined = undefined; - const flatResponse = await f({ - ...options, - onResponse: (response: FullOperationResponse, flatResponseParam: unknown) => { - rawResponse = response; - onResponse?.(response, flatResponseParam); - }, - }); +export function getOperationOptions( + options: OptionsT +): { + options: TextAnalysisOperationOptions; + rest: Omit< + OptionsT, + | "onResponse" + | "abortSignal" + | "apiVersion" + | "includeStatistics" + | "requestOptions" + | "serializerOptions" + | "tracingOptions" + >; +} { + const { + abortSignal, + apiVersion, + includeStatistics, + onResponse, + requestOptions, + serializerOptions, + tracingOptions, + ...rest + } = options; return { - flatResponse, - rawResponse: { - statusCode: rawResponse!.status, - headers: rawResponse!.headers.toJSON(), - body: rawResponse!.parsedBody, + options: { + abortSignal, + apiVersion, + includeStatistics, + onResponse, + requestOptions, + serializerOptions, + tracingOptions, }, + rest, }; } - -/** - * @internal - */ -export async function sendGetRequest( - // eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters - client: GeneratedClient, - spec: OperationSpec, - spanStr: string, - options: TOptions, - path: string -): Promise> { - const { span, updatedOptions: finalOptions } = createSpan( - `TextAnalyticsClient-${spanStr}`, - options - ); - try { - const { flatResponse, rawResponse } = await getRawResponse( - (paramOptions) => - client.sendOperationRequest( - { options: paramOptions }, - { - ...spec, - path, - httpMethod: "GET", - } - ), - finalOptions - ); - return { - flatResponse: flatResponse, - rawResponse, - }; - } catch (e: any) { - span.setStatus({ - code: SpanStatusCode.ERROR, - message: e.message, - }); - throw e; - } finally { - span.end(); - } -} diff --git a/sdk/textanalytics/ai-text-analytics/swagger/README.md b/sdk/textanalytics/ai-text-analytics/swagger/README.md index 789ce3b22837..14d34ba28f99 100644 --- a/sdk/textanalytics/ai-text-analytics/swagger/README.md +++ b/sdk/textanalytics/ai-text-analytics/swagger/README.md @@ -7,14 +7,14 @@ ```yaml package-name: "@azure/ai-text-analytics" title: GeneratedClient -description: TextAnalytics Client +description: Text Analysis 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/main/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.2-preview.2/TextAnalytics.json +input-file: https://github.com/Azure/azure-rest-api-specs/blob/cognitiveservices-Language-2022-04-01-preview/specification/cognitiveservices/data-plane/Language/preview/2022-04-01-preview/textanalytics.json add-credentials: false -package-version: 5.2.0-beta.3 +package-version: 6.0.0-beta.1 v3: true hide-clients: true typescript: true @@ -25,6 +25,209 @@ typescript: true See the [AutoRest samples](https://github.com/Azure/autorest/tree/master/Samples/3b-custom-transformations) for more about how we're customizing things. +### Rename analyze-text to Analyze and analyze-test/jobs to AnalyzeBatch + +```yaml +directive: + - from: swagger-document + where: $["paths"]["/:analyze-text"]["post"] + transform: $.operationId = "Analyze"; + - from: swagger-document + where: $["paths"]["/:analyze-text/jobs"]["post"] + transform: $.operationId = "AnalyzeBatch"; +``` + +### Rename JobState + +```yaml +directive: + - from: swagger-document + where: $.definitions.JobState + transform: $.properties.createdDateTime["x-ms-client-name"] = "createdOn"; + - from: swagger-document + where: $.definitions.JobState + transform: $.properties.expirationDateTime["x-ms-client-name"] = "expiresOn"; + - from: swagger-document + where: $.definitions.JobState + transform: $.properties.jobId["x-ms-client-name"] = "operationId"; + - from: swagger-document + where: $.definitions.JobState + transform: $.properties.lastUpdateDateTime["x-ms-client-name"] = "lastModifiedOn"; + - from: swagger-document + where: $.definitions.JobState + transform: $.properties.status["x-ms-enum"].name = "OperationStatus"; +``` + +### Task renames + +```yaml +directive: + - from: swagger-document + where: $.definitions.AnalyzeTextTask + transform: + $["x-ms-client-name"] = "AnalyzeAction"; + - from: swagger-document + where: $.definitions.AnalyzeTextLROTask + transform: + $["x-ms-client-name"] = "AnalyzeBatchAction"; + - from: swagger-document + where: $.definitions.TaskParameters + transform: + $.properties.loggingOptOut["x-ms-client-name"] = "disableServiceLogs"; + $.properties.loggingOptOut.description = "If set to true, you opt-out of having your text input logged for troubleshooting. By default, Cognitive Language Service logs your input text for 48 hours, solely to allow for troubleshooting issues. Setting this parameter to true, disables in logging and may limit our ability to remediate issues that occur.\n\nDefault is false."; + $["x-ms-client-name"] = "ActionCommon"; + $.description = "Configuration common to all actions." + - from: swagger-document + where: $.definitions.PreBuiltTaskParameters.properties.modelVersion + transform: + $.description = "The version of the model to be used by the action."; + - from: swagger-document + where: $.definitions.PreBuiltTaskParameters + transform: + $.description = "Configuration common to all actions that use prebuilt models."; + $["x-ms-client-name"] = "ActionPrebuilt"; + - from: swagger-document + where: $.definitions.CustomTaskParameters + transform: + $["x-ms-client-name"] = "ActionCustom"; + - from: swagger-document + where: $.definitions.ActionCustom + transform: + $.description = "Configuration common to all actions that use custom models."; + $.properties.projectName.description = "The project name for the model to be used by the action."; + $.properties.deploymentName.description = "The deployment name for the model to be used by the action."; + - from: swagger-document + where: $.definitions.EntityLinkingTaskParameters + transform: + $["x-ms-client-name"] = "EntityLinkingAction"; + $.description = "Options for an entity linking action."; + - from: swagger-document + where: $.definitions.EntitiesTaskParameters + transform: + $["x-ms-client-name"] = "EntityRecognitionAction"; + $.description = "Options for an entity recognition action."; + - from: swagger-document + where: $.definitions.SentimentAnalysisTaskParameters + transform: + $["x-ms-client-name"] = "SentimentAnalysisAction"; + $.properties.opinionMining.description = "Enables performing opinion mining on the input documents, a more granular analysis around the aspects of a product or service (also known as aspect-based sentiment analysis). If set to true, {@link SentenceSentiment.opinions} will contain the results of this analysis. See {@link https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview#opinion-mining the service documentation} for more information."; + $.properties.opinionMining["x-ms-client-name"] = "includeOpinionMining"; + $.description = "Options for a sentiment analysis action."; + - from: swagger-document + where: $.definitions.KeyPhraseTaskParameters + transform: + $["x-ms-client-name"] = "KeyPhraseExtractionAction"; + $.description = "Options for a key phrase recognition action."; + - from: swagger-document + where: $.definitions.PiiTaskParameters + transform: + $["x-ms-client-name"] = "PiiEntityRecognitionAction"; + $.properties.domain.description = "Filters entities to ones only included in the specified domain (e.g., if set to `Phi`, only entities in the Protected Healthcare Information domain will be returned). For a list of possible domains, see {@link PiiDomain}.\n\nSee {@link https://aka.ms/tanerpii the service documentation} for more information."; + $.properties.domain["x-ms-client-name"] = "domainFilter"; + $.properties.piiCategories.description = "Filters entities to ones only included in the specified array of categories. For a list of possible categories, see {@link KnownPiiCategory}"; + $.properties.piiCategories["x-ms-client-name"] = "categoriesFilter"; + $.description = "Options for a Pii entity recognition action." + - from: swagger-document + where: $.definitions.LanguageDetectionTaskParameters + transform: + $["x-ms-client-name"] = "LanguageDetectionAction"; + $.description = "Options for a language detection action."; + - from: swagger-document + where: $.definitions.HealthcareTaskParameters + transform: + $["x-ms-client-name"] = "HealthcareAction"; + - from: swagger-document + where: $.definitions.ExtractiveSummarizationTaskParameters + transform: + $["x-ms-client-name"] = "ExtractiveSummarizationAction"; + $.properties.sentenceCount["x-ms-client-name"] = "maxSentenceCount"; + $.properties.sortBy["x-ms-client-name"] = "orderBy"; + - from: swagger-document + where: $.definitions.ExtractiveSummarizationSortingCriteria + transform: + $["x-ms-enum"].name = "ExtractiveSummarizationOrderingCriteria"; + - from: swagger-document + where: $.definitions.CustomEntitiesTaskParameters + transform: + $["x-ms-client-name"] = "CustomEntityRecognitionAction"; + - from: swagger-document + where: $.definitions.CustomSingleLabelClassificationTaskParameters + transform: + $["x-ms-client-name"] = "CustomSingleLabelClassificationAction"; + $.description = "Options for a single-label classification custom action"; + - from: swagger-document + where: $.definitions.CustomMultiLabelClassificationTaskParameters + transform: + $["x-ms-client-name"] = "CustomMultiLabelClassificationAction"; + $.description = "Options for a multi-label classification custom action"; + - from: swagger-document + where: $.definitions.TaskIdentifier + transform: + $["x-ms-client-name"] = "BatchActionState"; + $.description = "The State of a batched action"; + $.properties.taskName.description = "The name of the action"; + $.properties.taskName["x-ms-client-name"] = "actionName"; + - from: swagger-document + where: $.definitions..properties.stringIndexType + transform: > + $.description = "Specifies the measurement unit used to calculate the offset and length properties. For a list of possible values, see {@link KnownStringIndexType}.\n\nThe default is the JavaScript's default which is \"Utf16CodeUnit\"."; +``` + +### Rename HealthcareEntityLink => EntityDataSource + +```yaml +directive: + - from: swagger-document + where: $.definitions.HealthcareEntityLink + transform: + $["x-ms-client-name"] = "EntityDataSource"; + $.description = "A type representing a reference for the healthcare entity into a specific entity catalog."; + $.properties.dataSource["x-ms-client-name"] = "name"; + $.properties.id["x-ms-client-name"] = "entityId"; + - from: swagger-document + where: $.definitions.HealthcareEntity.properties.links + transform: > + $["x-ms-client-name"] = "dataSources"; +``` + +### Rename name to normalizedText + +```yaml +directive: + - from: swagger-document + where: $.definitions.HealthcareEntity.properties.name + transform: > + $["x-ms-client-name"] = "normalizedText"; +``` + +### Rename class => classification + +```yaml +directive: + - from: swagger-document + where: $.definitions.SingleClassificationDocumentResult.properties.class + transform: + $["x-ms-client-name"] = "classification"; + - from: swagger-document + where: $.definitions.MultiClassificationDocumentResult.properties.class + transform: + $["x-ms-client-name"] = "classifications"; + - from: swagger-document + where: $.definitions.ClassificationResult + transform: + $["x-ms-client-name"] = "ClassificationCategory"; + $.description = "A classification result from a custom classify document single category action"; +``` + +### Set Utf16CodeUnit as the default for StringIndexType because this is what JavaScript uses + +```yaml +directive: + - from: swagger-document + where: $.definitions.StringIndexType + transform: $.default = "Utf16CodeUnit"; +``` + ### Rename plurals in DocumentStatistics ```yaml @@ -85,6 +288,17 @@ directive: $["x-ms-client-name"] = "sentenceSentiments"; ``` +### SentenceAssessment to AssessmentSentiment + +```yaml +directive: + - from: swagger-document + where: $.definitions.SentenceAssessment + transform: > + $["x-ms-client-name"] = "AssessmentSentiment"; + $.description = "AssessmentSentiment contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'."; +``` + ### DocumentStatistics => TextDocumentStatistics ```yaml @@ -121,28 +335,26 @@ directive: } ``` -### Rename {Document,Sentence}SentimentValue -> Label +### Rename {Document,Sentence,Token}SentimentValue -> Label ```yaml directive: - from: swagger-document - where: $.definitions.DocumentSentiment.properties.sentiment + where: $.definitions.SentimentDocumentResult.properties.sentiment transform: > $["x-ms-enum"].name = "DocumentSentimentLabel"; - from: swagger-document where: $.definitions.SentenceSentiment.properties.sentiment transform: > $["x-ms-enum"].name = "SentenceSentimentLabel"; -``` - -### Fix capitalization of Code enum values - -```yaml -directive: - from: swagger-document - where: $.definitions..properties.code + where: $.definitions.SentenceTarget.properties.sentiment transform: > - $.enum = $.enum.map((val) => val.charAt(0).toUpperCase() + val.slice(1)); + $["x-ms-enum"].name = "TokenSentimentLabel"; + - from: swagger-document + where: $.definitions.SentenceAssessment.properties.sentiment + transform: > + $["x-ms-enum"].name = "TokenSentimentLabel"; ``` ### Rename LinkedEntity id -> dataSourceEntityId @@ -165,6 +377,27 @@ directive: $["x-ms-client-name"] = "SentimentConfidenceScores"; ``` +### Rename TargetConfidenceScoreLabel -> TargetConfidenceScores + +```yaml +directive: + - from: swagger-document + where: $.definitions.TargetConfidenceScoreLabel + transform: > + $["x-ms-client-name"] = "TargetConfidenceScores"; +``` + +### ExtractedSummarySentence to SummarySentence + +```yaml +directive: + - from: swagger-document + where: $.definitions.ExtractedSummarySentence + transform: > + $["x-ms-client-name"] = "SummarySentence"; + $.description = "A sentence that is part of the extracted summary."; +``` + ### Change some casing to use camelCase ```yaml @@ -173,6 +406,10 @@ directive: where: $.definitions.Entity.properties.subcategory transform: > $["x-ms-client-name"] = "subCategory"; + - from: swagger-document + where: $.definitions.HealthcareEntity.properties.subcategory + transform: > + $["x-ms-client-name"] = "subCategory"; ``` ### WarningCodeValue => WarningCode @@ -180,7 +417,7 @@ directive: ```yaml directive: - from: swagger-document - where: $.definitions.TextAnalyticsWarning.properties.code + where: $.definitions.DocumentWarning.properties.code transform: > $["x-ms-enum"].name = "WarningCode"; ``` @@ -190,7 +427,7 @@ directive: ```yaml directive: - from: swagger-document - where: $.definitions.TextAnalyticsWarning.properties + where: $.definitions.DocumentWarning.properties transform: > delete $["targetRef"]; ``` @@ -203,26 +440,27 @@ directive: where: $.definitions transform: > if (!$.TextDocumentInput) { - $.TextDocumentInput = $.MultiLanguageInput; + $.TextDocumentInput = $.MultiLanguageInput delete $.MultiLanguageInput; } - from: swagger-document - where: $.definitions.MultiLanguageBatchInput.properties.documents.items + where: $.definitions.MultiLanguageAnalysisInput.properties.documents.items transform: > $["$ref"] = "#/definitions/TextDocumentInput"; - from: swagger-document where: $.definitions transform: > - if (!$.DetectLanguageInput) { - $.DetectLanguageInput = $.LanguageInput; + if (!$.LanguageDetectionInput) { + $.LanguageDetectionInput = $.LanguageInput; delete $.LanguageInput; } - from: swagger-document - where: $.definitions.LanguageBatchInput.properties.documents.items + where: $.definitions.LanguageDetectionAnalysisInput.properties.documents.items transform: > - $["$ref"] = "#/definitions/DetectLanguageInput"; + $["$ref"] = "#/definitions/LanguageDetectionInput"; ``` + ### Disable LRO ```yaml @@ -242,27 +480,36 @@ directive: ```yaml directive: - from: swagger-document - where: $.definitions.TextAnalyticsWarning + where: $.definitions.DocumentWarning transform: $.description = "Represents a warning encountered while processing a document." - from: swagger-document where: $.definitions.SentenceSentiment - transform: $.description = "The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis." + transform: $.description = "The predicted sentiment for a given span of text. For more information regarding text sentiment, seehttps://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview." - from: swagger-document where: $.definitions.Match - transform: $.description = "Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model." + transform: $.description = "Details about the specific substring in a document that refers to a linked entity identified by the Language model." - from: swagger-document where: $.definitions.Entity - transform: $.description = "A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types ." + transform: $.description = "A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Language service is described at https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/concepts/named-entity-categories ." - from: swagger-document where: $.definitions.LinkedEntity transform: $.description = "A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database." - from: swagger-document - where: $.definitions.DetectLanguageInput - transform: $.description = "An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the text analytics predictive model in detecting the document's language." + where: $.definitions.LanguageDetectionInput + transform: + $.description = "An input to the language detection operation. This object specifies a unique document id, as well as the full text of a document and a hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language."; + $.properties.countryHint.description = "A hint indicating the document's country of origin to assist the Language predictive model in detecting the document's language."; + $.properties.text.description = "Full text of the input document."; - from: swagger-document where: $.definitions.TextDocumentInput - transform: $.description = "An object representing an individual text document to be analyzed by the Text Analytics service. The document contains a unique document ID, the full text of the document, and the language of the document's text." + transform: $.description = "An object representing an individual text document to be analyzed by the Language service. The document contains a unique document ID, the full text of the document, and the language of the document's text." - from: swagger-document where: $.definitions.DetectedLanguage - transform: $.description = "Information about the language of a document as identified by the Text Analytics service." -``` + transform: $.description = "Information about the language of a document as identified by the Language service." + - from: swagger-document + where: $.definitions.SentenceAssessment + transform: $.description = "An object that contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence \"The food is good\", the assessment of the target 'food' is 'good'." + - from: swagger-document + where: $.definitions.HealthcareAssertion + transform: $.description = "An object that describes metadata about the healthcare entity such as whether it is hypothetical or conditional."; +``` \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/test/README.md b/sdk/textanalytics/ai-text-analytics/test/README.md deleted file mode 100644 index 3c6429923a5b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# 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/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: - -- An [Azure Cognitive Services](https://azure.microsoft.com/services/cognitive-services/) account of the Text Analytics type. - -To run the live tests, you will also need to set the below environment variables: - -- `TEST_MODE`: Should have `live` assigned. -- `TEXT_ANALYTICS_API_KEY`: The primary API key of the Text Analytics API in your Azure Cognitive Services account. -- `TEXT_ANALYTICS_API_KEY_ALT` (optional): The secondary API key of the Text Analytics API in your Azure Cognitive Services account. -- `ENDPOINT`: The endpoint of your Text Analytics API in your Azure Cognitive Services account. - -In addition to the environment variables above, an Azure Active Directory identity configuration is required. See the [README file for the @azure/identity package](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity) for more details on how to configure an identity for local testing. The test configuration uses the `DefaultAzureCredential` to request an authentication token, so any authentication method that is exposed by `DefaultAzureCredential` will be sufficient to run the tests. The next section will explain how to grant access to your Cognitive Services account to the user or application you wish to use for testing. - -## AAD-based Authentication - -In order to use Azure Active Directory to run the live tests, you will need to configure a role assignment within your AAD tenant. - -### Using an App Registration (Service Principal) - -- Follow [Documentation to register a new application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) in the Azure Active Directory (in the Azure portal). -- Note the Client ID and Tenant ID. -- In the "Certificates & Secrets" tab, create a secret and note that down. -- Ensure the following environment variables are set: - - `AZURE_TENANT_ID=""` - - `AZURE_CLIENT_ID=""` - - `AZURE_CLIENT_SECRET=""` - -### Using a User Account - -As an alternative to creating a service principal, you can use a simple user account. This is not recommended for production, but may be useful for development and testing. Using a User Account requires either the Azure CLI or Visual Studio Code with the [Azure Account extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account). - -- Create an account in your Azure Active Directory tenant (or use the default account associated with your Microsoft account) -- Log in to the account, either using the Azure CLI (`az login` command) or though the VS Code Azure Account extension. - -Once you are logged in, the `DefaultAzureCredential` will use the identity of the account when communicating with the Cognitive Services endpoint. - -### Assign the Cognitive Services User role to your user - -- In the Azure portal, go to your Cognitive Services resource and assign the **Cognitive Services User** role to the registered application (if using an Application Service Principal) or to your user account. - - This can be done from `Role assignment` section of `Access control (IAM)` tab (in the left-side-navbar of your Cognitive Services resource in the Azure portal)
_Doing this will allow anyone with your application or user's credentials and/or access token to utilize the endpoint resources._ - -After configuring your account's permissions and setting up the authenticated environment, you should be able to run the live tests. - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Ftextanalytics%2Fai-text-analytics%2Ftest%2FREADME.png) diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/collections.spec.ts b/sdk/textanalytics/ai-text-analytics/test/internal/collections.spec.ts deleted file mode 100644 index 14f04d613bc3..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/internal/collections.spec.ts +++ /dev/null @@ -1,381 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; - -import { makeAnalyzeSentimentResultArray } from "../../src/analyzeSentimentResultArray"; -import { makeDetectLanguageResultArray } from "../../src/detectLanguageResultArray"; -import { makeExtractKeyPhrasesResultArray } from "../../src/extractKeyPhrasesResultArray"; -import { makeRecognizeLinkedEntitiesResultArray } from "../../src/recognizeLinkedEntitiesResultArray"; -import { makeRecognizeCategorizedEntitiesResultArray } from "../../src/recognizeCategorizedEntitiesResultArray"; -import { DetectLanguageInput, TextDocumentInput } from "../../src"; -import { makeRecognizePiiEntitiesResultArray } from "../../src/recognizePiiEntitiesResultArray"; - -describe("SentimentResultArray", () => { - it("merges items in order", () => { - const input: TextDocumentInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeAnalyzeSentimentResultArray(input, { - documents: [ - { - id: "A", - confidenceScores: { - positive: 1, - negative: 0, - neutral: 0, - }, - sentenceSentiments: [], - sentiment: "positive", - warnings: [], - }, - { - id: "C", - confidenceScores: { - positive: 0, - negative: 1, - neutral: 0, - }, - sentenceSentiments: [], - sentiment: "negative", - warnings: [], - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); -}); - -describe("DetectLanguageResultArray", () => { - it("merges items in order", () => { - const input: DetectLanguageInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeDetectLanguageResultArray(input, { - documents: [ - { - id: "A", - detectedLanguage: { - name: "English", - iso6391Name: "en", - confidenceScore: 1, - }, - warnings: [], - }, - { - id: "C", - detectedLanguage: { - name: "French", - iso6391Name: "fr", - confidenceScore: 1, - }, - warnings: [], - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); -}); - -describe("ExtractKeyPhrasesResultArray", () => { - it("merges items in order", () => { - const input: TextDocumentInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeExtractKeyPhrasesResultArray(input, { - documents: [ - { - id: "A", - keyPhrases: ["test", "test2"], - warnings: [], - }, - { - id: "C", - keyPhrases: ["awesome"], - warnings: [], - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); -}); - -describe("RecognizeCategorizedEntitiesResultArray", () => { - it("merges items in order", () => { - const input: TextDocumentInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeRecognizeCategorizedEntitiesResultArray(input, { - documents: [ - { - id: "A", - entities: [ - { - text: "Microsoft", - category: "Organization", - confidenceScore: 0.9989, - offset: 0, - length: 0, - }, - ], - warnings: [], - }, - { - id: "C", - entities: [ - { - text: "last week", - category: "DateTime", - subCategory: "DateRange", - confidenceScore: 0.8, - offset: 0, - length: 0, - }, - ], - warnings: [], - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); -}); - -describe("RecognizeLinkedEntitiesResultArray", () => { - it("merges items in order", () => { - const input: TextDocumentInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeRecognizeLinkedEntitiesResultArray(input, { - documents: [ - { - id: "A", - entities: [ - { - name: "Seattle", - matches: [ - { - text: "Seattle", - confidenceScore: 0.15046201222847677, - offset: 0, - length: 0, - }, - ], - language: "en", - dataSourceEntityId: "Seattle", - url: "https://en.wikipedia.org/wiki/Seattle", - dataSource: "Wikipedia", - }, - ], - warnings: [], - }, - { - id: "C", - entities: [ - { - name: "Microsoft", - matches: [ - { - text: "Microsoft", - confidenceScore: 0.1869365971673207, - offset: 0, - length: 0, - }, - ], - language: "en", - dataSourceEntityId: "Microsoft", - url: "https://en.wikipedia.org/wiki/Microsoft", - dataSource: "Wikipedia", - }, - ], - warnings: [], - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); - - describe("RecognizePiiEntitiesResultArray", () => { - it("merges items in order", () => { - const input: TextDocumentInput[] = [ - { - id: "A", - text: "test", - }, - { - id: "B", - text: "test2", - }, - { - id: "C", - text: "test3", - }, - ]; - const result = makeRecognizePiiEntitiesResultArray(input, { - documents: [ - { - id: "A", - entities: [ - { - text: "(555) 555-5555", - category: "US Phone Number", - confidenceScore: 0.9989, - offset: 0, - length: 0, - }, - ], - warnings: [], - redactedText: "", - }, - { - id: "C", - entities: [ - { - text: "1234 Default Ln.", - category: "US Address", - subCategory: "", - confidenceScore: 0.8, - offset: 0, - length: 0, - }, - ], - warnings: [], - redactedText: "", - }, - ], - errors: [ - { - id: "B", - error: { - code: "InternalServerError", - message: "test error", - }, - }, - ], - modelVersion: "", - }); - - const inputOrder = input.map((item) => item.id); - const outputOrder = result.map((item) => item.id); - assert.deepEqual(inputOrder, outputOrder); - }); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/error.spec.ts b/sdk/textanalytics/ai-text-analytics/test/internal/error.spec.ts deleted file mode 100644 index 71d02d7a3594..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/internal/error.spec.ts +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; - -import { makeTextAnalyticsErrorResult } from "../../src/textAnalyticsResult"; - -describe("makeTextAnalyticsErrorResult", function () { - it("single-layer error is transposed", () => { - const result = makeTextAnalyticsErrorResult("1", { - code: "ServiceUnavailable", - message: "internal server error", - details: [], - }); - - assert.deepEqual(result, { - id: "1", - error: { - code: "ServiceUnavailable", - message: "internal server error", - target: undefined, - }, - }); - }); - - it("innerError must take precedence", () => { - const result = makeTextAnalyticsErrorResult("2", { - code: "InvalidRequest", - message: "This is an error message", - innererror: { - code: "MissingInputRecords", - message: "This is a deeper error message", - target: "a target", - }, - }); - - assert.deepEqual(result, { - id: "2", - error: { - code: "MissingInputRecords", - message: "This is a deeper error message", - target: "a target", - }, - }); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/models.spec.ts b/sdk/textanalytics/ai-text-analytics/test/internal/models.spec.ts new file mode 100644 index 000000000000..91a751479b0d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/internal/models.spec.ts @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AnalyzeAction, + KnownFhirVersion as GeneratedKnownFhirVersion, + KnownAnalyzeTextLROTaskKind, +} from "../../src/generated/models"; +import { AnalyzeActionName, AnalyzeBatchActionName, KnownFhirVersion } from "../../src"; +import { AssertEqual } from "./utils"; +import { assert } from "@azure/test-utils"; + +describe("Models", function () { + it("AnalyzeActionName", function () { + const equalTypes: AssertEqual = true; + assert.isTrue(equalTypes); + }); + it("AnalyzeBatchActionName", function () { + const equalTypes: AssertEqual< + AnalyzeBatchActionName, + keyof typeof KnownAnalyzeTextLROTaskKind + > = true; + assert.isTrue(equalTypes); + }); + it("fhirVersion", function () { + const equalTypes: AssertEqual<`${KnownFhirVersion}`, `${GeneratedKnownFhirVersion}`> = true; + assert.isTrue(equalTypes); + }); +}); diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/tracing.spec.ts b/sdk/textanalytics/ai-text-analytics/test/internal/tracing.spec.ts deleted file mode 100644 index bfbbdd3b2ec0..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/internal/tracing.spec.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; -import * as sinon from "sinon"; -import { createSpan } from "../../src/tracing"; -import { TestSpan, setTracer } from "@azure/test-utils"; -import { SpanKind, TraceFlags } from "@azure/core-tracing"; - -describe("tracing.createSpan", () => { - it("returns a created span with the right metadata", () => { - const tracer = setTracer(); - const testSpan = new TestSpan( - tracer, - "testing", - { traceId: "", spanId: "", traceFlags: TraceFlags.NONE }, - SpanKind.INTERNAL - ); - const setAttributeSpy = sinon.spy(testSpan, "setAttribute"); - const startSpanStub = sinon.stub(tracer, "startSpan"); - startSpanStub.returns(testSpan); - - const { span } = createSpan("testOperation", {}); - assert.strictEqual(span, testSpan, "Should return mocked span"); - assert.isTrue(startSpanStub.calledOnce); - - const [name, options] = startSpanStub.firstCall.args; - assert.strictEqual(name, "Azure.CognitiveServices.TextAnalytics.testOperation"); - assert.deepEqual(options, { kind: SpanKind.INTERNAL }); - assert.isTrue( - setAttributeSpy.calledOnceWithExactly("az.namespace", "Microsoft.CognitiveServices") - ); - }); - - afterEach(() => { - sinon.restore(); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/util.spec.ts b/sdk/textanalytics/ai-text-analytics/test/internal/util.spec.ts deleted file mode 100644 index af3b9c19f309..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/internal/util.spec.ts +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; -import { parseActionError } from "../../src/analyzeActionsResult"; -import { sortResponseIdObjects } from "../../src/util"; - -describe("util.sortByPreviousOrder", () => { - it("should sort outputs correctly", () => { - const input = [{ id: "1" }, { id: "2" }, { id: "3" }]; - const output = [{ id: "3" }, { id: "1" }, { id: "2" }]; - const result = sortResponseIdObjects(input, output); - assert.deepEqual(result, input); - }); -}); - -describe("AnalyzeActionsResult.parseActionError", () => { - it("parses entityRecognitionTasks pointer", () => { - const pointer = "#/tasks/entityRecognitionTasks/2"; - const result = parseActionError({ message: "", target: pointer, code: "" }); - assert.deepEqual(result, { - code: "", - message: "", - type: "RecognizeCategorizedEntities", - index: 2, - }); - }); - - it("parses entityRecognitionPiiTasks pointer", () => { - const pointer = "#/tasks/entityRecognitionPiiTasks/2"; - const result = parseActionError({ message: "", target: pointer, code: "" }); - assert.deepEqual(result, { code: "", message: "", type: "RecognizePiiEntities", index: 2 }); - }); - - it("parses keyPhraseExtractionTasks pointer", () => { - const pointer = "#/tasks/keyPhraseExtractionTasks/2"; - const result = parseActionError({ message: "", target: pointer, code: "" }); - assert.deepEqual(result, { code: "", message: "", type: "ExtractKeyPhrases", index: 2 }); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/internal/utils.ts b/sdk/textanalytics/ai-text-analytics/test/internal/utils.ts new file mode 100644 index 000000000000..6767dd799a33 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/internal/utils.ts @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * A type predicate to check whether two types are the same + */ +export type AssertEqual = [T1 extends T2 ? 1 : 0, T2 extends T1 ? 1 : 0] extends [1, 1] + ? true + : false; diff --git a/sdk/textanalytics/ai-text-analytics/test/public/analyze.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/analyze.spec.ts new file mode 100644 index 000000000000..119afebf83c0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/public/analyze.spec.ts @@ -0,0 +1,1038 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AnalyzeActionNames, + KnownPiiCategory, + KnownPiiDomain, + KnownStringIndexType, + KnownTextAnalysisErrorCode, + LanguageDetectionInput, + Opinion, + SentenceSentiment, + TextAnalysisClient, + TextDocumentInput, +} from "../../src"; +import { AuthMethod, createClient, startRecorder } from "./utils/recordedClient"; +import { Context, Suite } from "mocha"; +import { assert, matrix } from "@azure/test-utils"; +import { assertAllSuccess, assertRestError, getSuccRes, isSuccess } from "./utils/resultHelper"; +import { checkEntityTextOffset, checkOffsetAndLength } from "./utils/stringIndexTypeHelpers"; +import { Recorder } from "@azure-tools/test-recorder"; + +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.", +]; + +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.", +]; + +matrix([["APIKey", "AAD"]] as const, async (authMethod: AuthMethod) => { + describe(`[${authMethod}] TextAnalysisClient`, function (this: Suite) { + let recorder: Recorder; + let client: TextAnalysisClient; + + let getId: () => string; + + beforeEach(async function (this: Context) { + recorder = await startRecorder(this.currentTest); + client = createClient({ + authMethod, + recorder, + }); + let nextId = 0; + getId = function () { + nextId += 1; + return nextId.toString(); + }; + }); + + afterEach(async function () { + await recorder.stop(); + }); + + describe("analyze", function () { + describe("#SentimentAnalysis", function () { + it("client throws on empty list", async function () { + return assert.isRejected( + client.analyze(AnalyzeActionNames.SentimentAnalysis, []), + /non-empty array/ + ); + }); + + it("client accepts string[] and language", async function () { + const results = await client.analyze( + AnalyzeActionNames.SentimentAnalysis, + testDataEn, + "en" + ); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts string[] with no language", async function () { + const results = await client.analyze(AnalyzeActionNames.SentimentAnalysis, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("service returns error for invalid language", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.SentimentAnalysis, + ["Hello world!"], + "notalanguage" + ); + if (result.error === undefined) { + assert.fail("Expected an error from the service."); + } + assert.equal(result.error.code, KnownTextAnalysisErrorCode.UnsupportedLanguageCode); + }); + + 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.analyze( + AnalyzeActionNames.SentimentAnalysis, + documents, + "en", + { + includeOpinionMining: true, + } + ); + const result1 = getSuccRes(results[0]); + const result6 = getSuccRes(results[5]); + const result7 = getSuccRes(results[6]); + 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) => 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("service returns an error for an empty document", async function () { + const data = [...testDataEn]; + data.splice(1, 0, ""); + const results = await client.analyze(AnalyzeActionNames.SentimentAnalysis, 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, KnownTextAnalysisErrorCode.InvalidDocument); + }); + + 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.analyze(AnalyzeActionNames.SentimentAnalysis, allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + results.map((result) => + getSuccRes(result).sentences.map((sentence) => assert.isEmpty(sentence.opinions)) + ); + }); + + 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 = await client.analyze(AnalyzeActionNames.SentimentAnalysis, documents, { + includeOpinionMining: true, + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment = getSuccRes(results[0]); + documentSentiment.sentences.map((sentence) => + sentence.opinions.map((opinion) => { + const Target = opinion.target; + assert.equal(Target.text, "design"); + assert.equal(Target.sentiment, "positive"); + 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(sleekAssessment.text, "sleek"); + assert.equal(sleekAssessment.sentiment, "positive"); + assert.isAtLeast(sleekAssessment.confidenceScores.positive, 0); + assert.isAtLeast(sleekAssessment.confidenceScores.negative, 0); + assert.isFalse(sleekAssessment.isNegated); + assert.equal(sleekAssessment.offset, 9); + assert.equal(sleekAssessment.length, 5); + assert.equal(sleekAssessment.text.length, sleekAssessment.length); + + const beautifulAssessment = opinion.assessments[1]; + assert.equal(beautifulAssessment.text, "beautiful"); + assert.equal(beautifulAssessment.sentiment, "positive"); + assert.isAtLeast(beautifulAssessment.confidenceScores.positive, 0); + assert.isAtLeast(beautifulAssessment.confidenceScores.negative, 0); + assert.isFalse(beautifulAssessment.isNegated); + assert.equal(beautifulAssessment.offset, 53); + assert.equal(beautifulAssessment.length, 9); + assert.equal(beautifulAssessment.text.length, beautifulAssessment.length); + }) + ); + }); + + /** TODO, unskip when the service fix the bug */ + it.skip("client gets negative mined assessments", async function () { + const documents = [ + { + text: "The food and service are not good", + id: "0", + language: "en", + }, + ]; + const results = await client.analyze(AnalyzeActionNames.SentimentAnalysis, documents, { + includeOpinionMining: true, + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment = getSuccRes(results[0]); + documentSentiment.sentences.map((sentence) => { + const foodTarget = sentence.opinions[0].target; + assert.equal(foodTarget.text, "food"); + assert.equal(foodTarget.sentiment, "negative"); + + 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(serviceTarget.text, "service"); + assert.equal(serviceTarget.sentiment, "negative"); + + 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(foodAssessment.text, "good"); + assert.equal(foodAssessment.sentiment, "negative"); + + 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); + }); + }); + + it("client gets no mined assessments", async function () { + const documents = [ + { + text: "today is a hot day", + id: "0", + language: "en", + }, + ]; + const results = await client.analyze(AnalyzeActionNames.SentimentAnalysis, documents, { + includeOpinionMining: true, + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment = getSuccRes(results[0]); + assert.isEmpty(documentSentiment.sentences[0].opinions); + }); + }); + + describe("#LanguageDetection", function () { + it("client throws on empty list", async function () { + return assert.isRejected( + client.analyze(AnalyzeActionNames.LanguageDetection, []), + /non-empty array/ + ); + }); + + it("client accepts no countryHint", async function () { + const results = await client.analyze(AnalyzeActionNames.LanguageDetection, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts a countryHint", async function () { + const results = await client.analyze( + AnalyzeActionNames.LanguageDetection, + ["impossible"], + "fr" + ); + assert.equal(results.length, 1); + assertAllSuccess(results); + }); + + it('client accepts "none" country hint with string[] input', async function () { + const results = await client.analyze( + AnalyzeActionNames.LanguageDetection, + ["I use Azure Functions to develop my service."], + "none" + ); + assert.equal(results.length, 1); + assertAllSuccess(results); + const result = getSuccRes(results[0]); + assert.equal(result.primaryLanguage.iso6391Name, "en"); + }); + + it('client accepts "none" country hint with DetectLanguageInput[] input', async function () { + const results = await client.analyze( + AnalyzeActionNames.LanguageDetection, + testDataEn.concat(testDataEs).map( + (input): LanguageDetectionInput => ({ + id: getId(), + countryHint: "none", + text: input, + }) + ) + ); + assertAllSuccess(results); + }); + + it("service errors on invalid country hint", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.LanguageDetection, + ["hello"], + "invalidcountry" + ); + if (result.error === undefined) { + assert.fail("Expected an error from the service"); + } + + assert.equal(result.error.code, KnownTextAnalysisErrorCode.InvalidCountryHint); + }); + + it("client accepts mixed-country DetectLanguageInput[]", async function () { + const enInputs = testDataEn.map( + (text): LanguageDetectionInput => ({ + id: getId(), + text, + }) + ); + const esInputs = testDataEs.map( + (text): LanguageDetectionInput => ({ + id: getId(), + countryHint: "mx", + text, + }) + ); + const allInputs = enInputs.concat(esInputs); + + const results = await client.analyze(AnalyzeActionNames.LanguageDetection, allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + }); + }); + + describe("#EntityRecognition", function () { + it("client throws on empty list", async function () { + return assert.isRejected( + client.analyze(AnalyzeActionNames.EntityRecognition, []), + /non-empty array/ + ); + }); + + it("client accepts string[] with no language", async function () { + const results = await client.analyze(AnalyzeActionNames.EntityRecognition, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts string[] with a language specified", async function () { + const results = await client.analyze( + AnalyzeActionNames.EntityRecognition, + testDataEn, + "en" + ); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("service errors on unsupported language", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.EntityRecognition, + ["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, KnownTextAnalysisErrorCode.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.analyze(AnalyzeActionNames.EntityRecognition, 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); + await assertRestError(client.analyze(AnalyzeActionNames.EntityRecognition, allInputs), { + code: KnownTextAnalysisErrorCode.InvalidDocumentBatch, + statusCode: 400, + messagePattern: /Max 5 records are permitted/, + }); + }); + }); + + describe("#KeyPhraseExtraction", function () { + it("client throws on empty list", async function () { + return assert.isRejected( + client.analyze(AnalyzeActionNames.KeyPhraseExtraction, []), + /non-empty array/ + ); + }); + + it("client accepts string[] with no language", async function () { + const results = await client.analyze(AnalyzeActionNames.KeyPhraseExtraction, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts string[] with a language specified", async function () { + const results = await client.analyze( + AnalyzeActionNames.KeyPhraseExtraction, + testDataEn, + "en" + ); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("service errors on unsupported language", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.KeyPhraseExtraction, + ["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, KnownTextAnalysisErrorCode.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.analyze(AnalyzeActionNames.KeyPhraseExtraction, allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + }); + }); + + describe("#PiiEntityRecognition", function () { + it("client throws on empty list", async function () { + return assert.isRejected(client.analyze(AnalyzeActionNames.PiiEntityRecognition, [])); + }); + + it("client accepts string[] with no language", async function () { + const results = await client.analyze(AnalyzeActionNames.PiiEntityRecognition, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts string[] with a language specified", async function () { + const results = await client.analyze( + AnalyzeActionNames.PiiEntityRecognition, + testDataEn, + "en" + ); + 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.analyze( + AnalyzeActionNames.PiiEntityRecognition, + [fakeSSNDocument], + "en" + ); + assert.equal(getSuccRes(result).entities.length, 1); + }); + + it("service errors on unsupported language", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.PiiEntityRecognition, + ["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, KnownTextAnalysisErrorCode.UnsupportedLanguageCode); + }); + + 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.analyze(AnalyzeActionNames.PiiEntityRecognition, 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("accepts domain filter", async function () { + const response = await client.analyze( + AnalyzeActionNames.PiiEntityRecognition, + [ + { + id: "0", + text: "I work at Microsoft and my phone number is 333-333-3333", + language: "en", + }, + ], + { domainFilter: KnownPiiDomain.Phi } + ); + const result = getSuccRes(response[0]); + 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 ************" + ); + }); + + it("accepts pii categories", async function () { + const response = await client.analyze( + AnalyzeActionNames.PiiEntityRecognition, + [ + { + id: "0", + text: "Patient name is Joe and SSN is 859-98-0987", + language: "en", + }, + ], + { categoriesFilter: [KnownPiiCategory.USSocialSecurityNumber] } + ); + const result = getSuccRes(response[0]); + assert.equal(result.entities.length, 1); + assert.equal(result.entities[0].text, "859-98-0987"); + assert.equal(result.entities[0].category, KnownPiiCategory.USSocialSecurityNumber); + assert.equal(result.redactedText, "Patient name is Joe and SSN is ***********"); + }); + + it("output pii categories are accepted as input", async function () { + const response1 = await client.analyze(AnalyzeActionNames.PiiEntityRecognition, [ + { + id: "0", + text: "Patient name is Joe and SSN is 859-98-0987", + language: "en", + }, + ]); + const result1 = getSuccRes(response1[0]); + const entity2 = result1.entities[1]; + const response2 = await client.analyze( + AnalyzeActionNames.PiiEntityRecognition, + [ + { + id: "0", + text: "Patient name is Joe and SSN is 859-98-0987", + language: "en", + }, + ], + { categoriesFilter: [entity2.category] } + ); + const result2 = getSuccRes(response2[0]); + 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("#EntityLinking", function () { + it("client throws on empty list", async function () { + return assert.isRejected( + client.analyze(AnalyzeActionNames.EntityLinking, []), + /non-empty array/ + ); + }); + + it("client accepts string[] with no language", async function () { + const results = await client.analyze(AnalyzeActionNames.EntityLinking, testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("client accepts string[] with a language specified", async function () { + const results = await client.analyze(AnalyzeActionNames.EntityLinking, testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); + + it("service errors on unsupported language", async function () { + const [result] = await client.analyze( + AnalyzeActionNames.EntityLinking, + ["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, KnownTextAnalysisErrorCode.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.analyze(AnalyzeActionNames.EntityLinking, 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); + + await assertRestError(client.analyze(AnalyzeActionNames.EntityRecognition, allInputs), { + code: KnownTextAnalysisErrorCode.InvalidDocumentBatch, + statusCode: 400, + messagePattern: /Max 5 records are permitted/, + }); + }); + }); + + describe("#String encoding", function () { + describe("#Default encoding (utf16CodeUnit)", function () { + it("emoji", async function () { + await checkOffsetAndLength( + client, + "👩 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 8, + 11, + checkEntityTextOffset + ); + }); + + it("emoji with skin tone modifier", async function () { + await checkOffsetAndLength( + client, + "👩🏻 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 10, + 11, + checkEntityTextOffset + ); + }); + + it("family emoji", async function () { + await checkOffsetAndLength( + client, + "👩‍👩‍👧‍👧 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 17, + 11, + checkEntityTextOffset + ); + }); + + it("family emoji with skin tone modifier", async function (this: Context) { + await checkOffsetAndLength( + client, + "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 25, + 11, + checkEntityTextOffset + ); + }); + + it("diacritics nfc", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 9, + 11, + checkEntityTextOffset + ); + }); + + it("diacritics nfd", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 10, + 11, + checkEntityTextOffset + ); + }); + + it("korean nfc", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 8, + 11, + checkEntityTextOffset + ); + }); + + it("korean nfd", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 8, + 11, + checkEntityTextOffset + ); + }); + + it("zalgo", async function () { + await checkOffsetAndLength( + client, + "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", + KnownStringIndexType.Utf16CodeUnit, + 121, + 11, + checkEntityTextOffset + ); + }); + }); + describe("#UnicodeCodePoint", function () { + it("emoji", async function () { + await checkOffsetAndLength( + client, + "👩 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 7, + 11 + ); // offset was 8 with UTF16 + }); + + it("emoji with skin tone modifier", async function () { + await checkOffsetAndLength( + client, + "👩🏻 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 8, + 11 + ); // offset was 10 with UTF16 + }); + + it("family emoji", async function () { + await checkOffsetAndLength( + client, + "👩‍👩‍👧‍👧 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 13, + 11 + ); // offset was 17 with UTF16 + }); + + it("family emoji with skin tone modifier", async function () { + await checkOffsetAndLength( + client, + "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 17, + 11 + ); // offset was 25 with UTF16 + }); + + it("diacritics nfc", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 9, + 11 + ); + }); + + it("diacritics nfd", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 10, + 11 + ); + }); + + it("korean nfc", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 8, + 11 + ); + }); + + it("korean nfd", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 8, + 11 + ); + }); + + it("zalgo", async function () { + await checkOffsetAndLength( + client, + "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", + KnownStringIndexType.UnicodeCodePoint, + 121, + 11 + ); + }); + }); + describe("#TextElementsV8", function () { + it("emoji", async function () { + await checkOffsetAndLength( + client, + "👩 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 7, + 11 + ); // offset was 8 with UTF16 + }); + + it("emoji with skin tone modifier", async function () { + await checkOffsetAndLength( + client, + "👩🏻 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 8, + 11 + ); // offset was 10 with UTF16 + }); + + it("family emoji", async function () { + await checkOffsetAndLength( + client, + "👩‍👩‍👧‍👧 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 13, + 11 + ); // offset was 17 with UTF16 + }); + + it("family emoji with skin tone modifier", async function () { + await checkOffsetAndLength( + client, + "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 17, + 11 + ); // offset was 25 with UTF16 + }); + + it("diacritics nfc", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 9, + 11 + ); + }); + + it("diacritics nfd", async function () { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 9, + 11 + ); // offset was 10 with UTF16 + }); + + it("korean nfc", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 8, + 11 + ); + }); + + it("korean nfd", async function () { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 8, + 11 + ); + }); + + it("zalgo", async function () { + await checkOffsetAndLength( + client, + "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", + KnownStringIndexType.TextElementsV8, + 9, + 11 + ); // offset was 121 with UTF16 + }); + }); + }); + }); + }); +}); diff --git a/sdk/textanalytics/ai-text-analytics/test/public/analyzeBatch.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/analyzeBatch.spec.ts new file mode 100644 index 000000000000..3bdcb66023ca --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/public/analyzeBatch.spec.ts @@ -0,0 +1,1093 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AnalyzeBatchActionNames, + KnownExtractiveSummarizationOrderingCriteria, + KnownFhirVersion, + KnownPiiCategory, + KnownPiiDomain, + KnownStringIndexType, + KnownTextAnalysisErrorCode, + TextAnalysisClient, +} from "../../src"; +import { AuthMethod, createClient, startRecorder } from "./utils/recordedClient"; +import { Context, Suite } from "mocha"; +import { Recorder, assertEnvironmentVariable, isPlaybackMode } from "@azure-tools/test-recorder"; +import { assert, matrix } from "@azure/test-utils"; +import { assertActionResults, assertRestError } from "./utils/resultHelper"; +import { + expectation1, + expectation10, + expectation11, + expectation12, + expectation13, + expectation14, + expectation15, + expectation16, + expectation17, + expectation18, + expectation19, + expectation2, + expectation20, + expectation21, + expectation22, + expectation23, + expectation24, + expectation25, + expectation26, + expectation27, + expectation28, + expectation29, + expectation3, + expectation4, + expectation5, + expectation6, + expectation7, + expectation8, + expectation9, +} from "./expectations"; +import { windows365ArticlePart1, windows365ArticlePart2 } from "./inputs"; +import { getDocsFromState } from "../../src/lro"; + +matrix([["APIKey", "AAD"]] as const, async (authMethod: AuthMethod) => { + describe(`[${authMethod}] TextAnalysisClient`, function (this: Suite) { + let recorder: Recorder; + let client: TextAnalysisClient; + + beforeEach(async function (this: Context) { + recorder = await startRecorder(this.currentTest); + client = createClient({ + authMethod, + recorder, + }); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + describe("analyzeBatch", function () { + const pollingInterval = isPlaybackMode() ? 0 : 2000; + describe("actions", function () { + describe("prebuilt", function () { + it("entity recognition", 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + modelVersion: "latest", + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + + await assertActionResults(await poller.pollUntilDone(), expectation3); + }); + + it("key phrase extraction", 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + modelVersion: "latest", + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation5); + }); + + it("entity linking", 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityLinking, + modelVersion: "latest", + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation6); + }); + + it("pii entity recognition", async function () { + const docs = [ + "My SSN is 859-98-0987.", + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + "Is 998.214.865-68 your Brazilian CPF number?", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + modelVersion: "latest", + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation7); + }); + + it("pii entity recognition with filtered categories", async function () { + const docs = [ + "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.", + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + modelVersion: "latest", + categoriesFilter: [KnownPiiCategory.USSocialSecurityNumber], + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation8); + }); + + it("pii entity recognition with phi domain", async function () { + const docs = [ + "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.", + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + modelVersion: "latest", + domainFilter: KnownPiiDomain.Phi, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation24); + }); + + it("sentiment analysis with opinion mining", 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.SentimentAnalysis, + modelVersion: "latest", + includeOpinionMining: true, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation9); + }); + + it("healthcare", async function () { + const docs = [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily.", + "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation20); + }); + + it("healthcare with fhir", async function () { + const docs = [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily.", + "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + fhirVersion: KnownFhirVersion["4.0.1"], + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation25, { + excludedAdditionalProps: ["reference", "id", "fullUrl", "value", "date"], + }); + }); + + it("extractive summarization", async function () { + const docs = [windows365ArticlePart1, windows365ArticlePart2]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.ExtractiveSummarization, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation27); + }); + + it("extractive summarization with maxSentenceCount", async function () { + const docs = [windows365ArticlePart1, windows365ArticlePart2]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.ExtractiveSummarization, + maxSentenceCount: 2, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation28); + }); + + it("extractive summarization with orderBy", async function () { + const docs = [windows365ArticlePart1, windows365ArticlePart2]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.ExtractiveSummarization, + orderBy: KnownExtractiveSummarizationOrderingCriteria.Rank, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation29); + }); + }); + + describe("custom", function () { + it("entity recognition", async function () { + const docs = [ + "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.CustomEntityRecognition, + deploymentName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME" + ), + projectName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME" + ), + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation1); + }); + + it("single label classification action", async function () { + const docs = [ + "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.CustomSingleLabelClassification, + deploymentName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_DEPLOYMENT_NAME" + ), + projectName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_PROJECT_NAME" + ), + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation2); + }); + + it("multi label classification action", async function () { + const docs = [ + "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", + ]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.CustomMultiLabelClassification, + deploymentName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_DEPLOYMENT_NAME" + ), + projectName: assertEnvironmentVariable( + "LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_PROJECT_NAME" + ), + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation4); + }); + }); + }); + + describe("general behavior", function () { + describe("errors and warnings", function () { + it("bad request empty string", async function () { + const docs = [""]; + await assertRestError( + client.beginAnalyzeBatch( + [{ kind: AnalyzeBatchActionNames.EntityRecognition }], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ), + { + code: KnownTextAnalysisErrorCode.InvalidDocumentBatch, + statusCode: 400, + } + ); + }); + + it("malformed action", async function () { + const docs = ["I will go to the park."]; + await assertRestError( + client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + modelVersion: "bad", + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ), + { + code: KnownTextAnalysisErrorCode.InvalidParameterValue, + statusCode: 400, + } + ); + }); + + it("duplicate actions of the same type are disallowed", async function () { + const docs = ["I will go to the park."]; + await assertRestError( + client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ), + { + code: KnownTextAnalysisErrorCode.InvalidRequestBodyFormat, + statusCode: 400, + messagePattern: /Duplicate task name/, + } + ); + }); + + it("too many documents", async function () { + const docs = Array(26).fill("random text"); + await assertRestError( + client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ), + { + code: KnownTextAnalysisErrorCode.InvalidDocumentBatch, + statusCode: 400, + messagePattern: /Batch request contains too many records/, + } + ); + }); + + 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); + await assertRestError( + client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ), + { + code: KnownTextAnalysisErrorCode.InvalidDocumentBatch, + statusCode: 413, + messagePattern: /Request Payload sent is too large to be processed/, + } + ); + }); + + it("big document causes a warning", async function () { + let text = ""; + for (let i = 0; i < 5121; ++i) { + text = text + "x"; + } + const docs = [text]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation21); + }); + }); + + it("unique multiple actions per type are allowed", async function () { + const docs = ["I will go to the park."]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + actionName: "action1", + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + actionName: "action2", + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation19); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation10); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation11); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation12); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation13); + }); + + it("statistics", async function () { + const docs = [":)", ":(", "", ":P", ":D"]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + includeStatistics: true, + } + ); + const actions = await poller.pollUntilDone(); + for await (const action of actions) { + const actionStats = action.statistics; + if (!actionStats) { + assert.fail(`statistics are missing`); + } + assert.equal(actionStats.documentCount, 5); + assert.equal(actionStats.transactionCount, 4); + assert.equal(actionStats.validDocumentCount, 4); + assert.equal(actionStats.erroneousDocumentCount, 1); + if (!action.error) { + for (const doc of action.results) { + if (!doc.error) { + const docStats = doc.statistics!; + assert.equal(docStats.characterCount, 2); + assert.equal(docStats.transactionCount, 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation14); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation14); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation15); + }); + + it("invalid language hint", async function () { + const docs = ["This should fail because we're passing in an invalid language hint"]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + "notalanguage", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation16); + }); + + 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.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.KeyPhraseExtraction, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation17, { + maxPageSize: 10, + }); + }); + + it("operation metadata", async function () { + const docs = ["I will go to the park."]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + ], + docs, + "end", + { + 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.ok(state.operationId, "operationId is undefined!"); + assert.equal(state.displayName, "testJob"); + assert.isDefined(state.actionSucceededCount, "actionSucceededCount is undefined!"); + assert.equal(state.actionFailedCount, 0); + assert.isDefined(state.actionInProgressCount, "actionInProgressCount is undefined!"); + }); + await poller.pollUntilDone(); + }); + + it("cancel", async function () { + const docs = [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily.", + ]; + const originalPoller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.SentimentAnalysis, + includeOpinionMining: true, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + if (originalPoller.isDone()) { + assert.fail(`Operation has finished processing before requested to be cancelled`); + } + await originalPoller.cancelOperation(); + assert.isTrue(originalPoller.getOperationState().isCancelled); + await assert.isRejected(originalPoller.pollUntilDone(), /Poller cancelled/); + }); + + // TODO unskip after the service fixes the 500 response for subsequent GET requests. + it.skip("cancel after progress", async function () { + const docs = [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily.", + ]; + const actions = [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.SentimentAnalysis, + includeOpinionMining: true, + }, + ]; + const originalPoller = await client.beginAnalyzeBatch(actions, docs, "en", { + updateIntervalInMs: 100, + }); + + originalPoller.onProgress(async (state) => { + if (state.status === "running" && state.actionInProgressCount < actions.length) { + const newPoller = await client.restoreAnalyzeBatchPoller(originalPoller.toString()); + await originalPoller.cancelOperation(); + let nonEmptyActionResults = false; + for await (const actionResult of await newPoller.pollUntilDone()) { + nonEmptyActionResults = true; + if (!actionResult.error) { + assert.isNotEmpty(actionResult.results); + } else { + assert.fail("Unexpected failed action"); + } + } + assert.isTrue(nonEmptyActionResults, "Unexpected empty action results"); + } else if (state.status === "succeeded") { + assert.fail(`Operation has finished processing before requested to be cancelled`); + } + }); + await assert.isRejected(originalPoller.pollUntilDone(), /Poller cancelled/); + }); + + it("rehydrated polling", async function () { + const docs = [ + { id: "0", language: "en", text: "Patient does not suffer from high blood pressure." }, + { id: "1", language: "en", text: "Prescribed 100mg ibuprofen, taken twice daily." }, + ]; + const originalPoller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + }, + { + kind: AnalyzeBatchActionNames.EntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + }, + { + kind: AnalyzeBatchActionNames.SentimentAnalysis, + includeOpinionMining: true, + }, + ], + docs, + { + updateIntervalInMs: pollingInterval, + } + ); + if (originalPoller.isDone()) { + assert.fail("Operation finished processing before creating a new poller"); + } + const serializedState = originalPoller.toString(); + assert.deepEqual(getDocsFromState(serializedState), docs); + const rehydratedPoller = await client.restoreAnalyzeBatchPoller(serializedState); + await assertActionResults(await rehydratedPoller.pollUntilDone(), expectation26); + await assertActionResults(await originalPoller.pollUntilDone(), expectation26); + }); + + describe("stringIndexType", function () { + it("family emoji wit skin tone modifier", async function () { + const docs = ["👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987"]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.PiiEntityRecognition, + stringIndexType: KnownStringIndexType.UnicodeCodePoint, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation18); + }); + + it("family emoji wit skin tone modifier with Utf16CodeUnit", async function () { + const docs = ["👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen"]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + stringIndexType: KnownStringIndexType.Utf16CodeUnit, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation22); + }); + + it("family emoji wit skin tone modifier with UnicodeCodePoint", async function () { + const docs = ["👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen"]; + const poller = await client.beginAnalyzeBatch( + [ + { + kind: AnalyzeBatchActionNames.Healthcare, + stringIndexType: KnownStringIndexType.UnicodeCodePoint, + }, + ], + docs, + "en", + { + updateIntervalInMs: pollingInterval, + } + ); + await assertActionResults(await poller.pollUntilDone(), expectation23); + }); + }); + }); + }); + }); +}); diff --git a/sdk/textanalytics/ai-text-analytics/test/public/expectations.ts b/sdk/textanalytics/ai-text-analytics/test/public/expectations.ts new file mode 100644 index 000000000000..dc6c43d8e53f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/public/expectations.ts @@ -0,0 +1,4053 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { AnalyzeBatchResult } from "../../src/"; + +const modelVersion = undefined as any; +const completedOn = undefined as any; +const deploymentName = undefined as any; +const projectName = undefined as any; + +export const expectation1: AnalyzeBatchResult[] = [ + { + kind: "CustomEntityRecognition", + results: [ + { + id: "0", + warnings: [], + entities: [ + { + text: "Government", + category: "restaurant_name", + offset: 23, + length: 10, + confidenceScore: 0.05, + }, + { + text: "Office", + category: "restaurant_name", + offset: 49, + length: 6, + confidenceScore: 0.11, + }, + { + text: "GAO", + category: "restaurant_name", + offset: 57, + length: 3, + confidenceScore: 0.04, + }, + { + text: "Accountability", + category: "geographic_poi", + offset: 34, + length: 14, + confidenceScore: 0.07, + }, + { + text: "natural", + category: "geographic_poi", + offset: 106, + length: 7, + confidenceScore: 0.04, + }, + { + text: "dramatic", + category: "sort", + offset: 77, + length: 8, + confidenceScore: 0.03, + }, + { + text: "oil", + category: "restaurant_type", + offset: 98, + length: 3, + confidenceScore: 0.03, + }, + { + text: "gas", + category: "restaurant_type", + offset: 114, + length: 3, + confidenceScore: 0.09, + }, + { + text: "and", + category: "served_dish", + offset: 102, + length: 3, + confidenceScore: 0.07, + }, + { + text: "development", + category: "object_type", + offset: 118, + length: 11, + confidenceScore: 0.06, + }, + { + text: "federal", + category: "state", + offset: 133, + length: 7, + confidenceScore: 0.07, + }, + { + text: "protection", + category: "state", + offset: 267, + length: 10, + confidenceScore: 0.05, + }, + { text: "lands", category: "poi", offset: 141, length: 5, confidenceScore: 0.04 }, + { text: "BLM", category: "poi", offset: 202, length: 3, confidenceScore: 0.07 }, + { + text: "the", + category: "timeRange", + offset: 152, + length: 3, + confidenceScore: 0.24, + }, + { + text: "past six years", + category: "timeRange", + offset: 156, + length: 14, + confidenceScore: 0.54, + }, + ], + }, + ], + deploymentName, + projectName, + completedOn, + }, +]; + +export const expectation2: AnalyzeBatchResult[] = [ + { + kind: "CustomSingleLabelClassification", + results: [ + { + id: "0", + warnings: [], + classifications: [{ category: "RateBook", confidenceScore: 0.76 }], + }, + ], + deploymentName, + projectName, + completedOn, + }, +]; + +export const expectation3: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { + id: "1", + warnings: [], + 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, + }, + ], + }, + { + id: "2", + warnings: [], + 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, + }, + ], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation4: AnalyzeBatchResult[] = [ + { + kind: "CustomMultiLabelClassification", + results: [{ id: "0", warnings: [], classifications: [] }], + deploymentName, + projectName, + completedOn, + }, +]; + +export const expectation5: AnalyzeBatchResult[] = [ + { + kind: "KeyPhraseExtraction", + results: [ + { id: "1", warnings: [], keyPhrases: ["Bill Gates", "Paul Allen", "Microsoft"] }, + { id: "2", warnings: [], keyPhrases: ["Bill Gates", "Paul Allen", "Microsoft"] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation6: AnalyzeBatchResult[] = [ + { + kind: "EntityLinking", + results: [ + { + id: "0", + warnings: [], + entities: [ + { + name: "Microsoft", + matches: [{ confidenceScore: 0.39, text: "Microsoft", offset: 0, length: 9 }], + language: "en", + dataSourceEntityId: "Microsoft", + url: "https://en.wikipedia.org/wiki/Microsoft", + dataSource: "Wikipedia", + bingEntitySearchApiId: "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + }, + { + name: "Bellevue, Washington", + matches: [ + { + confidenceScore: 0.87, + text: "Bellevue, Washington", + offset: 36, + length: 20, + }, + ], + language: "en", + dataSourceEntityId: "Bellevue, Washington", + url: "https://en.wikipedia.org/wiki/Bellevue,_Washington", + dataSource: "Wikipedia", + bingEntitySearchApiId: "a2e3a3eb-b83e-42f0-bf19-95b4c4c9d3c0", + }, + { + name: "Briann January", + matches: [{ confidenceScore: 0.14, text: "January", offset: 60, length: 7 }], + language: "en", + dataSourceEntityId: "Briann January", + url: "https://en.wikipedia.org/wiki/Briann_January", + dataSource: "Wikipedia", + bingEntitySearchApiId: "19fb6fb4-3c50-f314-30e4-7b5470e08274", + }, + ], + }, + { + id: "1", + warnings: [], + entities: [ + { + name: "Steve Ballmer", + matches: [{ confidenceScore: 0.92, text: "Steve Ballmer", offset: 0, length: 13 }], + language: "en", + dataSourceEntityId: "Steve Ballmer", + url: "https://en.wikipedia.org/wiki/Steve_Ballmer", + dataSource: "Wikipedia", + bingEntitySearchApiId: "56ff0719-4791-406b-99de-0e99c3e8cefc", + }, + { + name: "Chief executive officer", + matches: [{ confidenceScore: 0.25, text: "CEO", offset: 30, length: 3 }], + language: "en", + dataSourceEntityId: "Chief executive officer", + url: "https://en.wikipedia.org/wiki/Chief_executive_officer", + dataSource: "Wikipedia", + bingEntitySearchApiId: "cf5db860-9fd2-390d-0b6d-5ba856efed49", + }, + { + name: "Microsoft", + matches: [{ confidenceScore: 0.36, text: "Microsoft", offset: 37, length: 9 }], + language: "en", + dataSourceEntityId: "Microsoft", + url: "https://en.wikipedia.org/wiki/Microsoft", + dataSource: "Wikipedia", + bingEntitySearchApiId: "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", + }, + { + name: "Satya Nadella", + matches: [{ confidenceScore: 0.9, text: "Satya Nadella", offset: 68, length: 13 }], + language: "en", + dataSourceEntityId: "Satya Nadella", + url: "https://en.wikipedia.org/wiki/Satya_Nadella", + dataSource: "Wikipedia", + bingEntitySearchApiId: "e23e51ed-d16f-4800-9a31-ed056168b9a2", + }, + ], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation7: AnalyzeBatchResult[] = [ + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: "My SSN is ***********.", + entities: [ + { + text: "859-98-0987", + category: "USSocialSecurityNumber", + offset: 10, + length: 11, + confidenceScore: 0.65, + }, + ], + }, + { + id: "1", + warnings: [], + redactedText: + "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + 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, + }, + ], + }, + { + id: "2", + warnings: [], + redactedText: "Is 998.214.865-68 your Brazilian CPF number?", + entities: [], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation8: AnalyzeBatchResult[] = [ + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: + "My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + entities: [ + { + text: "859-98-0987", + category: "USSocialSecurityNumber", + offset: 10, + length: 11, + confidenceScore: 0.65, + }, + ], + }, + { + id: "1", + warnings: [], + redactedText: + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.", + entities: [], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation9: AnalyzeBatchResult[] = [ + { + kind: "SentimentAnalysis", + results: [ + { + id: "0", + warnings: [], + sentiment: "negative", + confidenceScores: { positive: 0, neutral: 0, negative: 1 }, + sentences: [ + { + text: "The food was unacceptable", + sentiment: "negative", + confidenceScores: { positive: 0, neutral: 0, negative: 1 }, + offset: 0, + length: 25, + opinions: [ + { + target: { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 4, + length: 4, + text: "food", + }, + assessments: [ + { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 13, + length: 12, + text: "unacceptable", + isNegated: false, + }, + ], + }, + ], + }, + ], + }, + { + id: "1", + warnings: [], + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + sentences: [ + { + text: "The rooms were beautiful.", + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + offset: 0, + length: 25, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 4, + length: 5, + text: "rooms", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 15, + length: 9, + text: "beautiful", + isNegated: false, + }, + ], + }, + ], + }, + { + text: "The AC was good and quiet.", + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + offset: 26, + length: 26, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 30, + length: 2, + text: "AC", + }, + 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, + }, + ], + }, + ], + }, + ], + }, + { + id: "2", + warnings: [], + sentiment: "negative", + confidenceScores: { positive: 0.01, neutral: 0, negative: 0.99 }, + sentences: [ + { + text: "The breakfast was good, but the toilet was smelly.", + sentiment: "negative", + confidenceScores: { positive: 0.01, neutral: 0, negative: 0.99 }, + offset: 0, + length: 50, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 4, + length: 9, + text: "breakfast", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 18, + length: 4, + text: "good", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 32, + length: 6, + text: "toilet", + }, + assessments: [ + { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 43, + length: 6, + text: "smelly", + isNegated: false, + }, + ], + }, + ], + }, + ], + }, + { + id: "3", + warnings: [], + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + sentences: [ + { + text: "Loved this hotel - good breakfast - nice shuttle service - clean rooms.", + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + offset: 0, + length: 71, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 11, + length: 5, + text: "hotel", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 19, + length: 4, + text: "good", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 24, + length: 9, + text: "breakfast", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 36, + length: 4, + text: "nice", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 41, + length: 15, + text: "shuttle service", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 0, + length: 5, + text: "loved", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 65, + length: 5, + text: "rooms", + }, + 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: 59, + length: 5, + text: "clean", + isNegated: false, + }, + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 0, + length: 5, + text: "loved", + isNegated: false, + }, + ], + }, + ], + }, + ], + }, + { + id: "4", + warnings: [], + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + sentences: [ + { + text: "I had a great unobstructed view of the Microsoft campus.", + sentiment: "positive", + confidenceScores: { positive: 1, neutral: 0, negative: 0 }, + offset: 0, + length: 56, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 0.97, negative: 0.03 }, + offset: 27, + length: 4, + text: "view", + }, + 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, + }, + ], + }, + ], + }, + ], + }, + { + id: "5", + warnings: [], + sentiment: "negative", + confidenceScores: { positive: 0, neutral: 0, negative: 1 }, + sentences: [ + { + text: "Nice rooms but bathrooms were old and the toilet was dirty when we arrived.", + sentiment: "negative", + confidenceScores: { positive: 0, neutral: 0, negative: 1 }, + offset: 0, + length: 75, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 5, + length: 5, + text: "rooms", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 1, negative: 0 }, + offset: 0, + length: 4, + text: "nice", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 15, + length: 9, + text: "bathrooms", + }, + assessments: [ + { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 30, + length: 3, + text: "old", + isNegated: false, + }, + ], + }, + { + target: { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 42, + length: 6, + text: "toilet", + }, + assessments: [ + { + sentiment: "negative", + confidenceScores: { positive: 0, negative: 1 }, + offset: 53, + length: 5, + text: "dirty", + isNegated: false, + }, + ], + }, + ], + }, + ], + }, + { + id: "6", + warnings: [], + sentiment: "neutral", + confidenceScores: { positive: 0.03, neutral: 0.63, negative: 0.34 }, + sentences: [ + { + text: "The toilet smelled.", + sentiment: "neutral", + confidenceScores: { positive: 0.03, neutral: 0.63, negative: 0.34 }, + offset: 0, + length: 19, + opinions: [ + { + target: { + sentiment: "negative", + confidenceScores: { positive: 0.01, negative: 0.99 }, + offset: 4, + length: 6, + text: "toilet", + }, + assessments: [ + { + sentiment: "negative", + confidenceScores: { positive: 0.01, negative: 0.99 }, + offset: 11, + length: 7, + text: "smelled", + isNegated: false, + }, + ], + }, + ], + }, + ], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation10: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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", + warnings: [], + entities: [ + { + text: "restaurant", + category: "Location", + subCategory: "Structural", + offset: 4, + length: 10, + confidenceScore: 0.97, + }, + ], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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", + warnings: [], + redactedText: "The restaurant had really good food. I recommend you try it.", + entities: [], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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", warnings: [], keyPhrases: ["good food", "restaurant"] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation11: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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: "InvalidDocument", message: "Document text is empty." } }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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: "InvalidDocument", message: "Document text is empty." } }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "1", error: { code: "InvalidDocument", message: "Document text is empty." } }, + { + id: "2", + error: { + 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: "InvalidDocument", message: "Document text is empty." } }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation12: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { + id: "1", + warnings: [], + entities: [ + { + text: "one", + category: "Quantity", + subCategory: "Number", + offset: 0, + length: 3, + confidenceScore: 0.8, + }, + ], + }, + { + id: "2", + warnings: [], + entities: [ + { + text: "two", + category: "Quantity", + subCategory: "Number", + offset: 0, + length: 3, + confidenceScore: 0.8, + }, + ], + }, + { + id: "3", + warnings: [], + entities: [ + { + text: "three", + category: "Quantity", + subCategory: "Number", + offset: 0, + length: 5, + confidenceScore: 0.8, + }, + ], + }, + { + id: "4", + warnings: [], + entities: [ + { + text: "four", + category: "Quantity", + subCategory: "Number", + offset: 0, + length: 4, + confidenceScore: 0.8, + }, + ], + }, + { + id: "5", + warnings: [], + entities: [ + { + text: "five", + category: "Quantity", + subCategory: "Number", + offset: 0, + length: 4, + confidenceScore: 0.8, + }, + ], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { id: "1", warnings: [], redactedText: "one", entities: [] }, + { id: "2", warnings: [], redactedText: "two", entities: [] }, + { id: "3", warnings: [], redactedText: "three", entities: [] }, + { id: "4", warnings: [], redactedText: "four", entities: [] }, + { id: "5", warnings: [], redactedText: "five", entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "1", warnings: [], keyPhrases: [] }, + { id: "2", warnings: [], keyPhrases: [] }, + { id: "3", warnings: [], keyPhrases: [] }, + { id: "4", warnings: [], keyPhrases: [] }, + { id: "5", warnings: [], keyPhrases: [] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation13: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { id: "56", warnings: [], entities: [] }, + { id: "0", warnings: [], entities: [] }, + { id: "22", warnings: [], entities: [] }, + { id: "19", warnings: [], entities: [] }, + { id: "1", warnings: [], entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { id: "56", warnings: [], redactedText: ":)", entities: [] }, + { id: "0", warnings: [], redactedText: ":(", entities: [] }, + { id: "22", warnings: [], redactedText: "w", entities: [] }, + { id: "19", warnings: [], redactedText: ":P", entities: [] }, + { id: "1", warnings: [], redactedText: ":D", entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "56", warnings: [], keyPhrases: [] }, + { id: "0", warnings: [], keyPhrases: [] }, + { id: "22", warnings: [], keyPhrases: [] }, + { id: "19", warnings: [], keyPhrases: [] }, + { id: "1", warnings: [], keyPhrases: [] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation14: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { id: "0", warnings: [], entities: [] }, + { + id: "1", + warnings: [], + entities: [ + { + text: "hotel", + category: "Location", + offset: 19, + length: 5, + confidenceScore: 0.99, + }, + ], + }, + { + id: "2", + warnings: [], + entities: [ + { + text: "restaurant", + category: "Location", + subCategory: "Structural", + offset: 4, + length: 10, + confidenceScore: 0.96, + }, + ], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: "This was the best day of my life.", + entities: [], + }, + { + id: "1", + warnings: [], + redactedText: "I did not like the hotel we stayed at. It was too expensive.", + entities: [], + }, + { + id: "2", + warnings: [], + redactedText: "The restaurant was not as good as I hoped.", + entities: [], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "0", warnings: [], keyPhrases: ["best day", "life"] }, + { id: "1", warnings: [], keyPhrases: ["hotel"] }, + { id: "2", warnings: [], keyPhrases: ["restaurant"] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation15: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { + id: "1", + warnings: [], + entities: [ + { text: "park", category: "Location", offset: 17, length: 4, confidenceScore: 0.99 }, + ], + }, + { + id: "2", + warnings: [], + entities: [ + { text: "Español", category: "Skill", offset: 31, length: 7, confidenceScore: 0.94 }, + ], + }, + { id: "3", warnings: [], entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { id: "1", warnings: [], redactedText: "I will go to the park.", entities: [] }, + { + id: "2", + warnings: [], + redactedText: "Este es un document escrito en Español.", + entities: [], + }, + { id: "3", warnings: [], redactedText: "猫は幸せ", entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "1", warnings: [], keyPhrases: ["park"] }, + { id: "2", warnings: [], keyPhrases: ["Español", "document"] }, + { id: "3", warnings: [], keyPhrases: ["は幸せ"] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation16: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { + id: "0", + error: { + 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, + completedOn, + }, + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + error: { + 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, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { + id: "0", + error: { + 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, + completedOn, + }, +]; + +export const expectation17: AnalyzeBatchResult[] = [ + { + kind: "EntityRecognition", + results: [ + { id: "0", warnings: [], entities: [] }, + { id: "1", warnings: [], entities: [] }, + { id: "2", warnings: [], entities: [] }, + { id: "3", warnings: [], entities: [] }, + { id: "4", warnings: [], entities: [] }, + { id: "5", warnings: [], entities: [] }, + { id: "6", warnings: [], entities: [] }, + { id: "7", warnings: [], entities: [] }, + { id: "8", warnings: [], entities: [] }, + { id: "9", warnings: [], entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "0", warnings: [], keyPhrases: ["random text"] }, + { id: "1", warnings: [], keyPhrases: ["random text"] }, + { id: "2", warnings: [], keyPhrases: ["random text"] }, + { id: "3", warnings: [], keyPhrases: ["random text"] }, + { id: "4", warnings: [], keyPhrases: ["random text"] }, + { id: "5", warnings: [], keyPhrases: ["random text"] }, + { id: "6", warnings: [], keyPhrases: ["random text"] }, + { id: "7", warnings: [], keyPhrases: ["random text"] }, + { id: "8", warnings: [], keyPhrases: ["random text"] }, + { id: "9", warnings: [], keyPhrases: ["random text"] }, + ], + modelVersion, + completedOn, + }, + { + kind: "EntityRecognition", + results: [ + { id: "10", warnings: [], entities: [] }, + { id: "11", warnings: [], entities: [] }, + { id: "12", warnings: [], entities: [] }, + { id: "13", warnings: [], entities: [] }, + { id: "14", warnings: [], entities: [] }, + { id: "15", warnings: [], entities: [] }, + { id: "16", warnings: [], entities: [] }, + { id: "17", warnings: [], entities: [] }, + { id: "18", warnings: [], entities: [] }, + { id: "19", warnings: [], entities: [] }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "10", warnings: [], keyPhrases: ["random text"] }, + { id: "11", warnings: [], keyPhrases: ["random text"] }, + { id: "12", warnings: [], keyPhrases: ["random text"] }, + { id: "13", warnings: [], keyPhrases: ["random text"] }, + { id: "14", warnings: [], keyPhrases: ["random text"] }, + { id: "15", warnings: [], keyPhrases: ["random text"] }, + { id: "16", warnings: [], keyPhrases: ["random text"] }, + { id: "17", warnings: [], keyPhrases: ["random text"] }, + { id: "18", warnings: [], keyPhrases: ["random text"] }, + { id: "19", warnings: [], keyPhrases: ["random text"] }, + ], + modelVersion, + completedOn, + }, + { + kind: "EntityRecognition", + results: [ + { id: "20", warnings: [], entities: [] }, + { id: "21", warnings: [], entities: [] }, + { id: "22", warnings: [], entities: [] }, + { id: "23", warnings: [], entities: [] }, + { + id: "24", + warnings: [], + 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 }, + ], + }, + ], + modelVersion, + completedOn, + }, + { + kind: "KeyPhraseExtraction", + results: [ + { id: "20", warnings: [], keyPhrases: ["random text"] }, + { id: "21", warnings: [], keyPhrases: ["random text"] }, + { id: "22", warnings: [], keyPhrases: ["random text"] }, + { id: "23", warnings: [], keyPhrases: ["random text"] }, + { id: "24", warnings: [], keyPhrases: ["Bill Gates", "Paul Allen", "Microsoft"] }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation18: AnalyzeBatchResult[] = [ + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********", + entities: [ + { + text: "859-98-0987", + category: "USSocialSecurityNumber", + offset: 17, + length: 11, + confidenceScore: 0.65, + }, + ], + }, + ], + modelVersion, + completedOn, + }, +]; + +export const expectation19: AnalyzeBatchResult[] = [ + { + kind: "PiiEntityRecognition", + results: [{ id: "0", warnings: [], redactedText: "I will go to the park.", entities: [] }], + actionName: "action1", + completedOn, + modelVersion, + }, + { + kind: "PiiEntityRecognition", + results: [{ id: "0", warnings: [], redactedText: "I will go to the park.", entities: [] }], + actionName: "action2", + completedOn, + modelVersion, + }, +]; + +export const expectation20: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0020538" }, + { name: "AOD", entityId: "0000023317" }, + { name: "BI", entityId: "BI00001" }, + { name: "CCPSS", entityId: "1017493" }, + { name: "CCS", entityId: "7.1" }, + { name: "CHV", entityId: "0000015800" }, + { name: "COSTAR", entityId: "397" }, + { name: "CSP", entityId: "0571-5243" }, + { name: "CST", entityId: "HYPERTENS" }, + { name: "DXP", entityId: "U002034" }, + { name: "HPO", entityId: "HP:0000822" }, + { name: "ICD10", entityId: "I10-I15.9" }, + { name: "ICD10AM", entityId: "I10-I15.9" }, + { name: "ICD10CM", entityId: "I10" }, + { name: "ICD9CM", entityId: "997.91" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU035456" }, + { name: "ICPC2P", entityId: "K85004" }, + { name: "LCH", entityId: "U002317" }, + { name: "LCH_NW", entityId: "sh85063723" }, + { name: "LNC", entityId: "LA14293-7" }, + { name: "MDR", entityId: "10020772" }, + { name: "MEDCIN", entityId: "33288" }, + { name: "MEDLINEPLUS", entityId: "34" }, + { name: "MSH", entityId: "D006973" }, + { name: "MTH", entityId: "005" }, + { name: "MTHICD9", entityId: "997.91" }, + { name: "NANDA-I", entityId: "00905" }, + { name: "NCI", entityId: "C3117" }, + { name: "NCI_CPTAC", entityId: "C3117" }, + { name: "NCI_CTCAE", entityId: "E13785" }, + { name: "NCI_CTRP", entityId: "C3117" }, + { name: "NCI_FDA", entityId: "1908" }, + { name: "NCI_GDC", entityId: "C3117" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000458091" }, + { name: "NCI_NICHD", entityId: "C3117" }, + { name: "NCI_caDSR", entityId: "C3117" }, + { name: "NOC", entityId: "060808" }, + { name: "OMIM", entityId: "MTHU002068" }, + { name: "PCDS", entityId: "PRB_11000.06" }, + { name: "PDQ", entityId: "CDR0000686951" }, + { name: "PSY", entityId: "23830" }, + { name: "RCD", entityId: "XE0Ub" }, + { name: "SNM", entityId: "F-70700" }, + { name: "SNMI", entityId: "D3-02000" }, + { name: "SNOMEDCT_US", entityId: "38341003" }, + { name: "WHO", entityId: "0210" }, + ], + text: "high blood pressure", + category: "SymptomOrSign", + offset: 29, + length: 19, + confidenceScore: 1, + assertion: { certainty: "negative" }, + normalizedText: "Hypertensive disease", + }, + ], + entityRelations: [], + id: "0", + warnings: [], + }, + { + entities: [ + { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + ], + entityRelations: [ + { + relationType: "DosageOfMedication", + roles: [ + { + entity: { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + name: "Dosage", + }, + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + ], + }, + { + relationType: "FrequencyOfMedication", + roles: [ + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + { + entity: { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + name: "Frequency", + }, + ], + }, + ], + id: "1", + warnings: [], + }, + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0021270" }, + { name: "AOD", entityId: "0000005273" }, + { name: "CCPSS", entityId: "0030805" }, + { name: "CHV", entityId: "0000006675" }, + { name: "DXP", entityId: "U002089" }, + { name: "LCH", entityId: "U002421" }, + { name: "LCH_NW", entityId: "sh85066022" }, + { name: "LNC", entityId: "LA19747-7" }, + { name: "MDR", entityId: "10021731" }, + { name: "MSH", entityId: "D007223" }, + { name: "NCI", entityId: "C27956" }, + { name: "NCI_FDA", entityId: "C27956" }, + { name: "NCI_NICHD", entityId: "C27956" }, + { name: "SNOMEDCT_US", entityId: "133931009" }, + ], + text: "Baby", + category: "Age", + offset: 0, + length: 4, + confidenceScore: 0.94, + normalizedText: "Infant", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0025289" }, + { name: "AOD", entityId: "0000006185" }, + { name: "BI", entityId: "BI00546" }, + { name: "CCPSS", entityId: "1018016" }, + { name: "CCSR_10", entityId: "NVS001" }, + { name: "CCSR_ICD10CM", entityId: "NVS001" }, + { name: "CHV", entityId: "0000007932" }, + { name: "COSTAR", entityId: "478" }, + { name: "CSP", entityId: "2042-5301" }, + { name: "CST", entityId: "MENINGITIS" }, + { name: "DXP", entityId: "U002543" }, + { name: "HPO", entityId: "HP:0001287" }, + { name: "ICD10", entityId: "G03.9" }, + { name: "ICD10AM", entityId: "G03.9" }, + { name: "ICD10CM", entityId: "G03.9" }, + { name: "ICD9CM", entityId: "322.9" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU048434" }, + { name: "ICPC2P", entityId: "N71002" }, + { name: "LCH", entityId: "U002901" }, + { name: "LCH_NW", entityId: "sh85083562" }, + { name: "LNC", entityId: "LP20756-0" }, + { name: "MDR", entityId: "10027199" }, + { name: "MEDCIN", entityId: "31192" }, + { name: "MEDLINEPLUS", entityId: "324" }, + { name: "MSH", entityId: "D008581" }, + { name: "NANDA-I", entityId: "02899" }, + { name: "NCI", entityId: "C26828" }, + { name: "NCI_CPTAC", entityId: "C26828" }, + { name: "NCI_CTCAE", entityId: "E11458" }, + { name: "NCI_FDA", entityId: "2389" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000471780" }, + { name: "NCI_NICHD", entityId: "C26828" }, + { name: "NCI_caDSR", entityId: "C26828" }, + { name: "OMIM", entityId: "MTHU005994" }, + { name: "PSY", entityId: "30660" }, + { name: "RCD", entityId: "X000H" }, + { name: "SNM", entityId: "M-40000" }, + { name: "SNMI", entityId: "DA-10010" }, + { name: "SNOMEDCT_US", entityId: "7180009" }, + { name: "WHO", entityId: "0955" }, + ], + text: "Meningitis", + category: "Diagnosis", + offset: 24, + length: 10, + confidenceScore: 1, + assertion: { certainty: "negativePossible" }, + normalizedText: "Meningitis", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0015967" }, + { name: "AIR", entityId: "FEVER" }, + { name: "AOD", entityId: "0000004396" }, + { name: "BI", entityId: "BI00751" }, + { name: "CCC", entityId: "K25.2" }, + { name: "CCPSS", entityId: "1017166" }, + { name: "CCSR_10", entityId: "SYM002" }, + { name: "CCSR_ICD10CM", entityId: "SYM002" }, + { name: "CHV", entityId: "0000005010" }, + { name: "COSTAR", entityId: "300" }, + { name: "CPM", entityId: "65287" }, + { name: "CSP", entityId: "2871-4310" }, + { name: "CST", entityId: "FEVER" }, + { name: "DXP", entityId: "U001483" }, + { name: "GO", entityId: "GO:0001660" }, + { name: "HPO", entityId: "HP:0001945" }, + { name: "ICD10", entityId: "R50.9" }, + { name: "ICD10AM", entityId: "R50.9" }, + { name: "ICD10CM", entityId: "R50.9" }, + { name: "ICD9CM", entityId: "780.60" }, + { name: "ICNP", entityId: "10041539" }, + { name: "ICPC", entityId: "A03" }, + { name: "ICPC2EENG", entityId: "A03" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU041751" }, + { name: "ICPC2P", entityId: "A03002" }, + { name: "LCH", entityId: "U001776" }, + { name: "LCH_NW", entityId: "sh85047994" }, + { name: "LNC", entityId: "MTHU013518" }, + { name: "MDR", entityId: "10005911" }, + { name: "MEDCIN", entityId: "6005" }, + { name: "MEDLINEPLUS", entityId: "511" }, + { name: "MSH", entityId: "D005334" }, + { name: "MTHICD9", entityId: "780.60" }, + { name: "NANDA-I", entityId: "01128" }, + { name: "NCI", entityId: "C3038" }, + { name: "NCI_CTCAE", entityId: "E11102" }, + { name: "NCI_FDA", entityId: "1858" }, + { name: "NCI_GDC", entityId: "C3038" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000450108" }, + { name: "NCI_NICHD", entityId: "C3038" }, + { name: "NCI_caDSR", entityId: "C3038" }, + { name: "NOC", entityId: "070307" }, + { name: "OMIM", entityId: "MTHU005439" }, + { name: "OMS", entityId: "50.03" }, + { name: "PCDS", entityId: "PRB_11020.02" }, + { name: "PDQ", entityId: "CDR0000775882" }, + { name: "PSY", entityId: "23840" }, + { name: "QMR", entityId: "Q0200115" }, + { name: "RCD", entityId: "X76EI" }, + { name: "SNM", entityId: "F-03003" }, + { name: "SNMI", entityId: "F-03003" }, + { name: "SNOMEDCT_US", entityId: "386661006" }, + { name: "WHO", entityId: "0725" }, + ], + text: "fever", + category: "SymptomOrSign", + offset: 47, + length: 5, + confidenceScore: 0.98, + normalizedText: "Fever", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0026591" }, + { name: "AOD", entityId: "0000027173" }, + { name: "CCPSS", entityId: "U000286" }, + { name: "CHV", entityId: "0000008266" }, + { name: "CSP", entityId: "1124-5492" }, + { name: "HL7V3.0", entityId: "MTH" }, + { name: "LCH", entityId: "U003028" }, + { name: "LCH_NW", entityId: "sh85087526" }, + { name: "LNC", entityId: "LA10417-6" }, + { name: "MSH", entityId: "D009035" }, + { name: "NCI", entityId: "C25189" }, + { name: "NCI_CDISC", entityId: "C25189" }, + { name: "NCI_GDC", entityId: "C25189" }, + { name: "NCI_caDSR", entityId: "C25189" }, + { name: "PSY", entityId: "32140" }, + { name: "RCD", entityId: "X78ym" }, + { name: "SNMI", entityId: "S-10120" }, + { name: "SNOMEDCT_US", entityId: "72705000" }, + ], + text: "mother", + category: "FamilyRelation", + offset: 60, + length: 6, + confidenceScore: 0.99, + normalizedText: "Mother (person)", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0030842" }, + { name: "AOD", entityId: "0000019206" }, + { name: "ATC", entityId: "J01C" }, + { name: "CCPSS", entityId: "0014106" }, + { name: "CHV", entityId: "0000009423" }, + { name: "CSP", entityId: "0199-8025" }, + { name: "GS", entityId: "4011" }, + { name: "LCH", entityId: "U003521" }, + { name: "LCH_NW", entityId: "sh85099402" }, + { name: "LNC", entityId: "LP14319-5" }, + { name: "MEDCIN", entityId: "40319" }, + { name: "MMSL", entityId: "d00116" }, + { name: "MSH", entityId: "D010406" }, + { name: "NCI", entityId: "C1500" }, + { name: "NCI_DTP", entityId: "NSC0402815" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000045296" }, + { name: "NDDF", entityId: "016121" }, + { name: "PSY", entityId: "37190" }, + { name: "RCD", entityId: "x009C" }, + { name: "SNM", entityId: "E-7260" }, + { name: "SNMI", entityId: "C-54000" }, + { name: "SNOMEDCT_US", entityId: "764146007" }, + { name: "VANDF", entityId: "4019880" }, + ], + text: "Penicillin", + category: "MedicationName", + offset: 77, + length: 10, + confidenceScore: 0.84, + assertion: { certainty: "neutralPossible" }, + normalizedText: "penicillins", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0021270" }, + { name: "AOD", entityId: "0000005273" }, + { name: "CCPSS", entityId: "0030805" }, + { name: "CHV", entityId: "0000006675" }, + { name: "DXP", entityId: "U002089" }, + { name: "LCH", entityId: "U002421" }, + { name: "LCH_NW", entityId: "sh85066022" }, + { name: "LNC", entityId: "LA19747-7" }, + { name: "MDR", entityId: "10021731" }, + { name: "MSH", entityId: "D007223" }, + { name: "NCI", entityId: "C27956" }, + { name: "NCI_FDA", entityId: "C27956" }, + { name: "NCI_NICHD", entityId: "C27956" }, + { name: "SNOMEDCT_US", entityId: "133931009" }, + ], + text: "baby", + category: "FamilyRelation", + offset: 96, + length: 4, + confidenceScore: 1, + normalizedText: "Infant", + }, + ], + entityRelations: [], + id: "2", + warnings: [], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation21: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [], + entityRelations: [], + id: "0", + warnings: [ + { + code: "DocumentTruncated", + message: + "Document is large and must be split to be processed; relations across splits may not be caught by the model", + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation22: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 20, + length: 9, + confidenceScore: 0.95, + normalizedText: "ibuprofen", + }, + ], + entityRelations: [], + id: "0", + warnings: [], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation23: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 12, + length: 9, + confidenceScore: 0.95, + normalizedText: "ibuprofen", + }, + ], + entityRelations: [], + id: "0", + warnings: [], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation24: AnalyzeBatchResult[] = [ + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: + "My SSN is *********** and your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + entities: [ + { + text: "859-98-0987", + category: "USSocialSecurityNumber", + offset: 10, + length: 11, + confidenceScore: 0.65, + }, + { + text: "111000025", + category: "PhoneNumber", + offset: 44, + length: 9, + confidenceScore: 0.8, + }, + { + text: "111000025", + category: "ABARoutingNumber", + offset: 44, + length: 9, + confidenceScore: 0.75, + }, + { + text: "111000025", + category: "NZSocialWelfareNumber", + offset: 44, + length: 9, + confidenceScore: 0.65, + }, + ], + }, + { + id: "1", + warnings: [], + redactedText: + "Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.", + 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, + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation25: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0020538" }, + { name: "AOD", entityId: "0000023317" }, + { name: "BI", entityId: "BI00001" }, + { name: "CCPSS", entityId: "1017493" }, + { name: "CCS", entityId: "7.1" }, + { name: "CHV", entityId: "0000015800" }, + { name: "COSTAR", entityId: "397" }, + { name: "CSP", entityId: "0571-5243" }, + { name: "CST", entityId: "HYPERTENS" }, + { name: "DXP", entityId: "U002034" }, + { name: "HPO", entityId: "HP:0000822" }, + { name: "ICD10", entityId: "I10-I15.9" }, + { name: "ICD10AM", entityId: "I10-I15.9" }, + { name: "ICD10CM", entityId: "I10" }, + { name: "ICD9CM", entityId: "997.91" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU035456" }, + { name: "ICPC2P", entityId: "K85004" }, + { name: "LCH", entityId: "U002317" }, + { name: "LCH_NW", entityId: "sh85063723" }, + { name: "LNC", entityId: "LA14293-7" }, + { name: "MDR", entityId: "10020772" }, + { name: "MEDCIN", entityId: "33288" }, + { name: "MEDLINEPLUS", entityId: "34" }, + { name: "MSH", entityId: "D006973" }, + { name: "MTH", entityId: "005" }, + { name: "MTHICD9", entityId: "997.91" }, + { name: "NANDA-I", entityId: "00905" }, + { name: "NCI", entityId: "C3117" }, + { name: "NCI_CPTAC", entityId: "C3117" }, + { name: "NCI_CTCAE", entityId: "E13785" }, + { name: "NCI_CTRP", entityId: "C3117" }, + { name: "NCI_FDA", entityId: "1908" }, + { name: "NCI_GDC", entityId: "C3117" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000458091" }, + { name: "NCI_NICHD", entityId: "C3117" }, + { name: "NCI_caDSR", entityId: "C3117" }, + { name: "NOC", entityId: "060808" }, + { name: "OMIM", entityId: "MTHU002068" }, + { name: "PCDS", entityId: "PRB_11000.06" }, + { name: "PDQ", entityId: "CDR0000686951" }, + { name: "PSY", entityId: "23830" }, + { name: "RCD", entityId: "XE0Ub" }, + { name: "SNM", entityId: "F-70700" }, + { name: "SNMI", entityId: "D3-02000" }, + { name: "SNOMEDCT_US", entityId: "38341003" }, + { name: "WHO", entityId: "0210" }, + ], + text: "high blood pressure", + category: "SymptomOrSign", + offset: 29, + length: 19, + confidenceScore: 1, + assertion: { certainty: "negative" }, + normalizedText: "Hypertensive disease", + }, + ], + entityRelations: [], + id: "0", + warnings: [], + fhirBundle: { + resourceType: "Bundle", + id: "84de8de2-72cb-40e1-8a76-4e21c1f36963", + meta: { profile: ["http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle"] }, + identifier: { + system: "urn:ietf:rfc:3986", + value: "urn:uuid:84de8de2-72cb-40e1-8a76-4e21c1f36963", + }, + type: "document", + entry: [ + { + fullUrl: "Composition/66984b59-f67e-49de-9eda-1bb0b561c20d", + resource: { + resourceType: "Composition", + id: "66984b59-f67e-49de-9eda-1bb0b561c20d", + status: "final", + type: { + coding: [ + { system: "http://loinc.org", code: "11526-1", display: "Pathology study" }, + ], + text: "Pathology study", + }, + subject: { + reference: "Patient/7511e2d8-e558-4039-8706-033b968b105c", + type: "Patient", + }, + encounter: { + reference: "Encounter/b2310f22-ac9e-4f2f-980f-704abfbe6cbb", + type: "Encounter", + display: "unknown", + }, + date: "2022-05-01", + author: [ + { + reference: "Practitioner/972dde47-f95b-452b-9bd7-f6213c0c3456", + type: "Practitioner", + display: "Unknown", + }, + ], + title: "Pathology study", + section: [ + { + title: "General", + code: { + coding: [{ system: "", display: "Unrecognized Section" }], + text: "General", + }, + text: { + div: "
\r\n\t\t\t\t\t\t\t

General

\r\n\t\t\t\t\t\t\t

Patient does not suffer from high blood pressure.

\r\n\t\t\t\t\t
", + }, + entry: [ + { + reference: "List/1957301f-ff78-4245-85c0-75fc7f2a6e01", + type: "List", + display: "General", + }, + ], + }, + ], + }, + }, + { + fullUrl: "Practitioner/972dde47-f95b-452b-9bd7-f6213c0c3456", + resource: { + resourceType: "Practitioner", + id: "972dde47-f95b-452b-9bd7-f6213c0c3456", + extension: [ + { + extension: [ + { url: "offset", valueInteger: -1 }, + { url: "length", valueInteger: 7 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + name: [{ text: "Unknown", family: "Unknown" }], + }, + }, + { + fullUrl: "Patient/7511e2d8-e558-4039-8706-033b968b105c", + resource: { + resourceType: "Patient", + id: "7511e2d8-e558-4039-8706-033b968b105c", + gender: "unknown", + }, + }, + { + fullUrl: "Encounter/b2310f22-ac9e-4f2f-980f-704abfbe6cbb", + resource: { + resourceType: "Encounter", + id: "b2310f22-ac9e-4f2f-980f-704abfbe6cbb", + meta: { + profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"], + }, + status: "finished", + class: { + system: "http://terminology.hl7.org/CodeSystem/v3-ActCode", + display: "unknown", + }, + subject: { + reference: "Patient/7511e2d8-e558-4039-8706-033b968b105c", + type: "Patient", + }, + }, + }, + { + fullUrl: "Observation/962a5498-55d2-4f30-945a-ca31b9b23568", + resource: { + resourceType: "Observation", + id: "962a5498-55d2-4f30-945a-ca31b9b23568", + extension: [ + { + extension: [ + { url: "offset", valueInteger: 29 }, + { url: "length", valueInteger: 19 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + status: "final", + category: [ + { + coding: [ + { + system: "http://terminology.hl7.org/CodeSystem/observation-category", + code: "exam", + display: "Exam", + }, + ], + text: "Exam", + }, + ], + code: { + coding: [ + { + system: "http://www.nlm.nih.gov/research/umls", + code: "C0020538", + display: "high blood pressure", + }, + { system: "http://www.nlm.nih.gov/research/umls/aod", code: "0000023317" }, + { system: "http://www.nlm.nih.gov/research/umls/bi", code: "BI00001" }, + { system: "http://www.nlm.nih.gov/research/umls/ccpss", code: "1017493" }, + { system: "http://www.nlm.nih.gov/research/umls/ccs", code: "7.1" }, + { system: "http://www.nlm.nih.gov/research/umls/chv", code: "0000015800" }, + { system: "http://www.nlm.nih.gov/research/umls/costar", code: "397" }, + { system: "http://www.nlm.nih.gov/research/umls/csp", code: "0571-5243" }, + { system: "http://www.nlm.nih.gov/research/umls/cst", code: "HYPERTENS" }, + { system: "http://www.nlm.nih.gov/research/umls/dxp", code: "U002034" }, + { system: "http://www.nlm.nih.gov/research/umls/hpo", code: "HP:0000822" }, + { system: "http://hl7.org/fhir/sid/icd-10", code: "I10-I15.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-am", code: "I10-I15.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-cm", code: "I10" }, + { system: "http://hl7.org/fhir/sid/icd-9-cm", code: "997.91" }, + { system: "http://hl7.org/fhir/sid/icpc2icd10eng", code: "MTHU035456" }, + { system: "http://hl7.org/fhir/sid/icpc-2p", code: "K85004" }, + { system: "http://www.nlm.nih.gov/research/umls/lch", code: "U002317" }, + { system: "http://www.nlm.nih.gov/research/umls/lch_nw", code: "sh85063723" }, + { system: "http://loinc.org", code: "LA14293-7" }, + { system: "http://www.nlm.nih.gov/research/umls/mdr", code: "10020772" }, + { system: "http://www.nlm.nih.gov/research/umls/medcin", code: "33288" }, + { system: "http://www.nlm.nih.gov/research/umls/medlineplus", code: "34" }, + { system: "http://www.nlm.nih.gov/research/umls/msh", code: "D006973" }, + { system: "http://www.nlm.nih.gov/research/umls/mth", code: "005" }, + { system: "http://www.nlm.nih.gov/research/umls/mthicd9", code: "997.91" }, + { system: "http://www.nlm.nih.gov/research/umls/nanda-i", code: "00905" }, + { system: "http://ncimeta.nci.nih.gov", code: "C3117" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_cptac", code: "C3117" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_ctcae", code: "E13785" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_ctrp", code: "C3117" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_fda", code: "1908" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_gdc", code: "C3117" }, + { + system: "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + code: "CDR0000458091", + }, + { system: "http://www.nlm.nih.gov/research/umls/nci_nichd", code: "C3117" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_cadsr", code: "C3117" }, + { system: "http://www.nlm.nih.gov/research/umls/noc", code: "060808" }, + { system: "http://www.nlm.nih.gov/research/umls/omim", code: "MTHU002068" }, + { system: "http://www.nlm.nih.gov/research/umls/pcds", code: "PRB_11000.06" }, + { system: "http://www.nlm.nih.gov/research/umls/pdq", code: "CDR0000686951" }, + { system: "http://www.nlm.nih.gov/research/umls/psy", code: "23830" }, + { system: "http://www.nlm.nih.gov/research/umls/rcd", code: "XE0Ub" }, + { system: "http://snomed.info/sct", code: "F-70700" }, + { system: "http://snomed.info/sct/900000000000207008", code: "D3-02000" }, + { system: "http://snomed.info/sct/731000124108", code: "38341003" }, + { system: "http://www.nlm.nih.gov/research/umls/who", code: "0210" }, + ], + text: "high blood pressure", + }, + subject: { + reference: "Patient/7511e2d8-e558-4039-8706-033b968b105c", + type: "Patient", + }, + encounter: { + reference: "Encounter/b2310f22-ac9e-4f2f-980f-704abfbe6cbb", + type: "Encounter", + display: "unknown", + }, + interpretation: [ + { + coding: [ + { + system: + "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + code: "POS", + display: "Positive", + }, + ], + text: "Positive", + }, + ], + }, + }, + { + fullUrl: "List/1957301f-ff78-4245-85c0-75fc7f2a6e01", + resource: { + resourceType: "List", + id: "1957301f-ff78-4245-85c0-75fc7f2a6e01", + status: "current", + mode: "snapshot", + title: "General", + subject: { + reference: "Patient/7511e2d8-e558-4039-8706-033b968b105c", + type: "Patient", + }, + encounter: { + reference: "Encounter/b2310f22-ac9e-4f2f-980f-704abfbe6cbb", + type: "Encounter", + display: "unknown", + }, + entry: [ + { + item: { + reference: "Observation/962a5498-55d2-4f30-945a-ca31b9b23568", + type: "Observation", + display: "high blood pressure", + }, + }, + ], + }, + }, + ], + }, + }, + { + entities: [ + { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + ], + entityRelations: [ + { + relationType: "DosageOfMedication", + roles: [ + { + entity: { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + name: "Dosage", + }, + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + ], + }, + { + relationType: "FrequencyOfMedication", + roles: [ + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + { + entity: { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + name: "Frequency", + }, + ], + }, + ], + id: "1", + warnings: [], + fhirBundle: { + resourceType: "Bundle", + id: "5ab182bc-6bed-4bba-a52d-eebb7999ce73", + meta: { profile: ["http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle"] }, + identifier: { + system: "urn:ietf:rfc:3986", + value: "urn:uuid:5ab182bc-6bed-4bba-a52d-eebb7999ce73", + }, + type: "document", + entry: [ + { + fullUrl: "Composition/0c35a810-8d68-4037-8eea-b807b4c27d9e", + resource: { + resourceType: "Composition", + id: "0c35a810-8d68-4037-8eea-b807b4c27d9e", + status: "final", + type: { + coding: [ + { system: "http://loinc.org", code: "11526-1", display: "Pathology study" }, + ], + text: "Pathology study", + }, + subject: { + reference: "Patient/a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + type: "Patient", + }, + encounter: { + reference: "Encounter/b8a4d7c5-fe79-4e8b-93a7-ecdfdffacf34", + type: "Encounter", + display: "unknown", + }, + date: "2022-05-01", + author: [ + { + reference: "Practitioner/068e450a-e885-4542-babc-b2704aecbaea", + type: "Practitioner", + display: "Unknown", + }, + ], + title: "Pathology study", + section: [ + { + title: "General", + code: { + coding: [{ system: "", display: "Unrecognized Section" }], + text: "General", + }, + text: { + div: "
\r\n\t\t\t\t\t\t\t

General

\r\n\t\t\t\t\t\t\t

Prescribed 100mg ibuprofen, taken twice daily.

\r\n\t\t\t\t\t
", + }, + entry: [ + { + reference: "List/782a81fd-0395-4412-a8bc-2bb0e2d5dae3", + type: "List", + display: "General", + }, + ], + }, + ], + }, + }, + { + fullUrl: "Practitioner/068e450a-e885-4542-babc-b2704aecbaea", + resource: { + resourceType: "Practitioner", + id: "068e450a-e885-4542-babc-b2704aecbaea", + extension: [ + { + extension: [ + { url: "offset", valueInteger: -1 }, + { url: "length", valueInteger: 7 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + name: [{ text: "Unknown", family: "Unknown" }], + }, + }, + { + fullUrl: "Patient/a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + resource: { + resourceType: "Patient", + id: "a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + gender: "unknown", + }, + }, + { + fullUrl: "Encounter/b8a4d7c5-fe79-4e8b-93a7-ecdfdffacf34", + resource: { + resourceType: "Encounter", + id: "b8a4d7c5-fe79-4e8b-93a7-ecdfdffacf34", + meta: { + profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"], + }, + status: "finished", + class: { + system: "http://terminology.hl7.org/CodeSystem/v3-ActCode", + display: "unknown", + }, + subject: { + reference: "Patient/a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + type: "Patient", + }, + }, + }, + { + fullUrl: "MedicationStatement/00760614-f9ec-4a2a-be28-daed148a0b42", + resource: { + resourceType: "MedicationStatement", + id: "00760614-f9ec-4a2a-be28-daed148a0b42", + extension: [ + { + extension: [ + { url: "offset", valueInteger: 17 }, + { url: "length", valueInteger: 9 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + status: "active", + medicationCodeableConcept: { + coding: [ + { + system: "http://www.nlm.nih.gov/research/umls", + code: "C0020740", + display: "ibuprofen", + }, + { system: "http://www.nlm.nih.gov/research/umls/aod", code: "0000019879" }, + { system: "http://www.whocc.no/atc", code: "M01AE01" }, + { system: "http://www.nlm.nih.gov/research/umls/ccpss", code: "0046165" }, + { system: "http://www.nlm.nih.gov/research/umls/chv", code: "0000006519" }, + { system: "http://www.nlm.nih.gov/research/umls/csp", code: "2270-2077" }, + { system: "http://www.nlm.nih.gov/research/umls/drugbank", code: "DB01050" }, + { system: "http://www.nlm.nih.gov/research/umls/gs", code: "1611" }, + { system: "http://www.nlm.nih.gov/research/umls/lch_nw", code: "sh97005926" }, + { system: "http://loinc.org", code: "LP16165-0" }, + { system: "http://www.nlm.nih.gov/research/umls/medcin", code: "40458" }, + { system: "http://www.nlm.nih.gov/research/umls/mmsl", code: "d00015" }, + { system: "http://www.nlm.nih.gov/research/umls/msh", code: "D007052" }, + { system: "http://www.nlm.nih.gov/research/umls/mthspl", code: "WK2XYI10QM" }, + { system: "http://ncimeta.nci.nih.gov", code: "C561" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_ctrp", code: "C561" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_dcp", code: "00803" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_dtp", code: "NSC0256857" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_fda", code: "WK2XYI10QM" }, + { + system: "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + code: "CDR0000613511", + }, + { system: "http://www.nlm.nih.gov/research/umls/nddf", code: "002377" }, + { system: "http://www.nlm.nih.gov/research/umls/pdq", code: "CDR0000040475" }, + { system: "http://www.nlm.nih.gov/research/umls/rcd", code: "x02MO" }, + { system: "http://www.nlm.nih.gov/research/umls/rxnorm", code: "5640" }, + { system: "http://snomed.info/sct", code: "E-7772" }, + { system: "http://snomed.info/sct/900000000000207008", code: "C-603C0" }, + { system: "http://snomed.info/sct/731000124108", code: "387207008" }, + { system: "http://www.nlm.nih.gov/research/umls/usp", code: "m39860" }, + { system: "http://www.nlm.nih.gov/research/umls/uspmg", code: "MTHU000060" }, + { system: "http://hl7.org/fhir/ndfrt", code: "4017840" }, + ], + text: "ibuprofen", + }, + subject: { + reference: "Patient/a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + type: "Patient", + }, + context: { + reference: "Encounter/b8a4d7c5-fe79-4e8b-93a7-ecdfdffacf34", + type: "Encounter", + display: "unknown", + }, + dosage: [ + { + text: "100mg", + timing: { + repeat: { frequency: 2, period: 1, periodUnit: "d" }, + code: { text: "twice daily" }, + }, + doseAndRate: [{ doseQuantity: { value: 100 } }], + }, + ], + }, + }, + { + fullUrl: "List/782a81fd-0395-4412-a8bc-2bb0e2d5dae3", + resource: { + resourceType: "List", + id: "782a81fd-0395-4412-a8bc-2bb0e2d5dae3", + status: "current", + mode: "snapshot", + title: "General", + subject: { + reference: "Patient/a2ff9943-e8a0-4ac2-ab05-e0c76004768e", + type: "Patient", + }, + encounter: { + reference: "Encounter/b8a4d7c5-fe79-4e8b-93a7-ecdfdffacf34", + type: "Encounter", + display: "unknown", + }, + entry: [ + { + item: { + reference: "MedicationStatement/00760614-f9ec-4a2a-be28-daed148a0b42", + type: "MedicationStatement", + display: "ibuprofen", + }, + }, + ], + }, + }, + ], + }, + }, + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0021270" }, + { name: "AOD", entityId: "0000005273" }, + { name: "CCPSS", entityId: "0030805" }, + { name: "CHV", entityId: "0000006675" }, + { name: "DXP", entityId: "U002089" }, + { name: "LCH", entityId: "U002421" }, + { name: "LCH_NW", entityId: "sh85066022" }, + { name: "LNC", entityId: "LA19747-7" }, + { name: "MDR", entityId: "10021731" }, + { name: "MSH", entityId: "D007223" }, + { name: "NCI", entityId: "C27956" }, + { name: "NCI_FDA", entityId: "C27956" }, + { name: "NCI_NICHD", entityId: "C27956" }, + { name: "SNOMEDCT_US", entityId: "133931009" }, + ], + text: "Baby", + category: "Age", + offset: 0, + length: 4, + confidenceScore: 0.94, + normalizedText: "Infant", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0025289" }, + { name: "AOD", entityId: "0000006185" }, + { name: "BI", entityId: "BI00546" }, + { name: "CCPSS", entityId: "1018016" }, + { name: "CCSR_10", entityId: "NVS001" }, + { name: "CCSR_ICD10CM", entityId: "NVS001" }, + { name: "CHV", entityId: "0000007932" }, + { name: "COSTAR", entityId: "478" }, + { name: "CSP", entityId: "2042-5301" }, + { name: "CST", entityId: "MENINGITIS" }, + { name: "DXP", entityId: "U002543" }, + { name: "HPO", entityId: "HP:0001287" }, + { name: "ICD10", entityId: "G03.9" }, + { name: "ICD10AM", entityId: "G03.9" }, + { name: "ICD10CM", entityId: "G03.9" }, + { name: "ICD9CM", entityId: "322.9" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU048434" }, + { name: "ICPC2P", entityId: "N71002" }, + { name: "LCH", entityId: "U002901" }, + { name: "LCH_NW", entityId: "sh85083562" }, + { name: "LNC", entityId: "LP20756-0" }, + { name: "MDR", entityId: "10027199" }, + { name: "MEDCIN", entityId: "31192" }, + { name: "MEDLINEPLUS", entityId: "324" }, + { name: "MSH", entityId: "D008581" }, + { name: "NANDA-I", entityId: "02899" }, + { name: "NCI", entityId: "C26828" }, + { name: "NCI_CPTAC", entityId: "C26828" }, + { name: "NCI_CTCAE", entityId: "E11458" }, + { name: "NCI_FDA", entityId: "2389" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000471780" }, + { name: "NCI_NICHD", entityId: "C26828" }, + { name: "NCI_caDSR", entityId: "C26828" }, + { name: "OMIM", entityId: "MTHU005994" }, + { name: "PSY", entityId: "30660" }, + { name: "RCD", entityId: "X000H" }, + { name: "SNM", entityId: "M-40000" }, + { name: "SNMI", entityId: "DA-10010" }, + { name: "SNOMEDCT_US", entityId: "7180009" }, + { name: "WHO", entityId: "0955" }, + ], + text: "Meningitis", + category: "Diagnosis", + offset: 24, + length: 10, + confidenceScore: 1, + assertion: { certainty: "negativePossible" }, + normalizedText: "Meningitis", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0015967" }, + { name: "AIR", entityId: "FEVER" }, + { name: "AOD", entityId: "0000004396" }, + { name: "BI", entityId: "BI00751" }, + { name: "CCC", entityId: "K25.2" }, + { name: "CCPSS", entityId: "1017166" }, + { name: "CCSR_10", entityId: "SYM002" }, + { name: "CCSR_ICD10CM", entityId: "SYM002" }, + { name: "CHV", entityId: "0000005010" }, + { name: "COSTAR", entityId: "300" }, + { name: "CPM", entityId: "65287" }, + { name: "CSP", entityId: "2871-4310" }, + { name: "CST", entityId: "FEVER" }, + { name: "DXP", entityId: "U001483" }, + { name: "GO", entityId: "GO:0001660" }, + { name: "HPO", entityId: "HP:0001945" }, + { name: "ICD10", entityId: "R50.9" }, + { name: "ICD10AM", entityId: "R50.9" }, + { name: "ICD10CM", entityId: "R50.9" }, + { name: "ICD9CM", entityId: "780.60" }, + { name: "ICNP", entityId: "10041539" }, + { name: "ICPC", entityId: "A03" }, + { name: "ICPC2EENG", entityId: "A03" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU041751" }, + { name: "ICPC2P", entityId: "A03002" }, + { name: "LCH", entityId: "U001776" }, + { name: "LCH_NW", entityId: "sh85047994" }, + { name: "LNC", entityId: "MTHU013518" }, + { name: "MDR", entityId: "10005911" }, + { name: "MEDCIN", entityId: "6005" }, + { name: "MEDLINEPLUS", entityId: "511" }, + { name: "MSH", entityId: "D005334" }, + { name: "MTHICD9", entityId: "780.60" }, + { name: "NANDA-I", entityId: "01128" }, + { name: "NCI", entityId: "C3038" }, + { name: "NCI_CTCAE", entityId: "E11102" }, + { name: "NCI_FDA", entityId: "1858" }, + { name: "NCI_GDC", entityId: "C3038" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000450108" }, + { name: "NCI_NICHD", entityId: "C3038" }, + { name: "NCI_caDSR", entityId: "C3038" }, + { name: "NOC", entityId: "070307" }, + { name: "OMIM", entityId: "MTHU005439" }, + { name: "OMS", entityId: "50.03" }, + { name: "PCDS", entityId: "PRB_11020.02" }, + { name: "PDQ", entityId: "CDR0000775882" }, + { name: "PSY", entityId: "23840" }, + { name: "QMR", entityId: "Q0200115" }, + { name: "RCD", entityId: "X76EI" }, + { name: "SNM", entityId: "F-03003" }, + { name: "SNMI", entityId: "F-03003" }, + { name: "SNOMEDCT_US", entityId: "386661006" }, + { name: "WHO", entityId: "0725" }, + ], + text: "fever", + category: "SymptomOrSign", + offset: 47, + length: 5, + confidenceScore: 0.98, + normalizedText: "Fever", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0026591" }, + { name: "AOD", entityId: "0000027173" }, + { name: "CCPSS", entityId: "U000286" }, + { name: "CHV", entityId: "0000008266" }, + { name: "CSP", entityId: "1124-5492" }, + { name: "HL7V3.0", entityId: "MTH" }, + { name: "LCH", entityId: "U003028" }, + { name: "LCH_NW", entityId: "sh85087526" }, + { name: "LNC", entityId: "LA10417-6" }, + { name: "MSH", entityId: "D009035" }, + { name: "NCI", entityId: "C25189" }, + { name: "NCI_CDISC", entityId: "C25189" }, + { name: "NCI_GDC", entityId: "C25189" }, + { name: "NCI_caDSR", entityId: "C25189" }, + { name: "PSY", entityId: "32140" }, + { name: "RCD", entityId: "X78ym" }, + { name: "SNMI", entityId: "S-10120" }, + { name: "SNOMEDCT_US", entityId: "72705000" }, + ], + text: "mother", + category: "FamilyRelation", + offset: 60, + length: 6, + confidenceScore: 0.99, + normalizedText: "Mother (person)", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0030842" }, + { name: "AOD", entityId: "0000019206" }, + { name: "ATC", entityId: "J01C" }, + { name: "CCPSS", entityId: "0014106" }, + { name: "CHV", entityId: "0000009423" }, + { name: "CSP", entityId: "0199-8025" }, + { name: "GS", entityId: "4011" }, + { name: "LCH", entityId: "U003521" }, + { name: "LCH_NW", entityId: "sh85099402" }, + { name: "LNC", entityId: "LP14319-5" }, + { name: "MEDCIN", entityId: "40319" }, + { name: "MMSL", entityId: "d00116" }, + { name: "MSH", entityId: "D010406" }, + { name: "NCI", entityId: "C1500" }, + { name: "NCI_DTP", entityId: "NSC0402815" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000045296" }, + { name: "NDDF", entityId: "016121" }, + { name: "PSY", entityId: "37190" }, + { name: "RCD", entityId: "x009C" }, + { name: "SNM", entityId: "E-7260" }, + { name: "SNMI", entityId: "C-54000" }, + { name: "SNOMEDCT_US", entityId: "764146007" }, + { name: "VANDF", entityId: "4019880" }, + ], + text: "Penicillin", + category: "MedicationName", + offset: 77, + length: 10, + confidenceScore: 0.84, + assertion: { certainty: "neutralPossible" }, + normalizedText: "penicillins", + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0021270" }, + { name: "AOD", entityId: "0000005273" }, + { name: "CCPSS", entityId: "0030805" }, + { name: "CHV", entityId: "0000006675" }, + { name: "DXP", entityId: "U002089" }, + { name: "LCH", entityId: "U002421" }, + { name: "LCH_NW", entityId: "sh85066022" }, + { name: "LNC", entityId: "LA19747-7" }, + { name: "MDR", entityId: "10021731" }, + { name: "MSH", entityId: "D007223" }, + { name: "NCI", entityId: "C27956" }, + { name: "NCI_FDA", entityId: "C27956" }, + { name: "NCI_NICHD", entityId: "C27956" }, + { name: "SNOMEDCT_US", entityId: "133931009" }, + ], + text: "baby", + category: "FamilyRelation", + offset: 96, + length: 4, + confidenceScore: 1, + normalizedText: "Infant", + }, + ], + entityRelations: [], + id: "2", + warnings: [], + fhirBundle: { + resourceType: "Bundle", + id: "cb9705e2-b7cf-4ccb-82ed-31247fc26936", + meta: { profile: ["http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle"] }, + identifier: { + system: "urn:ietf:rfc:3986", + value: "urn:uuid:cb9705e2-b7cf-4ccb-82ed-31247fc26936", + }, + type: "document", + entry: [ + { + fullUrl: "Composition/3b5b3783-b234-4907-8e92-b9a82b06ce0b", + resource: { + resourceType: "Composition", + id: "3b5b3783-b234-4907-8e92-b9a82b06ce0b", + status: "final", + type: { + coding: [ + { system: "http://loinc.org", code: "11526-1", display: "Pathology study" }, + ], + text: "Pathology study", + }, + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + encounter: { + reference: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + type: "Encounter", + display: "unknown", + }, + date: "2022-05-01", + author: [ + { + reference: "Practitioner/2ba6447c-e579-416d-ae41-b575051d2b0a", + type: "Practitioner", + display: "Unknown", + }, + ], + title: "Pathology study", + section: [ + { + title: "General", + code: { + coding: [{ system: "", display: "Unrecognized Section" }], + text: "General", + }, + text: { + div: "
\r\n\t\t\t\t\t\t\t

General

\r\n\t\t\t\t\t\t\t

Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.

\r\n\t\t\t\t\t
", + }, + entry: [ + { + reference: "List/98e197dc-88d1-4a69-92bc-61124d3a2a43", + type: "List", + display: "General", + }, + ], + }, + ], + }, + }, + { + fullUrl: "Practitioner/2ba6447c-e579-416d-ae41-b575051d2b0a", + resource: { + resourceType: "Practitioner", + id: "2ba6447c-e579-416d-ae41-b575051d2b0a", + extension: [ + { + extension: [ + { url: "offset", valueInteger: -1 }, + { url: "length", valueInteger: 7 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + name: [{ text: "Unknown", family: "Unknown" }], + }, + }, + { + fullUrl: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + resource: { + resourceType: "Patient", + id: "6782afcc-6db5-4840-9c8f-9f720bc698a7", + gender: "unknown", + }, + }, + { + fullUrl: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + resource: { + resourceType: "Encounter", + id: "3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + meta: { + profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"], + }, + status: "finished", + class: { + system: "http://terminology.hl7.org/CodeSystem/v3-ActCode", + display: "unknown", + }, + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + }, + }, + { + fullUrl: "Condition/a2aa3b2d-a641-4361-864b-090ca3452110", + resource: { + resourceType: "Condition", + id: "a2aa3b2d-a641-4361-864b-090ca3452110", + meta: { + profile: ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"], + }, + extension: [ + { + extension: [ + { url: "offset", valueInteger: 24 }, + { url: "length", valueInteger: 10 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + verificationStatus: { + coding: [ + { + system: "http://terminology.hl7.org/CodeSystem/condition-ver-status", + code: "confirmed", + display: "Confirmed", + }, + ], + text: "Confirmed", + }, + category: [ + { + coding: [ + { + system: "http://terminology.hl7.org/CodeSystem/condition-category", + code: "encounter-diagnosis", + display: "Encounter Diagnosis", + }, + ], + text: "Encounter Diagnosis", + }, + ], + code: { + coding: [ + { + system: "http://www.nlm.nih.gov/research/umls", + code: "C0025289", + display: "Meningitis", + }, + { system: "http://www.nlm.nih.gov/research/umls/aod", code: "0000006185" }, + { system: "http://www.nlm.nih.gov/research/umls/bi", code: "BI00546" }, + { system: "http://www.nlm.nih.gov/research/umls/ccpss", code: "1018016" }, + { system: "http://www.nlm.nih.gov/research/umls/ccsr_10", code: "NVS001" }, + { system: "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", code: "NVS001" }, + { system: "http://www.nlm.nih.gov/research/umls/chv", code: "0000007932" }, + { system: "http://www.nlm.nih.gov/research/umls/costar", code: "478" }, + { system: "http://www.nlm.nih.gov/research/umls/csp", code: "2042-5301" }, + { system: "http://www.nlm.nih.gov/research/umls/cst", code: "MENINGITIS" }, + { system: "http://www.nlm.nih.gov/research/umls/dxp", code: "U002543" }, + { system: "http://www.nlm.nih.gov/research/umls/hpo", code: "HP:0001287" }, + { system: "http://hl7.org/fhir/sid/icd-10", code: "G03.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-am", code: "G03.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-cm", code: "G03.9" }, + { system: "http://hl7.org/fhir/sid/icd-9-cm", code: "322.9" }, + { system: "http://hl7.org/fhir/sid/icpc2icd10eng", code: "MTHU048434" }, + { system: "http://hl7.org/fhir/sid/icpc-2p", code: "N71002" }, + { system: "http://www.nlm.nih.gov/research/umls/lch", code: "U002901" }, + { system: "http://www.nlm.nih.gov/research/umls/lch_nw", code: "sh85083562" }, + { system: "http://loinc.org", code: "LP20756-0" }, + { system: "http://www.nlm.nih.gov/research/umls/mdr", code: "10027199" }, + { system: "http://www.nlm.nih.gov/research/umls/medcin", code: "31192" }, + { system: "http://www.nlm.nih.gov/research/umls/medlineplus", code: "324" }, + { system: "http://www.nlm.nih.gov/research/umls/msh", code: "D008581" }, + { system: "http://www.nlm.nih.gov/research/umls/nanda-i", code: "02899" }, + { system: "http://ncimeta.nci.nih.gov", code: "C26828" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_cptac", code: "C26828" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_ctcae", code: "E11458" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_fda", code: "2389" }, + { + system: "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + code: "CDR0000471780", + }, + { system: "http://www.nlm.nih.gov/research/umls/nci_nichd", code: "C26828" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_cadsr", code: "C26828" }, + { system: "http://www.nlm.nih.gov/research/umls/omim", code: "MTHU005994" }, + { system: "http://www.nlm.nih.gov/research/umls/psy", code: "30660" }, + { system: "http://www.nlm.nih.gov/research/umls/rcd", code: "X000H" }, + { system: "http://snomed.info/sct", code: "M-40000" }, + { system: "http://snomed.info/sct/900000000000207008", code: "DA-10010" }, + { system: "http://snomed.info/sct/731000124108", code: "7180009" }, + { system: "http://www.nlm.nih.gov/research/umls/who", code: "0955" }, + ], + text: "Meningitis", + }, + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + encounter: { + reference: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + type: "Encounter", + display: "unknown", + }, + }, + }, + { + fullUrl: "Observation/392011e3-70f1-4bae-a7c5-f05f21403d21", + resource: { + resourceType: "Observation", + id: "392011e3-70f1-4bae-a7c5-f05f21403d21", + extension: [ + { + extension: [ + { url: "offset", valueInteger: 47 }, + { url: "length", valueInteger: 5 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + status: "final", + category: [ + { + coding: [ + { + system: "http://terminology.hl7.org/CodeSystem/observation-category", + code: "exam", + display: "Exam", + }, + ], + text: "Exam", + }, + ], + code: { + coding: [ + { + system: "http://www.nlm.nih.gov/research/umls", + code: "C0015967", + display: "fever", + }, + { system: "http://www.nlm.nih.gov/research/umls/air", code: "FEVER" }, + { system: "http://www.nlm.nih.gov/research/umls/aod", code: "0000004396" }, + { system: "http://www.nlm.nih.gov/research/umls/bi", code: "BI00751" }, + { system: "http://www.nlm.nih.gov/research/umls/ccc", code: "K25.2" }, + { system: "http://www.nlm.nih.gov/research/umls/ccpss", code: "1017166" }, + { system: "http://www.nlm.nih.gov/research/umls/ccsr_10", code: "SYM002" }, + { system: "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", code: "SYM002" }, + { system: "http://www.nlm.nih.gov/research/umls/chv", code: "0000005010" }, + { system: "http://www.nlm.nih.gov/research/umls/costar", code: "300" }, + { system: "http://www.nlm.nih.gov/research/umls/cpm", code: "65287" }, + { system: "http://www.nlm.nih.gov/research/umls/csp", code: "2871-4310" }, + { system: "http://www.nlm.nih.gov/research/umls/cst", code: "FEVER" }, + { system: "http://www.nlm.nih.gov/research/umls/dxp", code: "U001483" }, + { system: "http://www.nlm.nih.gov/research/umls/go", code: "GO:0001660" }, + { system: "http://www.nlm.nih.gov/research/umls/hpo", code: "HP:0001945" }, + { system: "http://hl7.org/fhir/sid/icd-10", code: "R50.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-am", code: "R50.9" }, + { system: "http://hl7.org/fhir/sid/icd-10-cm", code: "R50.9" }, + { system: "http://hl7.org/fhir/sid/icd-9-cm", code: "780.60" }, + { system: "http://www.nlm.nih.gov/research/umls/icnp", code: "10041539" }, + { system: "http://www.nlm.nih.gov/research/umls/icpc", code: "A03" }, + { system: "http://www.nlm.nih.gov/research/umls/icpc2eeng", code: "A03" }, + { system: "http://hl7.org/fhir/sid/icpc2icd10eng", code: "MTHU041751" }, + { system: "http://hl7.org/fhir/sid/icpc-2p", code: "A03002" }, + { system: "http://www.nlm.nih.gov/research/umls/lch", code: "U001776" }, + { system: "http://www.nlm.nih.gov/research/umls/lch_nw", code: "sh85047994" }, + { system: "http://loinc.org", code: "MTHU013518" }, + { system: "http://www.nlm.nih.gov/research/umls/mdr", code: "10005911" }, + { system: "http://www.nlm.nih.gov/research/umls/medcin", code: "6005" }, + { system: "http://www.nlm.nih.gov/research/umls/medlineplus", code: "511" }, + { system: "http://www.nlm.nih.gov/research/umls/msh", code: "D005334" }, + { system: "http://www.nlm.nih.gov/research/umls/mthicd9", code: "780.60" }, + { system: "http://www.nlm.nih.gov/research/umls/nanda-i", code: "01128" }, + { system: "http://ncimeta.nci.nih.gov", code: "C3038" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_ctcae", code: "E11102" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_fda", code: "1858" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_gdc", code: "C3038" }, + { + system: "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + code: "CDR0000450108", + }, + { system: "http://www.nlm.nih.gov/research/umls/nci_nichd", code: "C3038" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_cadsr", code: "C3038" }, + { system: "http://www.nlm.nih.gov/research/umls/noc", code: "070307" }, + { system: "http://www.nlm.nih.gov/research/umls/omim", code: "MTHU005439" }, + { system: "http://www.nlm.nih.gov/research/umls/oms", code: "50.03" }, + { system: "http://www.nlm.nih.gov/research/umls/pcds", code: "PRB_11020.02" }, + { system: "http://www.nlm.nih.gov/research/umls/pdq", code: "CDR0000775882" }, + { system: "http://www.nlm.nih.gov/research/umls/psy", code: "23840" }, + { system: "http://www.nlm.nih.gov/research/umls/qmr", code: "Q0200115" }, + { system: "http://www.nlm.nih.gov/research/umls/rcd", code: "X76EI" }, + { system: "http://snomed.info/sct", code: "F-03003" }, + { system: "http://snomed.info/sct/900000000000207008", code: "F-03003" }, + { system: "http://snomed.info/sct/731000124108", code: "386661006" }, + { system: "http://www.nlm.nih.gov/research/umls/who", code: "0725" }, + ], + text: "fever", + }, + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + encounter: { + reference: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + type: "Encounter", + display: "unknown", + }, + interpretation: [ + { + coding: [ + { + system: + "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + code: "POS", + display: "Positive", + }, + ], + text: "Positive", + }, + ], + }, + }, + { + fullUrl: "MedicationStatement/a2b01543-f52c-44dc-bdac-f501dbd9a8e1", + resource: { + resourceType: "MedicationStatement", + id: "a2b01543-f52c-44dc-bdac-f501dbd9a8e1", + extension: [ + { + extension: [ + { url: "offset", valueInteger: 77 }, + { url: "length", valueInteger: 10 }, + ], + url: "http://hl7.org/fhir/StructureDefinition/derivation-reference", + }, + ], + status: "active", + medicationCodeableConcept: { + coding: [ + { + system: "http://www.nlm.nih.gov/research/umls", + code: "C0030842", + display: "Penicillin", + }, + { system: "http://www.nlm.nih.gov/research/umls/aod", code: "0000019206" }, + { system: "http://www.whocc.no/atc", code: "J01C" }, + { system: "http://www.nlm.nih.gov/research/umls/ccpss", code: "0014106" }, + { system: "http://www.nlm.nih.gov/research/umls/chv", code: "0000009423" }, + { system: "http://www.nlm.nih.gov/research/umls/csp", code: "0199-8025" }, + { system: "http://www.nlm.nih.gov/research/umls/gs", code: "4011" }, + { system: "http://www.nlm.nih.gov/research/umls/lch", code: "U003521" }, + { system: "http://www.nlm.nih.gov/research/umls/lch_nw", code: "sh85099402" }, + { system: "http://loinc.org", code: "LP14319-5" }, + { system: "http://www.nlm.nih.gov/research/umls/medcin", code: "40319" }, + { system: "http://www.nlm.nih.gov/research/umls/mmsl", code: "d00116" }, + { system: "http://www.nlm.nih.gov/research/umls/msh", code: "D010406" }, + { system: "http://ncimeta.nci.nih.gov", code: "C1500" }, + { system: "http://www.nlm.nih.gov/research/umls/nci_dtp", code: "NSC0402815" }, + { + system: "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + code: "CDR0000045296", + }, + { system: "http://www.nlm.nih.gov/research/umls/nddf", code: "016121" }, + { system: "http://www.nlm.nih.gov/research/umls/psy", code: "37190" }, + { system: "http://www.nlm.nih.gov/research/umls/rcd", code: "x009C" }, + { system: "http://snomed.info/sct", code: "E-7260" }, + { system: "http://snomed.info/sct/900000000000207008", code: "C-54000" }, + { system: "http://snomed.info/sct/731000124108", code: "764146007" }, + { system: "http://hl7.org/fhir/ndfrt", code: "4019880" }, + ], + text: "Penicillin", + }, + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + context: { + reference: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + type: "Encounter", + display: "unknown", + }, + }, + }, + { + fullUrl: "List/98e197dc-88d1-4a69-92bc-61124d3a2a43", + resource: { + resourceType: "List", + id: "98e197dc-88d1-4a69-92bc-61124d3a2a43", + status: "current", + mode: "snapshot", + title: "General", + subject: { + reference: "Patient/6782afcc-6db5-4840-9c8f-9f720bc698a7", + type: "Patient", + }, + encounter: { + reference: "Encounter/3e8c7a13-cb3f-41f7-8eac-5b0367624ce8", + type: "Encounter", + display: "unknown", + }, + entry: [ + { + item: { + reference: "Condition/a2aa3b2d-a641-4361-864b-090ca3452110", + type: "Condition", + display: "Meningitis", + }, + }, + { + item: { + reference: "Observation/392011e3-70f1-4bae-a7c5-f05f21403d21", + type: "Observation", + display: "fever", + }, + }, + { + item: { + reference: "MedicationStatement/a2b01543-f52c-44dc-bdac-f501dbd9a8e1", + type: "MedicationStatement", + display: "Penicillin", + }, + }, + ], + }, + }, + ], + }, + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation26: AnalyzeBatchResult[] = [ + { + kind: "Healthcare", + results: [ + { + entities: [ + { + dataSources: [ + { name: "UMLS", entityId: "C0020538" }, + { name: "AOD", entityId: "0000023317" }, + { name: "BI", entityId: "BI00001" }, + { name: "CCPSS", entityId: "1017493" }, + { name: "CCS", entityId: "7.1" }, + { name: "CHV", entityId: "0000015800" }, + { name: "COSTAR", entityId: "397" }, + { name: "CSP", entityId: "0571-5243" }, + { name: "CST", entityId: "HYPERTENS" }, + { name: "DXP", entityId: "U002034" }, + { name: "HPO", entityId: "HP:0000822" }, + { name: "ICD10", entityId: "I10-I15.9" }, + { name: "ICD10AM", entityId: "I10-I15.9" }, + { name: "ICD10CM", entityId: "I10" }, + { name: "ICD9CM", entityId: "997.91" }, + { name: "ICPC2ICD10ENG", entityId: "MTHU035456" }, + { name: "ICPC2P", entityId: "K85004" }, + { name: "LCH", entityId: "U002317" }, + { name: "LCH_NW", entityId: "sh85063723" }, + { name: "LNC", entityId: "LA14293-7" }, + { name: "MDR", entityId: "10020772" }, + { name: "MEDCIN", entityId: "33288" }, + { name: "MEDLINEPLUS", entityId: "34" }, + { name: "MSH", entityId: "D006973" }, + { name: "MTH", entityId: "005" }, + { name: "MTHICD9", entityId: "997.91" }, + { name: "NANDA-I", entityId: "00905" }, + { name: "NCI", entityId: "C3117" }, + { name: "NCI_CPTAC", entityId: "C3117" }, + { name: "NCI_CTCAE", entityId: "E13785" }, + { name: "NCI_CTRP", entityId: "C3117" }, + { name: "NCI_FDA", entityId: "1908" }, + { name: "NCI_GDC", entityId: "C3117" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000458091" }, + { name: "NCI_NICHD", entityId: "C3117" }, + { name: "NCI_caDSR", entityId: "C3117" }, + { name: "NOC", entityId: "060808" }, + { name: "OMIM", entityId: "MTHU002068" }, + { name: "PCDS", entityId: "PRB_11000.06" }, + { name: "PDQ", entityId: "CDR0000686951" }, + { name: "PSY", entityId: "23830" }, + { name: "RCD", entityId: "XE0Ub" }, + { name: "SNM", entityId: "F-70700" }, + { name: "SNMI", entityId: "D3-02000" }, + { name: "SNOMEDCT_US", entityId: "38341003" }, + { name: "WHO", entityId: "0210" }, + ], + text: "high blood pressure", + category: "SymptomOrSign", + offset: 29, + length: 19, + confidenceScore: 1, + assertion: { certainty: "negative" }, + normalizedText: "Hypertensive disease", + }, + ], + entityRelations: [], + id: "0", + warnings: [], + }, + { + entities: [ + { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + ], + entityRelations: [ + { + relationType: "DosageOfMedication", + roles: [ + { + entity: { + dataSources: [], + text: "100mg", + category: "Dosage", + offset: 11, + length: 5, + confidenceScore: 0.98, + }, + name: "Dosage", + }, + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + ], + }, + { + relationType: "FrequencyOfMedication", + roles: [ + { + entity: { + dataSources: [ + { name: "UMLS", entityId: "C0020740" }, + { name: "AOD", entityId: "0000019879" }, + { name: "ATC", entityId: "M01AE01" }, + { name: "CCPSS", entityId: "0046165" }, + { name: "CHV", entityId: "0000006519" }, + { name: "CSP", entityId: "2270-2077" }, + { name: "DRUGBANK", entityId: "DB01050" }, + { name: "GS", entityId: "1611" }, + { name: "LCH_NW", entityId: "sh97005926" }, + { name: "LNC", entityId: "LP16165-0" }, + { name: "MEDCIN", entityId: "40458" }, + { name: "MMSL", entityId: "d00015" }, + { name: "MSH", entityId: "D007052" }, + { name: "MTHSPL", entityId: "WK2XYI10QM" }, + { name: "NCI", entityId: "C561" }, + { name: "NCI_CTRP", entityId: "C561" }, + { name: "NCI_DCP", entityId: "00803" }, + { name: "NCI_DTP", entityId: "NSC0256857" }, + { name: "NCI_FDA", entityId: "WK2XYI10QM" }, + { name: "NCI_NCI-GLOSS", entityId: "CDR0000613511" }, + { name: "NDDF", entityId: "002377" }, + { name: "PDQ", entityId: "CDR0000040475" }, + { name: "RCD", entityId: "x02MO" }, + { name: "RXNORM", entityId: "5640" }, + { name: "SNM", entityId: "E-7772" }, + { name: "SNMI", entityId: "C-603C0" }, + { name: "SNOMEDCT_US", entityId: "387207008" }, + { name: "USP", entityId: "m39860" }, + { name: "USPMG", entityId: "MTHU000060" }, + { name: "VANDF", entityId: "4017840" }, + ], + text: "ibuprofen", + category: "MedicationName", + offset: 17, + length: 9, + confidenceScore: 1, + normalizedText: "ibuprofen", + }, + name: "Medication", + }, + { + entity: { + dataSources: [], + text: "twice daily", + category: "Frequency", + offset: 34, + length: 11, + confidenceScore: 1, + }, + name: "Frequency", + }, + ], + }, + ], + id: "1", + warnings: [], + }, + ], + completedOn, + modelVersion, + }, + { + kind: "EntityRecognition", + results: [ + { + id: "0", + warnings: [], + entities: [ + { text: "Patient", category: "PersonType", offset: 0, length: 7, confidenceScore: 0.99 }, + ], + }, + { + id: "1", + warnings: [], + entities: [ + { + text: "100mg", + category: "Quantity", + subCategory: "Dimension", + offset: 11, + length: 5, + confidenceScore: 0.8, + }, + { text: "ibuprofen", category: "Product", offset: 17, length: 9, confidenceScore: 0.89 }, + { + text: "daily", + category: "DateTime", + subCategory: "Set", + offset: 40, + length: 5, + confidenceScore: 0.8, + }, + ], + }, + ], + completedOn, + modelVersion, + }, + { + kind: "PiiEntityRecognition", + results: [ + { + id: "0", + warnings: [], + redactedText: "******* does not suffer from high blood pressure.", + entities: [ + { text: "Patient", category: "PersonType", offset: 0, length: 7, confidenceScore: 0.94 }, + ], + }, + { + id: "1", + warnings: [], + redactedText: "Prescribed 100mg ibuprofen, taken twice *****.", + entities: [ + { + text: "daily", + category: "DateTime", + subCategory: "Set", + offset: 40, + length: 5, + confidenceScore: 0.8, + }, + ], + }, + ], + completedOn, + modelVersion, + }, + { + kind: "SentimentAnalysis", + results: [ + { + id: "0", + warnings: [], + sentiment: "positive", + confidenceScores: { positive: 0.99, neutral: 0.01, negative: 0 }, + sentences: [ + { + text: "Patient does not suffer from high blood pressure.", + sentiment: "positive", + confidenceScores: { positive: 0.99, neutral: 0.01, negative: 0 }, + offset: 0, + length: 49, + opinions: [ + { + target: { + sentiment: "positive", + confidenceScores: { positive: 0.94, negative: 0.06 }, + offset: 0, + length: 7, + text: "Patient", + }, + assessments: [ + { + sentiment: "positive", + confidenceScores: { positive: 0.94, negative: 0.06 }, + offset: 17, + length: 6, + text: "suffer", + isNegated: true, + }, + ], + }, + ], + }, + ], + }, + { + id: "1", + warnings: [], + sentiment: "neutral", + confidenceScores: { positive: 0.03, neutral: 0.89, negative: 0.08 }, + sentences: [ + { + text: "Prescribed 100mg ibuprofen, taken twice daily.", + sentiment: "neutral", + confidenceScores: { positive: 0.03, neutral: 0.89, negative: 0.08 }, + offset: 0, + length: 46, + opinions: [], + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation27: AnalyzeBatchResult[] = [ + { + kind: "ExtractiveSummarization", + results: [ + { + id: "0", + warnings: [], + sentences: [ + { + text: "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + rankScore: 0.35, + offset: 526, + length: 160, + }, + { + text: "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + rankScore: 0.69, + offset: 2453, + length: 156, + }, + { + text: "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today’s login-from-anywhere, mobile and elastic workforces.", + rankScore: 1, + offset: 2610, + length: 156, + }, + ], + }, + { + id: "1", + warnings: [], + sentences: [ + { + text: "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + rankScore: 0.9, + offset: 479, + length: 224, + }, + { + text: "It enables employees accustomed to working from home to continue working from home;", + rankScore: 1, + offset: 1337, + length: 83, + }, + { + text: "it enables companies to hire interns from halfway around the world;", + rankScore: 0.71, + offset: 1421, + length: 67, + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation28: AnalyzeBatchResult[] = [ + { + kind: "ExtractiveSummarization", + results: [ + { + id: "0", + warnings: [], + sentences: [ + { + text: "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + rankScore: 0.69, + offset: 2453, + length: 156, + }, + { + text: "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today’s login-from-anywhere, mobile and elastic workforces.", + rankScore: 1, + offset: 2610, + length: 156, + }, + ], + }, + { + id: "1", + warnings: [], + sentences: [ + { + text: "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + rankScore: 0.9, + offset: 479, + length: 224, + }, + { + text: "It enables employees accustomed to working from home to continue working from home;", + rankScore: 1, + offset: 1337, + length: 83, + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; + +export const expectation29: AnalyzeBatchResult[] = [ + { + kind: "ExtractiveSummarization", + results: [ + { + id: "0", + warnings: [], + sentences: [ + { + text: "Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today’s login-from-anywhere, mobile and elastic workforces.", + rankScore: 1, + offset: 2610, + length: 156, + }, + { + text: "Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service.", + rankScore: 0.69, + offset: 2453, + length: 156, + }, + { + text: "The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities.", + rankScore: 0.35, + offset: 526, + length: 160, + }, + ], + }, + { + id: "1", + warnings: [], + sentences: [ + { + text: "It enables employees accustomed to working from home to continue working from home;", + rankScore: 1, + offset: 1337, + length: 83, + }, + { + text: "In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account.", + rankScore: 0.9, + offset: 479, + length: 224, + }, + { + text: "it enables companies to hire interns from halfway around the world;", + rankScore: 0.71, + offset: 1421, + length: 67, + }, + ], + }, + ], + completedOn, + modelVersion, + }, +]; diff --git a/sdk/textanalytics/ai-text-analytics/test/public/inputs.ts b/sdk/textanalytics/ai-text-analytics/test/public/inputs.ts new file mode 100644 index 000000000000..94ff8c101485 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/test/public/inputs.ts @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +// Source: https://news.microsoft.com/innovation-stories/cloud-pc-windows-365/ +export const windows365ArticlePart1 = ` + No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years. + + Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world. + + The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors. + + Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut. + + “Traditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,” he explained. “Based on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.” + + “Now, with Windows 365, we can do that within less than an hour of the account being created,” he said. + + Windows 365 puts Microsoft’s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection. + + The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today’s login-from-anywhere, mobile and elastic workforces. + + “Windows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not – maybe it was too costly, too complex or they didn’t have the expertise in house to do it,” said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia. + + With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs. + + The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user’s choosing from anywhere with an internet connection. + + “You want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office – you want them to have that same experience,” he said. “And you want them to have that experience in such a way that it feels familiar to them. It’s not this jolting thing that takes away all the things they love about Windows.” + + Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft’s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365. + + The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience – gamers – lacks an IT department to lean on when things glitch. “That started me thinking, ‘How do we build something that doesn’t require IT intervention, something that could truly scale to the consumer market?’” Manchester said. + + The consumer experience was Manchester’s benchmark when he started work on virtualization. + + “I took note of every time there was something that didn’t quite deliver on that,” he said. “And, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.” + + Covering that ground led to improvements in Microsoft’s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT. + + To lead the development of Windows 365, Manchester leaned into his Arcadia mindset. + + “When we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,” he said. + + Soon after this bar was set, and the first batch of hires made – a handful of experts in virtualization and user experience – COVID-19 hit and changed the world. + + “We hired everybody else during the pandemic,” Manchester said. “They were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations – their bar was the experience they had on their laptop – and we basically used Windows 365 to build Windows 365.” + + As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC. + + “We’re giving you Windows from the cloud,” Manchester said. + `; +export const windows365ArticlePart2 = ` + Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but “what really put the firecracker behind it was the pandemic, it accelerated everything,” McKelvey said. She explained that customers were asking, “’How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?” + In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there – in the office, at home or a coffee shop. + “And then, when you’re done, you’re done. You won’t have any issues around security because you’re not saving anything on your device,” McKelvey said, noting that all the data is stored in the cloud. + The ability to login to a Cloud PC from anywhere on any device is part of Microsoft’s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise. + “I think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,” McKelvey said. + The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure. + We didn’t run it for very long,” he said. “It didn’t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.” + He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government’s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester’s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly. + “The impact that I believe we are finding, and the impact that we’re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,” he said. + “Being able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.” + `; diff --git a/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts deleted file mode 100644 index 3b4c2ffa422d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert } from "chai"; - -import { DetectLanguageResultArray, DetectLanguageSuccessResult } from "../../src"; -import { createClient } from "./utils/recordedClient"; - -import { PipelineRequest, PipelineResponse, createHttpHeaders } from "@azure/core-rest-pipeline"; - -describe("TextAnalyticsClient Custom PipelineOptions", function () { - it("use custom HTTPClient", async () => { - const pipelineTester = new Promise((resolve) => { - const client = createClient({ - authMethod: "DummyAPIKey", - clientOptions: { - httpClient: { - sendRequest: async (request: PipelineRequest): Promise => ({ - status: 200, - request, - bodyAsText: JSON.stringify({ - documents: [ - { id: "0", detectedLanguage: { name: "English", iso6391Name: "en", score: 1.0 } }, - ], - errors: [], - modelVersion: "2019-10-01", - }), - headers: createHttpHeaders(), - }), - }, - }, - }); - - return client.detectLanguage(["Hello!"], "us").then((languages) => resolve(languages)); - }); - - const [result] = await pipelineTester; - assert.ok(result.error === undefined); - assert.ok((result as DetectLanguageSuccessResult).id === "0"); - assert.ok((result as DetectLanguageSuccessResult).primaryLanguage.iso6391Name === "en"); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts deleted file mode 100644 index 8ae6e0cee8fb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts +++ /dev/null @@ -1,2949 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ - -import { assert, use as chaiUse } from "chai"; -import { Suite, Context } from "mocha"; -import chaiPromises from "chai-as-promised"; -chaiUse(chaiPromises); - -import { matrix, getYieldedValue } from "@azure/test-utils"; -import { assertEnvironmentVariable, isPlaybackMode, Recorder } from "@azure-tools/test-recorder"; - -import { AuthMethod, createClient, startRecorder } from "./utils/recordedClient"; -import { - TextAnalyticsClient, - TextDocumentInput, - DetectLanguageInput, - DetectLanguageSuccessResult, - AnalyzeSentimentResultArray, - AnalyzeSentimentSuccessResult, - SentenceSentiment, - Opinion, - AssessmentSentiment, - PiiEntityDomain, -} from "../../src"; -import { assertAllSuccess, isSuccess } from "./utils/resultHelper"; -import { checkEntityTextOffset, checkOffsetAndLength } 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.", -]; - -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.", -]; - -matrix([["APIKey", "AAD"]] 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(async function (this: Context) { - recorder = await startRecorder(this.currentTest); - client = createClient({ authMethod, recorder }); - 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); - }); - - 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); - }); - - 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"); - }); - - 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"]); - } - }); - - 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 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 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); - }) - ); - }); - - 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); - }); - }); - - 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); - }); - }); - - 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"); - }); - - 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("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"); - } - - assert.equal(result.error.code, "InvalidCountryHint"); - }); - - 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/); - }); - - 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("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"); - } - - 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.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: any) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Invalid document in request. 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/); - }); - - 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("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"); - } - - 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); - }); - }); - - describe("#recognizePiiEntities", function () { - it("client throws on empty list", async function () { - return assert.isRejected(client.recognizePiiEntities([])); - }); - - 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 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 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("service errors on unsupported language", async function () { - const [result] = await client.recognizePiiEntities( - ["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 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)); - }); - - 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 ************" - ); - } - }); - - 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 ***********"); - } - }); - - 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("#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: any) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Invalid document in request. Batch request contains too many records. Max 5 records are permitted." - ); - } - }); - }); - - 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 with 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 - ); - }); - }); - 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 with 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); - }); - }); - 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 with 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 - }); - }); - }); - }); - - describe("LROs", function () { - const pollingInterval = isPlaybackMode() ? 0 : 2000; - - before(function (this: Context) { - this.timeout(isPlaybackMode() ? fastTimeout : CLITimeout); - }); - - /** - * The service's rate limit is sometimes reached for the beginAnalyzeActions tests - * because of the many requests the tests send. It appears that the number of - * max retries should be big enough to get around this issue. 10 seems to work - * fine for now. - */ - describe("#analyze", function () { - it("single custom entity recognition action", async function () { - const docs = [ - { - id: "1", - language: "en", - text: "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - }, - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeCustomEntitiesActions: [ - { - projectName: assertEnvironmentVariable( - "TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_PROJECT_NAME" - ), - deploymentName: assertEnvironmentVariable( - "TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_DEPLOYMENT_NAME" - ), - }, - ], - }, - { - updateIntervalInMs: pollingInterval, - } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const entitiesResult = page.recognizeCustomEntitiesResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - for (const result of action.results) { - if (!result.error) { - assert.isDefined(result.id); - assert.isDefined(result.entities); - for (const entity of result.entities) { - assert.isDefined(entity.category, "entity category not found"); - assert.isDefined(entity.confidenceScore, "confidence score not found"); - assert.isDefined(entity.length, "length not found"); - assert.isDefined(entity.offset, "offset not found"); - assert.isDefined(entity.text, "text not found"); - } - } 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("single custom document single category classification action", async function () { - const docs = [ - { - id: "1", - language: "en", - text: "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - }, - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - singleCategoryClassifyActions: [ - { - projectName: assertEnvironmentVariable( - "TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_PROJECT_NAME" - ), - deploymentName: assertEnvironmentVariable( - "TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_DEPLOYMENT_NAME" - ), - }, - ], - }, - { - updateIntervalInMs: pollingInterval, - } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const classificationResult = page.singleCategoryClassifyResults; - if (classificationResult.length === 1) { - const action = classificationResult[0]; - if (!action.error) { - for (const result of action.results) { - if (!result.error) { - assert.ok(result.id); - assert.ok(result.classification); - assert.ok(result.classification.category); - assert.ok(result.classification.confidenceScore); - } else { - assert.fail("did not expect document errors but got one."); - } - } - } - } else { - assert.fail( - `expected an array of single category classification results but got: ${JSON.stringify( - classificationResult - )}` - ); - } - } - }); - - it("single custom document multiple category classification action", async function () { - const docs = [ - { - id: "1", - language: "en", - text: "A recent report by the Government Accountability Office (GAO) found that the dramatic increase in oil and natural gas development on federal lands over the past six years has stretched the staff of the BLM to a point that it has been unable to meet its environmental protection responsibilities.", - }, - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - multiCategoryClassifyActions: [ - { - projectName: assertEnvironmentVariable( - "TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_PROJECT_NAME" - ), - deploymentName: assertEnvironmentVariable( - "TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_DEPLOYMENT_NAME" - ), - }, - ], - }, - { - updateIntervalInMs: pollingInterval, - } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const classificationResult = page.multiCategoryClassifyResults; - if (classificationResult.length === 1) { - const action = classificationResult[0]; - if (!action.error) { - for (const result of action.results) { - if (!result.error) { - assert.ok(result.id); - assert.ok(result.classifications); - for (const classification of result.classifications) { - assert.ok(classification.category); - assert.ok(classification.confidenceScore); - } - } else { - assert.fail( - `did not expect document errors but got: ${JSON.stringify( - classificationResult - )}` - ); - } - } - } - } else { - assert.fail( - "expected an array of multi category classification results but did not get one." - ); - } - } - }); - - it("single extract summary action", async function () { - // Source: https://news.microsoft.com/innovation-stories/cloud-pc-windows-365/ - const windows365ArticlePart1 = ` - No roads or rails connect the 39,000 people dispersed across Nunavut, a territory in northeastern Canada that spans three time zones and features fjord-cut isles that stretch into the Arctic Circle off the west coast of Greenland. About 80% of the population is of Inuit descent with cultural ties to the land that date back more than 4,000 years. - - Today, low-bandwidth satellite internet service links the people of Nunavut to each other and with the rest of the world. - - The Government of Nunavut relies on this internet link to provide healthcare, education, housing and family, and financial and other services to 25 communities. The smallest, Grise Fiord, has a population of 130; the largest, the capital, Iqaluit, has 8,500 people. About 3,100 people work full-time for the government, which has an office in each community. Another 3,000 people work for the government as relief workers, casual, term or contractors. - - Managing information technology for this dispersed and elastic workforce is a constant challenge for Martin Joy, director of information communication and technology for the Government of Nunavut. - - “Traditionally, in IT, you would have to send a device or mail a device to that end user. In Nunavut, there is no road, there is no logistical framework that allows us to move stuff cost-effectively, so everything has to be flown,” he explained. “Based on weather, based on the types of cargo flows, that could take a considerable amount of time. It could take two to three weeks for us to get a user a device to get them onboarded securely into our environment.” - - “Now, with Windows 365, we can do that within less than an hour of the account being created,” he said. - - Windows 365 puts Microsoft’s flagship operating system in the cloud. Users select Windows 10 or Windows 11, once it is generally available later this calendar year, along with a configuration of processing power, storage and memory that suits their needs. They then access their Cloud PC through a native application or web browser on any device, from anywhere with an internet connection. - - The creation of the Cloud PC follows other products and services to the cloud, from Windows Server on Azure to the suite of Microsoft Office productivity applications in Microsoft 365. Windows is already accessible in the cloud via Azure Virtual Desktop, which offers customers flexibility to create and run their own virtualization service. Windows 365 is a new virtualization technology for Windows that is easy to set up and deploy for today’s login-from-anywhere, mobile and elastic workforces. - - “Windows 365 is really going to make a huge difference for organizations that wanted to try virtualization for various reasons but could not – maybe it was too costly, too complex or they didn’t have the expertise in house to do it,” said Wangui McKelvey, general manager of Microsoft 365, who works from a home office in Atlanta, Georgia. - - With Windows 365, she added, IT admins can manage and deploy Cloud PCs using the same tools they use today to manage physical PCs. - - The remote and hybrid workforces of today and tomorrow were top of mind for Scott Manchester when he set out to develop Windows 365. The director of program management for Windows 365 in Redmond, Washington, wanted to deliver an experience with the look, feel and security of a traditional Windows PC, only accessed through a native app or web browser on a device of the user’s choosing from anywhere with an internet connection. - - “You want them to be able to get access to their corporate resources, applications, databases and HR tools, and do all the things they do in a typical workday sitting in the office – you want them to have that same experience,” he said. “And you want them to have that experience in such a way that it feels familiar to them. It’s not this jolting thing that takes away all the things they love about Windows.” - - Virtualization, he noted, can be challenging to set up and maintain, especially for organizations without dedicated IT resources. IT consulting firms do brisk business working with companies to set up virtualization solutions and staffing help desks to field calls from employees when they run into complications. Manchester knows this because he worked on Microsoft’s Windows virtualization technologies for nearly two decades prior to leading the development of Windows 365. - - The inspiration for Windows 365 came earlier, when he was assigned to an internal team at Microsoft working on a project, code named Arcadia, a consumer-facing service that would stream video games from the cloud. The target audience – gamers – lacks an IT department to lean on when things glitch. “That started me thinking, ‘How do we build something that doesn’t require IT intervention, something that could truly scale to the consumer market?’” Manchester said. - - The consumer experience was Manchester’s benchmark when he started work on virtualization. - - “I took note of every time there was something that didn’t quite deliver on that,” he said. “And, as I started meeting with customers and partners and learning about how they fill in these gaps either by setting expectations of their workforce or having an IT department that picks up the phone and deals with those situations, I realized we had some ground to cover.” - - Covering that ground led to improvements in Microsoft’s business offering now known as Azure Virtual Desktop. This offering continues to experience accelerated growth among customers who need full customization and control over their operating environment and have the resources for dedicated IT staff to support the system, Manchester noted. Windows 365 is for the approximate 80% of the marketplace that lacks the need for full customization or the resources for dedicated IT. - - To lead the development of Windows 365, Manchester leaned into his Arcadia mindset. - - “When we built this team, we brought in a couple of leaders who had experience with virtualization, but for the most part we brought in people who had experience with Windows and experience with consumer experiences because that was the bar we wanted to set,” he said. - - Soon after this bar was set, and the first batch of hires made – a handful of experts in virtualization and user experience – COVID-19 hit and changed the world. - - “We hired everybody else during the pandemic,” Manchester said. “They were remote. They were living all over the U.S., Australia, Europe and China. Many of them have never set foot in the office. And as soon as we got far enough along with the development, we moved those people to use the service. People who never used virtualization before, had no expectations – their bar was the experience they had on their laptop – and we basically used Windows 365 to build Windows 365.” - - As the team used the service and encountered bugs in the system, they worked through and solved them on their way to creating a unique category of virtualization, the Cloud PC. - - “We’re giving you Windows from the cloud,” Manchester said. - `; - const windows365ArticlePart2 = ` - Windows 365 was in the works before COVID-19 sent companies around the world on a scramble to secure solutions to support employees suddenly forced to work from home, but “what really put the firecracker behind it was the pandemic, it accelerated everything,” McKelvey said. She explained that customers were asking, “’How do we create an experience for people that makes them still feel connected to the company without the physical presence of being there?” - - In this new world of Windows 365, remote workers flip the lid on their laptop, bootup the family workstation or clip a keyboard onto a tablet, launch a native app or modern web browser and login to their Windows 365 account. From there, their Cloud PC appears with their background, apps, settings and content just as they left it when they last were last there – in the office, at home or a coffee shop. - - “And then, when you’re done, you’re done. You won’t have any issues around security because you’re not saving anything on your device,” McKelvey said, noting that all the data is stored in the cloud. - - The ability to login to a Cloud PC from anywhere on any device is part of Microsoft’s larger strategy around tailoring products such as Microsoft Teams and Microsoft 365 for the post-pandemic hybrid workforce of the future, she added. It enables employees accustomed to working from home to continue working from home; it enables companies to hire interns from halfway around the world; it allows startups to scale without requiring IT expertise. - - “I think this will be interesting for those organizations who, for whatever reason, have shied away from virtualization. This is giving them an opportunity to try it in a way that their regular, everyday endpoint admin could manage,” McKelvey said. - - The simplicity of Windows 365 won over Dean Wells, the corporate chief information officer for the Government of Nunavut. His team previously attempted to deploy a traditional virtual desktop infrastructure and found it inefficient and unsustainable given the limitations of low-bandwidth satellite internet and the constant need for IT staff to manage the network and infrastructure. - - We didn’t run it for very long,” he said. “It didn’t turn out the way we had hoped. So, we actually had terminated the project and rolled back out to just regular PCs.” - - He re-evaluated this decision after the Government of Nunavut was hit by a ransomware attack in November 2019 that took down everything from the phone system to the government’s servers. Microsoft helped rebuild the system, moving the government to Teams, SharePoint, OneDrive and Microsoft 365. Manchester’s team recruited the Government of Nunavut to pilot Windows 365. Wells was intrigued, especially by the ability to manage the elastic workforce securely and seamlessly. - - “The impact that I believe we are finding, and the impact that we’re going to find going forward, is being able to access specialists from outside the territory and organizations outside the territory to come in and help us with our projects, being able to get people on staff with us to help us deliver the day-to-day expertise that we need to run the government,” he said. - - “Being able to improve healthcare, being able to improve education, economic development is going to improve the quality of life in the communities.” - `; - const docs = [windows365ArticlePart1, windows365ArticlePart2]; - const maxSentenceCount = 5; - const poller = await client.beginAnalyzeActions( - docs, - { - extractSummaryActions: [ - { modelVersion: "latest", orderBy: "Offset", maxSentenceCount: maxSentenceCount }, - ], - }, - "en", - { - updateIntervalInMs: pollingInterval, - } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const extractSummaryResult = page.extractSummaryResults; - if (extractSummaryResult.length === 1) { - const action = extractSummaryResult[0]; - if (!action.error) { - for (const result of action.results) { - if (!result.error) { - assert.isDefined(result.id); - assert.isDefined(result.sentences); - assert.equal(result.sentences.length, maxSentenceCount); - for (const sentence of result.sentences) { - assert.isDefined(sentence.text); - assert.isDefined(sentence.rankScore); - assert.isDefined(sentence.offset); - assert.isDefined(sentence.length); - } - } 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("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 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("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("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("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("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("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", - "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("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: any) { - assert.equal(e.statusCode, 400); - } - }); - - 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); - } - } 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."); - } - - 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("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."); - } - } - }); - - 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 = getYieldedValue(await response.next()); - 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); - } - }); - - 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); - } - } - } - } - }); - - 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); - } - } - } - } - }); - - 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); - } - } - } - } - }); - - 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); - } - } - } - } - }); - - 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 = getYieldedValue(await result.next()); - 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"); - } - } - 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) { - if (docCount === totalDocs) { - 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("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); - } - } - } - } - } - }); - - 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); - }); - - 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 = getYieldedValue(await pollerResult.next()); - 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("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: any) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidRequest"); - } - }); - - it("duplicate actions of the same type are disallowed", async function () { - const docs = [{ id: "1", text: "I will go to the park." }]; - - try { - const response = await client.beginAnalyzeActions( - docs, - { - recognizePiiEntitiesActions: [ - { modelVersion: "latest" }, - { modelVersion: "latest" }, - ], - }, - { - updateIntervalInMs: pollingInterval, - } - ); - assert.fail( - `expected a failure but received the following intead: ${JSON.stringify( - response, - null, - 2 - )}` - ); - } catch (e: any) { - assert.equal(e.code, "InvalidRequest"); - assert.include(e.message, "Duplicate task name"); - } - }); - - it("unique multiple actions per type are allowed", async function () { - const docs = [{ id: "1", text: "I will go to the park." }]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizePiiEntitiesActions: [ - { modelVersion: "latest", actionName: "action1" }, - { modelVersion: "latest", actionName: "action2" }, - ], - }, - { - updateIntervalInMs: pollingInterval, - } - ); - const pollerResult = await poller.pollUntilDone(); - const firstResult = getYieldedValue(await pollerResult.next()); - assert.equal(firstResult.recognizePiiEntitiesResults[0].actionName, "action1"); - assert.equal(firstResult.recognizePiiEntitiesResults[1].actionName, "action2"); - }); - }); - - 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 = getYieldedValue(await result.next()); - 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 = getYieldedValue(await result.next()); - 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 = getYieldedValue(await result.next()); - 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 = getYieldedValue(await result.next()); - const result2 = getYieldedValue(await result.next()); - const result3 = getYieldedValue(await result.next()); - 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 = getYieldedValue(await result.next()); - const result2 = getYieldedValue(await result.next()); - const result3 = getYieldedValue(await result.next()); - 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 { - await client.beginAnalyzeHealthcareEntities(docs, "en", { - updateIntervalInMs: pollingInterval, - }); - assert.fail("Oops, an exception didn't happen."); - } catch (e: any) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Invalid document in request. 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: any) { - assert.equal(e.statusCode, 413); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Invalid document in request. 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 = getYieldedValue(await result.next()); - 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 = getYieldedValue(await result.next()); - 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: any) { - assert.equal(e.code, "ModelVersionIncorrect"); - } - }); - - it("all documents have errors", async function () { - const docs = [ - { id: "1", text: "" }, - { id: "2", language: "english", text: "I did not like the hotel we stayed at." }, - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval, - }); - const doc_errors = await poller.pollUntilDone(); - assert.equal(getYieldedValue(await doc_errors.next()).error?.code, "InvalidDocument"); - assert.equal( - getYieldedValue(await doc_errors.next()).error?.code, - "UnsupportedLanguageCode" - ); - }); - - it("big document causes a warning", async function () { - let text = ""; - for (let i = 0; i < 5121; ++i) { - text = text + "x"; - } - const docs = [{ id: "3", text: text }]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval, - }); - const results = await poller.pollUntilDone(); - const docResult = getYieldedValue(await results.next()); - if (!docResult.error) { - assert.equal(docResult.warnings[0].code, "DocumentTruncated"); - } else { - assert.fail( - `Expected a warning but received an error instead with code: ${docResult.error.code}` - ); - } - }); - - 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: any) { - 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, - } - ); - let run = false; - poller.onProgress((state) => { - run = true; - 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); - assert.isTrue(run); - }); - - 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 = getYieldedValue(await pollerResult.next()); - 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 = getYieldedValue(await pollerResult.next()); - 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 f7a5993a7bcf..d5e9a810fb90 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts @@ -1,30 +1,27 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { Test } from "mocha"; - +import { AzureKeyCredential, TextAnalysisClient, TextAnalysisClientOptions } from "../../../src/"; import { - assertEnvironmentVariable, - env, Recorder, RecorderStartOptions, + assertEnvironmentVariable, + env, } from "@azure-tools/test-recorder"; -import { TokenCredential } from "@azure/identity"; +import { Test } from "mocha"; import { createTestCredential } from "@azure-tools/test-credential"; -import { AzureKeyCredential, TextAnalyticsClient, TextAnalyticsClientOptions } from "../../../src/"; - const envSetupForPlayback: { [k: string]: string } = { - TEXT_ANALYTICS_API_KEY: "api_key", + LANGUAGE_API_KEY: "api_key", // Second API key - TEXT_ANALYTICS_API_KEY_ALT: "api_key_alt", + LANGUAGE_API_KEY_ALT: "api_key_alt", ENDPOINT: "https://endpoint", - TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_PROJECT_NAME: "sanitized", - TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_DEPLOYMENT_NAME: "sanitized", - TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_PROJECT_NAME: "sanitized", - TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_DEPLOYMENT_NAME: "sanitized", - TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_PROJECT_NAME: "sanitized", - TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_DEPLOYMENT_NAME: "sanitized", + LANGUAGE_CUSTOM_ENTITY_RECOGNITION_PROJECT_NAME: "sanitized", + LANGUAGE_CUSTOM_ENTITY_RECOGNITION_DEPLOYMENT_NAME: "sanitized", + LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_PROJECT_NAME: "sanitized", + LANGUAGE_CUSTOM_SINGLE_LABEL_CLASSIFICATION_DEPLOYMENT_NAME: "sanitized", + LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_PROJECT_NAME: "sanitized", + LANGUAGE_CUSTOM_MULTI_LABEL_CLASSIFICATION_DEPLOYMENT_NAME: "sanitized", }; const recorderStartOptions: RecorderStartOptions = { @@ -36,38 +33,30 @@ export type AuthMethod = "APIKey" | "AAD" | "DummyAPIKey"; export function createClient(options: { authMethod: AuthMethod; recorder?: Recorder; - clientOptions?: TextAnalyticsClientOptions; -}): TextAnalyticsClient { + clientOptions?: TextAnalysisClientOptions; +}): TextAnalysisClient { const { authMethod, recorder, clientOptions = {} } = options; + const endpoint = env.ENDPOINT || "https://dummy.cognitiveservices.azure.com/"; + const updatedOptions = recorder ? recorder.configureClientOptions(clientOptions) : clientOptions; - let credential: AzureKeyCredential | TokenCredential; switch (authMethod) { case "APIKey": { - credential = new AzureKeyCredential(assertEnvironmentVariable("TEXT_ANALYTICS_API_KEY")); - break; + return new TextAnalysisClient( + endpoint, + new AzureKeyCredential(assertEnvironmentVariable("LANGUAGE_API_KEY")), + updatedOptions + ); } case "AAD": { - credential = createTestCredential(); - break; + return new TextAnalysisClient(endpoint, createTestCredential(), updatedOptions); } case "DummyAPIKey": { - credential = new AzureKeyCredential("whatever"); - break; + return new TextAnalysisClient(endpoint, new AzureKeyCredential("whatever"), updatedOptions); } default: { throw Error(`Unsupported authentication method: ${authMethod}`); } } - return new TextAnalyticsClient( - env.ENDPOINT || "https://dummy.cognitiveservices.azure.com/", - credential, - { - ...(recorder ? recorder.configureClientOptions(clientOptions) : clientOptions), - retryOptions: { - maxRetries: 10, - }, - } - ); } /** diff --git a/sdk/textanalytics/ai-text-analytics/test/public/utils/resultHelper.ts b/sdk/textanalytics/ai-text-analytics/test/public/utils/resultHelper.ts index a7c2fa64bc82..e71cb6ead011 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/utils/resultHelper.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/utils/resultHelper.ts @@ -1,20 +1,88 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { assert } from "chai"; +import { + AnalyzeBatchResult, + KnownTextAnalysisErrorCode, + PagedAnalyzeBatchResult, + TextAnalysisErrorResult, + TextAnalysisSuccessResult, +} from "../../../src/"; +import { assert } from "@azure/test-utils"; +import { isRestError } from "@azure/core-rest-pipeline"; -import { TextAnalyticsErrorResult, TextAnalyticsSuccessResult } from "../../../src/"; - -export function assertAllSuccess( - results: (TextAnalyticsErrorResult | TSuccess)[] +export function assertAllSuccess( + results: (TextAnalysisErrorResult | TSuccess)[] ): void { for (const result of results) { assert.ok(isSuccess(result)); } } -export function isSuccess( - res: TextAnalyticsErrorResult | TSuccess +export function isSuccess( + res: TextAnalysisErrorResult | TSuccess ): res is TSuccess { return res.error === undefined; } + +export function getSuccRes( + res: TextAnalysisErrorResult | TSuccess +): TSuccess { + if (!res.error) { + return res; + } else { + throw new Error(`Unexpected error: ${JSON.stringify(res.error)}`); + } +} + +export async function assertActionResults( + actions: PagedAnalyzeBatchResult, + expectations: AnalyzeBatchResult[], + options: { + maxPageSize?: number; + excludedAdditionalProps?: string[]; + } = {} +): Promise { + const { maxPageSize, excludedAdditionalProps = [] } = options; + let actionIndex = 0; + for await (const page of actions.byPage(maxPageSize !== undefined ? { maxPageSize } : {})) { + for (const action of page) { + assert.deepEqualExcludingEvery(action, expectations[actionIndex++], [ + "completedOn", + "modelVersion", + "deploymentName", + "projectName", + ...excludedAdditionalProps, + ] as any); + } + } +} + +export async function assertRestError( + error: Promise, + options: { + statusCode?: number; + code?: keyof typeof KnownTextAnalysisErrorCode; + messagePattern?: RegExp; + } = {} +): Promise { + const { code, statusCode, messagePattern } = options; + try { + await error; + assert.fail(`Should have failed instead!`); + } catch (e: unknown) { + if (isRestError(e)) { + if (code) { + assert.equal(e.code, code); + } + if (statusCode) { + assert.equal(e.statusCode, statusCode); + } + if (messagePattern) { + assert.match(e.message, messagePattern); + } + } else { + assert.fail(`Unexpected error: ${JSON.stringify(e)}`); + } + } +} diff --git a/sdk/textanalytics/ai-text-analytics/test/public/utils/stringIndexTypeHelpers.ts b/sdk/textanalytics/ai-text-analytics/test/public/utils/stringIndexTypeHelpers.ts index e4401ff8c4e7..45f6ee4c1a96 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/utils/stringIndexTypeHelpers.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/utils/stringIndexTypeHelpers.ts @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { Entity, StringIndexType, TextAnalysisClient } from "../../../src"; import { assert } from "chai"; -import { Entity, StringIndexType, TextAnalyticsClient } from "../../../src"; /** * calls the recognizePiiEntities on the input document and checks wether the * offset and length of the first pii entity matches the expected ones. - * @param client - a text analytics client - * @param doc - an input document to be processed by the text analytics service + * @param client - a text analysis client + * @param doc - an input document to be processed by the Cognitive Language Service * @param stringIndexType - the string index type used by the service to calculate * the offset and length of the entity text * @param offset - the expected offset of the first entity in the input document @@ -16,16 +16,20 @@ import { Entity, StringIndexType, TextAnalyticsClient } from "../../../src"; * @internal */ export async function checkOffsetAndLength( - client: TextAnalyticsClient, + client: TextAnalysisClient, doc: string, stringIndexType: StringIndexType, offset: number, length: number, callback?: (doc: string, entity: Entity, offset: number, length: number) => unknown ): Promise { - const [result] = await client.recognizePiiEntities([{ id: "0", text: doc, language: "en" }], { - stringIndexType: stringIndexType, - }); + const [result] = await client.analyze( + "PiiEntityRecognition", + [{ id: "0", text: doc, language: "en" }], + { + stringIndexType: stringIndexType, + } + ); if (!result.error) { const entity = result.entities[0]; assert.equal(entity.offset, offset); @@ -37,7 +41,7 @@ export async function checkOffsetAndLength( /** * Checks whether the offset calculated by the service matches that calculated by String.substr. - * @param doc - an input document to be processed by the text analytics service + * @param doc - an input document to be processed by the Cognitive Language Service service * @param entity - the first recognized pii entity in {@link doc} * @param offset - the expected offset of the first entity in the input document * @param length - the expected length of the first entity in the input document diff --git a/sdk/textanalytics/ai-text-analytics/tests.yml b/sdk/textanalytics/ai-text-analytics/tests.yml deleted file mode 100644 index 69fa7eaad9dc..000000000000 --- a/sdk/textanalytics/ai-text-analytics/tests.yml +++ /dev/null @@ -1,19 +0,0 @@ -trigger: none - -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml - parameters: - PackageName: "@azure/ai-text-analytics" - EnvVars: - ENDPOINT: $(js-textanalytics-test-service-endpoint) - TEXT_ANALYTICS_API_KEY: $(js-textanalytics-api-key-new) - TEXT_ANALYTICS_API_KEY_ALT: $(js-textanalytics-api-key-alt) - AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id) - AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id) - AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret) - TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_PROJECT_NAME: $(js-recognize-custom-entities-project-name) - TEXT_ANALYTICS_RECOGNIZE_CUSTOM_ENTITIES_DEPLOYMENT_NAME: $(js-recognize-custom-entities-deployment-name) - TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_PROJECT_NAME: $(js-single-category-classify-project-name) - TEXT_ANALYTICS_SINGLE_CATEGORY_CLASSIFY_DEPLOYMENT_NAME: $(js-single-category-classify-deployment-name) - TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_PROJECT_NAME: $(js-multi-category-classify-project-name) - TEXT_ANALYTICS_MULTI_CATEGORY_CLASSIFY_DEPLOYMENT_NAME: $(js-multi-category-classify-deployment-name) diff --git a/sdk/textanalytics/ai-text-analytics/tsdoc.json b/sdk/textanalytics/ai-text-analytics/tsdoc.json deleted file mode 100644 index 81c5a8a2aa2f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/tsdoc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "extends": ["../../../tsdoc.json"] -} diff --git a/sdk/textanalytics/perf-tests/text-analytics/package.json b/sdk/textanalytics/perf-tests/text-analytics/package.json index a01e4744c0ce..be4069536d05 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/package.json +++ b/sdk/textanalytics/perf-tests/text-analytics/package.json @@ -8,7 +8,7 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/ai-text-analytics": "^5.1.0-beta.5", + "@azure/ai-text-analytics": "^6.0.0-beta.1", "@azure/identity": "^2.0.1", "@azure/test-utils-perf": "^1.0.0", "dotenv": "^8.2.0" @@ -24,7 +24,7 @@ }, "private": true, "scripts": { - "perf-test:node": "ts-node test/index.spec.ts", + "perf-test:node": "npm run build && node dist-esm/index.spec.js", "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && tsc -p .", "build:samples": "echo skipped", diff --git a/sdk/textanalytics/perf-tests/text-analytics/sample.env b/sdk/textanalytics/perf-tests/text-analytics/sample.env index ceed9eb44a92..e1581791b513 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/sample.env +++ b/sdk/textanalytics/perf-tests/text-analytics/sample.env @@ -1,7 +1,7 @@ # Used in most samples. Retrieve these values from a Cognitive Services instance # in the Azure Portal. ENDPOINT="https://.cognitiveservies.azure.com/" -TEXT_ANALYTICS_API_KEY="" +LANGUAGE_API_KEY="" # Used to authenticate using Azure AD as a service principal for role-based authentication # in the tokenAuth sample. diff --git a/sdk/textanalytics/perf-tests/text-analytics/test/detectLanguage.spec.ts b/sdk/textanalytics/perf-tests/text-analytics/test/detectLanguage.spec.ts index 3b63475d26ed..a3a99b92d333 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/test/detectLanguage.spec.ts +++ b/sdk/textanalytics/perf-tests/text-analytics/test/detectLanguage.spec.ts @@ -4,12 +4,13 @@ import { PerfTest, PerfOptionDictionary, getEnvVar } from "@azure/test-utils-perf"; import { AzureKeyCredential, - TextAnalyticsClient, - DetectLanguageOptions, + TextAnalysisClient, + LanguageDetectionAction, + AnalyzeActionNames, } from "@azure/ai-text-analytics"; -import { TokenCredential, DefaultAzureCredential } from "@azure/identity"; +import { DefaultAzureCredential } from "@azure/identity"; -interface DetectLanguagePerfTestOptions extends DetectLanguageOptions { +interface DetectLanguagePerfTestOptions extends LanguageDetectionAction { "documents-count": number; } @@ -23,7 +24,7 @@ export class DetectLanguageTest extends PerfTest defaultValue: 1000, }, }; - client: TextAnalyticsClient; + client: TextAnalysisClient; docs: string[] = []; constructor() { @@ -32,20 +33,19 @@ export class DetectLanguageTest extends PerfTest this.docs = Array(this.parsedOptions["documents-count"]?.value).fill( "Detta är ett dokument skrivet på engelska." ); - let credential: TokenCredential | AzureKeyCredential; + const endpoint = getEnvVar("ENDPOINT"); try { - credential = new DefaultAzureCredential(); - } catch (e: any) { - credential = new AzureKeyCredential(process.env.TEXT_ANALYTICS_API_KEY ?? ""); + this.client = new TextAnalysisClient(endpoint, new DefaultAzureCredential()); + } catch (e) { + this.client = new TextAnalysisClient( + endpoint, + new AzureKeyCredential(process.env.LANGUAGE_API_KEY ?? "") + ); } - - const endpoint = getEnvVar("ENDPOINT"); - - this.client = new TextAnalyticsClient(endpoint, credential); } async run(): Promise { - await this.client.detectLanguage(this.docs, "en"); + await this.client.analyze(AnalyzeActionNames.LanguageDetection, this.docs, "en"); } } diff --git a/sdk/textanalytics/perf-tests/text-analytics/test/index.spec.ts b/sdk/textanalytics/perf-tests/text-analytics/test/index.spec.ts index 216fb0bbd7dd..08261b1fff67 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/test/index.spec.ts +++ b/sdk/textanalytics/perf-tests/text-analytics/test/index.spec.ts @@ -1,14 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { PerfProgram, selectPerfTest } from "@azure/test-utils-perf"; +import { createPerfProgram } from "@azure/test-utils-perf"; import { DetectLanguageTest } from "./detectLanguage.spec"; import dotenv from "dotenv"; dotenv.config(); -console.log("=== Starting the perf test ==="); - -const perfProgram = new PerfProgram(selectPerfTest([DetectLanguageTest])); +const perfProgram = createPerfProgram(DetectLanguageTest); perfProgram.run(); diff --git a/sdk/textanalytics/test-resources.json b/sdk/textanalytics/test-resources.json index 3b3c915d0f3d..06587915d059 100644 --- a/sdk/textanalytics/test-resources.json +++ b/sdk/textanalytics/test-resources.json @@ -51,11 +51,11 @@ } ], "outputs": { - "TEXT_ANALYTICS_API_KEY": { + "LANGUAGE_API_KEY": { "type": "string", "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', variables('accountName')), '2017-04-18').key1]" }, - "TEXT_ANALYTICS_API_KEY_ALT": { + "LANGUAGE_API_KEY_ALT": { "type": "string", "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts', variables('accountName')), '2017-04-18').key2]" }, diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/CHANGELOG.md b/sdk/timeseriesinsights/arm-timeseriesinsights/CHANGELOG.md index 58cbb0ff88da..436a5d27eb2c 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/CHANGELOG.md +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/CHANGELOG.md @@ -1,4 +1,51 @@ # Release History + +## 2.1.0-beta.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 2.1.0-beta.1 (2022-05-05) + +**Features** + + - Added operation group PrivateEndpointConnections + - Added operation group PrivateLinkResources + - Added Interface PrivateEndpoint + - Added Interface PrivateEndpointConnectionListResult + - Added Interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams + - Added Interface PrivateEndpointConnectionsDeleteOptionalParams + - Added Interface PrivateEndpointConnectionsGetOptionalParams + - Added Interface PrivateEndpointConnectionsListByEnvironmentOptionalParams + - Added Interface PrivateLinkResourceListResult + - Added Interface PrivateLinkResourcesListSupportedOptionalParams + - Added Interface PrivateLinkServiceConnectionState + - Added Type Alias PrivateEndpointConnection + - Added Type Alias PrivateEndpointConnectionProvisioningState + - Added Type Alias PrivateEndpointConnectionsCreateOrUpdateResponse + - Added Type Alias PrivateEndpointConnectionsGetResponse + - Added Type Alias PrivateEndpointConnectionsListByEnvironmentResponse + - Added Type Alias PrivateEndpointServiceConnectionStatus + - Added Type Alias PrivateLinkResource + - Added Type Alias PrivateLinkResourcesListSupportedResponse + - Added Type Alias PublicNetworkAccess + - Class TimeSeriesInsightsClient has a new parameter privateEndpointConnections + - Class TimeSeriesInsightsClient has a new parameter privateLinkResources + - Type Alias Gen2EnvironmentCreateOrUpdateParameters has a new parameter publicNetworkAccess + - Type Alias Gen2EnvironmentCreateOrUpdateParameters has a new parameter privateEndpointConnections + - Type Alias Gen2EnvironmentResource has a new parameter publicNetworkAccess + - Type Alias Gen2EnvironmentResource has a new parameter privateEndpointConnections + - Type Alias Gen2EnvironmentResourceProperties has a new parameter publicNetworkAccess + - Type Alias Gen2EnvironmentResourceProperties has a new parameter privateEndpointConnections + - Added Enum KnownPrivateEndpointConnectionProvisioningState + - Added Enum KnownPrivateEndpointServiceConnectionStatus + - Added Enum KnownPublicNetworkAccess + ## 2.0.0 (2022-01-21) diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/LICENSE.txt b/sdk/timeseriesinsights/arm-timeseriesinsights/LICENSE.txt deleted file mode 100644 index ea8fb1516028..000000000000 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -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/timeseriesinsights/arm-timeseriesinsights/README.md b/sdk/timeseriesinsights/arm-timeseriesinsights/README.md index f1d0f3c79653..02ecbdce1c88 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/README.md +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/README.md @@ -6,7 +6,7 @@ Time Series Insights client [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/timeseriesinsights/arm-timeseriesinsights) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-timeseriesinsights) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -16,6 +16,8 @@ Time Series Insights client - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new TimeSeriesInsightsClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new TimeSeriesInsightsClient(credential, subscriptionId); ``` diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/_meta.json b/sdk/timeseriesinsights/arm-timeseriesinsights/_meta.json index 805ab9973ad4..a474da19e0dd 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/_meta.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/timeseriesinsights/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/timeseriesinsights/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\timeseriesinsights\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\timeseriesinsights\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/api-extractor.json b/sdk/timeseriesinsights/arm-timeseriesinsights/api-extractor.json index 96d17e928572..220b8ef30355 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/api-extractor.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-timeseriesinsights.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json index 1bd204d3636a..e4a85ef61319 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for TimeSeriesInsightsClient.", - "version": "2.0.0", + "version": "2.1.0-beta.2", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-timeseriesinsights.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -101,10 +101,18 @@ "//metadata": { "constantPaths": [ { - "path": "src/TimeSeriesInsightsClient.ts", + "path": "src/timeSeriesInsightsClient.ts", "prefix": "packageDetails" } ] }, - "autoPublish": true + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights?view=azure-node-preview" + } } diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/review/arm-timeseriesinsights.api.md b/sdk/timeseriesinsights/arm-timeseriesinsights/review/arm-timeseriesinsights.api.md index 014ba68d8018..eaa33949f48e 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/review/arm-timeseriesinsights.api.md +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/review/arm-timeseriesinsights.api.md @@ -423,6 +423,8 @@ export type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateOrUpdateP timeSeriesIdProperties: TimeSeriesIdProperty[]; storageConfiguration: Gen2StorageConfigurationInput; warmStoreConfiguration?: WarmStoreConfigurationProperties; + publicNetworkAccess?: PublicNetworkAccess; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; // @public @@ -435,6 +437,8 @@ export type Gen2EnvironmentResource = EnvironmentResource & { timeSeriesIdProperties: TimeSeriesIdProperty[]; storageConfiguration: Gen2StorageConfigurationOutput; warmStoreConfiguration?: WarmStoreConfigurationProperties; + publicNetworkAccess?: PublicNetworkAccess; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; // @public @@ -442,6 +446,8 @@ export type Gen2EnvironmentResourceProperties = EnvironmentResourceProperties & timeSeriesIdProperties: TimeSeriesIdProperty[]; storageConfiguration: Gen2StorageConfigurationOutput; warmStoreConfiguration?: WarmStoreConfigurationProperties; + publicNetworkAccess?: PublicNetworkAccess; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; // @public @@ -613,6 +619,28 @@ export enum KnownLocalTimestampFormat { Embedded = "Embedded" } +// @public +export enum KnownPrivateEndpointConnectionProvisioningState { + // (undocumented) + Creating = "Creating", + // (undocumented) + Deleting = "Deleting", + // (undocumented) + Failed = "Failed", + // (undocumented) + Succeeded = "Succeeded" +} + +// @public +export enum KnownPrivateEndpointServiceConnectionStatus { + // (undocumented) + Approved = "Approved", + // (undocumented) + Pending = "Pending", + // (undocumented) + Rejected = "Rejected" +} + // @public export enum KnownPropertyType { // (undocumented) @@ -635,6 +663,14 @@ export enum KnownProvisioningState { Updating = "Updating" } +// @public +export enum KnownPublicNetworkAccess { + // (undocumented) + Disabled = "disabled", + // (undocumented) + Enabled = "enabled" +} + // @public export enum KnownReferenceDataKeyPropertyType { // (undocumented) @@ -759,12 +795,103 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption // @public export type OperationsListResponse = OperationListResult; +// @public +export interface PrivateEndpoint { + readonly id?: string; +} + +// @public +export type PrivateEndpointConnection = Resource & { + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + privateEndpoint?: PrivateEndpoint; + groupIds?: string[]; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; +}; + +// @public +export interface PrivateEndpointConnectionListResult { + value?: PrivateEndpointConnection[]; +} + +// @public +export type PrivateEndpointConnectionProvisioningState = string; + +// @public +export interface PrivateEndpointConnections { + createOrUpdate(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; + get(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; + listByEnvironment(resourceGroupName: string, environmentName: string, options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams): Promise; +} + +// @public +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; + +// @public +export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; + +// @public +export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult; + +// @public +export type PrivateEndpointServiceConnectionStatus = string; + +// @public +export type PrivateLinkResource = Resource & { + readonly groupId?: string; + readonly requiredMembers?: string[]; + requiredZoneNames?: string[]; +}; + +// @public +export interface PrivateLinkResourceListResult { + value?: PrivateLinkResource[]; +} + +// @public +export interface PrivateLinkResources { + listSupported(resourceGroupName: string, environmentName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface PrivateLinkResourcesListSupportedOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult; + +// @public +export interface PrivateLinkServiceConnectionState { + actionsRequired?: string; + description?: string; + status?: PrivateEndpointServiceConnectionStatus; +} + // @public export type PropertyType = string; // @public export type ProvisioningState = string; +// @public +export type PublicNetworkAccess = string; + // @public export type ReferenceDataKeyPropertyType = string; @@ -903,6 +1030,10 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient { // (undocumented) operations: Operations; // (undocumented) + privateEndpointConnections: PrivateEndpointConnections; + // (undocumented) + privateLinkResources: PrivateLinkResources; + // (undocumented) referenceDataSets: ReferenceDataSets; // (undocumented) subscriptionId: string; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/rollup.config.js b/sdk/timeseriesinsights/arm-timeseriesinsights/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/rollup.config.js +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/sample.env b/sdk/timeseriesinsights/arm-timeseriesinsights/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..750fcb749c34 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesCreateOrUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessPolicyCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an access policy in the specified environment. + * + * @summary Create or update an access policy in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesCreate.json + */ +async function accessPoliciesCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const parameters: AccessPolicyCreateOrUpdateParameters = { + description: "some description", + principalObjectId: "aGuid", + roles: ["Reader"] + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.createOrUpdate( + resourceGroupName, + environmentName, + accessPolicyName, + parameters + ); + console.log(result); +} + +accessPoliciesCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesDeleteSample.ts new file mode 100644 index 000000000000..ef5a24de5ff5 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesDelete.json + */ +async function accessPoliciesDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.delete( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesGetSample.ts new file mode 100644 index 000000000000..526d6dd5ddc9 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the access policy with the specified name in the specified environment. + * + * @summary Gets the access policy with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesGet.json + */ +async function accessPoliciesGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.get( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesListByEnvironmentSample.ts new file mode 100644 index 000000000000..f3d418a8be87 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available access policies associated with the environment. + * + * @summary Lists all the available access policies associated with the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesListByEnvironment.json + */ +async function accessPoliciesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +accessPoliciesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesUpdateSample.ts new file mode 100644 index 000000000000..be7008fab9d7 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/accessPoliciesUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessPolicyUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesPatchRoles.json + */ +async function accessPoliciesUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const accessPolicyUpdateParameters: AccessPolicyUpdateParameters = { + roles: ["Reader", "Contributor"] + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.update( + resourceGroupName, + environmentName, + accessPolicyName, + accessPolicyUpdateParameters + ); + console.log(result); +} + +accessPoliciesUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..01df1a007408 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsCreateOrUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Gen1EnvironmentCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an environment in the specified subscription and resource group. + * + * @summary Create or update an environment in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsCreate.json + */ +async function environmentsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const parameters: Gen1EnvironmentCreateOrUpdateParameters = { + dataRetentionTime: "P31D", + kind: "Gen1", + location: "West US", + partitionKeyProperties: [{ name: "DeviceId1", type: "String" }], + sku: { name: "S1", capacity: 1 } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginCreateOrUpdateAndWait( + resourceGroupName, + environmentName, + parameters + ); + console.log(result); +} + +environmentsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsDeleteSample.ts new file mode 100644 index 000000000000..cbcf8e390fd2 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the environment with the specified name in the specified subscription and resource group. + * + * @summary Deletes the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsDelete.json + */ +async function environmentsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.delete( + resourceGroupName, + environmentName + ); + console.log(result); +} + +environmentsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsGetSample.ts new file mode 100644 index 000000000000..5e008253ad44 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the environment with the specified name in the specified subscription and resource group. + * + * @summary Gets the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsGet.json + */ +async function environmentsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.get( + resourceGroupName, + environmentName + ); + console.log(result); +} + +environmentsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListByResourceGroupSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListByResourceGroupSample.ts new file mode 100644 index 000000000000..c1be1c674ff1 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListByResourceGroupSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available environments associated with the subscription and within the specified resource group. + * + * @summary Lists all the available environments associated with the subscription and within the specified resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListByResourceGroup.json + */ +async function environmentsByResourceGroup() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listByResourceGroup( + resourceGroupName + ); + console.log(result); +} + +environmentsByResourceGroup().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListBySubscriptionSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListBySubscriptionSample.ts new file mode 100644 index 000000000000..5404364c4bc7 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsListBySubscriptionSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available environments within a subscription, irrespective of the resource groups. + * + * @summary Lists all the available environments within a subscription, irrespective of the resource groups. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListBySubscription.json + */ +async function environmentsBySubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listBySubscription(); + console.log(result); +} + +environmentsBySubscription().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsUpdateSample.ts new file mode 100644 index 000000000000..bfd1697c087a --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/environmentsUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EnvironmentUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the environment with the specified name in the specified subscription and resource group. + * + * @summary Updates the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsPatchTags.json + */ +async function environmentsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const environmentUpdateParameters: EnvironmentUpdateParameters = { + kind: "Gen1", + tags: { someTag: "someTagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginUpdateAndWait( + resourceGroupName, + environmentName, + environmentUpdateParameters + ); + console.log(result); +} + +environmentsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..625c51502401 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesCreateOrUpdateSample.ts @@ -0,0 +1,92 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EventHubEventSourceCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHub.json + */ +async function createEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters: EventHubEventSourceCreateOrUpdateParameters = { + type: "EarliestAvailable", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + localTimestampPropertiesLocalTimestamp: { + format: "TimeSpan", + timeZoneOffset: { propertyName: "someEventPropertyName" } + }, + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + timestampPropertyName: "someTimestampProperty" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +createEventHubEventSource().catch(console.error); + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json + */ +async function eventSourcesCreateEventHubWithCustomEnquedTime() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters: EventHubEventSourceCreateOrUpdateParameters = { + type: "CustomEnqueuedTime", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + time: "2017-04-01T19:20:33.2288820Z", + timestampPropertyName: "someTimestampProperty" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +eventSourcesCreateEventHubWithCustomEnquedTime().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesDeleteSample.ts new file mode 100644 index 000000000000..ac858fca6faa --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the event source with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the event source with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesDelete.json + */ +async function deleteEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.delete( + resourceGroupName, + environmentName, + eventSourceName + ); + console.log(result); +} + +deleteEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesGetSample.ts new file mode 100644 index 000000000000..1dbe8c7df83e --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the event source with the specified name in the specified environment. + * + * @summary Gets the event source with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesGetEventHub.json + */ +async function getEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.get( + resourceGroupName, + environmentName, + eventSourceName + ); + console.log(result); +} + +getEventHubEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesListByEnvironmentSample.ts new file mode 100644 index 000000000000..501ecc68f871 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesListByEnvironment.json + */ +async function listEventSourcesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +listEventSourcesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesUpdateSample.ts new file mode 100644 index 000000000000..a0efcc3e05da --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/eventSourcesUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EventSourceUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the event source with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the event source with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesPatchTags.json + */ +async function updateEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const eventSourceUpdateParameters: EventSourceUpdateParameters = { + kind: "Microsoft.EventHub", + tags: { someKey: "someValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.update( + resourceGroupName, + environmentName, + eventSourceName, + eventSourceUpdateParameters + ); + console.log(result); +} + +updateEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/operationsListSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..ccd28fa7bb8c --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/operationsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Time Series Insights related operations. + * + * @summary Lists all of the available Time Series Insights related operations. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/Operation_List.json + */ +async function listAvailableOperationsForTheTimeSeriesInsightsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheTimeSeriesInsightsResourceProvider().catch( + console.error +); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..43949a7eb162 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateEndpointConnection, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates a Private Endpoint connection of the environment in the given resource group. + * + * @summary Updates a Private Endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionUpdate.json + */ +async function privateEndpointConnectionUpdate() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const privateEndpointConnection: PrivateEndpointConnection = { + privateLinkServiceConnectionState: { + description: "Rejected for some reason", + status: "Rejected" + } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.createOrUpdate( + resourceGroupName, + environmentName, + privateEndpointConnectionName, + privateEndpointConnection + ); + console.log(result); +} + +privateEndpointConnectionUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsDeleteSample.ts new file mode 100644 index 000000000000..d5a0d9fb607d --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Disconnects the private endpoint connection and deletes it from the environment. + * + * @summary Disconnects the private endpoint connection and deletes it from the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionDelete.json + */ +async function privateEndpointConnectionDelete() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.delete( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsGetSample.ts new file mode 100644 index 000000000000..01551751857f --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the private endpoint connection of the environment in the given resource group. + * + * @summary Gets the details of the private endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json + */ +async function privateEndpointConnectionGet() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsListByEnvironmentSample.ts new file mode 100644 index 000000000000..ebb7c3eae696 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateEndpointConnectionsListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of all private endpoint connections in the given environment. + * + * @summary Gets a list of all private endpoint connections in the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json + */ +async function listPrivateEndpointConnectionsByService() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +listPrivateEndpointConnectionsByService().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateLinkResourcesListSupportedSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateLinkResourcesListSupportedSample.ts new file mode 100644 index 000000000000..f95fb53646e3 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/privateLinkResourcesListSupportedSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of all supported private link resource types for the given environment. + * + * @summary Gets a list of all supported private link resource types for the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json + */ +async function listSupportedPrivateLinkResources() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateLinkResources.listSupported( + resourceGroupName, + environmentName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportedPrivateLinkResources().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..c7b4f596b9ca --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsCreateOrUpdateSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ReferenceDataSetCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a reference data set in the specified environment. + * + * @summary Create or update a reference data set in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json + */ +async function referenceDataSetsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const parameters: ReferenceDataSetCreateOrUpdateParameters = { + keyProperties: [ + { name: "DeviceId1", type: "String" }, + { name: "DeviceFloor", type: "Double" } + ], + location: "West US" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.createOrUpdate( + resourceGroupName, + environmentName, + referenceDataSetName, + parameters + ); + console.log(result); +} + +referenceDataSetsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsDeleteSample.ts new file mode 100644 index 000000000000..f26f354ce5ba --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json + */ +async function referenceDataSetsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.delete( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsGetSample.ts new file mode 100644 index 000000000000..1c58de427cc4 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the reference data set with the specified name in the specified environment. + * + * @summary Gets the reference data set with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json + */ +async function referenceDataSetsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.get( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsListByEnvironmentSample.ts new file mode 100644 index 000000000000..ed11986ea898 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json + */ +async function referenceDataSetsListByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +referenceDataSetsListByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsUpdateSample.ts new file mode 100644 index 000000000000..94a98e29d3a8 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples-dev/referenceDataSetsUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ReferenceDataSetUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json + */ +async function referenceDataSetsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const referenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters = { + tags: { someKey: "someValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.update( + resourceGroupName, + environmentName, + referenceDataSetName, + referenceDataSetUpdateParameters + ); + console.log(result); +} + +referenceDataSetsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/README.md b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/README.md new file mode 100644 index 000000000000..34888e382100 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/README.md @@ -0,0 +1,102 @@ +# client library samples for JavaScript (Beta) + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessPoliciesCreateOrUpdateSample.js][accesspoliciescreateorupdatesample] | Create or update an access policy in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesCreate.json | +| [accessPoliciesDeleteSample.js][accesspoliciesdeletesample] | Deletes the access policy with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesDelete.json | +| [accessPoliciesGetSample.js][accesspoliciesgetsample] | Gets the access policy with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesGet.json | +| [accessPoliciesListByEnvironmentSample.js][accesspolicieslistbyenvironmentsample] | Lists all the available access policies associated with the environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesListByEnvironment.json | +| [accessPoliciesUpdateSample.js][accesspoliciesupdatesample] | Updates the access policy with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesPatchRoles.json | +| [environmentsCreateOrUpdateSample.js][environmentscreateorupdatesample] | Create or update an environment in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsCreate.json | +| [environmentsDeleteSample.js][environmentsdeletesample] | Deletes the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsDelete.json | +| [environmentsGetSample.js][environmentsgetsample] | Gets the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsGet.json | +| [environmentsListByResourceGroupSample.js][environmentslistbyresourcegroupsample] | Lists all the available environments associated with the subscription and within the specified resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListByResourceGroup.json | +| [environmentsListBySubscriptionSample.js][environmentslistbysubscriptionsample] | Lists all the available environments within a subscription, irrespective of the resource groups. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListBySubscription.json | +| [environmentsUpdateSample.js][environmentsupdatesample] | Updates the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsPatchTags.json | +| [eventSourcesCreateOrUpdateSample.js][eventsourcescreateorupdatesample] | Create or update an event source under the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHub.json | +| [eventSourcesDeleteSample.js][eventsourcesdeletesample] | Deletes the event source with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesDelete.json | +| [eventSourcesGetSample.js][eventsourcesgetsample] | Gets the event source with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesGetEventHub.json | +| [eventSourcesListByEnvironmentSample.js][eventsourceslistbyenvironmentsample] | Lists all the available event sources associated with the subscription and within the specified resource group and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesListByEnvironment.json | +| [eventSourcesUpdateSample.js][eventsourcesupdatesample] | Updates the event source with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesPatchTags.json | +| [operationsListSample.js][operationslistsample] | Lists all of the available Time Series Insights related operations. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/Operation_List.json | +| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Updates a Private Endpoint connection of the environment in the given resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionUpdate.json | +| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Disconnects the private endpoint connection and deletes it from the environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionDelete.json | +| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Gets the details of the private endpoint connection of the environment in the given resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json | +| [privateEndpointConnectionsListByEnvironmentSample.js][privateendpointconnectionslistbyenvironmentsample] | Gets a list of all private endpoint connections in the given environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json | +| [privateLinkResourcesListSupportedSample.js][privatelinkresourceslistsupportedsample] | Gets a list of all supported private link resource types for the given environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json | +| [referenceDataSetsCreateOrUpdateSample.js][referencedatasetscreateorupdatesample] | Create or update a reference data set in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json | +| [referenceDataSetsDeleteSample.js][referencedatasetsdeletesample] | Deletes the reference data set with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json | +| [referenceDataSetsGetSample.js][referencedatasetsgetsample] | Gets the reference data set with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json | +| [referenceDataSetsListByEnvironmentSample.js][referencedatasetslistbyenvironmentsample] | Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json | +| [referenceDataSetsUpdateSample.js][referencedatasetsupdatesample] | Updates the reference data set with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 accessPoliciesCreateOrUpdateSample.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 node accessPoliciesCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[accesspoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesCreateOrUpdateSample.js +[accesspoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesDeleteSample.js +[accesspoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesGetSample.js +[accesspolicieslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesListByEnvironmentSample.js +[accesspoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesUpdateSample.js +[environmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsCreateOrUpdateSample.js +[environmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsDeleteSample.js +[environmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsGetSample.js +[environmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListByResourceGroupSample.js +[environmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListBySubscriptionSample.js +[environmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsUpdateSample.js +[eventsourcescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesCreateOrUpdateSample.js +[eventsourcesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesDeleteSample.js +[eventsourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesGetSample.js +[eventsourceslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesListByEnvironmentSample.js +[eventsourcesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesUpdateSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/operationsListSample.js +[privateendpointconnectionscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsDeleteSample.js +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsGetSample.js +[privateendpointconnectionslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsListByEnvironmentSample.js +[privatelinkresourceslistsupportedsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateLinkResourcesListSupportedSample.js +[referencedatasetscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsCreateOrUpdateSample.js +[referencedatasetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsDeleteSample.js +[referencedatasetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsGetSample.js +[referencedatasetslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsListByEnvironmentSample.js +[referencedatasetsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsUpdateSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/timeseriesinsights/arm-timeseriesinsights/README.md diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesCreateOrUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesCreateOrUpdateSample.js new file mode 100644 index 000000000000..cffb1dfae7ba --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesCreateOrUpdateSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update an access policy in the specified environment. + * + * @summary Create or update an access policy in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesCreate.json + */ +async function accessPoliciesCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const parameters = { + description: "some description", + principalObjectId: "aGuid", + roles: ["Reader"], + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.createOrUpdate( + resourceGroupName, + environmentName, + accessPolicyName, + parameters + ); + console.log(result); +} + +accessPoliciesCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesDeleteSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesDeleteSample.js new file mode 100644 index 000000000000..a839cc8b1228 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesDelete.json + */ +async function accessPoliciesDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.delete( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesGetSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesGetSample.js new file mode 100644 index 000000000000..b19ba45e6dd2 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the access policy with the specified name in the specified environment. + * + * @summary Gets the access policy with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesGet.json + */ +async function accessPoliciesGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.get( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesListByEnvironmentSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesListByEnvironmentSample.js new file mode 100644 index 000000000000..b72d2091088e --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesListByEnvironmentSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the available access policies associated with the environment. + * + * @summary Lists all the available access policies associated with the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesListByEnvironment.json + */ +async function accessPoliciesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.listByEnvironment(resourceGroupName, environmentName); + console.log(result); +} + +accessPoliciesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesUpdateSample.js new file mode 100644 index 000000000000..e883a16d2cd3 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/accessPoliciesUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesPatchRoles.json + */ +async function accessPoliciesUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const accessPolicyUpdateParameters = { + roles: ["Reader", "Contributor"], + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.update( + resourceGroupName, + environmentName, + accessPolicyName, + accessPolicyUpdateParameters + ); + console.log(result); +} + +accessPoliciesUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsCreateOrUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsCreateOrUpdateSample.js new file mode 100644 index 000000000000..4a1ce6948c6b --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsCreateOrUpdateSample.js @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update an environment in the specified subscription and resource group. + * + * @summary Create or update an environment in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsCreate.json + */ +async function environmentsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const parameters = { + dataRetentionTime: "P31D", + kind: "Gen1", + location: "West US", + partitionKeyProperties: [{ name: "DeviceId1", type: "String" }], + sku: { name: "S1", capacity: 1 }, + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginCreateOrUpdateAndWait( + resourceGroupName, + environmentName, + parameters + ); + console.log(result); +} + +environmentsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsDeleteSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsDeleteSample.js new file mode 100644 index 000000000000..0e76b8ee8f74 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the environment with the specified name in the specified subscription and resource group. + * + * @summary Deletes the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsDelete.json + */ +async function environmentsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.delete(resourceGroupName, environmentName); + console.log(result); +} + +environmentsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsGetSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsGetSample.js new file mode 100644 index 000000000000..e8656f70b8df --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the environment with the specified name in the specified subscription and resource group. + * + * @summary Gets the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsGet.json + */ +async function environmentsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.get(resourceGroupName, environmentName); + console.log(result); +} + +environmentsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListByResourceGroupSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListByResourceGroupSample.js new file mode 100644 index 000000000000..937b59fa2914 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the available environments associated with the subscription and within the specified resource group. + * + * @summary Lists all the available environments associated with the subscription and within the specified resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListByResourceGroup.json + */ +async function environmentsByResourceGroup() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listByResourceGroup(resourceGroupName); + console.log(result); +} + +environmentsByResourceGroup().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListBySubscriptionSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListBySubscriptionSample.js new file mode 100644 index 000000000000..b7da8e25fe9a --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsListBySubscriptionSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the available environments within a subscription, irrespective of the resource groups. + * + * @summary Lists all the available environments within a subscription, irrespective of the resource groups. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListBySubscription.json + */ +async function environmentsBySubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listBySubscription(); + console.log(result); +} + +environmentsBySubscription().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsUpdateSample.js new file mode 100644 index 000000000000..c6ae6e96033e --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/environmentsUpdateSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the environment with the specified name in the specified subscription and resource group. + * + * @summary Updates the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsPatchTags.json + */ +async function environmentsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const environmentUpdateParameters = { + tags: { someTag: "someTagValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginUpdateAndWait( + resourceGroupName, + environmentName, + environmentUpdateParameters + ); + console.log(result); +} + +environmentsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesCreateOrUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesCreateOrUpdateSample.js new file mode 100644 index 000000000000..ebc0f949c364 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesCreateOrUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHub.json + */ +async function createEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters = { + type: "EarliestAvailable", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + localTimestampPropertiesLocalTimestamp: { + format: "TimeSpan", + timeZoneOffset: { propertyName: "someEventPropertyName" }, + }, + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + timestampPropertyName: "someTimestampProperty", + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +createEventHubEventSource().catch(console.error); + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json + */ +async function eventSourcesCreateEventHubWithCustomEnquedTime() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters = { + type: "CustomEnqueuedTime", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + time: "2017-04-01T19:20:33.2288820Z", + timestampPropertyName: "someTimestampProperty", + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +eventSourcesCreateEventHubWithCustomEnquedTime().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesDeleteSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesDeleteSample.js new file mode 100644 index 000000000000..718261d92d77 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the event source with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the event source with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesDelete.json + */ +async function deleteEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.delete( + resourceGroupName, + environmentName, + eventSourceName + ); + console.log(result); +} + +deleteEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesGetSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesGetSample.js new file mode 100644 index 000000000000..2819852a88a3 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the event source with the specified name in the specified environment. + * + * @summary Gets the event source with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesGetEventHub.json + */ +async function getEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.get(resourceGroupName, environmentName, eventSourceName); + console.log(result); +} + +getEventHubEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesListByEnvironmentSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesListByEnvironmentSample.js new file mode 100644 index 000000000000..b93c1d00cc9d --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesListByEnvironmentSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesListByEnvironment.json + */ +async function listEventSourcesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.listByEnvironment(resourceGroupName, environmentName); + console.log(result); +} + +listEventSourcesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesUpdateSample.js new file mode 100644 index 000000000000..6a64d120ac4f --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/eventSourcesUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the event source with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the event source with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesPatchTags.json + */ +async function updateEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const eventSourceUpdateParameters = { + tags: { someKey: "someValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.update( + resourceGroupName, + environmentName, + eventSourceName, + eventSourceUpdateParameters + ); + console.log(result); +} + +updateEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/operationsListSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/operationsListSample.js new file mode 100644 index 000000000000..9e8e8f2f329a --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all of the available Time Series Insights related operations. + * + * @summary Lists all of the available Time Series Insights related operations. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/Operation_List.json + */ +async function listAvailableOperationsForTheTimeSeriesInsightsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheTimeSeriesInsightsResourceProvider().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/package.json b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/package.json new file mode 100644 index 000000000000..917da6104302 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-timeseriesinsights-js-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for JavaScript (Beta)", + "engines": { + "node": ">=12.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/timeseriesinsights/arm-timeseriesinsights" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/timeseriesinsights/arm-timeseriesinsights", + "dependencies": { + "@azure/arm-timeseriesinsights": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js new file mode 100644 index 000000000000..531f33b058eb --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates a Private Endpoint connection of the environment in the given resource group. + * + * @summary Updates a Private Endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionUpdate.json + */ +async function privateEndpointConnectionUpdate() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const privateEndpointConnection = { + privateLinkServiceConnectionState: { + description: "Rejected for some reason", + status: "Rejected", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.createOrUpdate( + resourceGroupName, + environmentName, + privateEndpointConnectionName, + privateEndpointConnection + ); + console.log(result); +} + +privateEndpointConnectionUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsDeleteSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsDeleteSample.js new file mode 100644 index 000000000000..4d6042ab1438 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Disconnects the private endpoint connection and deletes it from the environment. + * + * @summary Disconnects the private endpoint connection and deletes it from the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionDelete.json + */ +async function privateEndpointConnectionDelete() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.delete( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsGetSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsGetSample.js new file mode 100644 index 000000000000..306f5c7ecfaa --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of the private endpoint connection of the environment in the given resource group. + * + * @summary Gets the details of the private endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json + */ +async function privateEndpointConnectionGet() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsListByEnvironmentSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsListByEnvironmentSample.js new file mode 100644 index 000000000000..ff91c544e8a7 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateEndpointConnectionsListByEnvironmentSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of all private endpoint connections in the given environment. + * + * @summary Gets a list of all private endpoint connections in the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json + */ +async function listPrivateEndpointConnectionsByService() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +listPrivateEndpointConnectionsByService().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateLinkResourcesListSupportedSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateLinkResourcesListSupportedSample.js new file mode 100644 index 000000000000..c48b241008af --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/privateLinkResourcesListSupportedSample.js @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a list of all supported private link resource types for the given environment. + * + * @summary Gets a list of all supported private link resource types for the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json + */ +async function listSupportedPrivateLinkResources() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateLinkResources.listSupported( + resourceGroupName, + environmentName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportedPrivateLinkResources().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsCreateOrUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsCreateOrUpdateSample.js new file mode 100644 index 000000000000..8efc3aea85dd --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsCreateOrUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update a reference data set in the specified environment. + * + * @summary Create or update a reference data set in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json + */ +async function referenceDataSetsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const parameters = { + keyProperties: [ + { name: "DeviceId1", type: "String" }, + { name: "DeviceFloor", type: "Double" }, + ], + location: "West US", + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.createOrUpdate( + resourceGroupName, + environmentName, + referenceDataSetName, + parameters + ); + console.log(result); +} + +referenceDataSetsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsDeleteSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsDeleteSample.js new file mode 100644 index 000000000000..2a681805a142 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json + */ +async function referenceDataSetsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.delete( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsGetSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsGetSample.js new file mode 100644 index 000000000000..82dd4e360d74 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the reference data set with the specified name in the specified environment. + * + * @summary Gets the reference data set with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json + */ +async function referenceDataSetsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.get( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsListByEnvironmentSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsListByEnvironmentSample.js new file mode 100644 index 000000000000..2678425b8a29 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsListByEnvironmentSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json + */ +async function referenceDataSetsListByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +referenceDataSetsListByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsUpdateSample.js b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsUpdateSample.js new file mode 100644 index 000000000000..421b3c1555fb --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/referenceDataSetsUpdateSample.js @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json + */ +async function referenceDataSetsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const referenceDataSetUpdateParameters = { + tags: { someKey: "someValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.update( + resourceGroupName, + environmentName, + referenceDataSetName, + referenceDataSetUpdateParameters + ); + console.log(result); +} + +referenceDataSetsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/sample.env b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/README.md b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/README.md new file mode 100644 index 000000000000..e5f7a6a5bea2 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/README.md @@ -0,0 +1,115 @@ +# client library samples for TypeScript (Beta) + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accessPoliciesCreateOrUpdateSample.ts][accesspoliciescreateorupdatesample] | Create or update an access policy in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesCreate.json | +| [accessPoliciesDeleteSample.ts][accesspoliciesdeletesample] | Deletes the access policy with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesDelete.json | +| [accessPoliciesGetSample.ts][accesspoliciesgetsample] | Gets the access policy with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesGet.json | +| [accessPoliciesListByEnvironmentSample.ts][accesspolicieslistbyenvironmentsample] | Lists all the available access policies associated with the environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesListByEnvironment.json | +| [accessPoliciesUpdateSample.ts][accesspoliciesupdatesample] | Updates the access policy with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesPatchRoles.json | +| [environmentsCreateOrUpdateSample.ts][environmentscreateorupdatesample] | Create or update an environment in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsCreate.json | +| [environmentsDeleteSample.ts][environmentsdeletesample] | Deletes the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsDelete.json | +| [environmentsGetSample.ts][environmentsgetsample] | Gets the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsGet.json | +| [environmentsListByResourceGroupSample.ts][environmentslistbyresourcegroupsample] | Lists all the available environments associated with the subscription and within the specified resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListByResourceGroup.json | +| [environmentsListBySubscriptionSample.ts][environmentslistbysubscriptionsample] | Lists all the available environments within a subscription, irrespective of the resource groups. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListBySubscription.json | +| [environmentsUpdateSample.ts][environmentsupdatesample] | Updates the environment with the specified name in the specified subscription and resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsPatchTags.json | +| [eventSourcesCreateOrUpdateSample.ts][eventsourcescreateorupdatesample] | Create or update an event source under the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHub.json | +| [eventSourcesDeleteSample.ts][eventsourcesdeletesample] | Deletes the event source with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesDelete.json | +| [eventSourcesGetSample.ts][eventsourcesgetsample] | Gets the event source with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesGetEventHub.json | +| [eventSourcesListByEnvironmentSample.ts][eventsourceslistbyenvironmentsample] | Lists all the available event sources associated with the subscription and within the specified resource group and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesListByEnvironment.json | +| [eventSourcesUpdateSample.ts][eventsourcesupdatesample] | Updates the event source with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesPatchTags.json | +| [operationsListSample.ts][operationslistsample] | Lists all of the available Time Series Insights related operations. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/Operation_List.json | +| [privateEndpointConnectionsCreateOrUpdateSample.ts][privateendpointconnectionscreateorupdatesample] | Updates a Private Endpoint connection of the environment in the given resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionUpdate.json | +| [privateEndpointConnectionsDeleteSample.ts][privateendpointconnectionsdeletesample] | Disconnects the private endpoint connection and deletes it from the environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionDelete.json | +| [privateEndpointConnectionsGetSample.ts][privateendpointconnectionsgetsample] | Gets the details of the private endpoint connection of the environment in the given resource group. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json | +| [privateEndpointConnectionsListByEnvironmentSample.ts][privateendpointconnectionslistbyenvironmentsample] | Gets a list of all private endpoint connections in the given environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json | +| [privateLinkResourcesListSupportedSample.ts][privatelinkresourceslistsupportedsample] | Gets a list of all supported private link resource types for the given environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json | +| [referenceDataSetsCreateOrUpdateSample.ts][referencedatasetscreateorupdatesample] | Create or update a reference data set in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json | +| [referenceDataSetsDeleteSample.ts][referencedatasetsdeletesample] | Deletes the reference data set with the specified name in the specified subscription, resource group, and environment x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json | +| [referenceDataSetsGetSample.ts][referencedatasetsgetsample] | Gets the reference data set with the specified name in the specified environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json | +| [referenceDataSetsListByEnvironmentSample.ts][referencedatasetslistbyenvironmentsample] | Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json | +| [referenceDataSetsUpdateSample.ts][referencedatasetsupdatesample] | Updates the reference data set with the specified name in the specified subscription, resource group, and environment. x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/accessPoliciesCreateOrUpdateSample.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 node dist/accessPoliciesCreateOrUpdateSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[accesspoliciescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesCreateOrUpdateSample.ts +[accesspoliciesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesDeleteSample.ts +[accesspoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesGetSample.ts +[accesspolicieslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesListByEnvironmentSample.ts +[accesspoliciesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesUpdateSample.ts +[environmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsCreateOrUpdateSample.ts +[environmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsDeleteSample.ts +[environmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsGetSample.ts +[environmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListByResourceGroupSample.ts +[environmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListBySubscriptionSample.ts +[environmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsUpdateSample.ts +[eventsourcescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesCreateOrUpdateSample.ts +[eventsourcesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesDeleteSample.ts +[eventsourcesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesGetSample.ts +[eventsourceslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesListByEnvironmentSample.ts +[eventsourcesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesUpdateSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/operationsListSample.ts +[privateendpointconnectionscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts +[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts +[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsGetSample.ts +[privateendpointconnectionslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsListByEnvironmentSample.ts +[privatelinkresourceslistsupportedsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateLinkResourcesListSupportedSample.ts +[referencedatasetscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsCreateOrUpdateSample.ts +[referencedatasetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsDeleteSample.ts +[referencedatasetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsGetSample.ts +[referencedatasetslistbyenvironmentsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsListByEnvironmentSample.ts +[referencedatasetsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsUpdateSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/timeseriesinsights/arm-timeseriesinsights/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/package.json b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/package.json new file mode 100644 index 000000000000..c59bcd551626 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-timeseriesinsights-ts-beta", + "private": true, + "version": "1.0.0", + "description": " client library samples for TypeScript (Beta)", + "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/timeseriesinsights/arm-timeseriesinsights" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/timeseriesinsights/arm-timeseriesinsights", + "dependencies": { + "@azure/arm-timeseriesinsights": "next", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/sample.env b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..750fcb749c34 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesCreateOrUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessPolicyCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an access policy in the specified environment. + * + * @summary Create or update an access policy in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesCreate.json + */ +async function accessPoliciesCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const parameters: AccessPolicyCreateOrUpdateParameters = { + description: "some description", + principalObjectId: "aGuid", + roles: ["Reader"] + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.createOrUpdate( + resourceGroupName, + environmentName, + accessPolicyName, + parameters + ); + console.log(result); +} + +accessPoliciesCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesDeleteSample.ts new file mode 100644 index 000000000000..ef5a24de5ff5 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the access policy with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesDelete.json + */ +async function accessPoliciesDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.delete( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesGetSample.ts new file mode 100644 index 000000000000..526d6dd5ddc9 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the access policy with the specified name in the specified environment. + * + * @summary Gets the access policy with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesGet.json + */ +async function accessPoliciesGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.get( + resourceGroupName, + environmentName, + accessPolicyName + ); + console.log(result); +} + +accessPoliciesGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesListByEnvironmentSample.ts new file mode 100644 index 000000000000..f3d418a8be87 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available access policies associated with the environment. + * + * @summary Lists all the available access policies associated with the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesListByEnvironment.json + */ +async function accessPoliciesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +accessPoliciesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesUpdateSample.ts new file mode 100644 index 000000000000..be7008fab9d7 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/accessPoliciesUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccessPolicyUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the access policy with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/AccessPoliciesPatchRoles.json + */ +async function accessPoliciesUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const accessPolicyName = "ap1"; + const accessPolicyUpdateParameters: AccessPolicyUpdateParameters = { + roles: ["Reader", "Contributor"] + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.accessPolicies.update( + resourceGroupName, + environmentName, + accessPolicyName, + accessPolicyUpdateParameters + ); + console.log(result); +} + +accessPoliciesUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..01df1a007408 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsCreateOrUpdateSample.ts @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Gen1EnvironmentCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an environment in the specified subscription and resource group. + * + * @summary Create or update an environment in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsCreate.json + */ +async function environmentsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const parameters: Gen1EnvironmentCreateOrUpdateParameters = { + dataRetentionTime: "P31D", + kind: "Gen1", + location: "West US", + partitionKeyProperties: [{ name: "DeviceId1", type: "String" }], + sku: { name: "S1", capacity: 1 } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginCreateOrUpdateAndWait( + resourceGroupName, + environmentName, + parameters + ); + console.log(result); +} + +environmentsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsDeleteSample.ts new file mode 100644 index 000000000000..cbcf8e390fd2 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the environment with the specified name in the specified subscription and resource group. + * + * @summary Deletes the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsDelete.json + */ +async function environmentsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.delete( + resourceGroupName, + environmentName + ); + console.log(result); +} + +environmentsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsGetSample.ts new file mode 100644 index 000000000000..5e008253ad44 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the environment with the specified name in the specified subscription and resource group. + * + * @summary Gets the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsGet.json + */ +async function environmentsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.get( + resourceGroupName, + environmentName + ); + console.log(result); +} + +environmentsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListByResourceGroupSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListByResourceGroupSample.ts new file mode 100644 index 000000000000..c1be1c674ff1 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListByResourceGroupSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available environments associated with the subscription and within the specified resource group. + * + * @summary Lists all the available environments associated with the subscription and within the specified resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListByResourceGroup.json + */ +async function environmentsByResourceGroup() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listByResourceGroup( + resourceGroupName + ); + console.log(result); +} + +environmentsByResourceGroup().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListBySubscriptionSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListBySubscriptionSample.ts new file mode 100644 index 000000000000..5404364c4bc7 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsListBySubscriptionSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available environments within a subscription, irrespective of the resource groups. + * + * @summary Lists all the available environments within a subscription, irrespective of the resource groups. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsListBySubscription.json + */ +async function environmentsBySubscription() { + const subscriptionId = "subid"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.listBySubscription(); + console.log(result); +} + +environmentsBySubscription().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsUpdateSample.ts new file mode 100644 index 000000000000..c8fb34843864 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/environmentsUpdateSample.ts @@ -0,0 +1,40 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EnvironmentUpdateParametersUnion, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the environment with the specified name in the specified subscription and resource group. + * + * @summary Updates the environment with the specified name in the specified subscription and resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EnvironmentsPatchTags.json + */ +async function environmentsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const environmentUpdateParameters: EnvironmentUpdateParametersUnion = { + tags: { someTag: "someTagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.environments.beginUpdateAndWait( + resourceGroupName, + environmentName, + environmentUpdateParameters + ); + console.log(result); +} + +environmentsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..625c51502401 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesCreateOrUpdateSample.ts @@ -0,0 +1,92 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EventHubEventSourceCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHub.json + */ +async function createEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters: EventHubEventSourceCreateOrUpdateParameters = { + type: "EarliestAvailable", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + localTimestampPropertiesLocalTimestamp: { + format: "TimeSpan", + timeZoneOffset: { propertyName: "someEventPropertyName" } + }, + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + timestampPropertyName: "someTimestampProperty" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +createEventHubEventSource().catch(console.error); + +/** + * This sample demonstrates how to Create or update an event source under the specified environment. + * + * @summary Create or update an event source under the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json + */ +async function eventSourcesCreateEventHubWithCustomEnquedTime() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const parameters: EventHubEventSourceCreateOrUpdateParameters = { + type: "CustomEnqueuedTime", + consumerGroupName: "cgn", + eventHubName: "ehn", + eventSourceResourceId: "somePathInArm", + keyName: "managementKey", + kind: "Microsoft.EventHub", + location: "West US", + serviceBusNamespace: "sbn", + sharedAccessKey: "someSecretvalue", + time: "2017-04-01T19:20:33.2288820Z", + timestampPropertyName: "someTimestampProperty" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.createOrUpdate( + resourceGroupName, + environmentName, + eventSourceName, + parameters + ); + console.log(result); +} + +eventSourcesCreateEventHubWithCustomEnquedTime().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesDeleteSample.ts new file mode 100644 index 000000000000..ac858fca6faa --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the event source with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the event source with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesDelete.json + */ +async function deleteEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.delete( + resourceGroupName, + environmentName, + eventSourceName + ); + console.log(result); +} + +deleteEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesGetSample.ts new file mode 100644 index 000000000000..1dbe8c7df83e --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the event source with the specified name in the specified environment. + * + * @summary Gets the event source with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesGetEventHub.json + */ +async function getEventHubEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.get( + resourceGroupName, + environmentName, + eventSourceName + ); + console.log(result); +} + +getEventHubEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesListByEnvironmentSample.ts new file mode 100644 index 000000000000..501ecc68f871 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available event sources associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesListByEnvironment.json + */ +async function listEventSourcesByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +listEventSourcesByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesUpdateSample.ts new file mode 100644 index 000000000000..43a9ddf73ce1 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/eventSourcesUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + EventSourceUpdateParametersUnion, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the event source with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the event source with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/EventSourcesPatchTags.json + */ +async function updateEventSource() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const eventSourceName = "es1"; + const eventSourceUpdateParameters: EventSourceUpdateParametersUnion = { + tags: { someKey: "someValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.eventSources.update( + resourceGroupName, + environmentName, + eventSourceName, + eventSourceUpdateParameters + ); + console.log(result); +} + +updateEventSource().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/operationsListSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..ccd28fa7bb8c --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/operationsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all of the available Time Series Insights related operations. + * + * @summary Lists all of the available Time Series Insights related operations. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/Operation_List.json + */ +async function listAvailableOperationsForTheTimeSeriesInsightsResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailableOperationsForTheTimeSeriesInsightsResourceProvider().catch( + console.error +); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..43949a7eb162 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsCreateOrUpdateSample.ts @@ -0,0 +1,45 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + PrivateEndpointConnection, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates a Private Endpoint connection of the environment in the given resource group. + * + * @summary Updates a Private Endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionUpdate.json + */ +async function privateEndpointConnectionUpdate() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const privateEndpointConnection: PrivateEndpointConnection = { + privateLinkServiceConnectionState: { + description: "Rejected for some reason", + status: "Rejected" + } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.createOrUpdate( + resourceGroupName, + environmentName, + privateEndpointConnectionName, + privateEndpointConnection + ); + console.log(result); +} + +privateEndpointConnectionUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts new file mode 100644 index 000000000000..d5a0d9fb607d --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Disconnects the private endpoint connection and deletes it from the environment. + * + * @summary Disconnects the private endpoint connection and deletes it from the environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionDelete.json + */ +async function privateEndpointConnectionDelete() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.delete( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsGetSample.ts new file mode 100644 index 000000000000..01551751857f --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the private endpoint connection of the environment in the given resource group. + * + * @summary Gets the details of the private endpoint connection of the environment in the given resource group. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json + */ +async function privateEndpointConnectionGet() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const privateEndpointConnectionName = "myPrivateEndpointConnectionName"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.get( + resourceGroupName, + environmentName, + privateEndpointConnectionName + ); + console.log(result); +} + +privateEndpointConnectionGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsListByEnvironmentSample.ts new file mode 100644 index 000000000000..ebb7c3eae696 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateEndpointConnectionsListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of all private endpoint connections in the given environment. + * + * @summary Gets a list of all private endpoint connections in the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json + */ +async function listPrivateEndpointConnectionsByService() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.privateEndpointConnections.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +listPrivateEndpointConnectionsByService().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateLinkResourcesListSupportedSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateLinkResourcesListSupportedSample.ts new file mode 100644 index 000000000000..f95fb53646e3 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/privateLinkResourcesListSupportedSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a list of all supported private link resource types for the given environment. + * + * @summary Gets a list of all supported private link resource types for the given environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json + */ +async function listSupportedPrivateLinkResources() { + const subscriptionId = "mySubscriptionId"; + const resourceGroupName = "myResourceGroup"; + const environmentName = "myEnvironment"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateLinkResources.listSupported( + resourceGroupName, + environmentName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listSupportedPrivateLinkResources().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsCreateOrUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..c7b4f596b9ca --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsCreateOrUpdateSample.ts @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ReferenceDataSetCreateOrUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a reference data set in the specified environment. + * + * @summary Create or update a reference data set in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json + */ +async function referenceDataSetsCreate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const parameters: ReferenceDataSetCreateOrUpdateParameters = { + keyProperties: [ + { name: "DeviceId1", type: "String" }, + { name: "DeviceFloor", type: "Double" } + ], + location: "West US" + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.createOrUpdate( + resourceGroupName, + environmentName, + referenceDataSetName, + parameters + ); + console.log(result); +} + +referenceDataSetsCreate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsDeleteSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsDeleteSample.ts new file mode 100644 index 000000000000..f26f354ce5ba --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * + * @summary Deletes the reference data set with the specified name in the specified subscription, resource group, and environment + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json + */ +async function referenceDataSetsDelete() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.delete( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsDelete().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsGetSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsGetSample.ts new file mode 100644 index 000000000000..1c58de427cc4 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the reference data set with the specified name in the specified environment. + * + * @summary Gets the reference data set with the specified name in the specified environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json + */ +async function referenceDataSetsGet() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.get( + resourceGroupName, + environmentName, + referenceDataSetName + ); + console.log(result); +} + +referenceDataSetsGet().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsListByEnvironmentSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsListByEnvironmentSample.ts new file mode 100644 index 000000000000..ed11986ea898 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsListByEnvironmentSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * + * @summary Lists all the available reference data sets associated with the subscription and within the specified resource group and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json + */ +async function referenceDataSetsListByEnvironment() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.listByEnvironment( + resourceGroupName, + environmentName + ); + console.log(result); +} + +referenceDataSetsListByEnvironment().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsUpdateSample.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsUpdateSample.ts new file mode 100644 index 000000000000..94a98e29d3a8 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/src/referenceDataSetsUpdateSample.ts @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ReferenceDataSetUpdateParameters, + TimeSeriesInsightsClient +} from "@azure/arm-timeseriesinsights"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * + * @summary Updates the reference data set with the specified name in the specified subscription, resource group, and environment. + * x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json + */ +async function referenceDataSetsUpdate() { + const subscriptionId = "subid"; + const resourceGroupName = "rg1"; + const environmentName = "env1"; + const referenceDataSetName = "rds1"; + const referenceDataSetUpdateParameters: ReferenceDataSetUpdateParameters = { + tags: { someKey: "someValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new TimeSeriesInsightsClient(credential, subscriptionId); + const result = await client.referenceDataSets.update( + resourceGroupName, + environmentName, + referenceDataSetName, + referenceDataSetUpdateParameters + ); + console.log(result); +} + +referenceDataSetsUpdate().catch(console.error); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/tsconfig.json b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/samples/v2-beta/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/timeseriesinsights/arm-timeseriesinsights/src/models/index.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/index.ts index 1409fd6a9a8b..337a1a392cba 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/index.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/index.ts @@ -175,20 +175,20 @@ export interface CreateOrUpdateTrackedResourceProperties { tags?: { [propertyName: string]: string }; } -/** Time Series Insights resource */ +/** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** - * 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; /** - * Resource name + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource type + * 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; @@ -300,6 +300,37 @@ export interface AccessPolicyListResponse { value?: AccessPolicyResource[]; } +/** The Private Endpoint resource. */ +export interface PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; +} + +/** A collection of information about the state of the connection between service consumer and provider. */ +export interface PrivateLinkServiceConnectionState { + /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */ + status?: PrivateEndpointServiceConnectionStatus; + /** The reason for approval/rejection of the connection. */ + description?: string; + /** A message indicating if changes on the service provider require any updates on the consumer. */ + actionsRequired?: string; +} + +/** List of private endpoint connection associated with the specified storage account */ +export interface PrivateEndpointConnectionListResult { + /** Array of private endpoint connections */ + value?: PrivateEndpointConnection[]; +} + +/** A list of private link resources */ +export interface PrivateLinkResourceListResult { + /** Array of private link resources */ + value?: PrivateLinkResource[]; +} + /** The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query. */ export interface WarmStoreConfigurationProperties { /** ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store. */ @@ -434,6 +465,37 @@ export type AccessPolicyResource = Resource & { roles?: AccessPolicyRole[]; }; +/** The Private Endpoint Connection resource. */ +export type PrivateEndpointConnection = Resource & { + /** + * Provisioning state of the private endpoint connection. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: PrivateEndpointConnectionProvisioningState; + /** The resource of private end point. */ + privateEndpoint?: PrivateEndpoint; + /** The provisioning state of the private endpoint connection resource. */ + groupIds?: string[]; + /** A collection of information about the state of the connection between service consumer and provider. */ + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; +}; + +/** A private link resource */ +export type PrivateLinkResource = Resource & { + /** + * 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 Private link DNS zone name. */ + requiredZoneNames?: string[]; +}; + /** Parameters supplied to the Update Environment operation to update a Gen1 environment. */ export type Gen1EnvironmentUpdateParameters = EnvironmentUpdateParameters & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -545,6 +607,13 @@ export type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateOrUpdateP storageConfiguration: Gen2StorageConfigurationInput; /** The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query. */ warmStoreConfiguration?: WarmStoreConfigurationProperties; + /** This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * The list of private endpoint connections to the environment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; /** Parameters supplied to the Create or Update Event Source operation for an EventHub event source. */ @@ -653,6 +722,13 @@ export type Gen2EnvironmentResourceProperties = EnvironmentResourceProperties & storageConfiguration: Gen2StorageConfigurationOutput; /** The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query. */ warmStoreConfiguration?: WarmStoreConfigurationProperties; + /** If 'enabled', public network access is allowed. If 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * The list of private endpoint connections to the environment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; /** Properties of an event source that reads events from an event broker in Azure. */ @@ -729,6 +805,13 @@ export type Gen2EnvironmentResource = EnvironmentResource & { storageConfiguration: Gen2StorageConfigurationOutput; /** The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query. */ warmStoreConfiguration?: WarmStoreConfigurationProperties; + /** If 'enabled', public network access is allowed. If 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * The list of private endpoint connections to the environment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; }; /** An event source that receives its data from an Azure EventHub. */ @@ -1007,6 +1090,44 @@ export enum KnownAccessPolicyRole { */ export type AccessPolicyRole = string; +/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ +export enum KnownPrivateEndpointConnectionProvisioningState { + Succeeded = "Succeeded", + Creating = "Creating", + Deleting = "Deleting", + Failed = "Failed" +} + +/** + * Defines values for PrivateEndpointConnectionProvisioningState. \ + * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Creating** \ + * **Deleting** \ + * **Failed** + */ +export type PrivateEndpointConnectionProvisioningState = string; + +/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */ +export enum KnownPrivateEndpointServiceConnectionStatus { + Pending = "Pending", + Approved = "Approved", + Rejected = "Rejected" +} + +/** + * Defines values for PrivateEndpointServiceConnectionStatus. \ + * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Pending** \ + * **Approved** \ + * **Rejected** + */ +export type PrivateEndpointServiceConnectionStatus = string; + /** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */ export enum KnownStorageLimitExceededBehavior { PurgeOldData = "PurgeOldData", @@ -1037,6 +1158,22 @@ export enum KnownPropertyType { */ export type PropertyType = string; +/** Known values of {@link PublicNetworkAccess} that the service accepts. */ +export enum KnownPublicNetworkAccess { + Enabled = "enabled", + Disabled = "disabled" +} + +/** + * Defines values for PublicNetworkAccess. \ + * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **enabled** \ + * **disabled** + */ +export type PublicNetworkAccess = string; + /** Known values of {@link IngressState} that the service accepts. */ export enum KnownIngressState { Disabled = "Disabled", @@ -1257,6 +1394,38 @@ export interface AccessPoliciesListByEnvironmentOptionalParams /** Contains response data for the listByEnvironment operation. */ export type AccessPoliciesListByEnvironmentResponse = AccessPolicyListResponse; +/** Optional parameters. */ +export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByEnvironment operation. */ +export type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult; + +/** Optional parameters. */ +export interface PrivateLinkResourcesListSupportedOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listSupported operation. */ +export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult; + /** Optional parameters. */ export interface TimeSeriesInsightsClientOptionalParams extends coreClient.ServiceClientOptions { diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/mappers.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/mappers.ts index 7a27f0511568..3d4c1a23ca91 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/mappers.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/mappers.ts @@ -739,6 +739,91 @@ export const AccessPolicyListResponse: coreClient.CompositeMapper = { } }; +export const PrivateEndpoint: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + actionsRequired: { + serializedName: "actionsRequired", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnectionListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + } + } + } +}; + +export const PrivateLinkResourceListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResourceListResult", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkResource" + } + } + } + } + } + } +}; + export const WarmStoreConfigurationProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1127,6 +1212,88 @@ export const AccessPolicyResource: coreClient.CompositeMapper = { } }; +export const PrivateEndpointConnection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + privateEndpoint: { + serializedName: "properties.privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + groupIds: { + serializedName: "properties.groupIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + } + } + } +}; + +export const PrivateLinkResource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PrivateLinkResource", + modelProperties: { + ...Resource.type.modelProperties, + groupId: { + serializedName: "properties.groupId", + readOnly: true, + type: { + name: "String" + } + }, + requiredMembers: { + serializedName: "properties.requiredMembers", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "properties.requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const Gen1EnvironmentUpdateParameters: coreClient.CompositeMapper = { serializedName: "Gen1", type: { @@ -1435,6 +1602,25 @@ export const Gen2EnvironmentCreateOrUpdateParameters: coreClient.CompositeMapper name: "Composite", className: "WarmStoreConfigurationProperties" } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } } } } @@ -1750,6 +1936,25 @@ export const Gen2EnvironmentResourceProperties: coreClient.CompositeMapper = { name: "Composite", className: "WarmStoreConfigurationProperties" } + }, + publicNetworkAccess: { + serializedName: "publicNetworkAccess", + type: { + name: "String" + } + }, + privateEndpointConnections: { + serializedName: "privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } } } } @@ -1915,6 +2120,25 @@ export const Gen2EnvironmentResource: coreClient.CompositeMapper = { name: "Composite", className: "WarmStoreConfigurationProperties" } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } } } } diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/parameters.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/parameters.ts index 4e1fd714559d..fdfeef573394 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/parameters.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/models/parameters.ts @@ -19,7 +19,8 @@ import { ReferenceDataSetCreateOrUpdateParameters as ReferenceDataSetCreateOrUpdateParametersMapper, ReferenceDataSetUpdateParameters as ReferenceDataSetUpdateParametersMapper, AccessPolicyCreateOrUpdateParameters as AccessPolicyCreateOrUpdateParametersMapper, - AccessPolicyUpdateParameters as AccessPolicyUpdateParametersMapper + AccessPolicyUpdateParameters as AccessPolicyUpdateParametersMapper, + PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -49,7 +50,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2020-05-15", + defaultValue: "2021-03-31-preview", isConstant: true, serializedName: "api-version", type: { @@ -261,3 +262,19 @@ export const accessPolicyUpdateParameters: OperationParameter = { parameterPath: "accessPolicyUpdateParameters", mapper: AccessPolicyUpdateParametersMapper }; + +export const privateEndpointConnection: OperationParameter = { + parameterPath: "privateEndpointConnection", + mapper: PrivateEndpointConnectionMapper +}; + +export const privateEndpointConnectionName: OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + serializedName: "privateEndpointConnectionName", + required: true, + type: { + name: "String" + } + } +}; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/environments.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/environments.ts index e4f32a938e66..0303a1b65873 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/environments.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/environments.ts @@ -103,10 +103,12 @@ export class EnvironmentsImpl implements Environments { { resourceGroupName, environmentName, parameters, options }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -218,10 +220,12 @@ export class EnvironmentsImpl implements Environments { }, updateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/index.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/index.ts index acba1d2d811f..9615206b0e0b 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/index.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/index.ts @@ -11,3 +11,5 @@ export * from "./environments"; export * from "./eventSources"; export * from "./referenceDataSets"; export * from "./accessPolicies"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateEndpointConnections.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateEndpointConnections.ts new file mode 100644 index 000000000000..b7ef120983e6 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateEndpointConnections.ts @@ -0,0 +1,234 @@ +/* + * 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 { PrivateEndpointConnections } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient"; +import { + PrivateEndpointConnection, + PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + PrivateEndpointConnectionsCreateOrUpdateResponse, + PrivateEndpointConnectionsGetOptionalParams, + PrivateEndpointConnectionsGetResponse, + PrivateEndpointConnectionsDeleteOptionalParams, + PrivateEndpointConnectionsListByEnvironmentOptionalParams, + PrivateEndpointConnectionsListByEnvironmentResponse +} from "../models"; + +/** Class containing PrivateEndpointConnections operations. */ +export class PrivateEndpointConnectionsImpl + implements PrivateEndpointConnections { + private readonly client: TimeSeriesInsightsClient; + + /** + * Initialize a new instance of the class PrivateEndpointConnections class. + * @param client Reference to the service client + */ + constructor(client: TimeSeriesInsightsClient) { + this.client = client; + } + + /** + * Updates a Private Endpoint connection of the environment in the given resource group. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param privateEndpointConnection The definition of the private endpoint connection to update. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + privateEndpointConnection: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + privateEndpointConnectionName, + privateEndpointConnection, + options + }, + createOrUpdateOperationSpec + ); + } + + /** + * Gets the details of the private endpoint connection of the environment in the given resource group. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + privateEndpointConnectionName, + options + }, + getOperationSpec + ); + } + + /** + * Disconnects the private endpoint connection and deletes it from the environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + privateEndpointConnectionName, + options + }, + deleteOperationSpec + ); + } + + /** + * Gets a list of all private endpoint connections in the given environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param options The options parameters. + */ + listByEnvironment( + resourceGroupName: string, + environmentName: string, + options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, options }, + listByEnvironmentOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + requestBody: Parameters.privateEndpointConnection, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName1, + Parameters.privateEndpointConnectionName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName1, + Parameters.privateEndpointConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + 404: { + isError: true + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName1, + Parameters.privateEndpointConnectionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByEnvironmentOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateEndpointConnections", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName1 + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateLinkResources.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateLinkResources.ts new file mode 100644 index 000000000000..e1320b0b5da4 --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operations/privateLinkResources.ts @@ -0,0 +1,137 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PrivateLinkResources } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { TimeSeriesInsightsClient } from "../timeSeriesInsightsClient"; +import { + PrivateLinkResource, + PrivateLinkResourcesListSupportedOptionalParams, + PrivateLinkResourcesListSupportedResponse +} from "../models"; + +/// +/** Class containing PrivateLinkResources operations. */ +export class PrivateLinkResourcesImpl implements PrivateLinkResources { + private readonly client: TimeSeriesInsightsClient; + + /** + * Initialize a new instance of the class PrivateLinkResources class. + * @param client Reference to the service client + */ + constructor(client: TimeSeriesInsightsClient) { + this.client = client; + } + + /** + * Gets a list of all supported private link resource types for the given environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param options The options parameters. + */ + public listSupported( + resourceGroupName: string, + environmentName: string, + options?: PrivateLinkResourcesListSupportedOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listSupportedPagingAll( + resourceGroupName, + environmentName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listSupportedPagingPage( + resourceGroupName, + environmentName, + options + ); + } + }; + } + + private async *listSupportedPagingPage( + resourceGroupName: string, + environmentName: string, + options?: PrivateLinkResourcesListSupportedOptionalParams + ): AsyncIterableIterator { + let result = await this._listSupported( + resourceGroupName, + environmentName, + options + ); + yield result.value || []; + } + + private async *listSupportedPagingAll( + resourceGroupName: string, + environmentName: string, + options?: PrivateLinkResourcesListSupportedOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listSupportedPagingPage( + resourceGroupName, + environmentName, + options + )) { + yield* page; + } + } + + /** + * Gets a list of all supported private link resource types for the given environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param options The options parameters. + */ + private _listSupported( + resourceGroupName: string, + environmentName: string, + options?: PrivateLinkResourcesListSupportedOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, options }, + listSupportedOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listSupportedOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/privateLinkResources", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName1 + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/index.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/index.ts index acba1d2d811f..9615206b0e0b 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/index.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/index.ts @@ -11,3 +11,5 @@ export * from "./environments"; export * from "./eventSources"; export * from "./referenceDataSets"; export * from "./accessPolicies"; +export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateEndpointConnections.ts new file mode 100644 index 000000000000..bfa62e7f56dd --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateEndpointConnections.ts @@ -0,0 +1,81 @@ +/* + * 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 { + PrivateEndpointConnection, + PrivateEndpointConnectionsCreateOrUpdateOptionalParams, + PrivateEndpointConnectionsCreateOrUpdateResponse, + PrivateEndpointConnectionsGetOptionalParams, + PrivateEndpointConnectionsGetResponse, + PrivateEndpointConnectionsDeleteOptionalParams, + PrivateEndpointConnectionsListByEnvironmentOptionalParams, + PrivateEndpointConnectionsListByEnvironmentResponse +} from "../models"; + +/** Interface representing a PrivateEndpointConnections. */ +export interface PrivateEndpointConnections { + /** + * Updates a Private Endpoint connection of the environment in the given resource group. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param privateEndpointConnection The definition of the private endpoint connection to update. + * @param options The options parameters. + */ + createOrUpdate( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + privateEndpointConnection: PrivateEndpointConnection, + options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams + ): Promise; + /** + * Gets the details of the private endpoint connection of the environment in the given resource group. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param options The options parameters. + */ + get( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsGetOptionalParams + ): Promise; + /** + * Disconnects the private endpoint connection and deletes it from the environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param privateEndpointConnectionName The name of the private endpoint connection associated with the + * Azure resource + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + environmentName: string, + privateEndpointConnectionName: string, + options?: PrivateEndpointConnectionsDeleteOptionalParams + ): Promise; + /** + * Gets a list of all private endpoint connections in the given environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param options The options parameters. + */ + listByEnvironment( + resourceGroupName: string, + environmentName: string, + options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams + ): Promise; +} diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateLinkResources.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateLinkResources.ts new file mode 100644 index 000000000000..03e07159c9ca --- /dev/null +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/operationsInterfaces/privateLinkResources.ts @@ -0,0 +1,30 @@ +/* + * 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 { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + PrivateLinkResource, + PrivateLinkResourcesListSupportedOptionalParams +} from "../models"; + +/// +/** Interface representing a PrivateLinkResources. */ +export interface PrivateLinkResources { + /** + * Gets a list of all supported private link resource types for the given environment. + * @param resourceGroupName Name of an Azure Resource group. + * @param environmentName The name of the Time Series Insights environment associated with the + * specified resource group. + * @param options The options parameters. + */ + listSupported( + resourceGroupName: string, + environmentName: string, + options?: PrivateLinkResourcesListSupportedOptionalParams + ): PagedAsyncIterableIterator; +} diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts index ee660f6dc1ec..1a7410aac10b 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts @@ -7,20 +7,25 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, EnvironmentsImpl, EventSourcesImpl, ReferenceDataSetsImpl, - AccessPoliciesImpl + AccessPoliciesImpl, + PrivateEndpointConnectionsImpl, + PrivateLinkResourcesImpl } from "./operations"; import { Operations, Environments, EventSources, ReferenceDataSets, - AccessPolicies + AccessPolicies, + PrivateEndpointConnections, + PrivateLinkResources } from "./operationsInterfaces"; import { TimeSeriesInsightsClientOptionalParams } from "./models"; @@ -56,7 +61,7 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-timeseriesinsights/2.0.0`; + const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -71,20 +76,46 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2020-05-15"; + this.apiVersion = options.apiVersion || "2021-03-31-preview"; this.operations = new OperationsImpl(this); this.environments = new EnvironmentsImpl(this); this.eventSources = new EventSourcesImpl(this); this.referenceDataSets = new ReferenceDataSetsImpl(this); this.accessPolicies = new AccessPoliciesImpl(this); + this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this); + this.privateLinkResources = new PrivateLinkResourcesImpl(this); } operations: Operations; @@ -92,4 +123,6 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient { eventSources: EventSources; referenceDataSets: ReferenceDataSets; accessPolicies: AccessPolicies; + privateEndpointConnections: PrivateEndpointConnections; + privateLinkResources: PrivateLinkResources; } diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/tsconfig.json b/sdk/timeseriesinsights/arm-timeseriesinsights/tsconfig.json index 6e3251194117..d56d684ced4c 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/tsconfig.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/tsconfig.json @@ -9,11 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true + "importHelpers": true, + "paths": { + "@azure/arm-timeseriesinsights": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/timeseriesinsights/ci.mgmt.yml b/sdk/timeseriesinsights/ci.mgmt.yml index 60030a974ba2..f2a38ba8fe23 100644 --- a/sdk/timeseriesinsights/ci.mgmt.yml +++ b/sdk/timeseriesinsights/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/timeseriesinsights/ci.mgmt.yml - - sdk/timeseriesinsights/arm-timeseriesinsights/ + - sdk/timeseriesinsights/arm-timeseriesinsights pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/timeseriesinsights/ci.mgmt.yml - - sdk/timeseriesinsights/arm-timeseriesinsights/ - + - sdk/timeseriesinsights/arm-timeseriesinsights extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: timeseriesinsights Artifacts: - name: azure-arm-timeseriesinsights - safeName: azurearmtimeseriesinsights \ No newline at end of file + safeName: azurearmtimeseriesinsights diff --git a/sdk/trafficmanager/arm-trafficmanager/CHANGELOG.md b/sdk/trafficmanager/arm-trafficmanager/CHANGELOG.md index 626a1763f22a..38359fc9e20c 100644 --- a/sdk/trafficmanager/arm-trafficmanager/CHANGELOG.md +++ b/sdk/trafficmanager/arm-trafficmanager/CHANGELOG.md @@ -1,5 +1,21 @@ # Release History - + +## 6.0.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + +## 6.0.1 (2022-05-05) + +**Features** + + - Bug fix + ## 6.0.0 (2022-01-21) The package of @azure/arm-trafficmanager is using our next generation design principles since version 6.0.0, which contains breaking changes. diff --git a/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt b/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt deleted file mode 100644 index 2d3163745319..000000000000 --- a/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -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 -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/trafficmanager/arm-trafficmanager/README.md b/sdk/trafficmanager/arm-trafficmanager/README.md index ac5087c55539..6fe2443f6c26 100644 --- a/sdk/trafficmanager/arm-trafficmanager/README.md +++ b/sdk/trafficmanager/arm-trafficmanager/README.md @@ -16,6 +16,8 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new TrafficManagerManagementClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new TrafficManagerManagementClient(credential, subscriptionId); ``` diff --git a/sdk/trafficmanager/arm-trafficmanager/_meta.json b/sdk/trafficmanager/arm-trafficmanager/_meta.json index 4b817929e9bf..cdfab38cc640 100644 --- a/sdk/trafficmanager/arm-trafficmanager/_meta.json +++ b/sdk/trafficmanager/arm-trafficmanager/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/trafficmanager/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/trafficmanager/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\trafficmanager\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\trafficmanager\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/trafficmanager/arm-trafficmanager/api-extractor.json b/sdk/trafficmanager/arm-trafficmanager/api-extractor.json index 25d68fac86b4..c5f8fbf08a3e 100644 --- a/sdk/trafficmanager/arm-trafficmanager/api-extractor.json +++ b/sdk/trafficmanager/arm-trafficmanager/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-trafficmanager.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/trafficmanager/arm-trafficmanager/package.json b/sdk/trafficmanager/arm-trafficmanager/package.json index e1aeaf1d56b3..d6594104249f 100644 --- a/sdk/trafficmanager/arm-trafficmanager/package.json +++ b/sdk/trafficmanager/arm-trafficmanager/package.json @@ -3,15 +3,15 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for TrafficManagerManagementClient.", - "version": "6.0.0", + "version": "6.0.2", "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -27,13 +27,13 @@ "types": "./types/arm-trafficmanager.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -99,7 +99,7 @@ "//metadata": { "constantPaths": [ { - "path": "src/TrafficManagerManagementClient.ts", + "path": "src/trafficManagerManagementClient.ts", "prefix": "packageDetails" } ] diff --git a/sdk/trafficmanager/arm-trafficmanager/rollup.config.js b/sdk/trafficmanager/arm-trafficmanager/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/trafficmanager/arm-trafficmanager/rollup.config.js +++ b/sdk/trafficmanager/arm-trafficmanager/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b47dac7fa14c --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Endpoint, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json + */ +async function endpointPutExternalWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json + */ +async function endpointPutExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters: Endpoint = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + geoMapping: ["GEO-AS", "GEO-AF"], + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json + */ +async function endpointPutExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json + */ +async function endpointPutExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters: Endpoint = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + subnets: [ + { first: "1.2.3.0", scope: 24 }, + { first: "25.26.27.28", last: "29.30.31.32" } + ], + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsDeleteSample.ts new file mode 100644 index 000000000000..f01d68dbc7f3 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Traffic Manager endpoint. + * + * @summary Deletes a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json + */ +async function endpointDeleteExternal() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.delete( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointDeleteExternal().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsGetSample.ts new file mode 100644 index 000000000000..313560c272fb --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsGetSample.ts @@ -0,0 +1,87 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json + */ +async function endpointGetExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json + */ +async function endpointGetExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json + */ +async function endpointGetExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsUpdateSample.ts new file mode 100644 index 000000000000..35b3651b321b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/endpointsUpdateSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Endpoint, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a Traffic Manager endpoint. + * + * @summary Update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json + */ +async function endpointPatchExternalTarget() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + id: + "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + target: "another.foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.update( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPatchExternalTarget().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/geographicHierarchiesGetDefaultSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/geographicHierarchiesGetDefaultSample.ts new file mode 100644 index 000000000000..2bbb463558f7 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/geographicHierarchiesGetDefaultSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * + * @summary Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json + */ +async function geographicHierarchyGetDefault() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.geographicHierarchies.getDefault(); + console.log(result); +} + +geographicHierarchyGetDefault().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/heatMapGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/heatMapGetSample.ts new file mode 100644 index 000000000000..7d5a076a9d58 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/heatMapGetSample.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + HeatMapGetOptionalParams, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json + */ +async function heatMapGet() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGet().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json + */ +async function heatMapGetWithNullValues() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGetWithNullValues().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json + */ +async function heatMapGetWithTopLeftBotRight() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const topLeft = [10, 50.001]; + const botRight = [-50.001, 80]; + const options: HeatMapGetOptionalParams = { topLeft, botRight }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get( + resourceGroupName, + profileName, + options + ); + console.log(result); +} + +heatMapGetWithTopLeftBotRight().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts new file mode 100644 index 000000000000..d518b2817407 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts @@ -0,0 +1,59 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckTrafficManagerRelativeDnsNameAvailabilityParameters, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json + */ +async function nameAvailabilityTestNameAvailablePost21() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters = { + name: "azsmnet5403", + type: "microsoft.network/trafficmanagerprofiles" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability( + parameters + ); + console.log(result); +} + +nameAvailabilityTestNameAvailablePost21().catch(console.error); + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json + */ +async function nameAvailabilityTestNameNotAvailablePost23() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters = { + name: "azsmnet4696", + type: "microsoft.network/trafficmanagerprofiles" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability( + parameters + ); + console.log(result); +} + +nameAvailabilityTestNameNotAvailablePost23().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..0c385a851b47 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesCreateOrUpdateSample.ts @@ -0,0 +1,290 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Profile, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json + */ +async function profilePutMultiValue() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters: Profile = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + maxReturn: 2, + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "MultiValue", + trafficViewEnrollmentStatus: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutMultiValue().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json + */ +async function profilePutNoEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters: Profile = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutNoEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json + */ +async function profilePutWithAliasing() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + allowedEndpointRecordTypes: ["DomainName"], + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithAliasing().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json + */ +async function profilePutWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [{ name: "header-2", value: "value-2-overridden" }], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + expectedStatusCodeRanges: [ + { max: 205, min: 200 }, + { max: 410, min: 400 } + ], + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + trafficViewEnrollmentStatus: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json + */ +async function profilePutWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json + */ +async function profilePutWithNestedEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myresourcegroup"; + const profileName = "parentprofile"; + const parameters: Profile = { + dnsConfig: { relativeName: "parentprofile", ttl: 35 }, + endpoints: [ + { + name: "MyFirstNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 1, + minChildEndpointsIPv6: 2, + priority: 1, + target: "firstnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1 + }, + { + name: "MySecondNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 2, + minChildEndpointsIPv6: 1, + priority: 2, + target: "secondnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1 + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Priority" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithNestedEndpoints().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesDeleteSample.ts new file mode 100644 index 000000000000..1b05a76c7e6f --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesDeleteSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Traffic Manager profile. + * + * @summary Deletes a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json + */ +async function profileDelete() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.delete(resourceGroupName, profileName); + console.log(result); +} + +profileDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesGetSample.ts new file mode 100644 index 000000000000..9b069e08958b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesGetSample.ts @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json + */ +async function profileGetWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json + */ +async function profileGetWithTrafficViewDisabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewDisabled().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json + */ +async function profileGetWithTrafficViewEnabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewEnabled().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListByResourceGroupSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListByResourceGroupSample.ts new file mode 100644 index 000000000000..06ac7378e38a --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a resource group. + * + * @summary Lists all Traffic Manager profiles within a resource group. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json + */ +async function listProfilesByResourceGroup() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager3640"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listProfilesByResourceGroup().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListBySubscriptionSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListBySubscriptionSample.ts new file mode 100644 index 000000000000..3188b76769b3 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a subscription. + * + * @summary Lists all Traffic Manager profiles within a subscription. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json + */ +async function listBySubscription() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listBySubscription().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesUpdateSample.ts new file mode 100644 index 000000000000..abacdf10b80c --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/profilesUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Profile, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a Traffic Manager profile. + * + * @summary Update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json + */ +async function profilePatchMonitorConfig() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + intervalInSeconds: 30, + port: 80, + timeoutInSeconds: 6, + toleratedNumberOfFailures: 4, + protocol: "HTTP" + } + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.update( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePatchMonitorConfig().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts new file mode 100644 index 000000000000..8eb6df3237a6 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a subscription-level key used for Real User Metrics collection. + * + * @summary Create or update a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json + */ +async function trafficManagerUserMetricsKeysPut() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.createOrUpdate(); + console.log(result); +} + +trafficManagerUserMetricsKeysPut().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysDeleteSample.ts new file mode 100644 index 000000000000..5d2fa7dcb71b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysDeleteSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a subscription-level key used for Real User Metrics collection. + * + * @summary Delete a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json + */ +async function trafficManagerUserMetricsKeysDelete() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.delete(); + console.log(result); +} + +trafficManagerUserMetricsKeysDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysGetSample.ts new file mode 100644 index 000000000000..0af1683a2566 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples-dev/trafficManagerUserMetricsKeysGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription-level key used for Real User Metrics collection. + * + * @summary Get the subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json + */ +async function trafficManagerUserMetricsKeysGet() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.get(); + console.log(result); +} + +trafficManagerUserMetricsKeysGet().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/README.md b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/README.md index 490573659002..b05daa1e6ba7 100644 --- a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/README.md +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/README.md @@ -2,39 +2,55 @@ These sample programs show how to use the JavaScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [endpointDeleteExternal.js][endpointdeleteexternal] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | -| [endpointGetExternalWithGeoMapping.js][endpointgetexternalwithgeomapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | -| [endpointGetExternalWithLocation.js][endpointgetexternalwithlocation] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json | -| [endpointGetExternalWithSubnetMapping.js][endpointgetexternalwithsubnetmapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json | -| [endpointPatchExternalTarget.js][endpointpatchexternaltarget] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | -| [endpointPutExternalWithCustomHeaders.js][endpointputexternalwithcustomheaders] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | -| [endpointPutExternalWithGeoMapping.js][endpointputexternalwithgeomapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json | -| [endpointPutExternalWithLocation.js][endpointputexternalwithlocation] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json | -| [endpointPutExternalWithSubnetMapping.js][endpointputexternalwithsubnetmapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json | -| [geographicHierarchyGetDefault.js][geographichierarchygetdefault] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | -| [heatMapGet.js][heatmapget] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | -| [heatMapGetWithNullValues.js][heatmapgetwithnullvalues] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json | -| [heatMapGetWithTopLeftBotRight.js][heatmapgetwithtopleftbotright] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json | -| [listBySubscription.js][listbysubscription] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | -| [listProfilesByResourceGroup.js][listprofilesbyresourcegroup] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | -| [nameAvailabilityTestNameAvailablePost21.js][nameavailabilitytestnameavailablepost21] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | -| [nameAvailabilityTestNameNotAvailablePost23.js][nameavailabilitytestnamenotavailablepost23] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json | -| [profileDelete.js][profiledelete] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | -| [profileGetWithEndpoints.js][profilegetwithendpoints] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | -| [profileGetWithTrafficViewDisabled.js][profilegetwithtrafficviewdisabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json | -| [profileGetWithTrafficViewEnabled.js][profilegetwithtrafficviewenabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json | -| [profilePatchMonitorConfig.js][profilepatchmonitorconfig] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | -| [profilePutMultiValue.js][profileputmultivalue] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | -| [profilePutNoEndpoints.js][profileputnoendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json | -| [profilePutWithAliasing.js][profileputwithaliasing] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json | -| [profilePutWithCustomHeaders.js][profileputwithcustomheaders] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json | -| [profilePutWithEndpoints.js][profileputwithendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json | -| [profilePutWithNestedEndpoints.js][profileputwithnestedendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json | -| [trafficManagerUserMetricsKeysDelete.js][trafficmanagerusermetricskeysdelete] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | -| [trafficManagerUserMetricsKeysGet.js][trafficmanagerusermetricskeysget] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | -| [trafficManagerUserMetricsKeysPut.js][trafficmanagerusermetricskeysput] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [endpointDeleteExternal.js][endpointdeleteexternal] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | +| [endpointGetExternalWithGeoMapping.js][endpointgetexternalwithgeomapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | +| [endpointGetExternalWithLocation.js][endpointgetexternalwithlocation] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json | +| [endpointGetExternalWithSubnetMapping.js][endpointgetexternalwithsubnetmapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json | +| [endpointPatchExternalTarget.js][endpointpatchexternaltarget] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | +| [endpointPutExternalWithCustomHeaders.js][endpointputexternalwithcustomheaders] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | +| [endpointPutExternalWithGeoMapping.js][endpointputexternalwithgeomapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json | +| [endpointPutExternalWithLocation.js][endpointputexternalwithlocation] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json | +| [endpointPutExternalWithSubnetMapping.js][endpointputexternalwithsubnetmapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json | +| [endpointsCreateOrUpdateSample.js][endpointscreateorupdatesample] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | +| [endpointsDeleteSample.js][endpointsdeletesample] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | +| [endpointsGetSample.js][endpointsgetsample] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | +| [endpointsUpdateSample.js][endpointsupdatesample] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | +| [geographicHierarchiesGetDefaultSample.js][geographichierarchiesgetdefaultsample] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | +| [geographicHierarchyGetDefault.js][geographichierarchygetdefault] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | +| [heatMapGet.js][heatmapget] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | +| [heatMapGetSample.js][heatmapgetsample] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | +| [heatMapGetWithNullValues.js][heatmapgetwithnullvalues] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json | +| [heatMapGetWithTopLeftBotRight.js][heatmapgetwithtopleftbotright] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json | +| [listBySubscription.js][listbysubscription] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | +| [listProfilesByResourceGroup.js][listprofilesbyresourcegroup] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | +| [nameAvailabilityTestNameAvailablePost21.js][nameavailabilitytestnameavailablepost21] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | +| [nameAvailabilityTestNameNotAvailablePost23.js][nameavailabilitytestnamenotavailablepost23] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json | +| [profileDelete.js][profiledelete] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | +| [profileGetWithEndpoints.js][profilegetwithendpoints] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | +| [profileGetWithTrafficViewDisabled.js][profilegetwithtrafficviewdisabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json | +| [profileGetWithTrafficViewEnabled.js][profilegetwithtrafficviewenabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json | +| [profilePatchMonitorConfig.js][profilepatchmonitorconfig] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | +| [profilePutMultiValue.js][profileputmultivalue] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | +| [profilePutNoEndpoints.js][profileputnoendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json | +| [profilePutWithAliasing.js][profileputwithaliasing] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json | +| [profilePutWithCustomHeaders.js][profileputwithcustomheaders] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json | +| [profilePutWithEndpoints.js][profileputwithendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json | +| [profilePutWithNestedEndpoints.js][profileputwithnestedendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json | +| [profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js][profileschecktrafficmanagerrelativednsnameavailabilitysample] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | +| [profilesCreateOrUpdateSample.js][profilescreateorupdatesample] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | +| [profilesDeleteSample.js][profilesdeletesample] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | +| [profilesGetSample.js][profilesgetsample] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | +| [profilesListByResourceGroupSample.js][profileslistbyresourcegroupsample] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | +| [profilesListBySubscriptionSample.js][profileslistbysubscriptionsample] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | +| [profilesUpdateSample.js][profilesupdatesample] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | +| [trafficManagerUserMetricsKeysCreateOrUpdateSample.js][trafficmanagerusermetricskeyscreateorupdatesample] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | +| [trafficManagerUserMetricsKeysDelete.js][trafficmanagerusermetricskeysdelete] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | +| [trafficManagerUserMetricsKeysDeleteSample.js][trafficmanagerusermetricskeysdeletesample] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | +| [trafficManagerUserMetricsKeysGet.js][trafficmanagerusermetricskeysget] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | +| [trafficManagerUserMetricsKeysGetSample.js][trafficmanagerusermetricskeysgetsample] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | +| [trafficManagerUserMetricsKeysPut.js][trafficmanagerusermetricskeysput] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | ## Prerequisites @@ -83,8 +99,14 @@ Take a look at our [API Documentation][apiref] for more information about the AP [endpointputexternalwithgeomapping]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointPutExternalWithGeoMapping.js [endpointputexternalwithlocation]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointPutExternalWithLocation.js [endpointputexternalwithsubnetmapping]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointPutExternalWithSubnetMapping.js +[endpointscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsCreateOrUpdateSample.js +[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsDeleteSample.js +[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsGetSample.js +[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsUpdateSample.js +[geographichierarchiesgetdefaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/geographicHierarchiesGetDefaultSample.js [geographichierarchygetdefault]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/geographicHierarchyGetDefault.js [heatmapget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGet.js +[heatmapgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetSample.js [heatmapgetwithnullvalues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetWithNullValues.js [heatmapgetwithtopleftbotright]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetWithTopLeftBotRight.js [listbysubscription]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/listBySubscription.js @@ -102,8 +124,18 @@ Take a look at our [API Documentation][apiref] for more information about the AP [profileputwithcustomheaders]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilePutWithCustomHeaders.js [profileputwithendpoints]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilePutWithEndpoints.js [profileputwithnestedendpoints]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilePutWithNestedEndpoints.js +[profileschecktrafficmanagerrelativednsnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +[profilescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCreateOrUpdateSample.js +[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesDeleteSample.js +[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesGetSample.js +[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListByResourceGroupSample.js +[profileslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListBySubscriptionSample.js +[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesUpdateSample.js +[trafficmanagerusermetricskeyscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysCreateOrUpdateSample.js [trafficmanagerusermetricskeysdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysDelete.js +[trafficmanagerusermetricskeysdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysDeleteSample.js [trafficmanagerusermetricskeysget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysGet.js +[trafficmanagerusermetricskeysgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysGetSample.js [trafficmanagerusermetricskeysput]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysPut.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-trafficmanager?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsCreateOrUpdateSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsCreateOrUpdateSample.js new file mode 100644 index 000000000000..6695142fc15d --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsCreateOrUpdateSample.js @@ -0,0 +1,151 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json + */ +async function endpointPutExternalWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" }, + ], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json + */ +async function endpointPutExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + geoMapping: ["GEO-AS", "GEO-AF"], + target: "foobar.contoso.com", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json + */ +async function endpointPutExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json + */ +async function endpointPutExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + subnets: [ + { first: "1.2.3.0", scope: 24 }, + { first: "25.26.27.28", last: "29.30.31.32" }, + ], + target: "foobar.contoso.com", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsDeleteSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsDeleteSample.js new file mode 100644 index 000000000000..79211f5964ca --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsDeleteSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a Traffic Manager endpoint. + * + * @summary Deletes a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json + */ +async function endpointDeleteExternal() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.delete( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointDeleteExternal().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsGetSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsGetSample.js new file mode 100644 index 000000000000..cb3cea537244 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsGetSample.js @@ -0,0 +1,87 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json + */ +async function endpointGetExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json + */ +async function endpointGetExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json + */ +async function endpointGetExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsUpdateSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsUpdateSample.js new file mode 100644 index 000000000000..9cbda7d6e0f3 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/endpointsUpdateSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Update a Traffic Manager endpoint. + * + * @summary Update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json + */ +async function endpointPatchExternalTarget() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters = { + name: "azsmnet7187", + type: "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + id: "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + target: "another.foobar.contoso.com", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.update( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPatchExternalTarget().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/geographicHierarchiesGetDefaultSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/geographicHierarchiesGetDefaultSample.js new file mode 100644 index 000000000000..b833be1a871b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/geographicHierarchiesGetDefaultSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * + * @summary Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json + */ +async function geographicHierarchyGetDefault() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.geographicHierarchies.getDefault(); + console.log(result); +} + +geographicHierarchyGetDefault().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetSample.js new file mode 100644 index 000000000000..d3842c2a894b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/heatMapGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json + */ +async function heatMapGet() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGet().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json + */ +async function heatMapGetWithNullValues() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGetWithNullValues().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json + */ +async function heatMapGetWithTopLeftBotRight() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const topLeft = [10, 50.001]; + const botRight = [-50.001, 80]; + const options = { topLeft, botRight }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName, options); + console.log(result); +} + +heatMapGetWithTopLeftBotRight().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js new file mode 100644 index 000000000000..694afa56ad1f --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js @@ -0,0 +1,52 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json + */ +async function nameAvailabilityTestNameAvailablePost21() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters = { + name: "azsmnet5403", + type: "microsoft.network/trafficmanagerprofiles", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability(parameters); + console.log(result); +} + +nameAvailabilityTestNameAvailablePost21().catch(console.error); + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json + */ +async function nameAvailabilityTestNameNotAvailablePost23() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters = { + name: "azsmnet4696", + type: "microsoft.network/trafficmanagerprofiles", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability(parameters); + console.log(result); +} + +nameAvailabilityTestNameNotAvailablePost23().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCreateOrUpdateSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCreateOrUpdateSample.js new file mode 100644 index 000000000000..0a1703fb48a4 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesCreateOrUpdateSample.js @@ -0,0 +1,263 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json + */ +async function profilePutMultiValue() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + maxReturn: 2, + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "MultiValue", + trafficViewEnrollmentStatus: "Disabled", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutMultiValue().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json + */ +async function profilePutNoEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutNoEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json + */ +async function profilePutWithAliasing() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters = { + allowedEndpointRecordTypes: ["DomainName"], + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35, + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com", + }, + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP", + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutWithAliasing().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json + */ +async function profilePutWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35, + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [{ name: "header-2", value: "value-2-overridden" }], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com", + }, + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" }, + ], + expectedStatusCodeRanges: [ + { max: 205, min: 200 }, + { max: 410, min: 400 }, + ], + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP", + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + trafficViewEnrollmentStatus: "Disabled", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json + */ +async function profilePutWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35, + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com", + }, + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP", + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json + */ +async function profilePutWithNestedEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myresourcegroup"; + const profileName = "parentprofile"; + const parameters = { + dnsConfig: { relativeName: "parentprofile", ttl: 35 }, + endpoints: [ + { + name: "MyFirstNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 1, + minChildEndpointsIPv6: 2, + priority: 1, + target: "firstnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1, + }, + { + name: "MySecondNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 2, + minChildEndpointsIPv6: 1, + priority: 2, + target: "secondnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1, + }, + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP", + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Priority", + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePutWithNestedEndpoints().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesDeleteSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesDeleteSample.js new file mode 100644 index 000000000000..22ca50961273 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a Traffic Manager profile. + * + * @summary Deletes a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json + */ +async function profileDelete() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.delete(resourceGroupName, profileName); + console.log(result); +} + +profileDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesGetSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesGetSample.js new file mode 100644 index 000000000000..f84fe5ba866f --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesGetSample.js @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json + */ +async function profileGetWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json + */ +async function profileGetWithTrafficViewDisabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewDisabled().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json + */ +async function profileGetWithTrafficViewEnabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewEnabled().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListByResourceGroupSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListByResourceGroupSample.js new file mode 100644 index 000000000000..480a6476456a --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a resource group. + * + * @summary Lists all Traffic Manager profiles within a resource group. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json + */ +async function listProfilesByResourceGroup() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager3640"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listProfilesByResourceGroup().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListBySubscriptionSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListBySubscriptionSample.js new file mode 100644 index 000000000000..64e630577ade --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesListBySubscriptionSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a subscription. + * + * @summary Lists all Traffic Manager profiles within a subscription. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json + */ +async function listBySubscription() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listBySubscription().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesUpdateSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesUpdateSample.js new file mode 100644 index 000000000000..e63b4d1d2149 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/profilesUpdateSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Update a Traffic Manager profile. + * + * @summary Update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json + */ +async function profilePatchMonitorConfig() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters = { + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" }, + ], + intervalInSeconds: 30, + port: 80, + timeoutInSeconds: 6, + toleratedNumberOfFailures: 4, + protocol: "HTTP", + }, + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.update(resourceGroupName, profileName, parameters); + console.log(result); +} + +profilePatchMonitorConfig().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysCreateOrUpdateSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysCreateOrUpdateSample.js new file mode 100644 index 000000000000..5ecae85d8db5 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysCreateOrUpdateSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create or update a subscription-level key used for Real User Metrics collection. + * + * @summary Create or update a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json + */ +async function trafficManagerUserMetricsKeysPut() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.createOrUpdate(); + console.log(result); +} + +trafficManagerUserMetricsKeysPut().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysDeleteSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysDeleteSample.js new file mode 100644 index 000000000000..d86b3323a497 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysDeleteSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete a subscription-level key used for Real User Metrics collection. + * + * @summary Delete a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json + */ +async function trafficManagerUserMetricsKeysDelete() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.delete(); + console.log(result); +} + +trafficManagerUserMetricsKeysDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysGetSample.js b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysGetSample.js new file mode 100644 index 000000000000..c1511224b388 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/javascript/trafficManagerUserMetricsKeysGetSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get the subscription-level key used for Real User Metrics collection. + * + * @summary Get the subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json + */ +async function trafficManagerUserMetricsKeysGet() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.get(); + console.log(result); +} + +trafficManagerUserMetricsKeysGet().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/README.md b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/README.md index e6b8ad8a21cf..09e90678641b 100644 --- a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/README.md +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/README.md @@ -2,39 +2,55 @@ These sample programs show how to use the TypeScript client libraries for in some common scenarios. -| **File Name** | **Description** | -| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [endpointDeleteExternal.ts][endpointdeleteexternal] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | -| [endpointGetExternalWithGeoMapping.ts][endpointgetexternalwithgeomapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | -| [endpointGetExternalWithLocation.ts][endpointgetexternalwithlocation] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json | -| [endpointGetExternalWithSubnetMapping.ts][endpointgetexternalwithsubnetmapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json | -| [endpointPatchExternalTarget.ts][endpointpatchexternaltarget] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | -| [endpointPutExternalWithCustomHeaders.ts][endpointputexternalwithcustomheaders] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | -| [endpointPutExternalWithGeoMapping.ts][endpointputexternalwithgeomapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json | -| [endpointPutExternalWithLocation.ts][endpointputexternalwithlocation] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json | -| [endpointPutExternalWithSubnetMapping.ts][endpointputexternalwithsubnetmapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json | -| [geographicHierarchyGetDefault.ts][geographichierarchygetdefault] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | -| [heatMapGet.ts][heatmapget] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | -| [heatMapGetWithNullValues.ts][heatmapgetwithnullvalues] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json | -| [heatMapGetWithTopLeftBotRight.ts][heatmapgetwithtopleftbotright] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json | -| [listBySubscription.ts][listbysubscription] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | -| [listProfilesByResourceGroup.ts][listprofilesbyresourcegroup] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | -| [nameAvailabilityTestNameAvailablePost21.ts][nameavailabilitytestnameavailablepost21] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | -| [nameAvailabilityTestNameNotAvailablePost23.ts][nameavailabilitytestnamenotavailablepost23] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json | -| [profileDelete.ts][profiledelete] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | -| [profileGetWithEndpoints.ts][profilegetwithendpoints] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | -| [profileGetWithTrafficViewDisabled.ts][profilegetwithtrafficviewdisabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json | -| [profileGetWithTrafficViewEnabled.ts][profilegetwithtrafficviewenabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json | -| [profilePatchMonitorConfig.ts][profilepatchmonitorconfig] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | -| [profilePutMultiValue.ts][profileputmultivalue] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | -| [profilePutNoEndpoints.ts][profileputnoendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json | -| [profilePutWithAliasing.ts][profileputwithaliasing] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json | -| [profilePutWithCustomHeaders.ts][profileputwithcustomheaders] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json | -| [profilePutWithEndpoints.ts][profileputwithendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json | -| [profilePutWithNestedEndpoints.ts][profileputwithnestedendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json | -| [trafficManagerUserMetricsKeysDelete.ts][trafficmanagerusermetricskeysdelete] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | -| [trafficManagerUserMetricsKeysGet.ts][trafficmanagerusermetricskeysget] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | -| [trafficManagerUserMetricsKeysPut.ts][trafficmanagerusermetricskeysput] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | +| **File Name** | **Description** | +| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [endpointDeleteExternal.ts][endpointdeleteexternal] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | +| [endpointGetExternalWithGeoMapping.ts][endpointgetexternalwithgeomapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | +| [endpointGetExternalWithLocation.ts][endpointgetexternalwithlocation] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json | +| [endpointGetExternalWithSubnetMapping.ts][endpointgetexternalwithsubnetmapping] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json | +| [endpointPatchExternalTarget.ts][endpointpatchexternaltarget] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | +| [endpointPutExternalWithCustomHeaders.ts][endpointputexternalwithcustomheaders] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | +| [endpointPutExternalWithGeoMapping.ts][endpointputexternalwithgeomapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json | +| [endpointPutExternalWithLocation.ts][endpointputexternalwithlocation] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json | +| [endpointPutExternalWithSubnetMapping.ts][endpointputexternalwithsubnetmapping] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json | +| [endpointsCreateOrUpdateSample.ts][endpointscreateorupdatesample] | Create or update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json | +| [endpointsDeleteSample.ts][endpointsdeletesample] | Deletes a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json | +| [endpointsGetSample.ts][endpointsgetsample] | Gets a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json | +| [endpointsUpdateSample.ts][endpointsupdatesample] | Update a Traffic Manager endpoint. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json | +| [geographicHierarchiesGetDefaultSample.ts][geographichierarchiesgetdefaultsample] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | +| [geographicHierarchyGetDefault.ts][geographichierarchygetdefault] | Gets the default Geographic Hierarchy used by the Geographic traffic routing method. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json | +| [heatMapGet.ts][heatmapget] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | +| [heatMapGetSample.ts][heatmapgetsample] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json | +| [heatMapGetWithNullValues.ts][heatmapgetwithnullvalues] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json | +| [heatMapGetWithTopLeftBotRight.ts][heatmapgetwithtopleftbotright] | Gets latest heatmap for Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json | +| [listBySubscription.ts][listbysubscription] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | +| [listProfilesByResourceGroup.ts][listprofilesbyresourcegroup] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | +| [nameAvailabilityTestNameAvailablePost21.ts][nameavailabilitytestnameavailablepost21] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | +| [nameAvailabilityTestNameNotAvailablePost23.ts][nameavailabilitytestnamenotavailablepost23] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json | +| [profileDelete.ts][profiledelete] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | +| [profileGetWithEndpoints.ts][profilegetwithendpoints] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | +| [profileGetWithTrafficViewDisabled.ts][profilegetwithtrafficviewdisabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json | +| [profileGetWithTrafficViewEnabled.ts][profilegetwithtrafficviewenabled] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json | +| [profilePatchMonitorConfig.ts][profilepatchmonitorconfig] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | +| [profilePutMultiValue.ts][profileputmultivalue] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | +| [profilePutNoEndpoints.ts][profileputnoendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json | +| [profilePutWithAliasing.ts][profileputwithaliasing] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json | +| [profilePutWithCustomHeaders.ts][profileputwithcustomheaders] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json | +| [profilePutWithEndpoints.ts][profileputwithendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json | +| [profilePutWithNestedEndpoints.ts][profileputwithnestedendpoints] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json | +| [profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts][profileschecktrafficmanagerrelativednsnameavailabilitysample] | Checks the availability of a Traffic Manager Relative DNS name. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json | +| [profilesCreateOrUpdateSample.ts][profilescreateorupdatesample] | Create or update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json | +| [profilesDeleteSample.ts][profilesdeletesample] | Deletes a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json | +| [profilesGetSample.ts][profilesgetsample] | Gets a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json | +| [profilesListByResourceGroupSample.ts][profileslistbyresourcegroupsample] | Lists all Traffic Manager profiles within a resource group. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json | +| [profilesListBySubscriptionSample.ts][profileslistbysubscriptionsample] | Lists all Traffic Manager profiles within a subscription. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json | +| [profilesUpdateSample.ts][profilesupdatesample] | Update a Traffic Manager profile. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json | +| [trafficManagerUserMetricsKeysCreateOrUpdateSample.ts][trafficmanagerusermetricskeyscreateorupdatesample] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | +| [trafficManagerUserMetricsKeysDelete.ts][trafficmanagerusermetricskeysdelete] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | +| [trafficManagerUserMetricsKeysDeleteSample.ts][trafficmanagerusermetricskeysdeletesample] | Delete a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json | +| [trafficManagerUserMetricsKeysGet.ts][trafficmanagerusermetricskeysget] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | +| [trafficManagerUserMetricsKeysGetSample.ts][trafficmanagerusermetricskeysgetsample] | Get the subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json | +| [trafficManagerUserMetricsKeysPut.ts][trafficmanagerusermetricskeysput] | Create or update a subscription-level key used for Real User Metrics collection. x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json | ## Prerequisites @@ -95,8 +111,14 @@ Take a look at our [API Documentation][apiref] for more information about the AP [endpointputexternalwithgeomapping]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointPutExternalWithGeoMapping.ts [endpointputexternalwithlocation]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointPutExternalWithLocation.ts [endpointputexternalwithsubnetmapping]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointPutExternalWithSubnetMapping.ts +[endpointscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsCreateOrUpdateSample.ts +[endpointsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsDeleteSample.ts +[endpointsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsGetSample.ts +[endpointsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsUpdateSample.ts +[geographichierarchiesgetdefaultsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/geographicHierarchiesGetDefaultSample.ts [geographichierarchygetdefault]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/geographicHierarchyGetDefault.ts [heatmapget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGet.ts +[heatmapgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetSample.ts [heatmapgetwithnullvalues]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetWithNullValues.ts [heatmapgetwithtopleftbotright]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetWithTopLeftBotRight.ts [listbysubscription]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/listBySubscription.ts @@ -114,8 +136,18 @@ Take a look at our [API Documentation][apiref] for more information about the AP [profileputwithcustomheaders]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilePutWithCustomHeaders.ts [profileputwithendpoints]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilePutWithEndpoints.ts [profileputwithnestedendpoints]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilePutWithNestedEndpoints.ts +[profileschecktrafficmanagerrelativednsnameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts +[profilescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCreateOrUpdateSample.ts +[profilesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesDeleteSample.ts +[profilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesGetSample.ts +[profileslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListByResourceGroupSample.ts +[profileslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListBySubscriptionSample.ts +[profilesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesUpdateSample.ts +[trafficmanagerusermetricskeyscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts [trafficmanagerusermetricskeysdelete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysDelete.ts +[trafficmanagerusermetricskeysdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysDeleteSample.ts [trafficmanagerusermetricskeysget]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysGet.ts +[trafficmanagerusermetricskeysgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysGetSample.ts [trafficmanagerusermetricskeysput]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysPut.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-trafficmanager?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b47dac7fa14c --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsCreateOrUpdateSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Endpoint, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json + */ +async function endpointPutExternalWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json + */ +async function endpointPutExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters: Endpoint = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + geoMapping: ["GEO-AS", "GEO-AF"], + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json + */ +async function endpointPutExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager endpoint. + * + * @summary Create or update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json + */ +async function endpointPutExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const parameters: Endpoint = { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointStatus: "Enabled", + subnets: [ + { first: "1.2.3.0", scope: 24 }, + { first: "25.26.27.28", last: "29.30.31.32" } + ], + target: "foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.createOrUpdate( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPutExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsDeleteSample.ts new file mode 100644 index 000000000000..f01d68dbc7f3 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsDeleteSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Traffic Manager endpoint. + * + * @summary Deletes a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json + */ +async function endpointDeleteExternal() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.delete( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointDeleteExternal().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsGetSample.ts new file mode 100644 index 000000000000..313560c272fb --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsGetSample.ts @@ -0,0 +1,87 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json + */ +async function endpointGetExternalWithGeoMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithGeoMapping().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json + */ +async function endpointGetExternalWithLocation() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithLocation().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager endpoint. + * + * @summary Gets a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json + */ +async function endpointGetExternalWithSubnetMapping() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191"; + const profileName = "azuresdkfornetautoresttrafficmanager8224"; + const endpointType = "ExternalEndpoints"; + const endpointName = "My%20external%20endpoint"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.get( + resourceGroupName, + profileName, + endpointType, + endpointName + ); + console.log(result); +} + +endpointGetExternalWithSubnetMapping().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsUpdateSample.ts new file mode 100644 index 000000000000..35b3651b321b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/endpointsUpdateSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Endpoint, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a Traffic Manager endpoint. + * + * @summary Update a Traffic Manager endpoint. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json + */ +async function endpointPatchExternalTarget() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const endpointType = "ExternalEndpoints"; + const endpointName = "azsmnet7187"; + const parameters: Endpoint = { + name: "azsmnet7187", + type: "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + id: + "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + target: "another.foobar.contoso.com" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.endpoints.update( + resourceGroupName, + profileName, + endpointType, + endpointName, + parameters + ); + console.log(result); +} + +endpointPatchExternalTarget().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/geographicHierarchiesGetDefaultSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/geographicHierarchiesGetDefaultSample.ts new file mode 100644 index 000000000000..2bbb463558f7 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/geographicHierarchiesGetDefaultSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * + * @summary Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/GeographicHierarchy-GET-default.json + */ +async function geographicHierarchyGetDefault() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.geographicHierarchies.getDefault(); + console.log(result); +} + +geographicHierarchyGetDefault().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetSample.ts new file mode 100644 index 000000000000..7d5a076a9d58 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/heatMapGetSample.ts @@ -0,0 +1,76 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + HeatMapGetOptionalParams, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET.json + */ +async function heatMapGet() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGet().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-Null-Values.json + */ +async function heatMapGetWithNullValues() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get(resourceGroupName, profileName); + console.log(result); +} + +heatMapGetWithNullValues().catch(console.error); + +/** + * This sample demonstrates how to Gets latest heatmap for Traffic Manager profile. + * + * @summary Gets latest heatmap for Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/HeatMap-GET-With-TopLeft-BotRight.json + */ +async function heatMapGetWithTopLeftBotRight() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const topLeft = [10, 50.001]; + const botRight = [-50.001, 80]; + const options: HeatMapGetOptionalParams = { topLeft, botRight }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.heatMap.get( + resourceGroupName, + profileName, + options + ); + console.log(result); +} + +heatMapGetWithTopLeftBotRight().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts new file mode 100644 index 000000000000..d518b2817407 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.ts @@ -0,0 +1,59 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckTrafficManagerRelativeDnsNameAvailabilityParameters, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json + */ +async function nameAvailabilityTestNameAvailablePost21() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters = { + name: "azsmnet5403", + type: "microsoft.network/trafficmanagerprofiles" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability( + parameters + ); + console.log(result); +} + +nameAvailabilityTestNameAvailablePost21().catch(console.error); + +/** + * This sample demonstrates how to Checks the availability of a Traffic Manager Relative DNS name. + * + * @summary Checks the availability of a Traffic Manager Relative DNS name. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json + */ +async function nameAvailabilityTestNameNotAvailablePost23() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters = { + name: "azsmnet4696", + type: "microsoft.network/trafficmanagerprofiles" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.checkTrafficManagerRelativeDnsNameAvailability( + parameters + ); + console.log(result); +} + +nameAvailabilityTestNameNotAvailablePost23().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..0c385a851b47 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesCreateOrUpdateSample.ts @@ -0,0 +1,290 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Profile, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-MultiValue.json + */ +async function profilePutMultiValue() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters: Profile = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + maxReturn: 2, + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "MultiValue", + trafficViewEnrollmentStatus: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutMultiValue().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-NoEndpoints.json + */ +async function profilePutNoEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421"; + const profileName = "azsmnet6386"; + const parameters: Profile = { + dnsConfig: { relativeName: "azsmnet6386", ttl: 35 }, + location: "global", + monitorConfig: { path: "/testpath.aspx", port: 80, protocol: "HTTP" }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutNoEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithAliasing.json + */ +async function profilePutWithAliasing() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + allowedEndpointRecordTypes: ["DomainName"], + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithAliasing().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithCustomHeaders.json + */ +async function profilePutWithCustomHeaders() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + customHeaders: [{ name: "header-2", value: "value-2-overridden" }], + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + expectedStatusCodeRanges: [ + { max: 205, min: 200 }, + { max: 410, min: 400 } + ], + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance", + trafficViewEnrollmentStatus: "Disabled" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithCustomHeaders().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithEndpoints.json + */ +async function profilePutWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + dnsConfig: { + relativeName: "azuresdkfornetautoresttrafficmanager6192", + ttl: 35 + }, + endpoints: [ + { + name: "My external endpoint", + type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + endpointLocation: "North Europe", + endpointStatus: "Enabled", + target: "foobar.contoso.com" + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Performance" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Create or update a Traffic Manager profile. + * + * @summary Create or update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PUT-WithNestedEndpoints.json + */ +async function profilePutWithNestedEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myresourcegroup"; + const profileName = "parentprofile"; + const parameters: Profile = { + dnsConfig: { relativeName: "parentprofile", ttl: 35 }, + endpoints: [ + { + name: "MyFirstNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 1, + minChildEndpointsIPv6: 2, + priority: 1, + target: "firstnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1 + }, + { + name: "MySecondNestedEndpoint", + type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + endpointStatus: "Enabled", + minChildEndpoints: 2, + minChildEndpointsIPv4: 2, + minChildEndpointsIPv6: 1, + priority: 2, + target: "secondnestedprofile.tmpreview.watmtest.azure-test.net", + weight: 1 + } + ], + location: "global", + monitorConfig: { + path: "/testpath.aspx", + intervalInSeconds: 10, + port: 80, + timeoutInSeconds: 5, + toleratedNumberOfFailures: 2, + protocol: "HTTP" + }, + profileStatus: "Enabled", + trafficRoutingMethod: "Priority" + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.createOrUpdate( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePutWithNestedEndpoints().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesDeleteSample.ts new file mode 100644 index 000000000000..1b05a76c7e6f --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesDeleteSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Traffic Manager profile. + * + * @summary Deletes a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-DELETE.json + */ +async function profileDelete() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.delete(resourceGroupName, profileName); + console.log(result); +} + +profileDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesGetSample.ts new file mode 100644 index 000000000000..9b069e08958b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesGetSample.ts @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithEndpoints.json + */ +async function profileGetWithEndpoints() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithEndpoints().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewDisabled.json + */ +async function profileGetWithTrafficViewDisabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewDisabled().catch(console.error); + +/** + * This sample demonstrates how to Gets a Traffic Manager profile. + * + * @summary Gets a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-WithTrafficViewEnabled.json + */ +async function profileGetWithTrafficViewEnabled() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager1323"; + const profileName = "azuresdkfornetautoresttrafficmanager3880"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.get(resourceGroupName, profileName); + console.log(result); +} + +profileGetWithTrafficViewEnabled().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListByResourceGroupSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListByResourceGroupSample.ts new file mode 100644 index 000000000000..06ac7378e38a --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a resource group. + * + * @summary Lists all Traffic Manager profiles within a resource group. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-ByResourceGroup.json + */ +async function listProfilesByResourceGroup() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager3640"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listProfilesByResourceGroup().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListBySubscriptionSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListBySubscriptionSample.ts new file mode 100644 index 000000000000..3188b76769b3 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Lists all Traffic Manager profiles within a subscription. + * + * @summary Lists all Traffic Manager profiles within a subscription. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-GET-BySubscription.json + */ +async function listBySubscription() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.profiles.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listBySubscription().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesUpdateSample.ts new file mode 100644 index 000000000000..abacdf10b80c --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/profilesUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + Profile, + TrafficManagerManagementClient +} from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Update a Traffic Manager profile. + * + * @summary Update a Traffic Manager profile. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Profile-PATCH-MonitorConfig.json + */ +async function profilePatchMonitorConfig() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "azuresdkfornetautoresttrafficmanager2583"; + const profileName = "azuresdkfornetautoresttrafficmanager6192"; + const parameters: Profile = { + monitorConfig: { + path: "/testpath.aspx", + customHeaders: [ + { name: "header-1", value: "value-1" }, + { name: "header-2", value: "value-2" } + ], + intervalInSeconds: 30, + port: 80, + timeoutInSeconds: 6, + toleratedNumberOfFailures: 4, + protocol: "HTTP" + } + }; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.profiles.update( + resourceGroupName, + profileName, + parameters + ); + console.log(result); +} + +profilePatchMonitorConfig().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts new file mode 100644 index 000000000000..8eb6df3237a6 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysCreateOrUpdateSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create or update a subscription-level key used for Real User Metrics collection. + * + * @summary Create or update a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-PUT.json + */ +async function trafficManagerUserMetricsKeysPut() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.createOrUpdate(); + console.log(result); +} + +trafficManagerUserMetricsKeysPut().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysDeleteSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysDeleteSample.ts new file mode 100644 index 000000000000..5d2fa7dcb71b --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysDeleteSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete a subscription-level key used for Real User Metrics collection. + * + * @summary Delete a subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-DELETE.json + */ +async function trafficManagerUserMetricsKeysDelete() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.delete(); + console.log(result); +} + +trafficManagerUserMetricsKeysDelete().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysGetSample.ts b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysGetSample.ts new file mode 100644 index 000000000000..0af1683a2566 --- /dev/null +++ b/sdk/trafficmanager/arm-trafficmanager/samples/v6/typescript/src/trafficManagerUserMetricsKeysGetSample.ts @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get the subscription-level key used for Real User Metrics collection. + * + * @summary Get the subscription-level key used for Real User Metrics collection. + * x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/TrafficManagerUserMetricsKeys-GET.json + */ +async function trafficManagerUserMetricsKeysGet() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new TrafficManagerManagementClient(credential, subscriptionId); + const result = await client.trafficManagerUserMetricsKeys.get(); + console.log(result); +} + +trafficManagerUserMetricsKeysGet().catch(console.error); diff --git a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts index f42ee318a105..b2b004a0cbbd 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { EndpointsImpl, @@ -57,7 +58,7 @@ export class TrafficManagerManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-trafficmanager/6.0.0`; + const packageDetails = `azsdk-js-arm-trafficmanager/6.0.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -72,9 +73,33 @@ export class TrafficManagerManagementClient extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/trafficmanager/arm-trafficmanager/tsconfig.json b/sdk/trafficmanager/arm-trafficmanager/tsconfig.json index 9ea7c7414e8f..ae26f73d6156 100644 --- a/sdk/trafficmanager/arm-trafficmanager/tsconfig.json +++ b/sdk/trafficmanager/arm-trafficmanager/tsconfig.json @@ -9,12 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true, - "paths": { "@azure/arm-trafficmanager": ["./src/index"] } + "paths": { + "@azure/arm-trafficmanager": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/trafficmanager/ci.mgmt.yml b/sdk/trafficmanager/ci.mgmt.yml index a177c3be56a6..845a6f6c1e4a 100644 --- a/sdk/trafficmanager/ci.mgmt.yml +++ b/sdk/trafficmanager/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/trafficmanager/ci.mgmt.yml - - sdk/trafficmanager/arm-trafficmanager/ + - sdk/trafficmanager/arm-trafficmanager pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/trafficmanager/ci.mgmt.yml - - sdk/trafficmanager/arm-trafficmanager/ - + - sdk/trafficmanager/arm-trafficmanager extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: trafficmanager Artifacts: - name: azure-arm-trafficmanager - safeName: azurearmtrafficmanager \ No newline at end of file + safeName: azurearmtrafficmanager diff --git a/sdk/visualstudio/arm-visualstudio/CHANGELOG.md b/sdk/visualstudio/arm-visualstudio/CHANGELOG.md index 30f6651fb683..89776b671ce3 100644 --- a/sdk/visualstudio/arm-visualstudio/CHANGELOG.md +++ b/sdk/visualstudio/arm-visualstudio/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History -## 4.0.0-beta.1 (2022-01-21) +## 4.0.0-beta.2 (2022-05-05) -The package of @azure/arm-visualstudio is using our next generation design principles since version 4.0.0-beta.1, which contains breaking changes. +The package of @azure/arm-visualstudio is using our next generation design principles since version 4.0.0-beta.2, which contains breaking changes. To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). diff --git a/sdk/visualstudio/arm-visualstudio/LICENSE.txt b/sdk/visualstudio/arm-visualstudio/LICENSE.txt deleted file mode 100644 index a70e8cf66038..000000000000 --- a/sdk/visualstudio/arm-visualstudio/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 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/visualstudio/arm-visualstudio/README.md b/sdk/visualstudio/arm-visualstudio/README.md index c90950b4d7c1..d62432c816cb 100644 --- a/sdk/visualstudio/arm-visualstudio/README.md +++ b/sdk/visualstudio/arm-visualstudio/README.md @@ -2,7 +2,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Visual Studio Resource Provider client. -Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/rest/api/index. +Use these APIs to manage Visual Studio Team Services resources through the Azure Resource Manager. All task operations conform to the HTTP/1.1 protocol specification and each operation returns an x-ms-request-id header that can be used to obtain information about the request. You must make sure that requests made to these resources are secure. For more information, see https://docs.microsoft.com/en-us/rest/api/index. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/visualstudio/arm-visualstudio) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-visualstudio) | @@ -16,6 +16,8 @@ Use these APIs to manage Visual Studio Team Services resources through the Azure - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new VisualStudioResourceProviderClient(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new VisualStudioResourceProviderClient(credential, subscriptionId); ``` diff --git a/sdk/visualstudio/arm-visualstudio/_meta.json b/sdk/visualstudio/arm-visualstudio/_meta.json index 6bad8d44b1bc..a5290d0739c8 100644 --- a/sdk/visualstudio/arm-visualstudio/_meta.json +++ b/sdk/visualstudio/arm-visualstudio/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", - "readme": "specification/visualstudio/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/visualstudio/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true", + "commit": "d600759c3516b61a7c353bc8682bccbab85a6f65", + "readme": "specification\\visualstudio\\resource-manager\\readme.md", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\visualstudio\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" -} \ No newline at end of file + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" +} diff --git a/sdk/visualstudio/arm-visualstudio/api-extractor.json b/sdk/visualstudio/arm-visualstudio/api-extractor.json index 3443fb5fab3a..4858988fe05f 100644 --- a/sdk/visualstudio/arm-visualstudio/api-extractor.json +++ b/sdk/visualstudio/arm-visualstudio/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-visualstudio.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/visualstudio/arm-visualstudio/package.json b/sdk/visualstudio/arm-visualstudio/package.json index 96fcdc65a31a..1b2f1bc6e3f2 100644 --- a/sdk/visualstudio/arm-visualstudio/package.json +++ b/sdk/visualstudio/arm-visualstudio/package.json @@ -3,16 +3,16 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for VisualStudioResourceProviderClient.", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -28,13 +28,13 @@ "types": "./types/arm-visualstudio.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -100,7 +100,7 @@ "//metadata": { "constantPaths": [ { - "path": "src/VisualStudioResourceProviderClient.ts", + "path": "src/visualStudioResourceProviderClient.ts", "prefix": "packageDetails" } ] diff --git a/sdk/visualstudio/arm-visualstudio/rollup.config.js b/sdk/visualstudio/arm-visualstudio/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/visualstudio/arm-visualstudio/rollup.config.js +++ b/sdk/visualstudio/arm-visualstudio/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCheckNameAvailabilitySample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..3d4de71cf554 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCheckNameAvailabilitySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityParameter, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * + * @summary Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json + */ +async function checkAvailabilityOfAnAccountName() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const body: CheckNameAvailabilityParameter = { + resourceName: "ExampleName", + resourceType: "Account" + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.checkNameAvailability(body); + console.log(result); +} + +checkAvailabilityOfAnAccountName().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCreateOrUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..027f208039f0 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsCreateOrUpdateSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccountResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a Visual Studio Team Services account resource. + * + * @summary Creates or updates a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body: AccountResourceRequest = { + accountName: "Example", + location: "Central US", + operationType: "create", + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.createOrUpdate( + resourceGroupName, + resourceName, + body + ); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsDeleteSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsDeleteSample.ts new file mode 100644 index 000000000000..96b3faefcb45 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Visual Studio Team Services account resource. + * + * @summary Deletes a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json + */ +async function deleteAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsGetSample.ts new file mode 100644 index 000000000000..d950cdec8d6e --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the Visual Studio Team Services account resource details. + * + * @summary Gets the Visual Studio Team Services account resource details. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json + */ +async function getAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.get(resourceGroupName, resourceName); + console.log(result); +} + +getAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsListByResourceGroupSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsListByResourceGroupSample.ts new file mode 100644 index 000000000000..293394bcaebc --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsListByResourceGroupSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * + * @summary Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json + */ +async function getAListOfAccountResourcesInTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.listByResourceGroup(resourceGroupName); + console.log(result); +} + +getAListOfAccountResourcesInTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/accountsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsUpdateSample.ts new file mode 100644 index 000000000000..5e44e9d68db8 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/accountsUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccountTagRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags for Visual Studio Team Services account resource. + * + * @summary Updates tags for Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body: AccountTagRequest = { tags: { tag1: "value1" } }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.update( + resourceGroupName, + resourceName, + body + ); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsCreateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsCreateSample.ts new file mode 100644 index 000000000000..7a616d1f3077 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsCreateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ExtensionResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Registers the extension with a Visual Studio Team Services account. + * + * @summary Registers the extension with a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json + */ +async function createAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const body: ExtensionResourceRequest = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0" + }, + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.create( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +createAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsDeleteSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsDeleteSample.ts new file mode 100644 index 000000000000..ac18a7e1da9e --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Removes an extension resource registration for a Visual Studio Team Services account. + * + * @summary Removes an extension resource registration for a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json + */ +async function deleteAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "Example"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.delete( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +deleteAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsGetSample.ts new file mode 100644 index 000000000000..4a6a19f7aa91 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of an extension associated with a Visual Studio Team Services account resource. + * + * @summary Gets the details of an extension associated with a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json + */ +async function getAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.get( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +getAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsListByAccountSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsListByAccountSample.ts new file mode 100644 index 000000000000..2d9994233174 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsListByAccountSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the extension resources created within the resource group. + * + * @summary Gets the details of the extension resources created within the resource group. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json + */ +async function getAListOfExtensionResourcesWithinTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.listByAccount( + resourceGroupName, + accountResourceName + ); + console.log(result); +} + +getAListOfExtensionResourcesWithinTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsUpdateSample.ts new file mode 100644 index 000000000000..fd658f885c5d --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/extensionsUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ExtensionResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing extension registration for the Visual Studio Team Services account. + * + * @summary Updates an existing extension registration for the Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json + */ +async function updateAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "Example"; + const body: ExtensionResourceRequest = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0" + }, + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.update( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +updateAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/operationsListSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..5703f9e85b2c --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * + * @summary Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json + */ +async function getAListOfOperationsForThisResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.operations.list(); + console.log(result); +} + +getAListOfOperationsForThisResourceProvider().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/projectsCreateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsCreateSample.ts new file mode 100644 index 000000000000..f56eee66bfab --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsCreateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectResource, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * + * @summary Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json + */ +async function createAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body: ProjectResource = { + name: "ExampleProject", + type: "Microsoft.VisualStudio/account/project", + id: + "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/Microsoft.VisualStudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: { + processTemplateId: "6B724908-EF14-45CF-84F8-768B5384DA45", + versionControlOption: "Git" + }, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.beginCreateAndWait( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +createAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetJobStatusSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetJobStatusSample.ts new file mode 100644 index 000000000000..f9ca31a843fa --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetJobStatusSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectsGetJobStatusOptionalParams, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the status of the project resource creation job. + * + * @summary Gets the status of the project resource creation job. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json + */ +async function getTheStatusOfTheProjectCreationJob() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const subContainerName = "ExampleProject"; + const operation = "put"; + const jobId = "126167d2-d710-4b5d-80a8-a1d58717142d"; + const options: ProjectsGetJobStatusOptionalParams = { jobId }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.getJobStatus( + resourceGroupName, + rootResourceName, + resourceName, + subContainerName, + operation, + options + ); + console.log(result); +} + +getTheStatusOfTheProjectCreationJob().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetSample.ts new file mode 100644 index 000000000000..0a2b591bedd3 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of a Team Services project resource. + * + * @summary Gets the details of a Team Services project resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json + */ +async function getAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.get( + resourceGroupName, + rootResourceName, + resourceName + ); + console.log(result); +} + +getAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/projectsListByResourceGroupSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsListByResourceGroupSample.ts new file mode 100644 index 000000000000..f2b1d6724c8c --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsListByResourceGroupSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * + * @summary Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json + */ +async function getAListOfProjectResourcesInTheTeamServicesAccount() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.listByResourceGroup( + resourceGroupName, + rootResourceName + ); + console.log(result); +} + +getAListOfProjectResourcesInTheTeamServicesAccount().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples-dev/projectsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsUpdateSample.ts new file mode 100644 index 000000000000..da56a5d7749b --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples-dev/projectsUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectResource, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the tags of the specified Team Services project. + * + * @summary Updates the tags of the specified Team Services project. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json + */ +async function updateAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body: ProjectResource = { + name: "ms.example", + type: "Microsoft.VisualStudio/account/extension", + id: + "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/microsoft.visualstudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.update( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +updateAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/README.md b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/README.md index bbbbd0abab9b..f87439d67bd1 100644 --- a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/README.md +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/README.md @@ -4,12 +4,23 @@ These sample programs show how to use the JavaScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accountsCheckNameAvailabilitySample.js][accountschecknameavailabilitysample] | Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json | +| [accountsCreateOrUpdateSample.js][accountscreateorupdatesample] | Creates or updates a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json | +| [accountsDeleteSample.js][accountsdeletesample] | Deletes a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json | +| [accountsGetSample.js][accountsgetsample] | Gets the Visual Studio Team Services account resource details. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json | +| [accountsListByResourceGroupSample.js][accountslistbyresourcegroupsample] | Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json | +| [accountsUpdateSample.js][accountsupdatesample] | Updates tags for Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json | | [checkAvailabilityOfAnAccountName.js][checkavailabilityofanaccountname] | Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json | | [createAProjectResource.js][createaprojectresource] | Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json | | [createAnAccountResource.js][createanaccountresource] | Updates tags for Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json | | [createAnExtensionResource.js][createanextensionresource] | Registers the extension with a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json | | [deleteAnAccountResource.js][deleteanaccountresource] | Deletes a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json | | [deleteAnExtensionResource.js][deleteanextensionresource] | Removes an extension resource registration for a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json | +| [extensionsCreateSample.js][extensionscreatesample] | Registers the extension with a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json | +| [extensionsDeleteSample.js][extensionsdeletesample] | Removes an extension resource registration for a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json | +| [extensionsGetSample.js][extensionsgetsample] | Gets the details of an extension associated with a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json | +| [extensionsListByAccountSample.js][extensionslistbyaccountsample] | Gets the details of the extension resources created within the resource group. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json | +| [extensionsUpdateSample.js][extensionsupdatesample] | Updates an existing extension registration for the Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json | | [getAListOfAccountResourcesInTheResourceGroup.js][getalistofaccountresourcesintheresourcegroup] | Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json | | [getAListOfExtensionResourcesWithinTheResourceGroup.js][getalistofextensionresourceswithintheresourcegroup] | Gets the details of the extension resources created within the resource group. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json | | [getAListOfOperationsForThisResourceProvider.js][getalistofoperationsforthisresourceprovider] | Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json | @@ -18,6 +29,12 @@ These sample programs show how to use the JavaScript client libraries for in som | [getAnAccountResource.js][getanaccountresource] | Gets the Visual Studio Team Services account resource details. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json | | [getAnExtensionResource.js][getanextensionresource] | Gets the details of an extension associated with a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json | | [getTheStatusOfTheProjectCreationJob.js][getthestatusoftheprojectcreationjob] | Gets the status of the project resource creation job. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json | +| [operationsListSample.js][operationslistsample] | Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json | +| [projectsCreateSample.js][projectscreatesample] | Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json | +| [projectsGetJobStatusSample.js][projectsgetjobstatussample] | Gets the status of the project resource creation job. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json | +| [projectsGetSample.js][projectsgetsample] | Gets the details of a Team Services project resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json | +| [projectsListByResourceGroupSample.js][projectslistbyresourcegroupsample] | Gets all Visual Studio Team Services project resources created in the specified Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json | +| [projectsUpdateSample.js][projectsupdatesample] | Updates the tags of the specified Team Services project. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json | | [updateAProjectResource.js][updateaprojectresource] | Updates the tags of the specified Team Services project. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json | | [updateAnExtensionResource.js][updateanextensionresource] | Updates an existing extension registration for the Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json | @@ -46,25 +63,36 @@ npm install 3. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node checkAvailabilityOfAnAccountName.js +node accountsCheckNameAvailabilitySample.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 node checkAvailabilityOfAnAccountName.js +npx cross-env node accountsCheckNameAvailabilitySample.js ``` ## Next Steps Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. +[accountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCheckNameAvailabilitySample.js +[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCreateOrUpdateSample.js +[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsDeleteSample.js +[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsGetSample.js +[accountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsListByResourceGroupSample.js +[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsUpdateSample.js [checkavailabilityofanaccountname]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/checkAvailabilityOfAnAccountName.js [createaprojectresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/createAProjectResource.js [createanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/createAnAccountResource.js [createanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/createAnExtensionResource.js [deleteanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/deleteAnAccountResource.js [deleteanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/deleteAnExtensionResource.js +[extensionscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsCreateSample.js +[extensionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsDeleteSample.js +[extensionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsGetSample.js +[extensionslistbyaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsListByAccountSample.js +[extensionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsUpdateSample.js [getalistofaccountresourcesintheresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getAListOfAccountResourcesInTheResourceGroup.js [getalistofextensionresourceswithintheresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getAListOfExtensionResourcesWithinTheResourceGroup.js [getalistofoperationsforthisresourceprovider]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getAListOfOperationsForThisResourceProvider.js @@ -73,6 +101,12 @@ Take a look at our [API Documentation][apiref] for more information about the AP [getanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getAnAccountResource.js [getanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getAnExtensionResource.js [getthestatusoftheprojectcreationjob]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/getTheStatusOfTheProjectCreationJob.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/operationsListSample.js +[projectscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsCreateSample.js +[projectsgetjobstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetJobStatusSample.js +[projectsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetSample.js +[projectslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsListByResourceGroupSample.js +[projectsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsUpdateSample.js [updateaprojectresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/updateAProjectResource.js [updateanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/updateAnExtensionResource.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-visualstudio?view=azure-node-preview diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCheckNameAvailabilitySample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCheckNameAvailabilitySample.js new file mode 100644 index 000000000000..42eef57ce727 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCheckNameAvailabilitySample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * + * @summary Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json + */ +async function checkAvailabilityOfAnAccountName() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const body = { + resourceName: "ExampleName", + resourceType: "Account", + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.checkNameAvailability(body); + console.log(result); +} + +checkAvailabilityOfAnAccountName().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCreateOrUpdateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCreateOrUpdateSample.js new file mode 100644 index 000000000000..54524ed6be4f --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsCreateOrUpdateSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates or updates a Visual Studio Team Services account resource. + * + * @summary Creates or updates a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body = { + accountName: "Example", + location: "Central US", + operationType: "create", + properties: {}, + tags: {}, + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.createOrUpdate(resourceGroupName, resourceName, body); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsDeleteSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsDeleteSample.js new file mode 100644 index 000000000000..855580833060 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Deletes a Visual Studio Team Services account resource. + * + * @summary Deletes a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json + */ +async function deleteAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsGetSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsGetSample.js new file mode 100644 index 000000000000..a916ff309e75 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the Visual Studio Team Services account resource details. + * + * @summary Gets the Visual Studio Team Services account resource details. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json + */ +async function getAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.get(resourceGroupName, resourceName); + console.log(result); +} + +getAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsListByResourceGroupSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsListByResourceGroupSample.js new file mode 100644 index 000000000000..07dca6aca16b --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * + * @summary Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json + */ +async function getAListOfAccountResourcesInTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.listByResourceGroup(resourceGroupName); + console.log(result); +} + +getAListOfAccountResourcesInTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsUpdateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsUpdateSample.js new file mode 100644 index 000000000000..5e306a722d40 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/accountsUpdateSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates tags for Visual Studio Team Services account resource. + * + * @summary Updates tags for Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body = { tags: { tag1: "value1" } }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.accounts.update(resourceGroupName, resourceName, body); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsCreateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsCreateSample.js new file mode 100644 index 000000000000..c5334d360bc4 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsCreateSample.js @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Registers the extension with a Visual Studio Team Services account. + * + * @summary Registers the extension with a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json + */ +async function createAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const body = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0", + }, + properties: {}, + tags: {}, + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.extensions.create( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +createAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsDeleteSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsDeleteSample.js new file mode 100644 index 000000000000..1298e8d26a15 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Removes an extension resource registration for a Visual Studio Team Services account. + * + * @summary Removes an extension resource registration for a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json + */ +async function deleteAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "Example"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.extensions.delete( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +deleteAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsGetSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsGetSample.js new file mode 100644 index 000000000000..13b8798bfe41 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of an extension associated with a Visual Studio Team Services account resource. + * + * @summary Gets the details of an extension associated with a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json + */ +async function getAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.extensions.get( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +getAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsListByAccountSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsListByAccountSample.js new file mode 100644 index 000000000000..6e5565f7d822 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsListByAccountSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of the extension resources created within the resource group. + * + * @summary Gets the details of the extension resources created within the resource group. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json + */ +async function getAListOfExtensionResourcesWithinTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.extensions.listByAccount(resourceGroupName, accountResourceName); + console.log(result); +} + +getAListOfExtensionResourcesWithinTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsUpdateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsUpdateSample.js new file mode 100644 index 000000000000..3cb909ebb676 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/extensionsUpdateSample.js @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates an existing extension registration for the Visual Studio Team Services account. + * + * @summary Updates an existing extension registration for the Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json + */ +async function updateAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "Example"; + const body = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0", + }, + properties: {}, + tags: {}, + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.extensions.update( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +updateAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/operationsListSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/operationsListSample.js new file mode 100644 index 000000000000..772084962e9f --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/operationsListSample.js @@ -0,0 +1,28 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * + * @summary Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json + */ +async function getAListOfOperationsForThisResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.operations.list(); + console.log(result); +} + +getAListOfOperationsForThisResourceProvider().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsCreateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsCreateSample.js new file mode 100644 index 000000000000..fae1f33b4820 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsCreateSample.js @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * + * @summary Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json + */ +async function createAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body = { + name: "ExampleProject", + type: "Microsoft.VisualStudio/account/project", + id: "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/Microsoft.VisualStudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: { + processTemplateId: "6B724908-EF14-45CF-84F8-768B5384DA45", + versionControlOption: "Git", + }, + tags: {}, + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.projects.beginCreateAndWait( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +createAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetJobStatusSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetJobStatusSample.js new file mode 100644 index 000000000000..b4e753f3e42b --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetJobStatusSample.js @@ -0,0 +1,42 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the status of the project resource creation job. + * + * @summary Gets the status of the project resource creation job. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json + */ +async function getTheStatusOfTheProjectCreationJob() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const subContainerName = "ExampleProject"; + const operation = "put"; + const jobId = "126167d2-d710-4b5d-80a8-a1d58717142d"; + const options = { jobId }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.projects.getJobStatus( + resourceGroupName, + rootResourceName, + resourceName, + subContainerName, + operation, + options + ); + console.log(result); +} + +getTheStatusOfTheProjectCreationJob().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetSample.js new file mode 100644 index 000000000000..a6ef8ca1fac0 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets the details of a Team Services project resource. + * + * @summary Gets the details of a Team Services project resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json + */ +async function getAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.projects.get(resourceGroupName, rootResourceName, resourceName); + console.log(result); +} + +getAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsListByResourceGroupSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsListByResourceGroupSample.js new file mode 100644 index 000000000000..7d66a16cb7ef --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsListByResourceGroupSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * + * @summary Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json + */ +async function getAListOfProjectResourcesInTheTeamServicesAccount() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.projects.listByResourceGroup(resourceGroupName, rootResourceName); + console.log(result); +} + +getAListOfProjectResourcesInTheTeamServicesAccount().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsUpdateSample.js b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsUpdateSample.js new file mode 100644 index 000000000000..e816a09ca391 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/javascript/projectsUpdateSample.js @@ -0,0 +1,44 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Updates the tags of the specified Team Services project. + * + * @summary Updates the tags of the specified Team Services project. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json + */ +async function updateAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body = { + name: "ms.example", + type: "Microsoft.VisualStudio/account/extension", + id: "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/microsoft.visualstudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: {}, + tags: {}, + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient(credential, subscriptionId); + const result = await client.projects.update( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +updateAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/README.md b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/README.md index b3da1e717d84..d158512634a4 100644 --- a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/README.md +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/README.md @@ -4,12 +4,23 @@ These sample programs show how to use the TypeScript client libraries for in som | **File Name** | **Description** | | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [accountsCheckNameAvailabilitySample.ts][accountschecknameavailabilitysample] | Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json | +| [accountsCreateOrUpdateSample.ts][accountscreateorupdatesample] | Creates or updates a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json | +| [accountsDeleteSample.ts][accountsdeletesample] | Deletes a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json | +| [accountsGetSample.ts][accountsgetsample] | Gets the Visual Studio Team Services account resource details. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json | +| [accountsListByResourceGroupSample.ts][accountslistbyresourcegroupsample] | Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json | +| [accountsUpdateSample.ts][accountsupdatesample] | Updates tags for Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json | | [checkAvailabilityOfAnAccountName.ts][checkavailabilityofanaccountname] | Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json | | [createAProjectResource.ts][createaprojectresource] | Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json | | [createAnAccountResource.ts][createanaccountresource] | Updates tags for Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json | | [createAnExtensionResource.ts][createanextensionresource] | Registers the extension with a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json | | [deleteAnAccountResource.ts][deleteanaccountresource] | Deletes a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json | | [deleteAnExtensionResource.ts][deleteanextensionresource] | Removes an extension resource registration for a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json | +| [extensionsCreateSample.ts][extensionscreatesample] | Registers the extension with a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json | +| [extensionsDeleteSample.ts][extensionsdeletesample] | Removes an extension resource registration for a Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json | +| [extensionsGetSample.ts][extensionsgetsample] | Gets the details of an extension associated with a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json | +| [extensionsListByAccountSample.ts][extensionslistbyaccountsample] | Gets the details of the extension resources created within the resource group. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json | +| [extensionsUpdateSample.ts][extensionsupdatesample] | Updates an existing extension registration for the Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json | | [getAListOfAccountResourcesInTheResourceGroup.ts][getalistofaccountresourcesintheresourcegroup] | Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json | | [getAListOfExtensionResourcesWithinTheResourceGroup.ts][getalistofextensionresourceswithintheresourcegroup] | Gets the details of the extension resources created within the resource group. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json | | [getAListOfOperationsForThisResourceProvider.ts][getalistofoperationsforthisresourceprovider] | Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json | @@ -18,6 +29,12 @@ These sample programs show how to use the TypeScript client libraries for in som | [getAnAccountResource.ts][getanaccountresource] | Gets the Visual Studio Team Services account resource details. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json | | [getAnExtensionResource.ts][getanextensionresource] | Gets the details of an extension associated with a Visual Studio Team Services account resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json | | [getTheStatusOfTheProjectCreationJob.ts][getthestatusoftheprojectcreationjob] | Gets the status of the project resource creation job. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json | +| [operationsListSample.ts][operationslistsample] | Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json | +| [projectsCreateSample.ts][projectscreatesample] | Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json | +| [projectsGetJobStatusSample.ts][projectsgetjobstatussample] | Gets the status of the project resource creation job. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json | +| [projectsGetSample.ts][projectsgetsample] | Gets the details of a Team Services project resource. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json | +| [projectsListByResourceGroupSample.ts][projectslistbyresourcegroupsample] | Gets all Visual Studio Team Services project resources created in the specified Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json | +| [projectsUpdateSample.ts][projectsupdatesample] | Updates the tags of the specified Team Services project. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json | | [updateAProjectResource.ts][updateaprojectresource] | Updates the tags of the specified Team Services project. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json | | [updateAnExtensionResource.ts][updateanextensionresource] | Updates an existing extension registration for the Visual Studio Team Services account. x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json | @@ -58,25 +75,36 @@ npm run build 4. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node dist/checkAvailabilityOfAnAccountName.js +node dist/accountsCheckNameAvailabilitySample.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 node dist/checkAvailabilityOfAnAccountName.js +npx cross-env node dist/accountsCheckNameAvailabilitySample.js ``` ## Next Steps Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. +[accountschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCheckNameAvailabilitySample.ts +[accountscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCreateOrUpdateSample.ts +[accountsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsDeleteSample.ts +[accountsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsGetSample.ts +[accountslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsListByResourceGroupSample.ts +[accountsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsUpdateSample.ts [checkavailabilityofanaccountname]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/checkAvailabilityOfAnAccountName.ts [createaprojectresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/createAProjectResource.ts [createanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/createAnAccountResource.ts [createanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/createAnExtensionResource.ts [deleteanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/deleteAnAccountResource.ts [deleteanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/deleteAnExtensionResource.ts +[extensionscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsCreateSample.ts +[extensionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsDeleteSample.ts +[extensionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsGetSample.ts +[extensionslistbyaccountsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsListByAccountSample.ts +[extensionsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsUpdateSample.ts [getalistofaccountresourcesintheresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getAListOfAccountResourcesInTheResourceGroup.ts [getalistofextensionresourceswithintheresourcegroup]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getAListOfExtensionResourcesWithinTheResourceGroup.ts [getalistofoperationsforthisresourceprovider]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getAListOfOperationsForThisResourceProvider.ts @@ -85,6 +113,12 @@ Take a look at our [API Documentation][apiref] for more information about the AP [getanaccountresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getAnAccountResource.ts [getanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getAnExtensionResource.ts [getthestatusoftheprojectcreationjob]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/getTheStatusOfTheProjectCreationJob.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/operationsListSample.ts +[projectscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsCreateSample.ts +[projectsgetjobstatussample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetJobStatusSample.ts +[projectsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetSample.ts +[projectslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsListByResourceGroupSample.ts +[projectsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsUpdateSample.ts [updateaprojectresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/updateAProjectResource.ts [updateanextensionresource]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/updateAnExtensionResource.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-visualstudio?view=azure-node-preview diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCheckNameAvailabilitySample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCheckNameAvailabilitySample.ts new file mode 100644 index 000000000000..3d4de71cf554 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCheckNameAvailabilitySample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + CheckNameAvailabilityParameter, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * + * @summary Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json + */ +async function checkAvailabilityOfAnAccountName() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const body: CheckNameAvailabilityParameter = { + resourceName: "ExampleName", + resourceType: "Account" + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.checkNameAvailability(body); + console.log(result); +} + +checkAvailabilityOfAnAccountName().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCreateOrUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCreateOrUpdateSample.ts new file mode 100644 index 000000000000..027f208039f0 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsCreateOrUpdateSample.ts @@ -0,0 +1,47 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccountResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates or updates a Visual Studio Team Services account resource. + * + * @summary Creates or updates a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body: AccountResourceRequest = { + accountName: "Example", + location: "Central US", + operationType: "create", + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.createOrUpdate( + resourceGroupName, + resourceName, + body + ); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsDeleteSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsDeleteSample.ts new file mode 100644 index 000000000000..96b3faefcb45 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Deletes a Visual Studio Team Services account resource. + * + * @summary Deletes a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json + */ +async function deleteAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.delete(resourceGroupName, resourceName); + console.log(result); +} + +deleteAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsGetSample.ts new file mode 100644 index 000000000000..d950cdec8d6e --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the Visual Studio Team Services account resource details. + * + * @summary Gets the Visual Studio Team Services account resource details. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json + */ +async function getAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.get(resourceGroupName, resourceName); + console.log(result); +} + +getAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsListByResourceGroupSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsListByResourceGroupSample.ts new file mode 100644 index 000000000000..293394bcaebc --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsListByResourceGroupSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * + * @summary Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json + */ +async function getAListOfAccountResourcesInTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.listByResourceGroup(resourceGroupName); + console.log(result); +} + +getAListOfAccountResourcesInTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsUpdateSample.ts new file mode 100644 index 000000000000..5e44e9d68db8 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/accountsUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + AccountTagRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates tags for Visual Studio Team Services account resource. + * + * @summary Updates tags for Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json + */ +async function createAnAccountResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const resourceName = "Example"; + const body: AccountTagRequest = { tags: { tag1: "value1" } }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.accounts.update( + resourceGroupName, + resourceName, + body + ); + console.log(result); +} + +createAnAccountResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsCreateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsCreateSample.ts new file mode 100644 index 000000000000..7a616d1f3077 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsCreateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ExtensionResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Registers the extension with a Visual Studio Team Services account. + * + * @summary Registers the extension with a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json + */ +async function createAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const body: ExtensionResourceRequest = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0" + }, + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.create( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +createAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsDeleteSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsDeleteSample.ts new file mode 100644 index 000000000000..ac18a7e1da9e --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsDeleteSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Removes an extension resource registration for a Visual Studio Team Services account. + * + * @summary Removes an extension resource registration for a Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json + */ +async function deleteAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "Example"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.delete( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +deleteAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsGetSample.ts new file mode 100644 index 000000000000..4a6a19f7aa91 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of an extension associated with a Visual Studio Team Services account resource. + * + * @summary Gets the details of an extension associated with a Visual Studio Team Services account resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json + */ +async function getAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "ms.example"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.get( + resourceGroupName, + accountResourceName, + extensionResourceName + ); + console.log(result); +} + +getAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsListByAccountSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsListByAccountSample.ts new file mode 100644 index 000000000000..2d9994233174 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsListByAccountSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of the extension resources created within the resource group. + * + * @summary Gets the details of the extension resources created within the resource group. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json + */ +async function getAListOfExtensionResourcesWithinTheResourceGroup() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.listByAccount( + resourceGroupName, + accountResourceName + ); + console.log(result); +} + +getAListOfExtensionResourcesWithinTheResourceGroup().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsUpdateSample.ts new file mode 100644 index 000000000000..fd658f885c5d --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/extensionsUpdateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ExtensionResourceRequest, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates an existing extension registration for the Visual Studio Team Services account. + * + * @summary Updates an existing extension registration for the Visual Studio Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json + */ +async function updateAnExtensionResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const accountResourceName = "ExampleAccount"; + const extensionResourceName = "Example"; + const body: ExtensionResourceRequest = { + location: "Central US", + plan: { + name: "ExamplePlan", + product: "ExampleExtensionName", + promotionCode: "", + publisher: "ExampleExtensionPublisher", + version: "1.0" + }, + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.extensions.update( + resourceGroupName, + accountResourceName, + extensionResourceName, + body + ); + console.log(result); +} + +updateAnExtensionResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/operationsListSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..5703f9e85b2c --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * + * @summary Gets the details of all operations possible on the Microsoft.VisualStudio resource provider. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json + */ +async function getAListOfOperationsForThisResourceProvider() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.operations.list(); + console.log(result); +} + +getAListOfOperationsForThisResourceProvider().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsCreateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsCreateSample.ts new file mode 100644 index 000000000000..f56eee66bfab --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsCreateSample.ts @@ -0,0 +1,54 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectResource, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * + * @summary Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json + */ +async function createAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body: ProjectResource = { + name: "ExampleProject", + type: "Microsoft.VisualStudio/account/project", + id: + "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/Microsoft.VisualStudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: { + processTemplateId: "6B724908-EF14-45CF-84F8-768B5384DA45", + versionControlOption: "Git" + }, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.beginCreateAndWait( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +createAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetJobStatusSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetJobStatusSample.ts new file mode 100644 index 000000000000..f9ca31a843fa --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetJobStatusSample.ts @@ -0,0 +1,48 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectsGetJobStatusOptionalParams, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the status of the project resource creation job. + * + * @summary Gets the status of the project resource creation job. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json + */ +async function getTheStatusOfTheProjectCreationJob() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const subContainerName = "ExampleProject"; + const operation = "put"; + const jobId = "126167d2-d710-4b5d-80a8-a1d58717142d"; + const options: ProjectsGetJobStatusOptionalParams = { jobId }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.getJobStatus( + resourceGroupName, + rootResourceName, + resourceName, + subContainerName, + operation, + options + ); + console.log(result); +} + +getTheStatusOfTheProjectCreationJob().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetSample.ts new file mode 100644 index 000000000000..0a2b591bedd3 --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsGetSample.ts @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets the details of a Team Services project resource. + * + * @summary Gets the details of a Team Services project resource. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json + */ +async function getAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.get( + resourceGroupName, + rootResourceName, + resourceName + ); + console.log(result); +} + +getAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsListByResourceGroupSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsListByResourceGroupSample.ts new file mode 100644 index 000000000000..f2b1d6724c8c --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsListByResourceGroupSample.ts @@ -0,0 +1,36 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * + * @summary Gets all Visual Studio Team Services project resources created in the specified Team Services account. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json + */ +async function getAListOfProjectResourcesInTheTeamServicesAccount() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.listByResourceGroup( + resourceGroupName, + rootResourceName + ); + console.log(result); +} + +getAListOfProjectResourcesInTheTeamServicesAccount().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsUpdateSample.ts b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsUpdateSample.ts new file mode 100644 index 000000000000..da56a5d7749b --- /dev/null +++ b/sdk/visualstudio/arm-visualstudio/samples/v4-beta/typescript/src/projectsUpdateSample.ts @@ -0,0 +1,51 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + ProjectResource, + VisualStudioResourceProviderClient +} from "@azure/arm-visualstudio"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Updates the tags of the specified Team Services project. + * + * @summary Updates the tags of the specified Team Services project. + * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateProjectResource.json + */ +async function updateAProjectResource() { + const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90"; + const resourceGroupName = "VS-Example-Group"; + const rootResourceName = "ExampleAccount"; + const resourceName = "ExampleProject"; + const body: ProjectResource = { + name: "ms.example", + type: "Microsoft.VisualStudio/account/extension", + id: + "/subscriptions/0de7f055-dbea-498d-8e9e-da287eedca90/resourceGroups/VS-Example-Group/providers/microsoft.visualstudio/account/ExampleAccount/project/ExampleProject", + location: "Central US", + properties: {}, + tags: {} + }; + const credential = new DefaultAzureCredential(); + const client = new VisualStudioResourceProviderClient( + credential, + subscriptionId + ); + const result = await client.projects.update( + resourceGroupName, + rootResourceName, + resourceName, + body + ); + console.log(result); +} + +updateAProjectResource().catch(console.error); diff --git a/sdk/visualstudio/arm-visualstudio/src/operations/projects.ts b/sdk/visualstudio/arm-visualstudio/src/operations/projects.ts index ed5d435854ae..ec67c8ed23f6 100644 --- a/sdk/visualstudio/arm-visualstudio/src/operations/projects.ts +++ b/sdk/visualstudio/arm-visualstudio/src/operations/projects.ts @@ -126,10 +126,12 @@ export class ProjectsImpl implements Projects { { resourceGroupName, rootResourceName, resourceName, body, options }, createOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts index 311e6343f94b..3f4336d64559 100644 --- a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts +++ b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, @@ -54,7 +55,7 @@ export class VisualStudioResourceProviderClient extends coreClient.ServiceClient credential: credentials }; - const packageDetails = `azsdk-js-arm-visualstudio/4.0.0-beta.1`; + const packageDetails = `azsdk-js-arm-visualstudio/4.0.0-beta.2`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -69,9 +70,33 @@ export class VisualStudioResourceProviderClient extends coreClient.ServiceClient userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; diff --git a/sdk/visualstudio/arm-visualstudio/tsconfig.json b/sdk/visualstudio/arm-visualstudio/tsconfig.json index 090fcd0758aa..cea7b385ced8 100644 --- a/sdk/visualstudio/arm-visualstudio/tsconfig.json +++ b/sdk/visualstudio/arm-visualstudio/tsconfig.json @@ -9,12 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true, - "paths": { "@azure/arm-visualstudio": ["./src/index"] } + "paths": { + "@azure/arm-visualstudio": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/visualstudio/ci.mgmt.yml b/sdk/visualstudio/ci.mgmt.yml index be76346c0562..55f64c626e28 100644 --- a/sdk/visualstudio/ci.mgmt.yml +++ b/sdk/visualstudio/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/visualstudio/ci.mgmt.yml - - sdk/visualstudio/arm-visualstudio/ + - sdk/visualstudio/arm-visualstudio pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/visualstudio/ci.mgmt.yml - - sdk/visualstudio/arm-visualstudio/ - + - sdk/visualstudio/arm-visualstudio extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: visualstudio Artifacts: - name: azure-arm-visualstudio - safeName: azurearmvisualstudio \ No newline at end of file + safeName: azurearmvisualstudio diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/CHANGELOG.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/CHANGELOG.md index 209425c8c227..850624cae192 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/CHANGELOG.md +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/CHANGELOG.md @@ -1,5 +1,24 @@ # Release History +## 3.0.0 (2022-05-05) + +**Breaking Changes** + + - Operation DedicatedCloudNodes.beginCreateOrUpdate has a new signature + - Operation DedicatedCloudNodes.beginCreateOrUpdateAndWait has a new signature + - Operation Operations.get has a new signature + - Operation VirtualMachines.beginCreateOrUpdate has a new signature + - Operation VirtualMachines.beginCreateOrUpdateAndWait has a new signature + - Operation VirtualMachines.beginDelete has a new signature + - Operation VirtualMachines.beginDeleteAndWait has a new signature + - Operation VirtualMachines.beginStart has a new signature + - Operation VirtualMachines.beginStartAndWait has a new signature + - Operation VirtualMachines.beginStop has a new signature + - Operation VirtualMachines.beginStopAndWait has a new signature + - Class VMwareCloudSimple has a new signature + - Class VMwareCloudSimple no longer has parameter referer + + ## 2.0.0 (2022-01-21) The package of @azure/arm-vmwarecloudsimple is using our next generation design principles since version 2.0.0, which contains breaking changes. diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/LICENSE.txt b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/LICENSE.txt deleted file mode 100644 index b73b4a1293c3..000000000000 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 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/vmwarecloudsimple/arm-vmwarecloudsimple/README.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md index 923a38078bf3..8738d4f76dd1 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md @@ -16,6 +16,8 @@ Description of the new service - [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][azure_sub]. @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this ```javascript const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); const { DefaultAzureCredential } = require("@azure/identity"); +// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. + const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new VMwareCloudSimple(new DefaultAzureCredential(), subscriptionId); + +// For client-side applications running in the browser, use this code instead: +// const credential = new InteractiveBrowserCredential({ +// tenantId: "", +// clientId: "" +// }); +// const client = new VMwareCloudSimple(credential, subscriptionId); ``` diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/_meta.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/_meta.json index 279f3a1bf603..02e7b342133a 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/_meta.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/_meta.json @@ -1,7 +1,8 @@ { - "commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb", + "commit": "33b275f34b10bd73f7e86f280965c9478b028136", "readme": "specification/vmwarecloudsimple/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/vmwarecloudsimple/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\vmwarecloudsimple\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.19.20220408.1" } \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/api-extractor.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/api-extractor.json index 90591a433115..c56f4c1ad1ac 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/api-extractor.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-vmwarecloudsimple.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json index 165f4e47ae2f..82f148d8ad2d 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for VMwareCloudSimple.", - "version": "2.0.0", + "version": "3.0.0", "engines": { "node": ">=12.0.0" }, @@ -11,9 +11,9 @@ "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", "@azure/core-paging": "^1.2.0", - "@azure/core-client": "^1.0.0", + "@azure/core-client": "^1.5.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-rest-pipeline": "^1.8.0", "tslib": "^2.2.0" }, "keywords": [ @@ -29,13 +29,13 @@ "types": "./types/arm-vmwarecloudsimple.d.ts", "devDependencies": { "@microsoft/api-extractor": "7.18.11", - "@rollup/plugin-commonjs": "11.0.2", - "@rollup/plugin-json": "^4.0.0", - "@rollup/plugin-multi-entry": "^3.0.0", - "@rollup/plugin-node-resolve": "^8.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", - "rollup": "^1.16.3", - "rollup-plugin-sourcemaps": "^0.4.2", + "rollup": "^2.66.1", + "rollup-plugin-sourcemaps": "^0.6.3", "typescript": "~4.2.0", "uglify-js": "^3.4.9", "rimraf": "^3.0.0", @@ -101,10 +101,18 @@ "//metadata": { "constantPaths": [ { - "path": "src/VMwareCloudSimple.ts", + "path": "src/vMwareCloudSimple.ts", "prefix": "packageDetails" } ] }, - "autoPublish": true + "autoPublish": true, + "//sampleConfiguration": { + "productName": "", + "productSlugs": [ + "azure" + ], + "disableDocsMs": true, + "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-vmwarecloudsimple?view=azure-node-preview" + } } diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/review/arm-vmwarecloudsimple.api.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/review/arm-vmwarecloudsimple.api.md index 5dfe2912be47..980d07e7dc6e 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/review/arm-vmwarecloudsimple.api.md +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/review/arm-vmwarecloudsimple.api.md @@ -203,8 +203,8 @@ export interface DedicatedCloudNodeListResponse { // @public export interface DedicatedCloudNodes { - beginCreateOrUpdate(resourceGroupName: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise, DedicatedCloudNodesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise, DedicatedCloudNodesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams): Promise; delete(resourceGroupName: string, dedicatedCloudNodeName: string, options?: DedicatedCloudNodesDeleteOptionalParams): Promise; get(resourceGroupName: string, dedicatedCloudNodeName: string, options?: DedicatedCloudNodesGetOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: DedicatedCloudNodesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; @@ -511,7 +511,7 @@ export interface OperationResource { // @public export interface Operations { - get(regionId: string, operationId: string, options?: OperationsGetOptionalParams): Promise; + get(regionId: string, referer: string, operationId: string, options?: OperationsGetOptionalParams): Promise; list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } @@ -818,14 +818,14 @@ export interface VirtualMachineListResponse { // @public export interface VirtualMachines { - beginCreateOrUpdate(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise, VirtualMachinesCreateOrUpdateResponse>>; - beginCreateOrUpdateAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise; - beginDelete(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise, VirtualMachinesDeleteResponse>>; - beginDeleteAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise; - beginStart(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise, void>>; - beginStartAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise; - beginStop(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise, void>>; - beginStopAndWait(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise; + beginCreateOrUpdate(resourceGroupName: string, referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise, VirtualMachinesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise, VirtualMachinesDeleteResponse>>; + beginDeleteAndWait(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams): Promise; + beginStart(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise, void>>; + beginStartAndWait(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams): Promise; + beginStop(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise, void>>; + beginStopAndWait(resourceGroupName: string, referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams): Promise; beginUpdate(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: PatchPayload, options?: VirtualMachinesUpdateOptionalParams): Promise, VirtualMachinesUpdateResponse>>; beginUpdateAndWait(resourceGroupName: string, virtualMachineName: string, virtualMachineRequest: PatchPayload, options?: VirtualMachinesUpdateOptionalParams): Promise; get(resourceGroupName: string, virtualMachineName: string, options?: VirtualMachinesGetOptionalParams): Promise; @@ -1097,7 +1097,7 @@ export interface VirtualNic { export class VMwareCloudSimple extends coreClient.ServiceClient { // (undocumented) $host: string; - constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, referer: string, options?: VMwareCloudSimpleOptionalParams); + constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: VMwareCloudSimpleOptionalParams); // (undocumented) apiVersion: string; // (undocumented) @@ -1111,8 +1111,6 @@ export class VMwareCloudSimple extends coreClient.ServiceClient { // (undocumented) privateClouds: PrivateClouds; // (undocumented) - referer: string; - // (undocumented) resourcePools: ResourcePools; // (undocumented) skusAvailability: SkusAvailability; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/rollup.config.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/rollup.config.js index 9be1955eb7f1..3f89d7309da5 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/rollup.config.js +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/rollup.config.js @@ -14,62 +14,14 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; -/** - * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. - * - * NOTE: this manual configuration is only needed because OpenTelemetry uses an - * __exportStar downleveled helper function to declare its exports which confuses - * rollup's automatic discovery mechanism. - * - * @returns an object reference that can be `...`'d into your cjs() configuration. - */ -export function openTelemetryCommonJs() { - const namedExports = {}; - - for (const key of [ - "@opentelemetry/api", - "@azure/core-tracing/node_modules/@opentelemetry/api" - ]) { - namedExports[key] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "SpanStatusCode", - "getSpanContext", - "setSpanContext" - ]; - } - - const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; - - for (const version of releasedOpenTelemetryVersions) { - namedExports[ - // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. - `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` - ] = [ - "SpanKind", - "TraceFlags", - "getSpan", - "setSpan", - "StatusCode", - "CanonicalCode", - "getSpanContext", - "setSpanContext" - ]; - } - - return namedExports; -} - // #region Warning Handler /** - * A function that can determine whether a rollupwarning should be ignored. If + * A function that can determine whether a rollup warning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEvalWarnings(warning) { +function ignoreNiseSinonEval(warning) { return ( warning.code === "EVAL" && warning.id && @@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) { ); } -function ignoreChaiCircularDependencyWarnings(warning) { +function ignoreChaiCircularDependency(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ - ignoreChaiCircularDependencyWarnings, - ignoreNiseSinonEvalWarnings -]; +const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; /** * Construct a warning handler for the shared rollup configuration @@ -122,22 +71,7 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs({ - namedExports: { - // Chai's strange internal architecture makes it impossible to statically - // analyze its exports. - chai: [ - "version", - "use", - "util", - "config", - "expect", - "should", - "assert" - ], - ...openTelemetryCommonJs() - } - }), + cjs(), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -173,7 +107,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve(), cjs()] + plugins: [sourcemaps(), nodeResolve()] }; const config = [baseConfig]; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/sample.env b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesGetSample.ts new file mode 100644 index 000000000000..ff6fcc7d07c6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns customization policy by its name + * + * @summary Returns customization policy by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json + */ +async function getCustomizationPolicy() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const customizationPolicyName = "Linux1"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.customizationPolicies.get( + regionId, + pcName, + customizationPolicyName + ); + console.log(result); +} + +getCustomizationPolicy().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesListSample.ts new file mode 100644 index 000000000000..215f0f2a6fce --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/customizationPoliciesListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of customization policies in region for private cloud + * + * @summary Returns list of customization policies in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json + */ +async function listCustomizationPolicies() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.customizationPolicies.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCustomizationPolicies().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..e68179327b3f --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesCreateOrUpdateSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DedicatedCloudNode, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns dedicated cloud node by its name + * + * @summary Returns dedicated cloud node by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json + */ +async function createDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest: DedicatedCloudNode = { + namePropertiesSkuDescriptionName: "CS28-Node", + availabilityZoneId: "az1", + idPropertiesSkuDescriptionId: "general", + location: "westus", + nodesCount: 1, + placementGroupId: "n1", + purchaseId: "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + sku: { name: "VMware_CloudSimple_CS28" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +createDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesDeleteSample.ts new file mode 100644 index 000000000000..1c6001f25c63 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete dedicated cloud node + * + * @summary Delete dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json + */ +async function deleteDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.delete( + resourceGroupName, + dedicatedCloudNodeName + ); + console.log(result); +} + +deleteDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesGetSample.ts new file mode 100644 index 000000000000..0dc11e5c2c75 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns dedicated cloud node + * + * @summary Returns dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json + */ +async function getDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.get( + resourceGroupName, + dedicatedCloudNodeName + ); + console.log(result); +} + +getDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListByResourceGroupSample.ts new file mode 100644 index 000000000000..818e12d020c0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within resource group + * + * @summary Returns list of dedicate cloud nodes within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json + */ +async function listRgDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListBySubscriptionSample.ts new file mode 100644 index 000000000000..023bef1d16e3 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within subscription + * + * @summary Returns list of dedicate cloud nodes within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json + */ +async function listDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesUpdateSample.ts new file mode 100644 index 000000000000..0da2a74a8da6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudNodesUpdateSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches dedicated node properties + * + * @summary Patches dedicated node properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json + */ +async function patchDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest: PatchPayload = { + tags: { myTag: "tagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.update( + resourceGroupName, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +patchDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..0144f663536d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesCreateOrUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DedicatedCloudService, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create dedicate cloud service + * + * @summary Create dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json + */ +async function createDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest: DedicatedCloudService = { + gatewaySubnet: "10.0.0.0", + location: "westus" + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.createOrUpdate( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +createDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesDeleteSample.ts new file mode 100644 index 000000000000..313563e3480a --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete dedicate cloud service + * + * @summary Delete dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json + */ +async function deleteDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.beginDeleteAndWait( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +deleteDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesGetSample.ts new file mode 100644 index 000000000000..b3a8f99bb9b2 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns Dedicate Cloud Service + * + * @summary Returns Dedicate Cloud Service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json + */ +async function getDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.get( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +getDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListByResourceGroupSample.ts new file mode 100644 index 000000000000..01283829bb67 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a resource group + * + * @summary Returns list of dedicated cloud services within a resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json + */ +async function listRgDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListBySubscriptionSample.ts new file mode 100644 index 000000000000..2721fc5a143b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a subscription + * + * @summary Returns list of dedicated cloud services within a subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json + */ +async function listDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesUpdateSample.ts new file mode 100644 index 000000000000..96de29b6159d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/dedicatedCloudServicesUpdateSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch dedicated cloud service's properties + * + * @summary Patch dedicated cloud service's properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json + */ +async function patchDedicatedService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest: PatchPayload = { + tags: { myTag: "tagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.update( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +patchDedicatedService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsGetSample.ts new file mode 100644 index 000000000000..0a2acc762897 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsGetSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json + */ +async function getFailedOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "d030bb3f-7d53-11e9-8e09-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getFailedOperationResult().catch(console.error); + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json + */ +async function getOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "f8e1c8f1-7d52-11e9-8e07-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getOperationResult().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsListSample.ts new file mode 100644 index 000000000000..261e65188953 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return list of operations + * + * @summary Return list of operations + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json + */ +async function listOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listOperations().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsGetSample.ts new file mode 100644 index 000000000000..316341ae30e8 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns private cloud by its name + * + * @summary Returns private cloud by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json + */ +async function getPrivateCloud() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.privateClouds.get(pcName, regionId); + console.log(result); +} + +getPrivateCloud().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsListSample.ts new file mode 100644 index 000000000000..8530e49d11a3 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/privateCloudsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of private clouds in particular region + * + * @summary Returns list of private clouds in particular region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json + */ +async function listPrivateCloudInLocation() { + const subscriptionId = "{subscription-id}"; + const regionId = "eastus"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateClouds.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listPrivateCloudInLocation().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsGetSample.ts new file mode 100644 index 000000000000..5273b286fe24 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns resource pool templates by its name + * + * @summary Returns resource pool templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json + */ +async function getResourcePool() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = "resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.resourcePools.get( + regionId, + pcName, + resourcePoolName + ); + console.log(result); +} + +getResourcePool().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsListSample.ts new file mode 100644 index 000000000000..909fe13beb04 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/resourcePoolsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of resource pools in region for private cloud + * + * @summary Returns list of resource pools in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json + */ +async function listResourcePools() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.resourcePools.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listResourcePools().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/skusAvailabilityListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/skusAvailabilityListSample.ts new file mode 100644 index 000000000000..449a3097583f --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/skusAvailabilityListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of available resources in region + * + * @summary Returns list of available resources in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json + */ +async function listAvailabilities() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.skusAvailability.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailabilities().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/usagesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/usagesListSample.ts new file mode 100644 index 000000000000..00497c270779 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/usagesListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of usage in region + * + * @summary Returns list of usage in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json + */ +async function listUsages() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.usages.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listUsages().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesGetSample.ts new file mode 100644 index 000000000000..6cacac6914be --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns virtual machine templates by its name + * + * @summary Returns virtual machine templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json + */ +async function getVirtualMachineTemplate() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualMachineTemplateName = "vm-34"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachineTemplates.get( + regionId, + pcName, + virtualMachineTemplateName + ); + console.log(result); +} + +getVirtualMachineTemplate().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesListSample.ts new file mode 100644 index 000000000000..5a75423e089c --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachineTemplatesListSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of virtual machine templates in region for private cloud + * + * @summary Returns list of virtual machine templates in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json + */ +async function listVirtualMachineTemplates() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachineTemplates.list( + pcName, + regionId, + resourcePoolName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachineTemplates().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b84d67268960 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesCreateOrUpdateSample.ts @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VirtualMachine, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create Or Update Virtual Machine + * + * @summary Create Or Update Virtual Machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json + */ +async function createVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest: VirtualMachine = { + amountOfRam: 4096, + disks: [ + { + controllerId: "1000", + independenceMode: "persistent", + totalSize: 10485760, + virtualDiskId: "2000" + } + ], + location: "westus2", + nics: [ + { + network: { + id: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + nicType: "E1000", + powerOnBoot: true, + virtualNicId: "4000" + } + ], + numberOfCores: 2, + privateCloudId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + resourcePool: { + id: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + templateId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34" + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +createVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesDeleteSample.ts new file mode 100644 index 000000000000..6e0ad02b5b6b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete virtual machine + * + * @summary Delete virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json + */ +async function deleteVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginDeleteAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +deleteVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesGetSample.ts new file mode 100644 index 000000000000..083ef00cd628 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get virtual machine + * + * @summary Get virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json + */ +async function getVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.get( + resourceGroupName, + virtualMachineName + ); + console.log(result); +} + +getVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListByResourceGroupSample.ts new file mode 100644 index 000000000000..a93cf83a249d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of virtual machine within resource group + * + * @summary Returns list of virtual machine within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json + */ +async function listRgVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListBySubscriptionSample.ts new file mode 100644 index 000000000000..80bdd1966555 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list virtual machine within subscription + * + * @summary Returns list virtual machine within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json + */ +async function listVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStartSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStartSample.ts new file mode 100644 index 000000000000..8206f3b1c5f6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStartSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Power on virtual machine + * + * @summary Power on virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json + */ +async function startVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStartAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +startVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStopSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStopSample.ts new file mode 100644 index 000000000000..485e64ad702c --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesStopSample.ts @@ -0,0 +1,68 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VirtualMachineStopMode, + VirtualMachinesStopOptionalParams, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json + */ +async function stopInBodyVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const m: VirtualMachineStopMode = {}; + const options: VirtualMachinesStopOptionalParams = { m }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInBodyVirtualMachine().catch(console.error); + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json + */ +async function stopInQueryVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const mode = "suspend"; + const options: VirtualMachinesStopOptionalParams = { mode }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInQueryVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesUpdateSample.ts new file mode 100644 index 000000000000..715728c4b845 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualMachinesUpdateSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch virtual machine properties + * + * @summary Patch virtual machine properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json + */ +async function patchVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest: PatchPayload = { tags: { myTag: "tagValue" } }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginUpdateAndWait( + resourceGroupName, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +patchVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksGetSample.ts new file mode 100644 index 000000000000..d428249426d1 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return virtual network by its name + * + * @summary Return virtual network by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json + */ +async function getVirtualNetwork() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualNetworkName = "dvportgroup-19"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualNetworks.get( + regionId, + pcName, + virtualNetworkName + ); + console.log(result); +} + +getVirtualNetwork().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksListSample.ts new file mode 100644 index 000000000000..20bb96776b54 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples-dev/virtualNetworksListSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return list of virtual networks in location for private cloud + * + * @summary Return list of virtual networks in location for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json + */ +async function listVirtualNetworks() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualNetworks.list( + regionId, + pcName, + resourcePoolName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualNetworks().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/README.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/README.md new file mode 100644 index 000000000000..a0fd15759e32 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/README.md @@ -0,0 +1,116 @@ +# client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [customizationPoliciesGetSample.js][customizationpoliciesgetsample] | Returns customization policy by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json | +| [customizationPoliciesListSample.js][customizationpolicieslistsample] | Returns list of customization policies in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json | +| [dedicatedCloudNodesCreateOrUpdateSample.js][dedicatedcloudnodescreateorupdatesample] | Returns dedicated cloud node by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json | +| [dedicatedCloudNodesDeleteSample.js][dedicatedcloudnodesdeletesample] | Delete dedicated cloud node x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json | +| [dedicatedCloudNodesGetSample.js][dedicatedcloudnodesgetsample] | Returns dedicated cloud node x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json | +| [dedicatedCloudNodesListByResourceGroupSample.js][dedicatedcloudnodeslistbyresourcegroupsample] | Returns list of dedicate cloud nodes within resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json | +| [dedicatedCloudNodesListBySubscriptionSample.js][dedicatedcloudnodeslistbysubscriptionsample] | Returns list of dedicate cloud nodes within subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json | +| [dedicatedCloudNodesUpdateSample.js][dedicatedcloudnodesupdatesample] | Patches dedicated node properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json | +| [dedicatedCloudServicesCreateOrUpdateSample.js][dedicatedcloudservicescreateorupdatesample] | Create dedicate cloud service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json | +| [dedicatedCloudServicesDeleteSample.js][dedicatedcloudservicesdeletesample] | Delete dedicate cloud service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json | +| [dedicatedCloudServicesGetSample.js][dedicatedcloudservicesgetsample] | Returns Dedicate Cloud Service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json | +| [dedicatedCloudServicesListByResourceGroupSample.js][dedicatedcloudserviceslistbyresourcegroupsample] | Returns list of dedicated cloud services within a resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json | +| [dedicatedCloudServicesListBySubscriptionSample.js][dedicatedcloudserviceslistbysubscriptionsample] | Returns list of dedicated cloud services within a subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json | +| [dedicatedCloudServicesUpdateSample.js][dedicatedcloudservicesupdatesample] | Patch dedicated cloud service's properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json | +| [operationsGetSample.js][operationsgetsample] | Return an async operation x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json | +| [operationsListSample.js][operationslistsample] | Return list of operations x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json | +| [privateCloudsGetSample.js][privatecloudsgetsample] | Returns private cloud by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json | +| [privateCloudsListSample.js][privatecloudslistsample] | Returns list of private clouds in particular region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json | +| [resourcePoolsGetSample.js][resourcepoolsgetsample] | Returns resource pool templates by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json | +| [resourcePoolsListSample.js][resourcepoolslistsample] | Returns list of resource pools in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json | +| [skusAvailabilityListSample.js][skusavailabilitylistsample] | Returns list of available resources in region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json | +| [usagesListSample.js][usageslistsample] | Returns list of usage in region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json | +| [virtualMachineTemplatesGetSample.js][virtualmachinetemplatesgetsample] | Returns virtual machine templates by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json | +| [virtualMachineTemplatesListSample.js][virtualmachinetemplateslistsample] | Returns list of virtual machine templates in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json | +| [virtualMachinesCreateOrUpdateSample.js][virtualmachinescreateorupdatesample] | Create Or Update Virtual Machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json | +| [virtualMachinesDeleteSample.js][virtualmachinesdeletesample] | Delete virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json | +| [virtualMachinesGetSample.js][virtualmachinesgetsample] | Get virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json | +| [virtualMachinesListByResourceGroupSample.js][virtualmachineslistbyresourcegroupsample] | Returns list of virtual machine within resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json | +| [virtualMachinesListBySubscriptionSample.js][virtualmachineslistbysubscriptionsample] | Returns list virtual machine within subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json | +| [virtualMachinesStartSample.js][virtualmachinesstartsample] | Power on virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json | +| [virtualMachinesStopSample.js][virtualmachinesstopsample] | Power off virtual machine, options: shutdown, poweroff, and suspend x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json | +| [virtualMachinesUpdateSample.js][virtualmachinesupdatesample] | Patch virtual machine properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json | +| [virtualNetworksGetSample.js][virtualnetworksgetsample] | Return virtual network by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json | +| [virtualNetworksListSample.js][virtualnetworkslistsample] | Return list of virtual networks in location for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json | + +## Prerequisites + +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). + +You need [an Azure subscription][freesub] to run these sample programs. + +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 customizationPoliciesGetSample.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 node customizationPoliciesGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[customizationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesGetSample.js +[customizationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesListSample.js +[dedicatedcloudnodescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesCreateOrUpdateSample.js +[dedicatedcloudnodesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesDeleteSample.js +[dedicatedcloudnodesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesGetSample.js +[dedicatedcloudnodeslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListByResourceGroupSample.js +[dedicatedcloudnodeslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListBySubscriptionSample.js +[dedicatedcloudnodesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesUpdateSample.js +[dedicatedcloudservicescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesCreateOrUpdateSample.js +[dedicatedcloudservicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesDeleteSample.js +[dedicatedcloudservicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesGetSample.js +[dedicatedcloudserviceslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListByResourceGroupSample.js +[dedicatedcloudserviceslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListBySubscriptionSample.js +[dedicatedcloudservicesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesUpdateSample.js +[operationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsGetSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsListSample.js +[privatecloudsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsGetSample.js +[privatecloudslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsListSample.js +[resourcepoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsGetSample.js +[resourcepoolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsListSample.js +[skusavailabilitylistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/skusAvailabilityListSample.js +[usageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/usagesListSample.js +[virtualmachinetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesGetSample.js +[virtualmachinetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesListSample.js +[virtualmachinescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesCreateOrUpdateSample.js +[virtualmachinesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesDeleteSample.js +[virtualmachinesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesGetSample.js +[virtualmachineslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListByResourceGroupSample.js +[virtualmachineslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListBySubscriptionSample.js +[virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStartSample.js +[virtualmachinesstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStopSample.js +[virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesUpdateSample.js +[virtualnetworksgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksGetSample.js +[virtualnetworkslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksListSample.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-vmwarecloudsimple?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesGetSample.js new file mode 100644 index 000000000000..aabd4a493211 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns customization policy by its name + * + * @summary Returns customization policy by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json + */ +async function getCustomizationPolicy() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const customizationPolicyName = "Linux1"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.customizationPolicies.get(regionId, pcName, customizationPolicyName); + console.log(result); +} + +getCustomizationPolicy().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesListSample.js new file mode 100644 index 000000000000..8342d10dead2 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/customizationPoliciesListSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of customization policies in region for private cloud + * + * @summary Returns list of customization policies in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json + */ +async function listCustomizationPolicies() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.customizationPolicies.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCustomizationPolicies().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesCreateOrUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesCreateOrUpdateSample.js new file mode 100644 index 000000000000..31f76c61865e --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesCreateOrUpdateSample.js @@ -0,0 +1,46 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns dedicated cloud node by its name + * + * @summary Returns dedicated cloud node by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json + */ +async function createDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest = { + namePropertiesSkuDescriptionName: "CS28-Node", + availabilityZoneId: "az1", + idPropertiesSkuDescriptionId: "general", + location: "westus", + nodesCount: 1, + placementGroupId: "n1", + purchaseId: "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + sku: { name: "VMware_CloudSimple_CS28" }, + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +createDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesDeleteSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesDeleteSample.js new file mode 100644 index 000000000000..4cb9103242d4 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesDeleteSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete dedicated cloud node + * + * @summary Delete dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json + */ +async function deleteDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.delete(resourceGroupName, dedicatedCloudNodeName); + console.log(result); +} + +deleteDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesGetSample.js new file mode 100644 index 000000000000..b0a77fc313a9 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns dedicated cloud node + * + * @summary Returns dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json + */ +async function getDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.get(resourceGroupName, dedicatedCloudNodeName); + console.log(result); +} + +getDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListByResourceGroupSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListByResourceGroupSample.js new file mode 100644 index 000000000000..f6acea220373 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within resource group + * + * @summary Returns list of dedicate cloud nodes within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json + */ +async function listRgDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListBySubscriptionSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListBySubscriptionSample.js new file mode 100644 index 000000000000..0368605a59c1 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesListBySubscriptionSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within subscription + * + * @summary Returns list of dedicate cloud nodes within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json + */ +async function listDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesUpdateSample.js new file mode 100644 index 000000000000..33e8e6754296 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudNodesUpdateSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patches dedicated node properties + * + * @summary Patches dedicated node properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json + */ +async function patchDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest = { + tags: { myTag: "tagValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.update( + resourceGroupName, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +patchDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesCreateOrUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesCreateOrUpdateSample.js new file mode 100644 index 000000000000..16316a9786c2 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesCreateOrUpdateSample.js @@ -0,0 +1,38 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create dedicate cloud service + * + * @summary Create dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json + */ +async function createDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest = { + gatewaySubnet: "10.0.0.0", + location: "westus", + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.createOrUpdate( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +createDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesDeleteSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesDeleteSample.js new file mode 100644 index 000000000000..ad88eab1310e --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesDeleteSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete dedicate cloud service + * + * @summary Delete dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json + */ +async function deleteDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.beginDeleteAndWait( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +deleteDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesGetSample.js new file mode 100644 index 000000000000..578b1e62ac80 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesGetSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns Dedicate Cloud Service + * + * @summary Returns Dedicate Cloud Service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json + */ +async function getDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.get( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +getDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListByResourceGroupSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListByResourceGroupSample.js new file mode 100644 index 000000000000..50f774c71f80 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a resource group + * + * @summary Returns list of dedicated cloud services within a resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json + */ +async function listRgDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListBySubscriptionSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListBySubscriptionSample.js new file mode 100644 index 000000000000..1e4cb8a534e3 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesListBySubscriptionSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a subscription + * + * @summary Returns list of dedicated cloud services within a subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json + */ +async function listDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesUpdateSample.js new file mode 100644 index 000000000000..e30a9a12621b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/dedicatedCloudServicesUpdateSample.js @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patch dedicated cloud service's properties + * + * @summary Patch dedicated cloud service's properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json + */ +async function patchDedicatedService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest = { + tags: { myTag: "tagValue" }, + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.update( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +patchDedicatedService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsGetSample.js new file mode 100644 index 000000000000..9456dd73ce59 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsGetSample.js @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json + */ +async function getFailedOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "d030bb3f-7d53-11e9-8e09-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getFailedOperationResult().catch(console.error); + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json + */ +async function getOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "f8e1c8f1-7d52-11e9-8e07-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getOperationResult().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsListSample.js new file mode 100644 index 000000000000..ba9d1e39684b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/operationsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Return list of operations + * + * @summary Return list of operations + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json + */ +async function listOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listOperations().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/package.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/package.json new file mode 100644 index 000000000000..2bf37db7ead5 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/package.json @@ -0,0 +1,32 @@ +{ + "name": "@azure-samples/arm-vmwarecloudsimple-js", + "private": true, + "version": "1.0.0", + "description": " 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/vmwarecloudsimple/arm-vmwarecloudsimple" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/vmwarecloudsimple/arm-vmwarecloudsimple", + "dependencies": { + "@azure/arm-vmwarecloudsimple": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + } +} diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsGetSample.js new file mode 100644 index 000000000000..4f1191f11a1b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns private cloud by its name + * + * @summary Returns private cloud by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json + */ +async function getPrivateCloud() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.privateClouds.get(pcName, regionId); + console.log(result); +} + +getPrivateCloud().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsListSample.js new file mode 100644 index 000000000000..caf00cc6403b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/privateCloudsListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of private clouds in particular region + * + * @summary Returns list of private clouds in particular region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json + */ +async function listPrivateCloudInLocation() { + const subscriptionId = "{subscription-id}"; + const regionId = "eastus"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateClouds.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listPrivateCloudInLocation().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsGetSample.js new file mode 100644 index 000000000000..afd8a2be4469 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns resource pool templates by its name + * + * @summary Returns resource pool templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json + */ +async function getResourcePool() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = "resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.resourcePools.get(regionId, pcName, resourcePoolName); + console.log(result); +} + +getResourcePool().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsListSample.js new file mode 100644 index 000000000000..9c85b546745d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/resourcePoolsListSample.js @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of resource pools in region for private cloud + * + * @summary Returns list of resource pools in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json + */ +async function listResourcePools() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.resourcePools.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listResourcePools().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/sample.env b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/skusAvailabilityListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/skusAvailabilityListSample.js new file mode 100644 index 000000000000..9dd34f939a20 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/skusAvailabilityListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of available resources in region + * + * @summary Returns list of available resources in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json + */ +async function listAvailabilities() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.skusAvailability.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailabilities().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/usagesListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/usagesListSample.js new file mode 100644 index 000000000000..8b981272fcde --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/usagesListSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of usage in region + * + * @summary Returns list of usage in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json + */ +async function listUsages() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.usages.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listUsages().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesGetSample.js new file mode 100644 index 000000000000..c573747b1e30 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesGetSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns virtual machine templates by its name + * + * @summary Returns virtual machine templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json + */ +async function getVirtualMachineTemplate() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualMachineTemplateName = "vm-34"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachineTemplates.get( + regionId, + pcName, + virtualMachineTemplateName + ); + console.log(result); +} + +getVirtualMachineTemplate().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesListSample.js new file mode 100644 index 000000000000..d16eb9b73dbf --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachineTemplatesListSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of virtual machine templates in region for private cloud + * + * @summary Returns list of virtual machine templates in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json + */ +async function listVirtualMachineTemplates() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachineTemplates.list(pcName, regionId, resourcePoolName)) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachineTemplates().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesCreateOrUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesCreateOrUpdateSample.js new file mode 100644 index 000000000000..1d464699371e --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesCreateOrUpdateSample.js @@ -0,0 +1,66 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Create Or Update Virtual Machine + * + * @summary Create Or Update Virtual Machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json + */ +async function createVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest = { + amountOfRam: 4096, + disks: [ + { + controllerId: "1000", + independenceMode: "persistent", + totalSize: 10485760, + virtualDiskId: "2000", + }, + ], + location: "westus2", + nics: [ + { + network: { + id: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + }, + nicType: "E1000", + powerOnBoot: true, + virtualNicId: "4000", + }, + ], + numberOfCores: 2, + privateCloudId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + resourcePool: { + id: "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + }, + templateId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +createVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesDeleteSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesDeleteSample.js new file mode 100644 index 000000000000..508838dfed0d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesDeleteSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Delete virtual machine + * + * @summary Delete virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json + */ +async function deleteVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginDeleteAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +deleteVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesGetSample.js new file mode 100644 index 000000000000..f55e10d5bb59 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesGetSample.js @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Get virtual machine + * + * @summary Get virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json + */ +async function getVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.get(resourceGroupName, virtualMachineName); + console.log(result); +} + +getVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListByResourceGroupSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListByResourceGroupSample.js new file mode 100644 index 000000000000..f6eb7bbc3dc0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListByResourceGroupSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list of virtual machine within resource group + * + * @summary Returns list of virtual machine within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json + */ +async function listRgVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listByResourceGroup(resourceGroupName)) { + resArray.push(item); + } + console.log(resArray); +} + +listRgVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListBySubscriptionSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListBySubscriptionSample.js new file mode 100644 index 000000000000..a4f8e7961280 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesListBySubscriptionSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Returns list virtual machine within subscription + * + * @summary Returns list virtual machine within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json + */ +async function listVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStartSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStartSample.js new file mode 100644 index 000000000000..a89924328d10 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStartSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Power on virtual machine + * + * @summary Power on virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json + */ +async function startVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStartAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +startVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStopSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStopSample.js new file mode 100644 index 000000000000..3e5a0a2e6b4d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesStopSample.js @@ -0,0 +1,64 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json + */ +async function stopInBodyVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const m = {}; + const options = { m }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInBodyVirtualMachine().catch(console.error); + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json + */ +async function stopInQueryVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const mode = "suspend"; + const options = { mode }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInQueryVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesUpdateSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesUpdateSample.js new file mode 100644 index 000000000000..0bfaa47b4c97 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualMachinesUpdateSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Patch virtual machine properties + * + * @summary Patch virtual machine properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json + */ +async function patchVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest = { tags: { myTag: "tagValue" } }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginUpdateAndWait( + resourceGroupName, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +patchVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksGetSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksGetSample.js new file mode 100644 index 000000000000..27f516aa5cea --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksGetSample.js @@ -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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Return virtual network by its name + * + * @summary Return virtual network by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json + */ +async function getVirtualNetwork() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualNetworkName = "dvportgroup-19"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualNetworks.get(regionId, pcName, virtualNetworkName); + console.log(result); +} + +getVirtualNetwork().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksListSample.js b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksListSample.js new file mode 100644 index 000000000000..4194d8202bbb --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/javascript/virtualNetworksListSample.js @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +const { VMwareCloudSimple } = require("@azure/arm-vmwarecloudsimple"); +const { DefaultAzureCredential } = require("@azure/identity"); + +/** + * This sample demonstrates how to Return list of virtual networks in location for private cloud + * + * @summary Return list of virtual networks in location for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json + */ +async function listVirtualNetworks() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualNetworks.list(regionId, pcName, resourcePoolName)) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualNetworks().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/README.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/README.md new file mode 100644 index 000000000000..2561d6b60a11 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/README.md @@ -0,0 +1,129 @@ +# client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for in some common scenarios. + +| **File Name** | **Description** | +| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [customizationPoliciesGetSample.ts][customizationpoliciesgetsample] | Returns customization policy by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json | +| [customizationPoliciesListSample.ts][customizationpolicieslistsample] | Returns list of customization policies in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json | +| [dedicatedCloudNodesCreateOrUpdateSample.ts][dedicatedcloudnodescreateorupdatesample] | Returns dedicated cloud node by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json | +| [dedicatedCloudNodesDeleteSample.ts][dedicatedcloudnodesdeletesample] | Delete dedicated cloud node x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json | +| [dedicatedCloudNodesGetSample.ts][dedicatedcloudnodesgetsample] | Returns dedicated cloud node x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json | +| [dedicatedCloudNodesListByResourceGroupSample.ts][dedicatedcloudnodeslistbyresourcegroupsample] | Returns list of dedicate cloud nodes within resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json | +| [dedicatedCloudNodesListBySubscriptionSample.ts][dedicatedcloudnodeslistbysubscriptionsample] | Returns list of dedicate cloud nodes within subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json | +| [dedicatedCloudNodesUpdateSample.ts][dedicatedcloudnodesupdatesample] | Patches dedicated node properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json | +| [dedicatedCloudServicesCreateOrUpdateSample.ts][dedicatedcloudservicescreateorupdatesample] | Create dedicate cloud service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json | +| [dedicatedCloudServicesDeleteSample.ts][dedicatedcloudservicesdeletesample] | Delete dedicate cloud service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json | +| [dedicatedCloudServicesGetSample.ts][dedicatedcloudservicesgetsample] | Returns Dedicate Cloud Service x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json | +| [dedicatedCloudServicesListByResourceGroupSample.ts][dedicatedcloudserviceslistbyresourcegroupsample] | Returns list of dedicated cloud services within a resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json | +| [dedicatedCloudServicesListBySubscriptionSample.ts][dedicatedcloudserviceslistbysubscriptionsample] | Returns list of dedicated cloud services within a subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json | +| [dedicatedCloudServicesUpdateSample.ts][dedicatedcloudservicesupdatesample] | Patch dedicated cloud service's properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json | +| [operationsGetSample.ts][operationsgetsample] | Return an async operation x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json | +| [operationsListSample.ts][operationslistsample] | Return list of operations x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json | +| [privateCloudsGetSample.ts][privatecloudsgetsample] | Returns private cloud by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json | +| [privateCloudsListSample.ts][privatecloudslistsample] | Returns list of private clouds in particular region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json | +| [resourcePoolsGetSample.ts][resourcepoolsgetsample] | Returns resource pool templates by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json | +| [resourcePoolsListSample.ts][resourcepoolslistsample] | Returns list of resource pools in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json | +| [skusAvailabilityListSample.ts][skusavailabilitylistsample] | Returns list of available resources in region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json | +| [usagesListSample.ts][usageslistsample] | Returns list of usage in region x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json | +| [virtualMachineTemplatesGetSample.ts][virtualmachinetemplatesgetsample] | Returns virtual machine templates by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json | +| [virtualMachineTemplatesListSample.ts][virtualmachinetemplateslistsample] | Returns list of virtual machine templates in region for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json | +| [virtualMachinesCreateOrUpdateSample.ts][virtualmachinescreateorupdatesample] | Create Or Update Virtual Machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json | +| [virtualMachinesDeleteSample.ts][virtualmachinesdeletesample] | Delete virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json | +| [virtualMachinesGetSample.ts][virtualmachinesgetsample] | Get virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json | +| [virtualMachinesListByResourceGroupSample.ts][virtualmachineslistbyresourcegroupsample] | Returns list of virtual machine within resource group x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json | +| [virtualMachinesListBySubscriptionSample.ts][virtualmachineslistbysubscriptionsample] | Returns list virtual machine within subscription x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json | +| [virtualMachinesStartSample.ts][virtualmachinesstartsample] | Power on virtual machine x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json | +| [virtualMachinesStopSample.ts][virtualmachinesstopsample] | Power off virtual machine, options: shutdown, poweroff, and suspend x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json | +| [virtualMachinesUpdateSample.ts][virtualmachinesupdatesample] | Patch virtual machine properties x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json | +| [virtualNetworksGetSample.ts][virtualnetworksgetsample] | Return virtual network by its name x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json | +| [virtualNetworksListSample.ts][virtualnetworkslistsample] | Return list of virtual networks in location for private cloud x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json | + +## Prerequisites + +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: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] to run these sample programs. + +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/customizationPoliciesGetSample.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 node dist/customizationPoliciesGetSample.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[customizationpoliciesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesGetSample.ts +[customizationpolicieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesListSample.ts +[dedicatedcloudnodescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesCreateOrUpdateSample.ts +[dedicatedcloudnodesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesDeleteSample.ts +[dedicatedcloudnodesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesGetSample.ts +[dedicatedcloudnodeslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListByResourceGroupSample.ts +[dedicatedcloudnodeslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListBySubscriptionSample.ts +[dedicatedcloudnodesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesUpdateSample.ts +[dedicatedcloudservicescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesCreateOrUpdateSample.ts +[dedicatedcloudservicesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesDeleteSample.ts +[dedicatedcloudservicesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesGetSample.ts +[dedicatedcloudserviceslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListByResourceGroupSample.ts +[dedicatedcloudserviceslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListBySubscriptionSample.ts +[dedicatedcloudservicesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesUpdateSample.ts +[operationsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsGetSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsListSample.ts +[privatecloudsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsGetSample.ts +[privatecloudslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsListSample.ts +[resourcepoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsGetSample.ts +[resourcepoolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsListSample.ts +[skusavailabilitylistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/skusAvailabilityListSample.ts +[usageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/usagesListSample.ts +[virtualmachinetemplatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesGetSample.ts +[virtualmachinetemplateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesListSample.ts +[virtualmachinescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesCreateOrUpdateSample.ts +[virtualmachinesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesDeleteSample.ts +[virtualmachinesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesGetSample.ts +[virtualmachineslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListByResourceGroupSample.ts +[virtualmachineslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListBySubscriptionSample.ts +[virtualmachinesstartsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStartSample.ts +[virtualmachinesstopsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStopSample.ts +[virtualmachinesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesUpdateSample.ts +[virtualnetworksgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksGetSample.ts +[virtualnetworkslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksListSample.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-vmwarecloudsimple?view=azure-node-preview +[freesub]: https://azure.microsoft.com/free/ +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/package.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/package.json new file mode 100644 index 000000000000..0f75fede6e58 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/package.json @@ -0,0 +1,41 @@ +{ + "name": "@azure-samples/arm-vmwarecloudsimple-ts", + "private": true, + "version": "1.0.0", + "description": " 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/vmwarecloudsimple/arm-vmwarecloudsimple" + }, + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], + "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/vmwarecloudsimple/arm-vmwarecloudsimple", + "dependencies": { + "@azure/arm-vmwarecloudsimple": "latest", + "dotenv": "latest", + "@azure/identity": "^2.0.1" + }, + "devDependencies": { + "@types/node": "^12.0.0", + "typescript": "~4.4.0", + "rimraf": "latest" + } +} diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/sample.env b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/sample.env new file mode 100644 index 000000000000..672847a3fea0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/sample.env @@ -0,0 +1,4 @@ +# App registration secret for AAD authentication +AZURE_CLIENT_SECRET= +AZURE_CLIENT_ID= +AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesGetSample.ts new file mode 100644 index 000000000000..ff6fcc7d07c6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns customization policy by its name + * + * @summary Returns customization policy by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json + */ +async function getCustomizationPolicy() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const customizationPolicyName = "Linux1"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.customizationPolicies.get( + regionId, + pcName, + customizationPolicyName + ); + console.log(result); +} + +getCustomizationPolicy().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesListSample.ts new file mode 100644 index 000000000000..215f0f2a6fce --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/customizationPoliciesListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of customization policies in region for private cloud + * + * @summary Returns list of customization policies in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json + */ +async function listCustomizationPolicies() { + const subscriptionId = "{subscription-id}"; + const regionId = "myResourceGroup"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.customizationPolicies.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listCustomizationPolicies().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..e68179327b3f --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesCreateOrUpdateSample.ts @@ -0,0 +1,49 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DedicatedCloudNode, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns dedicated cloud node by its name + * + * @summary Returns dedicated cloud node by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json + */ +async function createDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest: DedicatedCloudNode = { + namePropertiesSkuDescriptionName: "CS28-Node", + availabilityZoneId: "az1", + idPropertiesSkuDescriptionId: "general", + location: "westus", + nodesCount: 1, + placementGroupId: "n1", + purchaseId: "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + sku: { name: "VMware_CloudSimple_CS28" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +createDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesDeleteSample.ts new file mode 100644 index 000000000000..1c6001f25c63 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete dedicated cloud node + * + * @summary Delete dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudNode.json + */ +async function deleteDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.delete( + resourceGroupName, + dedicatedCloudNodeName + ); + console.log(result); +} + +deleteDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesGetSample.ts new file mode 100644 index 000000000000..0dc11e5c2c75 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns dedicated cloud node + * + * @summary Returns dedicated cloud node + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json + */ +async function getDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.get( + resourceGroupName, + dedicatedCloudNodeName + ); + console.log(result); +} + +getDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListByResourceGroupSample.ts new file mode 100644 index 000000000000..818e12d020c0 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within resource group + * + * @summary Returns list of dedicate cloud nodes within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json + */ +async function listRgDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListBySubscriptionSample.ts new file mode 100644 index 000000000000..023bef1d16e3 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicate cloud nodes within subscription + * + * @summary Returns list of dedicate cloud nodes within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json + */ +async function listDedicatedCloudNodes() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudNodes.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudNodes().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesUpdateSample.ts new file mode 100644 index 000000000000..0da2a74a8da6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudNodesUpdateSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patches dedicated node properties + * + * @summary Patches dedicated node properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json + */ +async function patchDedicatedCloudNode() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudNodeName = "myNode"; + const dedicatedCloudNodeRequest: PatchPayload = { + tags: { myTag: "tagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudNodes.update( + resourceGroupName, + dedicatedCloudNodeName, + dedicatedCloudNodeRequest + ); + console.log(result); +} + +patchDedicatedCloudNode().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..0144f663536d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesCreateOrUpdateSample.ts @@ -0,0 +1,41 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + DedicatedCloudService, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create dedicate cloud service + * + * @summary Create dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json + */ +async function createDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest: DedicatedCloudService = { + gatewaySubnet: "10.0.0.0", + location: "westus" + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.createOrUpdate( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +createDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesDeleteSample.ts new file mode 100644 index 000000000000..313563e3480a --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesDeleteSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete dedicate cloud service + * + * @summary Delete dedicate cloud service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteDedicatedCloudService.json + */ +async function deleteDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.beginDeleteAndWait( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +deleteDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesGetSample.ts new file mode 100644 index 000000000000..b3a8f99bb9b2 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns Dedicate Cloud Service + * + * @summary Returns Dedicate Cloud Service + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json + */ +async function getDedicatedCloudService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.get( + resourceGroupName, + dedicatedCloudServiceName + ); + console.log(result); +} + +getDedicatedCloudService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListByResourceGroupSample.ts new file mode 100644 index 000000000000..01283829bb67 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a resource group + * + * @summary Returns list of dedicated cloud services within a resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json + */ +async function listRgDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListBySubscriptionSample.ts new file mode 100644 index 000000000000..2721fc5a143b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of dedicated cloud services within a subscription + * + * @summary Returns list of dedicated cloud services within a subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json + */ +async function listDedicatedCloudServices() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.dedicatedCloudServices.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listDedicatedCloudServices().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesUpdateSample.ts new file mode 100644 index 000000000000..96de29b6159d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/dedicatedCloudServicesUpdateSample.ts @@ -0,0 +1,37 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch dedicated cloud service's properties + * + * @summary Patch dedicated cloud service's properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json + */ +async function patchDedicatedService() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const dedicatedCloudServiceName = "myService"; + const dedicatedCloudServiceRequest: PatchPayload = { + tags: { myTag: "tagValue" } + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.dedicatedCloudServices.update( + resourceGroupName, + dedicatedCloudServiceName, + dedicatedCloudServiceRequest + ); + console.log(result); +} + +patchDedicatedService().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsGetSample.ts new file mode 100644 index 000000000000..0a2acc762897 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsGetSample.ts @@ -0,0 +1,50 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json + */ +async function getFailedOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "d030bb3f-7d53-11e9-8e09-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getFailedOperationResult().catch(console.error); + +/** + * This sample demonstrates how to Return an async operation + * + * @summary Return an async operation + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json + */ +async function getOperationResult() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const referer = "https://management.azure.com/"; + const operationId = "f8e1c8f1-7d52-11e9-8e07-9a86872085ff"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.operations.get(regionId, referer, operationId); + console.log(result); +} + +getOperationResult().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsListSample.ts new file mode 100644 index 000000000000..261e65188953 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/operationsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return list of operations + * + * @summary Return list of operations + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json + */ +async function listOperations() { + const subscriptionId = "00000000-0000-0000-0000-000000000000"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.operations.list()) { + resArray.push(item); + } + console.log(resArray); +} + +listOperations().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsGetSample.ts new file mode 100644 index 000000000000..316341ae30e8 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsGetSample.ts @@ -0,0 +1,30 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns private cloud by its name + * + * @summary Returns private cloud by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json + */ +async function getPrivateCloud() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.privateClouds.get(pcName, regionId); + console.log(result); +} + +getPrivateCloud().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsListSample.ts new file mode 100644 index 000000000000..8530e49d11a3 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/privateCloudsListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of private clouds in particular region + * + * @summary Returns list of private clouds in particular region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json + */ +async function listPrivateCloudInLocation() { + const subscriptionId = "{subscription-id}"; + const regionId = "eastus"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.privateClouds.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listPrivateCloudInLocation().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsGetSample.ts new file mode 100644 index 000000000000..5273b286fe24 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns resource pool templates by its name + * + * @summary Returns resource pool templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json + */ +async function getResourcePool() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = "resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.resourcePools.get( + regionId, + pcName, + resourcePoolName + ); + console.log(result); +} + +getResourcePool().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsListSample.ts new file mode 100644 index 000000000000..909fe13beb04 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/resourcePoolsListSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of resource pools in region for private cloud + * + * @summary Returns list of resource pools in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json + */ +async function listResourcePools() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.resourcePools.list(regionId, pcName)) { + resArray.push(item); + } + console.log(resArray); +} + +listResourcePools().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/skusAvailabilityListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/skusAvailabilityListSample.ts new file mode 100644 index 000000000000..449a3097583f --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/skusAvailabilityListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of available resources in region + * + * @summary Returns list of available resources in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json + */ +async function listAvailabilities() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.skusAvailability.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listAvailabilities().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/usagesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/usagesListSample.ts new file mode 100644 index 000000000000..00497c270779 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/usagesListSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of usage in region + * + * @summary Returns list of usage in region + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json + */ +async function listUsages() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.usages.list(regionId)) { + resArray.push(item); + } + console.log(resArray); +} + +listUsages().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesGetSample.ts new file mode 100644 index 000000000000..6cacac6914be --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns virtual machine templates by its name + * + * @summary Returns virtual machine templates by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json + */ +async function getVirtualMachineTemplate() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualMachineTemplateName = "vm-34"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachineTemplates.get( + regionId, + pcName, + virtualMachineTemplateName + ); + console.log(result); +} + +getVirtualMachineTemplate().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesListSample.ts new file mode 100644 index 000000000000..5a75423e089c --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachineTemplatesListSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of virtual machine templates in region for private cloud + * + * @summary Returns list of virtual machine templates in region for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json + */ +async function listVirtualMachineTemplates() { + const subscriptionId = "{subscription-id}"; + const pcName = "myPrivateCloud"; + const regionId = "westus2"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachineTemplates.list( + pcName, + regionId, + resourcePoolName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachineTemplates().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesCreateOrUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesCreateOrUpdateSample.ts new file mode 100644 index 000000000000..b84d67268960 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesCreateOrUpdateSample.ts @@ -0,0 +1,71 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VirtualMachine, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Create Or Update Virtual Machine + * + * @summary Create Or Update Virtual Machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json + */ +async function createVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest: VirtualMachine = { + amountOfRam: 4096, + disks: [ + { + controllerId: "1000", + independenceMode: "persistent", + totalSize: 10485760, + virtualDiskId: "2000" + } + ], + location: "westus2", + nics: [ + { + network: { + id: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + nicType: "E1000", + powerOnBoot: true, + virtualNicId: "4000" + } + ], + numberOfCores: 2, + privateCloudId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + resourcePool: { + id: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + templateId: + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34" + }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginCreateOrUpdateAndWait( + resourceGroupName, + referer, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +createVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesDeleteSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesDeleteSample.ts new file mode 100644 index 000000000000..6e0ad02b5b6b --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesDeleteSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Delete virtual machine + * + * @summary Delete virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/DeleteVirtualMachine.json + */ +async function deleteVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginDeleteAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +deleteVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesGetSample.ts new file mode 100644 index 000000000000..083ef00cd628 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesGetSample.ts @@ -0,0 +1,33 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Get virtual machine + * + * @summary Get virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json + */ +async function getVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.get( + resourceGroupName, + virtualMachineName + ); + console.log(result); +} + +getVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListByResourceGroupSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListByResourceGroupSample.ts new file mode 100644 index 000000000000..a93cf83a249d --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListByResourceGroupSample.ts @@ -0,0 +1,34 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list of virtual machine within resource group + * + * @summary Returns list of virtual machine within resource group + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json + */ +async function listRgVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listByResourceGroup( + resourceGroupName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listRgVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListBySubscriptionSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListBySubscriptionSample.ts new file mode 100644 index 000000000000..80bdd1966555 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesListBySubscriptionSample.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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Returns list virtual machine within subscription + * + * @summary Returns list virtual machine within subscription + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json + */ +async function listVirtualMachines() { + const subscriptionId = "{subscription-id}"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualMachines.listBySubscription()) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualMachines().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStartSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStartSample.ts new file mode 100644 index 000000000000..8206f3b1c5f6 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStartSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Power on virtual machine + * + * @summary Power on virtual machine + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StartVirtualMachine.json + */ +async function startVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStartAndWait( + resourceGroupName, + referer, + virtualMachineName + ); + console.log(result); +} + +startVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStopSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStopSample.ts new file mode 100644 index 000000000000..485e64ad702c --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesStopSample.ts @@ -0,0 +1,68 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { + VirtualMachineStopMode, + VirtualMachinesStopOptionalParams, + VMwareCloudSimple +} from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInBodyVirtualMachine.json + */ +async function stopInBodyVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const m: VirtualMachineStopMode = {}; + const options: VirtualMachinesStopOptionalParams = { m }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInBodyVirtualMachine().catch(console.error); + +/** + * This sample demonstrates how to Power off virtual machine, options: shutdown, poweroff, and suspend + * + * @summary Power off virtual machine, options: shutdown, poweroff, and suspend + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/StopInQueryVirtualMachine.json + */ +async function stopInQueryVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const referer = "https://management.azure.com/"; + const virtualMachineName = "myVirtualMachine"; + const mode = "suspend"; + const options: VirtualMachinesStopOptionalParams = { mode }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginStopAndWait( + resourceGroupName, + referer, + virtualMachineName, + options + ); + console.log(result); +} + +stopInQueryVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesUpdateSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesUpdateSample.ts new file mode 100644 index 000000000000..715728c4b845 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualMachinesUpdateSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { PatchPayload, VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Patch virtual machine properties + * + * @summary Patch virtual machine properties + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json + */ +async function patchVirtualMachine() { + const subscriptionId = "{subscription-id}"; + const resourceGroupName = "myResourceGroup"; + const virtualMachineName = "myVirtualMachine"; + const virtualMachineRequest: PatchPayload = { tags: { myTag: "tagValue" } }; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualMachines.beginUpdateAndWait( + resourceGroupName, + virtualMachineName, + virtualMachineRequest + ); + console.log(result); +} + +patchVirtualMachine().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksGetSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksGetSample.ts new file mode 100644 index 000000000000..d428249426d1 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksGetSample.ts @@ -0,0 +1,35 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return virtual network by its name + * + * @summary Return virtual network by its name + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json + */ +async function getVirtualNetwork() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const virtualNetworkName = "dvportgroup-19"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const result = await client.virtualNetworks.get( + regionId, + pcName, + virtualNetworkName + ); + console.log(result); +} + +getVirtualNetwork().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksListSample.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksListSample.ts new file mode 100644 index 000000000000..20bb96776b54 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/src/virtualNetworksListSample.ts @@ -0,0 +1,39 @@ +/* + * 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. + */ + +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { VMwareCloudSimple } from "@azure/arm-vmwarecloudsimple"; +import { DefaultAzureCredential } from "@azure/identity"; + +/** + * This sample demonstrates how to Return list of virtual networks in location for private cloud + * + * @summary Return list of virtual networks in location for private cloud + * x-ms-original-file: specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json + */ +async function listVirtualNetworks() { + const subscriptionId = "{subscription-id}"; + const regionId = "westus2"; + const pcName = "myPrivateCloud"; + const resourcePoolName = + "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26"; + const credential = new DefaultAzureCredential(); + const client = new VMwareCloudSimple(credential, subscriptionId); + const resArray = new Array(); + for await (let item of client.virtualNetworks.list( + regionId, + pcName, + resourcePoolName + )) { + resArray.push(item); + } + console.log(resArray); +} + +listVirtualNetworks().catch(console.error); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/tsconfig.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/samples/v3/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/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudNodes.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudNodes.ts index bd914b064289..b3471472bbad 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudNodes.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudNodes.ts @@ -190,12 +190,14 @@ export class DedicatedCloudNodesImpl implements DedicatedCloudNodes { /** * Returns dedicated cloud node by its name * @param resourceGroupName The name of the resource group + * @param referer referer url * @param dedicatedCloudNodeName dedicated cloud node name * @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, + referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams @@ -248,33 +250,39 @@ export class DedicatedCloudNodesImpl implements DedicatedCloudNodes { sendOperation, { resourceGroupName, + referer, dedicatedCloudNodeName, dedicatedCloudNodeRequest, options }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** * Returns dedicated cloud node by its name * @param resourceGroupName The name of the resource group + * @param referer referer url * @param dedicatedCloudNodeName dedicated cloud node name * @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, + referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, + referer, dedicatedCloudNodeName, dedicatedCloudNodeRequest, options diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudServices.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudServices.ts index 85294301feca..52e0301f6ebe 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudServices.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/dedicatedCloudServices.ts @@ -266,10 +266,12 @@ export class DedicatedCloudServicesImpl implements DedicatedCloudServices { { resourceGroupName, dedicatedCloudServiceName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/operations.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/operations.ts index df1910c07eba..59a3417c6d9c 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/operations.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/operations.ts @@ -90,16 +90,18 @@ export class OperationsImpl implements Operations { /** * Return an async operation * @param regionId The region Id (westus, eastus) + * @param referer referer url * @param operationId operation id * @param options The options parameters. */ get( regionId: string, + referer: string, operationId: string, options?: OperationsGetOptionalParams ): Promise { return this.client.sendOperationRequest( - { regionId, operationId, options }, + { regionId, referer, operationId, options }, getOperationSpec ); } diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/virtualMachines.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/virtualMachines.ts index 5b13f56168fc..65b5fe5e057d 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/virtualMachines.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operations/virtualMachines.ts @@ -193,12 +193,14 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Create Or Update Virtual Machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param virtualMachineRequest Create or Update Virtual Machine request * @param options The options parameters. */ async beginCreateOrUpdate( resourceGroupName: string, + referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams @@ -249,30 +251,41 @@ export class VirtualMachinesImpl implements VirtualMachines { const lro = new LroImpl( sendOperation, - { resourceGroupName, virtualMachineName, virtualMachineRequest, options }, + { + resourceGroupName, + referer, + virtualMachineName, + virtualMachineRequest, + options + }, createOrUpdateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** * Create Or Update Virtual Machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param virtualMachineRequest Create or Update Virtual Machine request * @param options The options parameters. */ async beginCreateOrUpdateAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams ): Promise { const poller = await this.beginCreateOrUpdate( resourceGroupName, + referer, virtualMachineName, virtualMachineRequest, options @@ -283,11 +296,13 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Delete virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginDelete( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams ): Promise< @@ -337,28 +352,33 @@ export class VirtualMachinesImpl implements VirtualMachines { const lro = new LroImpl( sendOperation, - { resourceGroupName, virtualMachineName, options }, + { resourceGroupName, referer, virtualMachineName, options }, deleteOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** * Delete virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginDeleteAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams ): Promise { const poller = await this.beginDelete( resourceGroupName, + referer, virtualMachineName, options ); @@ -427,10 +447,12 @@ export class VirtualMachinesImpl implements VirtualMachines { { resourceGroupName, virtualMachineName, virtualMachineRequest, options }, updateOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** @@ -458,11 +480,13 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Power on virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginStart( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams ): Promise, void>> { @@ -507,28 +531,33 @@ export class VirtualMachinesImpl implements VirtualMachines { const lro = new LroImpl( sendOperation, - { resourceGroupName, virtualMachineName, options }, + { resourceGroupName, referer, virtualMachineName, options }, startOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** * Power on virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginStartAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams ): Promise { const poller = await this.beginStart( resourceGroupName, + referer, virtualMachineName, options ); @@ -538,11 +567,13 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Power off virtual machine, options: shutdown, poweroff, and suspend * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginStop( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams ): Promise, void>> { @@ -587,28 +618,33 @@ export class VirtualMachinesImpl implements VirtualMachines { const lro = new LroImpl( sendOperation, - { resourceGroupName, virtualMachineName, options }, + { resourceGroupName, referer, virtualMachineName, options }, stopOperationSpec ); - return new LroEngine(lro, { + const poller = new LroEngine(lro, { resumeFrom: options?.resumeFrom, intervalInMs: options?.updateIntervalInMs }); + await poller.poll(); + return poller; } /** * Power off virtual machine, options: shutdown, poweroff, and suspend * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ async beginStopAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams ): Promise { const poller = await this.beginStop( resourceGroupName, + referer, virtualMachineName, options ); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/dedicatedCloudNodes.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/dedicatedCloudNodes.ts index bc67c211b216..c5d22f7566fa 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/dedicatedCloudNodes.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/dedicatedCloudNodes.ts @@ -55,12 +55,14 @@ export interface DedicatedCloudNodes { /** * Returns dedicated cloud node by its name * @param resourceGroupName The name of the resource group + * @param referer referer url * @param dedicatedCloudNodeName dedicated cloud node name * @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, + referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams @@ -73,12 +75,14 @@ export interface DedicatedCloudNodes { /** * Returns dedicated cloud node by its name * @param resourceGroupName The name of the resource group + * @param referer referer url * @param dedicatedCloudNodeName dedicated cloud node name * @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, + referer: string, dedicatedCloudNodeName: string, dedicatedCloudNodeRequest: DedicatedCloudNode, options?: DedicatedCloudNodesCreateOrUpdateOptionalParams diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/operations.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/operations.ts index ffcad090ac54..4aeb017dec2a 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/operations.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/operations.ts @@ -27,11 +27,13 @@ export interface Operations { /** * Return an async operation * @param regionId The region Id (westus, eastus) + * @param referer referer url * @param operationId operation id * @param options The options parameters. */ get( regionId: string, + referer: string, operationId: string, options?: OperationsGetOptionalParams ): Promise; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/virtualMachines.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/virtualMachines.ts index c19aac48d72c..adcd9142f7d4 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/virtualMachines.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/operationsInterfaces/virtualMachines.ts @@ -58,12 +58,14 @@ export interface VirtualMachines { /** * Create Or Update Virtual Machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param virtualMachineRequest Create or Update Virtual Machine request * @param options The options parameters. */ beginCreateOrUpdate( resourceGroupName: string, + referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams @@ -76,12 +78,14 @@ export interface VirtualMachines { /** * Create Or Update Virtual Machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param virtualMachineRequest Create or Update Virtual Machine request * @param options The options parameters. */ beginCreateOrUpdateAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, virtualMachineRequest: VirtualMachine, options?: VirtualMachinesCreateOrUpdateOptionalParams @@ -89,11 +93,13 @@ export interface VirtualMachines { /** * Delete virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginDelete( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams ): Promise< @@ -105,11 +111,13 @@ export interface VirtualMachines { /** * Delete virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginDeleteAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesDeleteOptionalParams ): Promise; @@ -147,44 +155,52 @@ export interface VirtualMachines { /** * Power on virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginStart( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams ): Promise, void>>; /** * Power on virtual machine * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginStartAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStartOptionalParams ): Promise; /** * Power off virtual machine, options: shutdown, poweroff, and suspend * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginStop( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams ): Promise, void>>; /** * Power off virtual machine, options: shutdown, poweroff, and suspend * @param resourceGroupName The name of the resource group + * @param referer referer url * @param virtualMachineName virtual machine name * @param options The options parameters. */ beginStopAndWait( resourceGroupName: string, + referer: string, virtualMachineName: string, options?: VirtualMachinesStopOptionalParams ): Promise; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimple.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimple.ts index aa54a4ee101c..7fd675759184 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimple.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimple.ts @@ -7,6 +7,7 @@ */ import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as coreAuth from "@azure/core-auth"; import { OperationsImpl, @@ -40,19 +41,16 @@ export class VMwareCloudSimple extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; - referer: string; /** * Initializes a new instance of the VMwareCloudSimple class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The subscription ID. - * @param referer referer url * @param options The parameter options */ constructor( credentials: coreAuth.TokenCredential, subscriptionId: string, - referer: string, options?: VMwareCloudSimpleOptionalParams ) { if (credentials === undefined) { @@ -61,9 +59,6 @@ export class VMwareCloudSimple extends coreClient.ServiceClient { if (subscriptionId === undefined) { throw new Error("'subscriptionId' cannot be null"); } - if (referer === undefined) { - throw new Error("'referer' cannot be null"); - } // Initializing default values for options if (!options) { @@ -74,7 +69,7 @@ export class VMwareCloudSimple extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-vmwarecloudsimple/2.0.0`; + const packageDetails = `azsdk-js-arm-vmwarecloudsimple/3.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -89,12 +84,35 @@ export class VMwareCloudSimple extends coreClient.ServiceClient { userAgentOptions: { userAgentPrefix }, - baseUri: options.endpoint || "https://management.azure.com" + baseUri: + options.endpoint ?? options.baseUri ?? "https://management.azure.com" }; super(optionsWithDefaults); + + if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { + const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); + const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( + (pipelinePolicy) => + pipelinePolicy.name === + coreRestPipeline.bearerTokenAuthenticationPolicyName + ); + if (!bearerTokenAuthenticationPolicyFound) { + this.pipeline.removePolicy({ + name: coreRestPipeline.bearerTokenAuthenticationPolicyName + }); + this.pipeline.addPolicy( + coreRestPipeline.bearerTokenAuthenticationPolicy({ + scopes: `${optionsWithDefaults.baseUri}/.default`, + challengeCallbacks: { + authorizeRequestOnChallenge: + coreClient.authorizeRequestOnClaimChallenge + } + }) + ); + } + } // Parameter assignments this.subscriptionId = subscriptionId; - this.referer = referer; // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/tsconfig.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/tsconfig.json index 6e3251194117..b0f769fbd0d0 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/tsconfig.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/tsconfig.json @@ -9,11 +9,25 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true + "importHelpers": true, + "paths": { + "@azure/arm-vmwarecloudsimple": [ + "./src/index" + ] + } }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "samples-dev/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/vmwarecloudsimple/ci.mgmt.yml b/sdk/vmwarecloudsimple/ci.mgmt.yml index a9f8cf3a0ecc..c4ff8116c134 100644 --- a/sdk/vmwarecloudsimple/ci.mgmt.yml +++ b/sdk/vmwarecloudsimple/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -9,7 +9,7 @@ trigger: paths: include: - sdk/vmwarecloudsimple/ci.mgmt.yml - - sdk/vmwarecloudsimple/arm-vmwarecloudsimple/ + - sdk/vmwarecloudsimple/arm-vmwarecloudsimple pr: branches: include: @@ -22,12 +22,11 @@ pr: paths: include: - sdk/vmwarecloudsimple/ci.mgmt.yml - - sdk/vmwarecloudsimple/arm-vmwarecloudsimple/ - + - sdk/vmwarecloudsimple/arm-vmwarecloudsimple extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: vmwarecloudsimple Artifacts: - name: azure-arm-vmwarecloudsimple - safeName: azurearmvmwarecloudsimple \ No newline at end of file + safeName: azurearmvmwarecloudsimple diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index cb65f7c29a79..81fa91dffcf2 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -93,7 +93,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index ee3ecf69d468..b4a1c7d85348 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -109,7 +109,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.5.1", - "puppeteer": "^13.5.1", + "puppeteer": "^14.0.0", "rimraf": "^3.0.0", "sinon": "^9.0.2", "source-map-support": "^0.5.9", diff --git a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_broadcast_using_apim.json b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_broadcast_using_apim.json index f2229e7ad534..d3fe5d03f046 100644 --- a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_broadcast_using_apim.json +++ b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_broadcast_using_apim.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", @@ -10,8 +10,8 @@ "Connection": "keep-alive", "Content-Length": "5", "Content-Type": "text/plain", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.7.1 Node/v16.14.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "29540257-af8a-4215-9803-eec36c181fcd" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "94a675c6-3c67-471f-943c-ec5b41069661" }, "RequestBody": "hello", "StatusCode": 202, @@ -19,13 +19,13 @@ "api-supported-versions": "2021-10-01", "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 24 Mar 2022 19:42:23 GMT", + "Date": "Fri, 13 May 2022 21:51:48 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", @@ -34,8 +34,8 @@ "Connection": "keep-alive", "Content-Length": "13", "Content-Type": "application/json", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.7.1 Node/v16.14.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "7c31d4e8-b2f7-4108-b3d9-ba9dca88c618" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "968c6047-67a8-410d-9d4b-3189372aa941" }, "RequestBody": { "x": 1, @@ -46,13 +46,13 @@ "api-supported-versions": "2021-10-01", "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 24 Mar 2022 19:42:23 GMT", + "Date": "Fri, 13 May 2022 21:51:49 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", @@ -61,8 +61,8 @@ "Connection": "keep-alive", "Content-Length": "10", "Content-Type": "application/octet-stream", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.7.1 Node/v16.14.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "c432e4c9-a1b2-4871-b7f2-340e50bfc422" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "0c9148ff-7dda-4bd0-aa69-8754f809a689" }, "RequestBody": "AAAAAAAAAAAAAA==", "StatusCode": 202, @@ -70,7 +70,7 @@ "api-supported-versions": "2021-10-01", "Connection": "keep-alive", "Content-Length": "0", - "Date": "Thu, 24 Mar 2022 19:42:23 GMT", + "Date": "Fri, 13 May 2022 21:51:49 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null diff --git a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_grant_permissions_to_connections.json b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_grant_permissions_to_connections.json index 92047a398665..d5bbfab0e4ae 100644 --- a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_grant_permissions_to_connections.json +++ b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_grant_permissions_to_connections.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxx?api-version=2021-10-01\u0026targetName=x", + "RequestUri": "https://endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxx?api-version=2021-10-01\u0026targetName=x", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json, text/json", @@ -9,8 +9,8 @@ "Authorization": "Sanitized", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.7.1 Node/v16.14.0 OS/(x64-Windows_NT-10.0.22000)", - "x-ms-client-request-id": "874a11a6-1719-463b-acc1-bededbd43166" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "de3bd07e-7f25-415d-bf94-f73d1a560f8e" }, "RequestBody": null, "StatusCode": 404, @@ -19,7 +19,7 @@ "Connection": "keep-alive", "Content-Length": "135", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 24 Mar 2022 19:42:24 GMT", + "Date": "Fri, 13 May 2022 21:37:01 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "x-ms-error-code": "Info.Connection.NotExisted" }, diff --git a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_trace_through_the_various_options.json b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_trace_through_the_various_options.json index 6b1a78f05619..72d98af572cc 100644 --- a/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_trace_through_the_various_options.json +++ b/sdk/web-pubsub/web-pubsub/recordings/node/hubclient_working_with_a_hub/recording_can_trace_through_the_various_options.json @@ -1,163 +1,149 @@ { "Entries": [ { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/groups/foo?api-version=2021-10-01", - "RequestMethod": "HEAD", - "RequestHeaders": { - "Accept": "application/json, text/json", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "1347675f-4447-4ecd-b2ed-bd0b61f62cba" - }, - "RequestBody": null, - "StatusCode": 404, - "ResponseHeaders": { - "api-supported-versions": "2021-10-01", - "Connection": "keep-alive", - "Content-Length": "119", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Warning.Group.NotExisted" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/users/foo?api-version=2021-10-01", - "RequestMethod": "HEAD", + "RequestUri": "https://endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxxx?api-version=2021-10-01\u0026targetName=x", + "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json, text/json", + "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "992cbcbc-fd62-4b3b-aae6-c6765375830f" + "Content-Length": "0", + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "eb9c2428-23b3-498d-91b2-63e233372f76" }, "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "120", + "Content-Length": "136", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Warning.User.NotExisted" + "x-ms-error-code": "Info.Connection.NotExisted" }, - "ResponseBody": null + "ResponseBody": { + "code": "Info.Connection.NotExisted", + "message": "Connection \u0060xxxx\u0060 is not found.", + "target": "Connection", + "details": null, + "innererror": null + } }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/users/foo/groups?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/users/foo/groups?api-version=2021-10-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json, text/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "9f71c6c8-5e28-4d9b-bc2c-239712b9f582" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "746e230e-af01-4c13-9dda-24d485ea7d46" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/connections/xxxx?api-version=2021-10-01", - "RequestMethod": "DELETE", + "RequestUri": "https://endpoint/api/hubs/simplechat/users/xxxx/:closeConnections?api-version=2021-10-01", + "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "c0704248-9409-4b69-a607-834652c6fda3" + "Content-Length": "0", + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "ac001173-f0c1-4bca-bc54-7cec33277e52" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", - "RequestMethod": "POST", + "RequestUri": "https://endpoint/api/hubs/simplechat/connections/xxxx?api-version=2021-10-01", + "RequestMethod": "HEAD", "RequestHeaders": { "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "5", - "Content-Type": "text/plain", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "b74f8d73-33a1-4d7e-9242-31dded7e5069" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "cf1ec930-aa58-462f-8db0-b7769514638b" }, - "RequestBody": "hello", - "StatusCode": 202, + "RequestBody": null, + "StatusCode": 404, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "0", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains" + "Content-Length": "139", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 13 May 2022 21:53:55 GMT", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-error-code": "Warning.Connection.NotExisted" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/users/xxxx/:closeConnections?api-version=2021-10-01", - "RequestMethod": "POST", + "RequestUri": "https://endpoint/api/hubs/simplechat/connections/xxxx?api-version=2021-10-01", + "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json, text/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "54c76a01-e2d1-44af-929a-644a85ee90ae" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "48f6b763-a2c1-4df0-9548-8fb586cc0c17" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/:closeConnections?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/users/brian/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "e31d042b-f444-4a93-b9e8-a31916ffe037" + "Content-Length": "5", + "Content-Type": "text/plain", + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "42b4fe3b-e9d5-4cbe-92cf-16438f24b35f" }, - "RequestBody": null, - "StatusCode": 204, + "RequestBody": "hello", + "StatusCode": 202, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Content-Length": "0", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/connections/xxxx/:send?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", @@ -166,8 +152,8 @@ "Connection": "keep-alive", "Content-Length": "5", "Content-Type": "text/plain", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "62854387-5658-43dc-84ec-8fa6521cbefb" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "4973d461-de71-45cb-b48b-3cea4bc72c53" }, "RequestBody": "hello", "StatusCode": 202, @@ -175,13 +161,13 @@ "api-supported-versions": "2021-10-01", "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/users/brian/:send?api-version=2021-10-01", + "RequestUri": "https://endpoint/api/hubs/simplechat/connections/xxxx/:send?api-version=2021-10-01", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", @@ -190,8 +176,8 @@ "Connection": "keep-alive", "Content-Length": "5", "Content-Type": "text/plain", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "a59cab1f-9e8a-4ec4-bb95-fce5345b078a" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "034ee100-a1cf-4461-b0e8-d2086dc479e8" }, "RequestBody": "hello", "StatusCode": 202, @@ -199,115 +185,99 @@ "api-supported-versions": "2021-10-01", "Connection": "keep-alive", "Content-Length": "0", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/connections/xxxx?api-version=2021-10-01", - "RequestMethod": "HEAD", + "RequestUri": "https://endpoint/api/hubs/simplechat/:closeConnections?api-version=2021-10-01", + "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", + "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7ef525e1-d070-4e93-adb7-6ad314813c8c" + "Content-Length": "0", + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "5f71f815-2c57-4dec-b659-113c9398201c" }, "RequestBody": null, - "StatusCode": 404, + "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "139", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Warning.Connection.NotExisted" + "Date": "Fri, 13 May 2022 21:53:55 GMT", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains" }, "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxxx?api-version=2021-10-01", - "RequestMethod": "DELETE", + "RequestUri": "https://endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxxx?api-version=2021-10-01\u0026targetName=x", + "RequestMethod": "HEAD", "RequestHeaders": { "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "13c261a6-8078-4571-b51f-fa57af0d7050" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "f1d0cd9c-f995-4fbb-bbf6-1ee520a03141" }, "RequestBody": null, - "StatusCode": 400, + "StatusCode": 404, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "177", + "Content-Length": "136", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Error.BadRequest" + "x-ms-error-code": "Info.Connection.NotExisted" }, - "ResponseBody": { - "code": "Error.BadRequest", - "message": "Invalid group name. Valid group name should be in between 1 and 1024 characters long.", - "target": "Request", - "details": null, - "innererror": null - } + "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxxx?api-version=2021-10-01\u0026targetName=x", - "RequestMethod": "PUT", + "RequestUri": "https://endpoint/api/hubs/simplechat/users/foo?api-version=2021-10-01", + "RequestMethod": "HEAD", "RequestHeaders": { "Accept": "application/json, text/json", - "Accept-Encoding": "gzip,deflate", "Authorization": "Sanitized", "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "f97e7d80-c90c-475c-907f-46dd00a58946" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "b12af0bd-ee69-49ae-9f12-11001160413a" }, "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "136", + "Content-Length": "120", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Info.Connection.NotExisted" + "x-ms-error-code": "Warning.User.NotExisted" }, - "ResponseBody": { - "code": "Info.Connection.NotExisted", - "message": "Connection \u0060xxxx\u0060 is not found.", - "target": "Connection", - "details": null, - "innererror": null - } + "ResponseBody": null }, { - "RequestUri": "https://rp-endpoint/api/hubs/simplechat/permissions/joinLeaveGroup/connections/xxxx?api-version=2021-10-01\u0026targetName=x", + "RequestUri": "https://endpoint/api/hubs/simplechat/groups/foo?api-version=2021-10-01", "RequestMethod": "HEAD", "RequestHeaders": { "Accept": "application/json, text/json", "Authorization": "Sanitized", "Connection": "keep-alive", - "User-Agent": "azsdk-js-web-pubsub/1.0.1 core-rest-pipeline/1.8.1 Node/v16.14.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", - "x-ms-client-request-id": "7216ddfe-e2c5-4ee1-9f08-bb436afe61ff" + "User-Agent": "azsdk-js-web-pubsub/1.1.0 core-rest-pipeline/1.8.2 Node/v16.13.0 OS/(x64-Linux-5.10.102.1-microsoft-standard-WSL2)", + "x-ms-client-request-id": "e86df79e-c0fa-4aec-b004-31ea1711c3f4" }, "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "api-supported-versions": "2021-10-01", "Connection": "keep-alive", - "Content-Length": "136", + "Content-Length": "119", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 05 Apr 2022 18:47:08 GMT", + "Date": "Fri, 13 May 2022 21:53:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-error-code": "Info.Connection.NotExisted" + "x-ms-error-code": "Warning.Group.NotExisted" }, "ResponseBody": null } diff --git a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts index d0ea436827b2..99a80c5a9db9 100644 --- a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts @@ -169,6 +169,10 @@ describe("HubClient", function () { try { await client.grantPermission("xxx", "joinLeaveGroup", { targetName: "x" }); } catch (e: any) { + if (e.name !== "RestError") { + throw e; + } + error = e; } // grantPermission validates connection ids, so we expect an error here. diff --git a/sdk/web-pubsub/web-pubsub/test/testEnv.ts b/sdk/web-pubsub/web-pubsub/test/testEnv.ts index 4410e32945cb..f9aad61cd734 100644 --- a/sdk/web-pubsub/web-pubsub/test/testEnv.ts +++ b/sdk/web-pubsub/web-pubsub/test/testEnv.ts @@ -7,7 +7,7 @@ const envSetupForPlayback: Record = { WPS_CONNECTION_STRING: "Endpoint=endpoint;AccessKey=api_key;Version=1.0;", WPS_API_KEY: "api_key", WPS_ENDPOINT: "https://endpoint", - WPS_REVERSE_PROXY_ENDPOINT: "https://rp-endpoint", + WPS_REVERSE_PROXY_ENDPOINT: "https://endpoint", AZURE_CLIENT_ID: "azure_client_id", AZURE_CLIENT_SECRET: "azure_client_secret", AZURE_TENANT_ID: "azuretenantid",